PageSourceSearch

https://www.forrunners.app/_next/static/chunks/1865-bd25428db323c9d1.js

js forrunners.app collected 2026-10-02 00:26:13 UTC 680,409 bytes, 4 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1865],{563:()=>{},1922:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,VG:()=>o});var r=n(17915);let i=[],a=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let l=(0,r.C)(s),c=o?-1:1;(function e(r,s,u){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(h,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return h;function h(){var d;let h,f,p,m=i;if((!t||l(r,s,u[u.length-1]||void 0))&&(m=Array.isArray(d=n(r,u))?d:"number"==typeof d?[!0,d]:null==d?i:[d])[0]===a)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(f=(o?r.children.length:-1)+c,p=u.concat(r);f>-1&&f<r.children.length;){if((h=e(r.children[f],f,p)())[0]===a)return h;f="number"==typeof h[1]?h[1]:f+c}return m}})(e,void 0,[])()}},2953:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{
1count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var o=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[o]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var s=o[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(l,function(e){return e.test(s)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,function(e){return e.test(s)});return n=e.valueCallback?e.valueCallback(c):c,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let c={code:"en-US",formatDistance:function(e,t,n){var i,a=r[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:a,formatRelative:function(e,t,n,r){return o[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(i.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},4392:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},6232:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(12115),i=n(21231);function a(e){let t=(0,r.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}},6791:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});
1var r=n(12115),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o={Pixel:"Pixel",Percent:"Percent"},s={unit:o.Percent,value:.8};function l(e){return"number"==typeof e?{unit:o.Percent,value:100*e}:"string"==typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:o.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:o.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),s):(console.warn("scrollThreshold should be string or number"),s)}let c=function(e){function t(){this.constructor=n}function n(t){var n=e.call(this,t)||this;return n.lastScrollTop=0,n.actionTriggered=!1,n.startY=0,n.currentY=0,n.dragging=!1,n.maxPullDownDistance=0,n.getScrollableTarget=function(){return n.props.scrollableTarget instanceof HTMLElement?n.props.scrollableTarget:"string"==typeof n.props.scrollableTarget?document.getElementById(n.props.scrollableTarget):(null===n.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n        happen because the element may not have been added to DOM yet.\n        See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n      "),null)},n.onStart=function(e){!n.lastScrollTop&&(n.dragging=!0,e instanceof MouseEvent?n.startY=e.pageY:e instanceof TouchEvent&&(n.startY=e.touches[0].pageY),n.currentY=n.startY,n._infScroll&&(n._infScroll.style.willChange="transform",n._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},n.onMove=function(e){if(n.dragging)e instanceof MouseEvent?n.currentY=e.pageY:e instanceof TouchEvent&&(n.currentY=e.touches[0].pageY),!(n.currentY<n.startY)&&(n.currentY-n.startY>=Number(n.props.pullDownToRefreshThreshold)&&n.setState({pullToRefreshThresholdBreached:!0}),!(n.currentY-n.startY>1.5*n.maxPullDownDistance)&&n._infScroll&&(n._infScroll.style.overflow="visible",n._infScroll.style.transform="translate3d(0px, "+(n.currentY-n.startY)+"px, 0px)"))},n.onEnd=function(){n.startY=0,n.currentY=0,n.dragging=!1,n.state.pullToRefreshThresholdBreached&&(n.props.refreshFunction&&n.props.refreshFunction(),n.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){n._infScroll&&(n._infScroll.style.overflow="auto",n._infScroll.style.transform="none",n._infScroll.style.willChange="unset")})},n.onScrollListener=function(e){"function"==typeof n.props.onScroll&&setTimeout(function(){return n.props.onScroll&&n.props.onScroll(e)},0);var t=n.props.height||n._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;n.actionTriggered||((n.props.inverse?n.isElementAtTop(t,n.props.scrollThreshold):n.isElementAtBottom(t,n.props.scrollThreshold))&&n.props.hasMore&&(n.actionTriggered=!0,n.setState({showLoader:!0}),n.props.next&&n.props.next()),n.lastScrollTop=t.scrollTop)},n.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},n.throttledOnScrollListener=(function(e,t,n,r){var i,a=!1,o=0;function s(){i&&clearTimeout(i)}function l(){var l=this,c=Date.now()-o,u=arguments;function d(){o=Date.now(),n.apply(l,u)}a||(r&&!i&&d(),s(),void 0===r&&c>e?d():!0!==t&&(i=setTimeout(r?function(){i=void 0}:d,void 0===r?e-c:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){s(),a=!0},l})(150,n.onScrollListener).bind(n),n.onStart=n.onStart.bind(n),n.onMove=n.onMove.bind(n),n.onEnd=n.onEnd.bind(n),n}return i(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n.prototype.componentDidMount=function(){if(void 0===this.props.dataLength)throw Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"==typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!=typeof this.props.refreshFunction))throw Error('Mandatory prop "refreshFunction" missing.\n          Pull Down To Refresh functionality will not work\n          as expected. Check README.md for usage\'')},n.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)
1))},n.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},n.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?a(a({},t),{prevDataLength:e.dataLength}):null},n.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,r=l(t);return r.unit===o.Pixel?e.scrollTop<=r.value+n-e.scrollHeight+1:e.scrollTop<=r.value/100+n-e.scrollHeight+1},n.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,r=l(t);return r.unit===o.Pixel?e.scrollTop+n>=e.scrollHeight-r.value:e.scrollTop+n>=r.value/100*e.scrollHeight},n.prototype.render=function(){var e=this,t=a({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),n=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return r.createElement("div",{style:i,className:"infinite-scroll-component__outerdiv"},r.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&r.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},r.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!n&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},n}(r.Component)},7856:(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})},7887:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(25437),i=n(68581),a=n(59739);let o=/[A-Z]/g,s=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let n=(0,a.S)(t),c=t,h=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(o,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}h=r.E}return new h(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},8918:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>s,overloadedBoolean:()=>o,spaceSeparated:()=>l});let r=0,i=d(),a=d(),o=d(),s=d(),l=d(),c=d(),u=d();function d(){return 2**++r}},10787:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(53566),i=n(65982);function a(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),a=(0,r.A)(t);return n.getTime()===a.getTime()}},11308:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function h(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:u,column:d};return function(t){return t.position=new p(e),g(r),t}}function p(e){this.start=e,this.end={line:u,column:d},this.source=l.source}function m(t){var n=Error(l.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=d,n.source=e,l.silent);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function E(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}p.prototype.content=e,g(r);var v,T=[];for(E(T);v=function(){var e=f(),n=g(i);if(n){if(y(),!g(a))return m("property missing ':'");var r=g(o),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return g(s),l}}();)!1!==v&&(T.push(v),E(T));return T}},11518:(e,t,n)=>{"use strict";e.exports=n(82269).style},11603:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},12556:(e,t,n)=>{"use strict";n.d(t,{BM:()=>s,CW:()=>r,Ee:()=>d,HP:()=>u,JQ:()=>o,Ny:()=>p,On:()=>h,cx:()=>a,es:()=>f,lV:()=>i,ok:()=>l,ol:()=>c});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let s=m(/\d/),l=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let f=m(/\p{P}|\p{S}/u),p=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},13250:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(12115),i=n(21231);function a(){let e=(0,r.useRef)(!1);return(0,i.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}}
1,14298:(e,t,n)=>{"use strict";let r,i;n.d(t,{io:()=>eO});var a,o={};n.r(o),n.d(o,{Decoder:()=>eg,Encoder:()=>em,PacketType:()=>a,isPacketValid:()=>eT,protocol:()=>ep});let s=Object.create(null);s.open="0",s.close="1",s.ping="2",s.pong="3",s.message="4",s.upgrade="5",s.noop="6";let l=Object.create(null);Object.keys(s).forEach(e=>{l[s[e]]=e});let c={type:"error",data:"parser error"},u="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),d="function"==typeof ArrayBuffer,h=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,f=({type:e,data:t},n,r)=>{if(u&&t instanceof Blob)if(n)return r(t);else return p(t,r);if(d&&(t instanceof ArrayBuffer||h(t)))if(n)return r(t);else return p(new Blob([t]),r);return r(s[e]+(t||""))},p=(e,t)=>{let n=new FileReader;return n.onload=function(){t("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(e)};function m(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<g.length;e++)E[g.charCodeAt(e)]=e;let y=e=>{let t=.75*e.length,n=e.length,r,i=0,a,o,s,l;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let c=new ArrayBuffer(t),u=new Uint8Array(c);for(r=0;r<n;r+=4)a=E[e.charCodeAt(r)],o=E[e.charCodeAt(r+1)],s=E[e.charCodeAt(r+2)],l=E[e.charCodeAt(r+3)],u[i++]=a<<2|o>>4,u[i++]=(15&o)<<4|s>>2,u[i++]=(3&s)<<6|63&l;return c},v="function"==typeof ArrayBuffer,T=(e,t)=>{if("string"!=typeof e)return{type:"message",data:_(e,t)};let n=e.charAt(0);return"b"===n?{type:"message",data:b(e.substring(1),t)}:l[n]?e.length>1?{type:l[n],data:e.substring(1)}:{type:l[n]}:c},b=(e,t)=>v?_(y(e),t):{base64:!0,data:e},_=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,A=(e,t)=>{let n=e.length,r=Array(n),i=0;e.forEach((e,a)=>{f(e,!1,e=>{r[a]=e,++i===n&&t(r.join("\x1e"))})})},S=(e,t)=>{let n=e.split("\x1e"),r=[];for(let e=0;e<n.length;e++){let i=T(n[e],t);if(r.push(i),"error"===i.type)break}return r};function k(e){return e.reduce((e,t)=>e+t.length,0)}function C(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function O(e){if(e){var t=e;for(var n in O.prototype)t[n]=O.prototype[n];return t}}O.prototype.on=O.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},O.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},O.prototype.off=O.prototype.removeListener=O.prototype.removeAllListeners=O.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},O.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},O.prototype.emitReserved=O.prototype.emit,O.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},O.prototype.hasListeners=function(e){return!!this.listeners(e).length};let N="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),D="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function I(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}let x=D.setTimeout,w=D.clearTimeout;function R(e,t){t.useNativeTimers?(e.setTimeoutFn=x.bind(D),e.clearTimeoutFn=w.bind(D)):(e.setTimeoutFn=D.setTimeout.bind(D),e.clearTimeoutFn=D.clearTimeout.bind(D))}function P(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}
1class L extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class M extends O{constructor(e){super(),this.writable=!1,R(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new L(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=T(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return -1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){let t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}class F extends M{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){S(e,this.socket.binaryType).forEach(e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,A(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=P()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let B=!1;try{B="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}let H=B;function U(){}class j extends F{constructor(e){if(super(e),"undefined"!=typeof location){let t="https:"===location.protocol,n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class G extends O{constructor(e,t,n){super(),this.createRequest=e,R(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var e;let t=I(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let e in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this._opts.extraHeaders[e])}catch(e){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null===(e=this._opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this._opts.cookieJar)||void 0===e||e.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}"undefined"!=typeof document&&(this._index=G.requestsCount++,G.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=U,e)try{this._xhr.abort()}catch(e){}"undefined"!=typeof document&&delete G.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function V(){for(let e in G.requests)G.requests.hasOwnProperty(e)&&G.requests[e].abort()}G.requestsCount=0,G.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",V):"function"==typeof addEventListener&&addEventListener("onpagehide"in D?"pagehide":"unload",V,!1));let z=function(){let e=q({xdomain:!1});return e&&null!==e.responseType}();class Y extends j{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=z&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new G(q,this.uri(),e)}}function q(e){let t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||H))return new XMLHttpRequest}catch(e){}if(!t)try{return new D[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}let W="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class X extends M{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,n=W?{}:I(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved("error",e)}
1this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;f(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(e){}r&&N(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=P()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}let Q=D.WebSocket||D.MozWebSocket;class K extends X{createSocket(e,t,n){return W?new Q(e,t,n):t?new Q(e,t):new Q(e)}doWrite(e,t){this.ws.send(t)}}class $ extends M{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=function(e,t){i||(i=new TextDecoder);let n=[],r=0,a=-1,o=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(0===r){if(1>k(n))break;let e=C(n,1);o=(128&e[0])==128,r=(a=127&e[0])<126?3:126===a?1:2}else if(1===r){if(2>k(n))break;let e=C(n,2);a=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(8>k(n))break;let e=C(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>2097151){l.enqueue(c);break}a=0x100000000*i+t.getUint32(4),r=3}else{if(k(n)<a)break;let e=C(n,a);l.enqueue(T(o?e:i.decode(e),t)),r=0}if(0===a||a>e){l.enqueue(c);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),a=new TransformStream({transform(e,t){var n;n=n=>{let r,i=n.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let e=new DataView((r=new Uint8Array(3)).buffer);e.setUint8(0,126),e.setUint16(1,i)}else{let e=new DataView((r=new Uint8Array(9)).buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)},u&&e.data instanceof Blob?e.data.arrayBuffer().then(m).then(n):d&&(e.data instanceof ArrayBuffer||h(e.data))?n(m(e.data)):f(e,!1,e=>{r||(r=new TextEncoder),n(r.encode(e))})}});a.readable.pipeTo(e.writable),this._writer=a.writable.getWriter();let o=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),o())}).catch(e=>{})};o();let s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&N(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null===(e=this._transport)||void 0===e||e.close()}}let J={websocket:K,webtransport:$,polling:Y},Z=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ee=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function et(e){if(e.length>8e3)throw"URI too long";let t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=Z.exec(e||""),a={},o=14;for(;o--;)a[ee[o]]=i[o]||"";return -1!=n&&-1!=r&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){let n=t.replace(/\/{2,9}/g,"/").split("/");return("/"==t.slice(0,1)||0===t.length)&&n.splice(0,1),"/"==t.slice(-1)&&n.splice(n.length-1,1),n}(0,a.path),a.queryKey=function(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,r){t&&(n[t]=r)}),n}(0,a.query),a}let en="function"==typeof addEventListener&&"function"==typeof removeEventListener,er=[];en&&addEventListener("offline",()=>
vendor: 1,397 bytes, line 1
1{er.forEach(e=>e())},!1);class ei extends O{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){let n=et(e);t.hostname=n.host,t.secure="https"===n.protocol||"wss"===n.protocol,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=et(t.host).host);R(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");
1t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),en&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},er.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(0===this.transports.length){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let e=this.opts.rememberUpgrade&&ei.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",ei.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let t=Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n)e+="string"==typeof n?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size));if(t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,N(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(ei.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),en&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=er.indexOf(this._offlineEventListener);-1!==e&&er.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}ei.protocol=4;class ea extends ei{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;ei.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;ei.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{!n&&"closed"!==this.readyState&&(c(),this.setTransport(t),t.send([{type:"upgrade"}
1]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function i(){n||(n=!0,c(),t.close(),t=null)}let a=e=>{let n=Error("probe error: "+e);n.transport=t.name,i(),this.emitReserved("upgradeError",n)};function o(){a("transport closed")}function s(){a("socket closed")}function l(e){t&&e.name!==t.name&&i()}let c=()=>{t.removeListener("open",r),t.removeListener("error",a),t.removeListener("close",o),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",a),t.once("close",o),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}class eo extends ea{constructor(e,t={}){let n="object"==typeof e?e:t;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(e=>J[e]).filter(e=>!!e)),super(e,n)}}eo.protocol;let es="function"==typeof ArrayBuffer,el=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,ec=Object.prototype.toString,eu="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===ec.call(Blob),ed="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===ec.call(File);function eh(e){return es&&(e instanceof ArrayBuffer||el(e))||eu&&e instanceof Blob||ed&&e instanceof File}let ef=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ep=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(a||(a={}));class em{constructor(e){this.replacer=e}encode(e){return(e.type===a.EVENT||e.type===a.ACK)&&function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if(eh(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1==arguments.length)return e(t.toJSON(),!0);for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return!0;return!1}(e)?this.encodeAsBinary({type:e.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===a.BINARY_EVENT||e.type===a.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=function(e){let t=[],n=e.data;return e.data=function e(t,n){if(!t)return t;if(eh(t)){let e={_placeholder:!0,num:n.length};return n.push(t),e}if(Array.isArray(t)){let r=Array(t.length);for(let i=0;i<t.length;i++)r[i]=e(t[i],n);return r}if("object"==typeof t&&!(t instanceof Date)){let r={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=e(t[i],n));return r}return t}(n,t),e.attachments=t.length,{packet:e,buffers:t}}(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}class eg extends O{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof e?{reviver:e}:e)}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let n=(t=this.decodeString(e)).type===a.BINARY_EVENT;n||t.type===a.BINARY_ACK?(t.type=n?a.EVENT:a.ACK,this.reconstructor=new eE(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(eh(e)||e.base64)if(this.reconstructor)(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+e)}decodeString(e){let t=0,n={type:Number(e.charAt(0))};if(void 0===a[n.type])throw Error("unknown packet type "+n.type);if(n.type===a.BINARY_EVENT||n.type===a.BINARY_ACK){let r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);let i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw Error("Illegal attachments");let a=Number(i);if(!ey(a)||a<0)throw Error("Illegal attachments");if(a>this.opts.maxAttachments)throw Error("too many attachments");n.attachments=a}if("/"===e.charAt(t+1)){let r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);
1n.nsp=e.substring(r,t)}else n.nsp="/";let r=e.charAt(t+1);if(""!==r&&Number(r)==r){let r=t+1;for(;++t;){let n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){let r=this.tryParse(e.substr(t));if(eg.isPayloadValid(n.type,r))n.data=r;else throw Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case a.CONNECT:return ev(t);case a.DISCONNECT:return void 0===t;case a.CONNECT_ERROR:return"string"==typeof t||ev(t);case a.EVENT:case a.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===ef.indexOf(t[0]));case a.ACK:case a.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class eE{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t,n;let e=(t=this.reconPack,n=this.buffers,t.data=function e(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw Error("illegal attachments")}if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(let r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=e(t[r],n));return t}(t.data,n),delete t.attachments,t);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let ey=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function ev(e){return"[object Object]"===Object.prototype.toString.call(e)}function eT(e){var t;return"string"==typeof e.nsp&&(void 0===(t=e.id)||ey(t))&&function(e,t){switch(e){case a.CONNECT:return void 0===t||ev(t);case a.DISCONNECT:return void 0===t;case a.EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===ef.indexOf(t[0]));case a.ACK:return Array.isArray(t);case a.CONNECT_ERROR:return"string"==typeof t||ev(t);default:return!1}}(e.type,e.data)}function eb(e,t,n){return e.on(t,n),function(){e.off(t,n)}}let e_=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class eA extends O{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[eb(e,"open",this.onopen.bind(this)),eb(e,"packet",this.onpacket.bind(this)),eb(e,"error",this.onerror.bind(this)),eb(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,r,i;if(e_.hasOwnProperty(e))throw Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let o={type:a.EVENT,data:t};if(o.options={},o.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){let e=this.ids++,n=t.pop();this._registerAckCallback(e,n),o.id=e}let s=null===(r=null===(n=this.io.engine)||void 0===n?void 0:n.transport)||void 0===r?void 0:r.writable,l=this.connected&&!(null===(i=this.io.engine)||void 0===i?void 0:i._hasPingExpired());return this.flags.volatile&&!s||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var n;let r=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===r){this.acks[e]=t;return}let i=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error("operation has timed out"))},r),a=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};a.withError=!0,this.acks[e]=a}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);
1i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>(this._queue[0],null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;let t=this._queue[0];(!t.pending||e)&&(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:a.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}
1_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case a.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.EVENT:case a.BINARY_EVENT:this.onevent(e);break;case a.ACK:case a.BINARY_ACK:this.onack(e);break;case a.DISCONNECT:this.ondisconnect();break;case a.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){let t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length)for(let t of this._anyListeners.slice())t.apply(this,e);super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:a.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:a.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let t of this._anyOutgoingListeners.slice())t.apply(this,e.data)}}function eS(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}eS.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(1&Math.floor(10*t))==0?e-n:e+n}return 0|Math.min(e,this.max)},eS.prototype.reset=function(){this.attempts=0},eS.prototype.setMin=function(e){this.ms=e},eS.prototype.setMax=function(e){this.max=e},eS.prototype.setJitter=function(e){this.jitter=e};class ek extends O{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,R(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new eS({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;let r=t.parser||o;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new eo(this.uri,this.opts);let t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let r=eb(t,"open",function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},a=eb(t,"error",i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error("timeout")),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(eb(e,"ping",this.onping.bind(this)),eb(e,"data",this.ondata.bind(this)),eb(e,"error",this.onerror.bind(this)),eb(e,"close",this.onclose.bind(this)),eb(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){N(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new eA(this,e,t),this.nsps[e]=n),n}_destroy(e){for(let e of Object.keys(this.nsps))if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;
1n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),null===(n=this.engine)||void 0===n||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{!e.skipReconnect&&(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}let eC={};function eO(e,t){let n;"object"==typeof e&&(t=e,e=void 0);let r=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=et(e)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),i=r.source,a=r.id,o=r.path,s=eC[a]&&o in eC[a].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?n=new ek(i,t):(eC[a]||(eC[a]=new ek(i,t)),n=eC[a]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(eO,{Manager:ek,Socket:eA,io:eO,connect:eO})},14947:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},15385:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(20531),i=n(55570),a=n(65982);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),r=(0,i.A)(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}var s=n(50709),l=n(78569),c={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},u=n(2953);function d(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var h=n(32765);function f(e,t,n){(0,a.A)(2,arguments);var f,p,m,g,E,y=(0,r.q)(),v=null!==(f=null!==(p=null==n?void 0:n.locale)&&void 0!==p?p:y.locale)&&void 0!==f?f:u.A;if(!v.formatDistance)throw RangeError("locale must contain formatDistance property");var T=o(e,t);if(isNaN(T))throw RangeError("Invalid time value");var b=d(d({},n),{addSuffix:!!(null==n?void 0:n.addSuffix),comparison:T});T>0?(m=(0,i.A)(t),g=(0,i.A)(e)):(m=(0,i.A)(e),g=(0,i.A)(t));var _=function(e,t,n){(0,a.A)(2,arguments);var r,o=function(e,t){return(0,a.A)(2,arguments),(0,i.A)(e).getTime()-(0,i.A)(t).getTime()}(e,t)/1e3;return((r=null==n?void 0:n.roundingMethod)?c[r]:c.trunc)(o)}(g,m),A=Math.round((_-((0,h.A)(g)-(0,h.A)(m))/1e3)/60);if(A<2)if(null!=n&&n.includeSeconds)if(_<5)return v.formatDistance("lessThanXSeconds",5,b);else if(_<10)return v.formatDistance("lessThanXSeconds",10,b);else if(_<20)return v.formatDistance("lessThanXSeconds",20,b);else if(_<40)return v.formatDistance("halfAMinute",0,b);else if(_<60)return v.formatDistance("lessThanXMinutes",1,b);else return v.formatDistance("xMinutes",1,b);else if(0===A)return v.formatDistance("lessThanXMinutes",1,b);else return v.formatDistance("xMinutes",A,b);if(A<45)return v.formatDistance("xMinutes",A,b);if(A<90)return v.formatDistance("aboutXHours",1,b);if(A<1440){var S=Math.round(A/60);return v.formatDistance("aboutXHours",S,b)}if(A<2520)return v.formatDistance("xDays",1,b);else if(A<43200){var k=Math.round(A/1440);return v.formatDistance("xDays",k,b)}else if(A<86400)return E=Math.round(A/43200),v.formatDistance("aboutXMonths",E,b);if((E=function(e,t){(0,a.A)(2,arguments);var n,r=(0,i.A)(e),c=(0,i.A)(t),u=o(r,c),d=Math.abs(function(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),r=(0,i.A)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,c));if(d<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-u*d);var h=o(r,c)===-u;(function(e){(0,a.A)(1,arguments);var t=(0,i.A)(e);return(0,s.A)(t).getTime()===(0,l.A)(t).getTime()})((0,i.A)(e))&&1===d&&1===o(e,c)&&(h=!1),n=u*(d-Number(h))}return 0===n?0:n}(g,m))<12){var C=Math.round(A/43200);return v.formatDistance("xMonths",C,b)}var O=E%12,N=Math.floor(E/12);return O<3?v.formatDistance("aboutXYears",N,b):O<9?v.formatDistance("overXYears",N,b):v.formatDistance("almostXYears",N+1,b)}},15696:(e,t,n)=>{"use strict";let r,i,a,o,s,l;n.d(t,{X:()=>iN});var c,u,d,h,f,p,m,g=n(12115);n(94274);var E=y()?g.useLayoutEffect:g.useEffect;function y(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math&&self;var v=n(47650);let T=function(e){var t,n=e.children,r=e.type,i=void 0===r?"reach-portal":r,a=(0,g.useRef)(null),o=(0,g.useRef)(null),s=(t=(0,g.useState)(Object.create(null))[1],(0,g.useCallback)(function(){t(Object.create(null))},[]));return E(function(){if(a.current){var e=a.current.ownerDocument;return o.current=null==e?void 0:e.createElement(i),e.body.appendChild(o.current),s(),function(){o.current&&o.current.ownerDocument&&o.current.ownerDocument.body.removeChild(o.current)}}},[i,s]),o.current?(0,v.createPortal)(n,o.current):(0,g.createElement)("span",{ref:a})};var b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function A(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
1if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function k(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var C={},O="xstate.guard";!function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(c||(c={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(u||(u={}));var N=c.Start,D=c.Stop,I=c.Raise,x=c.Send,w=c.Cancel,R=c.NullEvent,P=c.Assign;c.After,c.DoneState;var L=c.Log,M=c.Init,F=c.Invoke;c.ErrorExecution;var B=c.ErrorPlatform,H=c.ErrorCustom,U=c.Update,j=c.Choose,G=c.Pure;function V(e,t,n){void 0===n&&(n=".");var r=q(e,n),i=q(t,n);return es(i)?!!es(r)&&i===r:es(r)?r in i:Object.keys(r).every(function(e){return e in i&&V(r[e],i[e])})}function z(e){try{return es(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw Error("Events must be strings or objects with a string event.type property.")}}function Y(e,t){try{if(ea(e))return e;return e.toString().split(t)}catch(t){throw Error("'".concat(e,"' is not a valid state path."))}}function q(e,t){return"object"==typeof e&&"value"in e&&"context"in e&&"event"in e&&"_event"in e?e.value:ea(e)?W(e):"string"!=typeof e?e:W(Y(e,t))}function W(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function X(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function Q(e,t,n){var r,i,a={};try{for(var o=A(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,c=e[l];n(c)&&(a[l]=t(c,l,e))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}var K=function(e){return function(t){var n,r,i=t;try{for(var a=A(e),o=a.next();!o.done;o=a.next())i=i[o.value]}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function $(e){return e?es(e)?[[e]]:J(Object.keys(e).map(function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?$(e[t]).map(function(e){return[t].concat(e)}):[[t]]})):[[]]}function J(e){var t;return(t=[]).concat.apply(t,k([],S(e),!1))}function Z(e){return ea(e)?e:[e]}function ee(e){var t;return void 0===e?[]:ea(t=e)?t:[t]}function et(e,t,n){if(eo(e))return e(t,n.data);var r,i,a={};try{for(var o=A(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,c=e[l];eo(c)?a[l]=c(t,n.data):a[l]=c}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function en(e){return!!(e instanceof Promise||null!==e&&(eo(e)||"object"==typeof e)&&eo(e.then))}function er(e,t,n,r){return e?n.reduce(function(e,n){var i,a,o=n.assignment,s={state:r,action:n,_event:t},l={};if(eo(o))l=o(e,t.data,s);else try{for(var c=A(Object.keys(o)),u=c.next();!u.done;u=c.next()){var d=u.value,h=o[d];l[d]=eo(h)?h(e,t.data,s):h}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return Object.assign({},e,l)},e):e}var ei=function(){};function ea(e){return Array.isArray(e)}function eo(e){return"function"==typeof e}function es(e){return"string"==typeof e}function el(e,t){if(e)return es(e)?{type:O,name:e,predicate:t?t[e]:void 0}:eo(e)?{type:O,name:e.name,predicate:e}:e}var ec="function"==typeof Symbol&&Symbol.observable||"@@observable";function eu(e){return!!e&&"__xstatenode"in e}function ed(e,t){return es(e)||"number"==typeof e?b({type:e},t):e}function eh(e,t){if(!es(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=ed(e);return b({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function ef(e,t){var n;return(ea(n=t)?n:[n]).map(function(t){return void 0===t||"string"==typeof t||eu(t)?{target:t,event:e}:b(b({},t),{event:e})})}function ep(e,t,n,r,i){var a=e.options.guards,o={state:i,cond:t,_event:r};
1if(t.type===O)return((null==a?void 0:a[t.name])||t.predicate)(n,r.data,o);var s=null==a?void 0:a[t.type];if(!s)throw Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return s(n,r.data,o)}function em(e){return"string"==typeof e?{type:e}:e}function eg(e,t,n){var r=function(){},i="object"==typeof e,a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function eE(e,t){return"".concat(e,":invocation[").concat(t,"]")}function ey(e){return(e.type===I||e.type===x&&e.to===u.Internal)&&"number"!=typeof e.delay}(d={})[ec]=function(){return this},d[Symbol.observable]=function(){return this};var ev=function(e){return"atomic"===e.type||"final"===e.type};function eT(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function eb(e){return eT(e).filter(function(e){return"history"!==e.type})}function e_(e,t){var n,r,i,a,o,s,l,c,u=eA(new Set(e)),d=new Set(t);try{for(var h=A(d),f=h.next();!f.done;f=h.next())for(var p=f.value,m=p.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}var g=eA(d);try{for(var E=A(d),y=E.next();!y.done;y=E.next()){var p=y.value;if("compound"!==p.type||g.get(p)&&g.get(p).length){if("parallel"===p.type)try{for(var v=(o=void 0,A(eb(p))),T=v.next();!T.done;T=v.next()){var b=T.value;d.has(b)||(d.add(b),u.get(b)?u.get(b).forEach(function(e){return d.add(e)}):b.initialStateNodes.forEach(function(e){return d.add(e)}))}}catch(e){o={error:e}}finally{try{T&&!T.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}}else u.get(p)?u.get(p).forEach(function(e){return d.add(e)}):p.initialStateNodes.forEach(function(e){return d.add(e)})}}catch(e){i={error:e}}finally{try{y&&!y.done&&(a=E.return)&&a.call(E)}finally{if(i)throw i.error}}try{for(var _=A(d),S=_.next();!S.done;S=_.next())for(var p=S.value,m=p.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){l={error:e}}finally{try{S&&!S.done&&(c=_.return)&&c.call(_)}finally{if(l)throw l.error}}return d}function eA(e){var t,n,r=new Map;try{for(var i=A(e),a=i.next();!a.done;a=i.next()){var o=a.value;r.has(o)||r.set(o,[]),o.parent&&(r.has(o.parent)||r.set(o.parent,[]),r.get(o.parent).push(o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function eS(e,t){return Array.isArray(e)?e.some(function(e){return e===t}):e instanceof Set&&e.has(t)}function ek(e,t){return"compound"===t.type?eb(t).some(function(t){return"final"===t.type&&eS(e,t)}):"parallel"===t.type&&eb(t).every(function(t){return ek(e,t)})}function eC(e){return new Set(J(e.map(function(e){return e.tags})))}var eO=eh({type:M});function eN(e,t){return t&&t[e]||void 0}function eD(e,t){var n;if(es(e)||"number"==typeof e){var r=eN(e,t);n=eo(r)?{type:e,exec:r}:r||{type:e,exec:void 0}}else if(eo(e))n={type:e.name||e.toString(),exec:e};else{var r=eN(e.type,t);if(eo(r))n=b(b({},e),{exec:r});else if(r){var i=r.type||e.type;n=b(b(b({},r),e),{type:i})}else n=e}return n}var eI=function(e,t){return e?(ea(e)?e:[e]).map(function(e){return eD(e,t)}):[]};function ex(e){var t=eD(e);return b(b({id:es(e)?e:t.id},t),{type:t.type})}function ew(e,t){return{to:t?t.to:void 0,type:x,event:eo(e)?e:ed(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:eo(e)?e.name:z(e)}}function eR(e,t){var n="".concat(c.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function eP(e,t){var n="".concat(c.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function eL(e,t){var n="".concat(c.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}var eM=function(e){var t,n,r=[];try{for(var i=A(e),a=i.next();!a.done;a=i.next())for(var o=a.value,s=0;s<o.actions.length;){if(o.actions[s].type===P){r.push(o.actions[s]),o.actions.splice(s,1);continue}s++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function eF(e,t,n,r,i,a,o){void 0===o&&(o=!1);var s=o?[]:eM(i),l=s.length?er(n,r,s,t):n,d=o?[n]:void 0,h=[];return[J(i.map(function(i){var s,f,p=[];try{for(var m=A(i.actions),g=m.next();!g.done;g=m.next()){var E=g.value,y=function(i,s){var f;switch(s.type){case I:var p=function(e,t,n,r){var i,a={_event:n},o=eh(eo(e.event)?e.event(t,n.data,a):e.event);if(es(e.delay)){var s=r&&r[e.delay];i=eo(s)?s(t,n.data,a):s}else i=eo(e.delay)?e.delay(t,n.data,a):e.delay;return b(b({},e),{type:I,_event:o,delay:i})}(s,l,r,e.options.delays);return a&&"number"==typeof p.delay&&a(p,l,r),p;case x:var m=function(e,t,n,r){var i,a={_event:n},o=eh(eo(e.event)?e.event(t,n.data,a):e.event);if(es(e.delay)){var s=r&&r[e.delay];i=eo(s)?s(t,n.data,a):s}else i=eo(e.delay)?e.delay(t,n.data,a):e.delay;var l=eo(e.to)?e.to(t,n.data,a):e.to;return b(b({},e),{to:l,_event:o,event:o.data,delay:i})}(s,l,r,e.options.delays);return a&&m.to!==u.Internal&&("entry"===i?h.push(m):a(m,l,r)),m;case L:var g,E=(g=l,b(b({},s),{value:es(s.expr)?s.expr:s.expr(g,r.data,{_event:r})}));return null==a||a(E,l,r),E;case j:var y=null===(f=s.conds.find(function(n){var i=el(n.cond,e.o
1ptions.guards);return!i||ep(e,i,l,r,a?void 0:t)}))||void 0===f?void 0:f.actions;if(!y)return[];var v=S(eF(e,t,l,r,[{type:i,actions:eI(ee(y),e.options.actions)}],a,o),2),T=v[0];return l=v[1],null==d||d.push(l),T;case G:var y=s.get(l,r.data);if(!y)return[];var _=S(eF(e,t,l,r,[{type:i,actions:eI(ee(y),e.options.actions)}],a,o),2),A=_[0];return l=_[1],null==d||d.push(l),A;case D:var C,O,E=(C=l,O=eo(s.activity)?s.activity(C,r.data):s.activity,{type:c.Stop,activity:"string"==typeof O?{id:O}:O});return null==a||a(E,n,r),E;case P:l=er(l,r,[s],a?void 0:t),null==d||d.push(l);break;default:var N=eD(s,e.options.actions),w=N.exec;if(a)a(N,l,r);else if(w&&d){var R=d.length-1;N=b(b({},N),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];w.apply(void 0,k([d[R]],S(t),!1))}})}return N}}(i.type,E);y&&(p=p.concat(y))}}catch(e){s={error:e}}finally{try{g&&!g.done&&(f=m.return)&&f.call(m)}finally{if(s)throw s.error}}return h.forEach(function(e){a(e,l,r)}),h.length=0,p})),l]}var eB=function(){function e(e){var t,n,r=this;this.actions=[],this.activities=C,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||C,this.meta=(void 0===(t=e.configuration)&&(t=[]),t.reduce(function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e},{})),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!==(n=Array.isArray(e.tags)?new Set(e.tags):e.tags)&&void 0!==n?n:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return k([],S(new Set(J(k([],S(r.configuration.map(function(e){return e.ownEvents})),!1)))),!1)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:eO,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){return t instanceof e?t.actions.length?new e({value:t.value,context:n,_event:eO,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}}):t:e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),es(e))return[e];var r=Object.keys(e);return r.concat.apply(r,k([],S(r.map(function(r){return n.toStrings(e[r],t).map(function(e){return r+t+e})})),!1))},e.prototype.toJSON=function(){this.configuration,this.transitions;var e=this.tags;this.machine;var t=_(this,["configuration","transitions","tags","machine"]);return b(b({},t),{tags:Array.from(e)})},e.prototype.matches=function(e){return V(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){ei(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var t,n=null===(t=this.machine)||void 0===t?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(e){return void 0!==e.target||e.actions.length})},e}(),eH=g.useLayoutEffect,eU={deferEvents:!1},ej=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=b(b({},eU),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}(),eG=[],eV=function(e,t){eG.push(e);var n=t(e);return eG.pop(),n};function ez(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[ec]=function(){return this},t}function eY(e,t,n){var r=ez(t);if(r.deferred=!0,eu(e)){var i=r.state=eV(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}var eq=new Map,eW=0,eX={bookId:function(){return"x:".concat(eW++)},register:function(e,t){return eq.set(e,t),e},get:function(e){return eq.get(e)},free:function(e){eq.delete(e)}};function eQ(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void 0}var eK={sync:!1,autoForward:!1};!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}
1(h||(h={}));var e$=function(){function e(t,n){void 0===n&&(n=e.defaultOptions);var r=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=h.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,t){if(ea(e))return r.batch(e),r.state;var n=eh(ed(e,t));if(r.status===h.Stopped)return r.state;if(r.status!==h.Running&&!r.options.deferEvents)throw Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return r.scheduler.schedule(function(){r.forward(n);var e=r._nextState(n);r.update(e,n)}),r._state},this.sendTo=function(e,t,n){var i=r.parent&&(t===u.Parent||r.parent.id===t),a=i?r.parent:es(t)?t===u.Internal?r:r.children.get(t)||eX.get(t):t&&"function"==typeof t.send?t:void 0;if(!a){if(!i)throw Error("Unable to send event to child '".concat(t,"' from service '").concat(r.id,"'."));return}
1if("machine"in a){if(r.status!==h.Stopped||r.parent!==a||r.state.done){var o=b(b({},e),{name:e.name===H?"".concat(eL(r.id)):e.name,origin:r.sessionId});!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([a,o]):a.send(o)}}else!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([a,e.data]):a.send(e.data)},this._exec=function(e,t,n,i){void 0===i&&(i=r.machine.options.actions);var a=e.exec||eN(e.type,i),o=eo(a)?a:a?a.exec:e.exec;if(o)try{return o(t,n.data,r.machine.config.predictableActionArguments?{action:e,_event:n}:{action:e,state:r.state,_event:n})}catch(e){throw r.parent&&r.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case I:r.defer(e);break;case x:if("number"==typeof e.delay){r.defer(e);return}e.to?r.sendTo(e._event,e.to,n===eO):r.send(e._event);break;case w:r.cancel(e.sendId);break;case N:if(r.status!==h.Running)return;var s=e.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[s.id||s.type])break;if(s.type===c.Invoke){var l=em(s.src),u=r.machine.options.services?r.machine.options.services[l.type]:void 0,d=s.id,f=s.data,p="autoForward"in s?s.autoForward:!!s.forward;if(!u)return;var m=f?et(f,t,n):void 0;if("string"==typeof u)return;var g=eo(u)?u(t,n.data,{data:m,src:l,meta:s.meta}):u;if(!g)return;var E=void 0;eu(g)&&(g=m?g.withContext(m):g,E={autoForward:p}),r.spawn(g,d,E)}else r.spawnActivity(s);break;case D:r.stopChild(e.activity.id);break;case L:var y=e.label,v=e.value;y?r.logger(y,v):r.logger(v)}};var i=b(b({},e.defaultOptions),n),a=i.clock,o=i.logger,s=i.parent,l=i.id,d=void 0!==l?l:t.id;this.id=d,this.logger=o,this.clock=a,this.parent=s,this.options=i,this.scheduler=new ej({deferEvents:this.options.deferEvents}),this.sessionId=eX.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:eV(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,r;try{for(var i=A(e.actions),a=i.next();!a.done;a=i.next()){var o=a.value;this.exec(o,e,t)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,r,i,a,o,s,l,c,u=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||t===eO)&&this.options.execute)this.execute(this.state);else for(var d=void 0;d=this._outgoingQueue.shift();)d[0].send(d[1]);if(this.children.forEach(function(e){u.state.children[e.id]=e}),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var h=A(this.eventListeners),f=h.next();!f.done;f=h.next()){var p=f.value;p(e.event)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var m=A(this.listeners),g=m.next();!g.done;g=m.next()){var p=g.value;p(e,e.event)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}try{for(var E=A(this.contextListeners),y=E.next();!y.done;y=E.next())(0,y.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=E.return)&&s.call(E)}finally{if(o)throw o.error}}if(this.state.done){var v=e.configuration.find(function(e){return"final"===e.type&&e.parent===u.machine}),T=v&&v.doneData?et(v.doneData,e.context,t):void 0;this._doneEvent=eP(this.id,T);try{for(var b=A(this.doneListeners),_=b.next();!_.done;_=b.next()){var p=_.value;p(this._doneEvent)}}catch(e){l={error:e}}finally{try{_&&!_.done&&(c=b.return)&&c.call(b)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),eX.free(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===h.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,n){var r=this,i=eg(e,t,n);this.listeners.add(i.next),this.status!==h.NotStarted&&i.next(this.state);var a=function(){r.doneListeners.delete(a),r.stopListeners.delete(a),i.complete()};return this.status===h.Stopped?i.complete():(this.onDone(a),this.onStop(a)),{unsubscribe:function(){r.listeners.delete(i.next),r.doneListeners.delete(a),r.stopListeners.delete(a)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===h.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var t=this;if(this.status===h.Running)return this;this.machine._init(),eX.register(this.sessionId,this),this.initialized=!0,this.status=h.Running;var n=void 0===e?this.initialState:eV(this,function(){return"object"==typeof e&&null!==e&&"value"in e&&"_event"in e?t.machine.resolveState(e):t.machine.resolveState(eB.from(e,t.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){t.update(n,eO)}),this}
1,e.prototype._stopChildren=function(){this.children.forEach(function(e){eo(e.stop)&&e.stop()}),this.children.clear()},e.prototype._stop=function(){var e,t,n,r,i,a,o,s,l,c;try{for(var u=A(this.listeners),d=u.next();!d.done;d=u.next()){var f=d.value;this.listeners.delete(f)}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}try{for(var p=A(this.stopListeners),m=p.next();!m.done;m=p.next()){var f=m.value;f(),this.stopListeners.delete(f)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}try{for(var g=A(this.contextListeners),E=g.next();!E.done;E=g.next()){var f=E.value;this.contextListeners.delete(f)}}catch(e){i={error:e}}finally{try{E&&!E.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var y=A(this.doneListeners),v=y.next();!v.done;v=y.next()){var f=v.value;this.doneListeners.delete(f)}}catch(e){o={error:e}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}if(!this.initialized)return this;this.initialized=!1,this.status=h.Stopped,this._initialState=void 0;try{for(var T=A(Object.keys(this.delayedEventsMap)),b=T.next();!b.done;b=T.next()){var _=b.value;this.clock.clearTimeout(this.delayedEventsMap[_])}}catch(e){l={error:e}}finally{try{b&&!b.done&&(c=T.return)&&c.call(T)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new ej({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule(function(){if(null===(t=e._state)||void 0===t||!t.done){var t,n=eh({type:"xstate.stop"}),r=eV(e,function(){var t=J(k([],S(e.state.configuration),!1).sort(function(e,t){return t.order-e.order}).map(function(t){return eI(t.onExit,e.machine.options.actions)})),r=S(eF(e.machine,e.state,e.state.context,n,[{type:"exit",actions:t}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),i=r[0],a=r[1],o=new eB({value:e.state.value,context:a,_event:n,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:i.filter(function(e){return!ey(e)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return o.changed=!0,o});e.update(r,n),e._stopChildren(),eX.free(e.sessionId)}}),this},e.prototype.batch=function(e){var t=this;if(this.status===h.NotStarted&&this.options.deferEvents);else if(this.status!==h.Running)throw Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var r,i,a=t.state,o=!1,s=[];try{for(var l=A(e),c=l.next();!c.done;c=l.next()){var u=c.value;!function(e){var r=eh(e);t.forward(r),a=eV(t,function(){return t.machine.transition(a,r,void 0,n||void 0)}),s.push.apply(s,k([],S(t.machine.config.predictableActionArguments?a.actions:a.actions.map(function(e){var t,n;return t=a,n=e.exec,b(b({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})})),!1)),o=o||!!a.changed}(u)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}a.changed=o,a.actions=s,t.update(a,eh(e[e.length-1]))})}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=eh(e);if(0===r.name.indexOf(B)&&!this.state.nextEvents.some(function(e){return 0===e.indexOf(B)}))throw r.data.data;return eV(this,function(){return n.machine.transition(n.state,r,void 0,t||void 0)})},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var r=A(this.forwardTo),i=r.next();!i.done;i=r.next()){var a=i.value,o=this.children.get(a);if(!o)throw Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(a,"'."));o.send(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout(function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null===(t=this.state)||void 0===t||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);t&&(this.removeChild(e),eo(t.stop)&&t.stop())}
1,e.prototype.spawn=function(e,t,n){if(this.status!==h.Running)return eY(e,t);if(en(e))return this.spawnPromise(Promise.resolve(e),t);if(eo(e))return this.spawnCallback(e,t);if(function(e){try{return"function"==typeof e.send}catch(e){return!1}}(e)&&"id"in e)return this.spawnActor(e,t);if(function(e){try{return"subscribe"in e&&eo(e.subscribe)}catch(e){return!1}}(e))return this.spawnObservable(e,t);if(eu(e))return this.spawnMachine(e,b(b({},n),{id:t}));if(null!==e&&"object"==typeof e&&"transition"in e&&"function"==typeof e.transition)return this.spawnBehavior(e,t);throw Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'))},e.prototype.spawnMachine=function(t,n){var r=this;void 0===n&&(n={});var i=new e(t,b(b({},this.options),{parent:this,id:n.id||t.id})),a=b(b({},eK),n);return a.sync&&i.onTransition(function(e){r.send(U,{state:e,id:i.id})}),this.children.set(i.id,i),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(e){r.removeChild(i.id),r.send(eh(e,{origin:i.id}))}).start(),i},e.prototype.spawnBehavior=function(e,t){var n,r,i,a,o,s,l,c,u,d,h=(n={id:t,parent:this},r=e.initialState,i=new Set,a=[],o=!1,s=function(){if(!o){for(o=!0;a.length>0;){var t=a.shift();r=e.transition(r,t,d),i.forEach(function(e){return e.next(r)})}o=!1}},l={id:n.id,send:function(e){a.push(e),s()},getSnapshot:function(){return r},subscribe:function(e,t,n){var a=eg(e,t,n);return i.add(a),a.next(r),{unsubscribe:function(){i.delete(a)}}}},u=b(((c={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[ec]=function(){return this},c),l),d={parent:n.parent,self:u,id:n.id||"anonymous",observers:i},r=e.start?e.start(d):r,u);return this.children.set(t,h),h},e.prototype.spawnPromise=function(e,t){var n,r,i=this,a=!1;e.then(function(e){a||(r=e,i.removeChild(t),i.send(eh(eP(t,e),{origin:t})))},function(e){if(!a){i.removeChild(t);var n=eL(t,e);try{i.send(eh(n,{origin:t}))}catch(e){i.devTools&&i.devTools.send(n,i.state),i.machine.strict&&i.stop()}}});var o=((n={id:t,send:function(){},subscribe:function(t,n,r){var i=eg(t,n,r),a=!1;return e.then(function(e){!a&&(i.next(e),a||i.complete())},function(e){a||i.error(e)}),{unsubscribe:function(){return a=!0}}},stop:function(){a=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[ec]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnCallback=function(e,t){var n,r,i,a=this,o=!1,s=new Set,l=new Set;try{i=e(function(e){r=e,l.forEach(function(t){return t(e)}),o||a.send(eh(e,{origin:t}))},function(e){s.add(e)})}catch(e){this.send(eL(t,e))}if(en(i))return this.spawnPromise(i,t);var c=((n={id:t,send:function(e){return s.forEach(function(t){return t(e)})},subscribe:function(e){var t=eg(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){o=!0,eo(i)&&i()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[ec]=function(){return this},n);return this.children.set(t,c),c},e.prototype.spawnObservable=function(e,t){var n,r,i=this,a=e.subscribe(function(e){r=e,i.send(eh(e,{origin:t}))},function(e){i.removeChild(t),i.send(eh(eL(t,e),{origin:t}))},function(){i.removeChild(t),i.send(eh(eP(t),{origin:t}))}),o=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return a.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[ec]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(t){var n=t(this.state.context,e);this.spawnEffect(e.id,n)}},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[ec]=function(){return this},n))},e.prototype.attachDev=function(){var e=eQ();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;
1this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(b(b({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:b({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}if(eQ()){var n=function(){var e=eQ();if(e&&"__xstate__"in e)return e.__xstate__}();n&&n.register(this)}}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[ec]=function(){return this},e.prototype.getSnapshot=function(){return this.status===h.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=eJ,e}();function eJ(e,t){return new e$(e,t)}function eZ(e){var t=g.useRef();return t.current||(t.current={v:e()}),t.current.v}!function(e){e[e.Effect=1]="Effect",e[e.LayoutEffect=2]="LayoutEffect"}(f||(f={}));var e0=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},e1=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},e2=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},e3=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};function e5(e,t){(0,e.exec)(t.context,t._event.data,{action:e,state:t,_event:t._event})()}var e4=function(){return(e4=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},e8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},e6=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},e9=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};function e7(){return(e7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function te(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}let tt={arr:Array.isArray,obj:e=>"[object Object]"===Object.prototype.toString.call(e),fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e,nul:e=>null===e,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){let n;if(typeof e!=typeof t)return!1;if(tt.str(e)||tt.num(e))return e===t;if(tt.obj(e)&&tt.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!tt.und(n)||e===t}};function tn(e,t){return tt.und(e)||tt.nul(e)?t:e}function tr(e){return tt.und(e)?[]:tt.arr(e)?e:[e]}function ti(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return tt.fun(e)?e(...n):e}function ta(e){let t=(e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,te(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"]));if(tt.und(t))return e7({to:t},e);let n=Object.keys(e).reduce((n,r)=>tt.und(t[r])?e7({},n,{[r]:e[r]}):n,{});return e7({to:t},n)}class to{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){let t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class ts extends to{constructor(){super(...arguments),this.payload=[],this.attach=()=>
1this.payload.forEach(e=>e instanceof to&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof to&&e.removeChild(this))}}class tl extends to{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof to&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof to&&e.removeChild(this))}getValue(e){void 0===e&&(e=!1);let t={};for(let n in this.payload){let r=this.payload[n];(!e||r instanceof to)&&(t[n]=r instanceof to?r[e?"getAnimatedValue":"getValue"]():r)}return t}getAnimatedValue(){return this.getValue(!0)}}let tc=e=>"undefined"!=typeof window?window.requestAnimationFrame(e):-1,tu=()=>Date.now(),td=e=>e.current;class th extends tl{constructor(e,t){super(),this.update=void 0,this.payload=e.style?e7({},e,{style:s(e.style)}):e,this.update=t,this.attach()}}let tf=e=>tt.fun(e)&&!(e.prototype instanceof g.Component),tp=!1,tm=new Set,tg=()=>{if(!tp)return!1;let e=tu();for(let t of tm){let n=!1;for(let r=0;r<t.configs.length;r++){let i,a,o=t.configs[r];for(let t=0;t<o.animatedValues.length;t++){let r=o.animatedValues[t];if(r.done)continue;let s=o.fromValues[t],l=o.toValues[t],c=r.lastPosition,u=l instanceof to,d=Array.isArray(o.initialVelocity)?o.initialVelocity[t]:o.initialVelocity;if(u&&(l=l.getValue()),o.immediate||"string"==typeof s||"string"==typeof l){r.setValue(l),r.done=!0;continue}if(void 0!==o.duration)c=s+o.easing((e-r.startTime)/o.duration)*(l-s),i=e>=r.startTime+o.duration;else if(o.decay)c=s+d/(1-.998)*(1-Math.exp(-(1-.998)*(e-r.startTime))),(i=.1>Math.abs(r.lastPosition-c))&&(l=c);else{a=void 0!==r.lastTime?r.lastTime:e,d=void 0!==r.lastVelocity?r.lastVelocity:o.initialVelocity,e>a+64&&(a=e);let t=Math.floor(e-a);for(let e=0;e<t;++e){let e=(-o.tension*(c-l)+-o.friction*d)/o.mass;d+=+e/1e3,c+=+d/1e3}let n=!!o.clamp&&0!==o.tension&&(s<l?c>l:c<l),u=Math.abs(d)<=o.precision,h=0===o.tension||Math.abs(l-c)<=o.precision;i=n||u&&h,r.lastVelocity=d,r.lastTime=e}u&&!o.toValues[t].done&&(i=!1),i?(r.value!==l&&(c=l),r.done=!0):n=!0,r.setValue(c),r.lastPosition=c}t.props.onFrame&&(t.values[o.name]=o.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),n||(tm.delete(t),t.stop(!0))}return tm.size?l?l():tc(tg):tp=!1,tp},tE=e=>{tm.has(e)||tm.add(e),tp||(tp=!0,l?tc(l):tc(tg))},ty=e=>{tm.has(e)&&tm.delete(e)};function tv(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return tv({range:e,output:t,extrapolate:n});if(a&&"string"==typeof e.output[0])return a(e);let r=e.output,i=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",l=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(t,i);return function(e,t,n,r,i,a,o,s,l){let c=l?l(e):e;if(c<t)if("identity"===o)return c;else"clamp"===o&&(c=t);if(c>n)if("identity"===s)return c;else"clamp"===s&&(c=n);return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=a(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(t,i[n],i[n+1],r[n],r[n+1],l,o,s,e.map)}}class tT extends ts{constructor(e,t,n,r){super(),this.calc=void 0,this.payload=e instanceof ts&&!(e instanceof tT)?e.getPayload():Array.isArray(e)?e:[e],this.calc=tv(t,n,r)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,t,n){this.calc=tv(e,t,n)}interpolate(e,t,n){return new tT(this,e,t,n)}}let tb=(e,t,n)=>e&&new tT(e,t,n);class t_ extends to{constructor(e){var t;super(),t=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEac
1h(t=>e(t,n))}(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,t,n){return new tT(this,e,t,n)}}class tA extends ts{constructor(e){super(),this.payload=e.map(e=>new t_(e))}setValue(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((e,n)=>this.payload[n].setValue(e,t)):this.payload.forEach(n=>n.setValue(e,t))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,t){return new tT(this,e,t)}}let tS=0;class tk{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=tS++}update(e){if(!e)return this;let t=ta(e),n=t.delay,r=void 0===n?0:n,i=t.to,a=te(t,["delay","to"]);if(tt.arr(i)||tt.fun(i))this.queue.push(e7({},a,{delay:r,to:i}));else if(i){let e={};Object.entries(i).forEach(t=>{let n=t[0],i=t[1],o=e7({to:{[n]:i},delay:ti(r,n)},a),s=e[o.delay]&&e[o.delay].to;e[o.delay]=e7({},e[o.delay],o,{to:e7({},s,o.to)})}),this.queue=Object.values(e)}return this.queue=this.queue.sort((e,t)=>e.delay-t.delay),this.diff(a),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(e=>{let t=e.from,n=void 0===t?{}:t,r=e.to,i=void 0===r?{}:r;tt.obj(n)&&(this.merged=e7({},n,this.merged)),tt.obj(i)&&(this.merged=e7({},this.merged,i))});let t=this.local=++this.guid,n=this.localQueue=this.queue;this.queue=[],n.forEach((r,i)=>{let a=r.delay,o=te(r,["delay"]),s=r=>{i===n.length-1&&t===this.guid&&r&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()},l=tt.arr(o.to)||tt.fun(o.to);a?setTimeout(()=>{t===this.guid&&(l?this.runAsync(o,s):this.diff(o).start(s))},a):l?this.runAsync(o,s):this.diff(o).start(s)})}else tt.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),tE(this);return this}stop(e){return this.listeners.forEach(t=>t(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&ty(this),this}runAsync(e,t){var n=this;e.delay;let r=te(e,["delay"]),i=this.local,a=Promise.resolve(void 0);if(tt.arr(r.to))for(let e=0;e<r.to.length;e++){let t=e,n=e7({},r,ta(r.to[t]));tt.arr(n.config)&&(n.config=n.config[t]),a=a.then(()=>{if(i===this.guid)return new Promise(e=>this.diff(n).start(e))})}else if(tt.fun(r.to)){let e,t=0;a=a.then(()=>r.to(n=>{let a=e7({},r,ta(n));if(tt.arr(a.config)&&(a.config=a.config[t]),t++,i===this.guid)return e=new Promise(e=>this.diff(a).start(e))},function(e){return void 0===e&&(e=!0),n.stop(e)}).then(()=>e))}a.then(t)}diff(e){this.props=e7({},this.props,e);let t=this.props,n=t.from,r=void 0===n?{}:n,o=t.to,s=void 0===o?{}:o,l=t.config,c=void 0===l?{}:l,u=t.reverse,d=t.attach,h=t.reset,f=t.immediate;if(u){var p=[s,r];r=p[0],s=p[1]}this.merged=e7({},r,this.merged,s),this.hasChanged=!1;let m=d&&d(this);if(this.animations=Object.entries(this.merged).reduce((e,t)=>{let n=t[0],o=t[1],s=e[n]||{},l=tt.num(o),u=tt.str(o)&&!o.startsWith("#")&&!/\d/.test(o)&&!i[o],d=tt.arr(o),p=!l&&!d&&!u,g=tt.und(r[n])?o:r[n],E=l||d?o:u?o:1,y=ti(c,n);m&&(E=m.animations[n].parent);let v=s.parent,T=s.interpolation,b=tr(m?E.getPayload():E),_,A=o;p&&(A=a({range:[0,1],output:[o,o]})(1));let S=T&&T.getValue(),k=!tt.und(v)&&s.animatedValues.some(e=>!e.done),C=!tt.equ(A,S),O=!tt.equ(A,s.previous),N=!tt.equ(y,s.config);if(h||O&&C||N){if(l||u)v=T=s.parent||new t_(g);else if(d)v=T=s.parent||new tA(g);else if(p){let e=s.interpolation&&s.interpolation.calc(s.parent.value);e=void 0===e||h?g:e,s.parent?(v=s.parent).setValue(0,!1):v=new t_(0);let t={output:[e,o]};s.interpolation?(T=s.interpolation,s.interpolation.updateConfig(t)):T=v.interpolate(t)}return b=tr(m?E.getPayload():E),_=tr(v.getPayload()),h&&!p&&v.setValue(g,!1),this.hasChanged=!0,_.forEach(e=>{e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=k?e.lastVelocity:void 0,e.lastTime=k?e.lastTime:void 0,e.startTime=tu(),e.done=!1,e.animatedStyles.clear()}),ti(f,n)&&v.setValue(p?E:o,!1),e7({},e,{[n]:e7({},s,{name:n,parent:v,interpolation:T,animatedValues:_,toValues:b,previous:A,config:y,fromValues:tr(v.getValue()),immediate:ti(f,n),initialVelocity:tn(y.velocity,0),clamp:tn(y.clamp,!1),precision:tn(y.precision,.01),tension:tn(y.tension,170),friction:tn(y.friction,26),mass:tn(y.mass,1),duration:y.duration,easing:tn(y.easing,e=>e),decay:y.decay})})}return C?e:(p&&(v.setValue(1,!1),T.updateConfig({output:[A,A]})),v.done=!0,this.hasChanged=!0,e7({},e,{[n]:e7({},e[n],{previous:A})}))},this.animations),this.hasChanged)for(let e in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[e]=this.animations[e].interpolation,this.values[e]=this.animations[e].interpolation.getValue();return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}}let tC=(e,t)=>{let n=(0,g.useRef)(!1),r=(0,g.useRef)(),i=tt.fun(t),a=(0,g.useMemo)(()=>{let n;return r.current&&(r.current.map(e=>e.destroy()),r.current=void 0),[Array(e).fill().map((e,r)=>{let a=new tk,o=i?ti(t,r,a):t[r];return 0===r&&(n=o.ref),a.update(o),n||a.start(),a}),n]},[e]),o=a[0],s=a[1];r.current=o,(0,g.useImperativeHandle)(s,()=>({start:()=>Promise.all(r.current.map(e=>new Promise(t=>e.start(t)))),stop:e=>r.current.forEach(t=>t.stop(e)),get controllers(){return r.current}}));let l=(0,g.useMemo)(()=>e=>r.current.map((t,n)=>{t.update(i?ti(e,n,t):e[n]),s||t.start()}),[e]);(0,g.useEffect)(()=>
1{n.current?i||l(t):s||r.current.forEach(e=>e.start())}),(0,g.useEffect)(()=>(n.current=!0,()=>r.current.forEach(e=>e.destroy())),[]);let c=r.current.map(e=>e.getValues());return i?[c,l,e=>r.current.forEach(t=>t.pause(e))]:c},tO=e=>{let t=tt.fun(e),n=tC(1,t?e:[e]),r=n[0],i=n[1],a=n[2];return t?[r[0],i,a]:r},tN=(e,t)=>("function"==typeof t?e.map(t):tr(t)).map(String);class tD extends tl{constructor(e){void 0===e&&(e={}),super(),!e.transform||e.transform instanceof to||(e=r.transform(e)),this.payload=e}}let tI={transparent:0,aliceblue:0xf0f8ffff,antiquewhite:0xfaebd7ff,aqua:0xffffff,aquamarine:0x7fffd4ff,azure:0xf0ffffff,beige:0xf5f5dcff,bisque:0xffe4c4ff,black:255,blanchedalmond:0xffebcdff,blue:65535,blueviolet:0x8a2be2ff,brown:0xa52a2aff,burlywood:0xdeb887ff,burntsienna:0xea7e5dff,cadetblue:0x5f9ea0ff,chartreuse:0x7fff00ff,chocolate:0xd2691eff,coral:0xff7f50ff,cornflowerblue:0x6495edff,cornsilk:0xfff8dcff,crimson:0xdc143cff,cyan:0xffffff,darkblue:35839,darkcyan:9145343,darkgoldenrod:0xb8860bff,darkgray:0xa9a9a9ff,darkgreen:6553855,darkgrey:0xa9a9a9ff,darkkhaki:0xbdb76bff,darkmagenta:0x8b008bff,darkolivegreen:0x556b2fff,darkorange:0xff8c00ff,darkorchid:0x9932ccff,darkred:0x8b0000ff,darksalmon:0xe9967aff,darkseagreen:0x8fbc8fff,darkslateblue:0x483d8bff,darkslategray:0x2f4f4fff,darkslategrey:0x2f4f4fff,darkturquoise:0xced1ff,darkviolet:0x9400d3ff,deeppink:0xff1493ff,deepskyblue:0xbfffff,dimgray:0x696969ff,dimgrey:0x696969ff,dodgerblue:0x1e90ffff,firebrick:0xb22222ff,floralwhite:0xfffaf0ff,forestgreen:0x228b22ff,fuchsia:0xff00ffff,gainsboro:0xdcdcdcff,ghostwhite:0xf8f8ffff,gold:0xffd700ff,goldenrod:0xdaa520ff,gray:0x808080ff,green:8388863,greenyellow:0xadff2fff,grey:0x808080ff,honeydew:0xf0fff0ff,hotpink:0xff69b4ff,indianred:0xcd5c5cff,indigo:0x4b0082ff,ivory:0xfffff0ff,khaki:0xf0e68cff,lavender:0xe6e6faff,lavenderblush:0xfff0f5ff,lawngreen:0x7cfc00ff,lemonchiffon:0xfffacdff,lightblue:0xadd8e6ff,lightcoral:0xf08080ff,lightcyan:0xe0ffffff,lightgoldenrodyellow:0xfafad2ff,lightgray:0xd3d3d3ff,lightgreen:0x90ee90ff,lightgrey:0xd3d3d3ff,lightpink:0xffb6c1ff,lightsalmon:0xffa07aff,lightseagreen:0x20b2aaff,lightskyblue:0x87cefaff,lightslategray:0x778899ff,lightslategrey:0x778899ff,lightsteelblue:0xb0c4deff,lightyellow:0xffffe0ff,lime:0xff00ff,limegreen:0x32cd32ff,linen:0xfaf0e6ff,magenta:0xff00ffff,maroon:0x800000ff,mediumaquamarine:0x66cdaaff,mediumblue:52735,mediumorchid:0xba55d3ff,mediumpurple:0x9370dbff,mediumseagreen:0x3cb371ff,mediumslateblue:0x7b68eeff,mediumspringgreen:0xfa9aff,mediumturquoise:0x48d1ccff,mediumvioletred:0xc71585ff,midnightblue:0x191970ff,mintcream:0xf5fffaff,mistyrose:0xffe4e1ff,moccasin:0xffe4b5ff,navajowhite:0xffdeadff,navy:33023,oldlace:0xfdf5e6ff,olive:0x808000ff,olivedrab:0x6b8e23ff,orange:0xffa500ff,orangered:0xff4500ff,orchid:0xda70d6ff,palegoldenrod:0xeee8aaff,palegreen:0x98fb98ff,paleturquoise:0xafeeeeff,palevioletred:0xdb7093ff,papayawhip:0xffefd5ff,peachpuff:0xffdab9ff,peru:0xcd853fff,pink:0xffc0cbff,plum:0xdda0ddff,powderblue:0xb0e0e6ff,purple:0x800080ff,rebeccapurple:0x663399ff,red:0xff0000ff,rosybrown:0xbc8f8fff,royalblue:0x4169e1ff,saddlebrown:0x8b4513ff,salmon:0xfa8072ff,sandybrown:0xf4a460ff,seagreen:0x2e8b57ff,seashell:0xfff5eeff,sienna:0xa0522dff,silver:0xc0c0c0ff,skyblue:0x87ceebff,slateblue:0x6a5acdff,slategray:0x708090ff,slategrey:0x708090ff,snow:0xfffafaff,springgreen:0xff7fff,steelblue:0x4682b4ff,tan:0xd2b48cff,teal:8421631,thistle:0xd8bfd8ff,tomato:0xff6347ff,turquoise:0x40e0d0ff,violet:0xee82eeff,wheat:0xf5deb3ff,white:0xffffffff,whitesmoke:0xf5f5f5ff,yellow:0xffff00ff,yellowgreen:0x9acd32ff},tx="[-+]?\\d*\\.?\\d+",tw=tx+"%";function tR(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}let tP=RegExp("rgb"+tR(tx,tx,tx)),tL=RegExp("rgba"+tR(tx,tx,tx,tx)),tM=RegExp("hsl"+tR(tx,tw,tw)),tF=RegExp("hsla"+tR(tx,tw,tw,tx)),tB=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tH=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tU=/^#([0-9a-fA-F]{6})$/,tj=/^#([0-9a-fA-F]{8})$/;function tG(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}
1function tV(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=tG(i,r,e+1/3);return Math.round(255*a)<<24|Math.round(255*tG(i,r,e))<<16|Math.round(255*tG(i,r,e-1/3))<<8}function tz(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function tY(e){return(parseFloat(e)%360+360)%360/360}function tq(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function tW(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function tX(e){let t,n="number"==typeof e?e>>>0===e&&e>=0&&e<=0xffffffff?e:null:(t=tU.exec(e))?parseInt(t[1]+"ff",16)>>>0:tI.hasOwnProperty(e)?tI[e]:(t=tP.exec(e))?(tz(t[1])<<24|tz(t[2])<<16|tz(t[3])<<8|255)>>>0:(t=tL.exec(e))?(tz(t[1])<<24|tz(t[2])<<16|tz(t[3])<<8|tq(t[4]))>>>0:(t=tB.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=tj.exec(e))?parseInt(t[1],16)>>>0:(t=tH.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=tM.exec(e))?(255|tV(tY(t[1]),tW(t[2]),tW(t[3])))>>>0:(t=tF.exec(e))?(tV(tY(t[1]),tW(t[2]),tW(t[3]))|tq(t[4]))>>>0:null;if(null===n)return e;let r=(0xff000000&(n=n||0))>>>24,i=(0xff0000&n)>>>16,a=(65280&n)>>>8,o=(255&n)/255;return`rgba(${r}, ${i}, ${a}, ${o})`}let tQ=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,tK=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,t$=RegExp(`(${Object.keys(tI).join("|")})`,"g"),tJ={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tZ=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),t0=["Webkit","Ms","Moz","O"];tJ=Object.keys(tJ).reduce((e,t)=>(t0.forEach(n=>e[tZ(n,t)]=e[t]),e),tJ);let t1={};s=e=>new tD(e),a=e=>{let t=e.output.map(e=>e.replace(tK,tX)).map(e=>e.replace(t$,tX)),n=t[0].match(tQ).map(()=>[]);t.forEach(e=>{e.match(tQ).forEach((e,t)=>n[t].push(+e))});let r=t[0].match(tQ).map((t,r)=>tv(e7({},e,{output:n[r]})));return e=>{let n=0;return t[0].replace(tQ,()=>r[n++](e)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`)}},i=tI,r={fn:(e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{let i=t.style,a=t.children,o=t.scrollTop,s=t.scrollLeft,l=te(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(let t in void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==a&&(e.textContent=a),i)if(i.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=function(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||tJ.hasOwnProperty(e)&&tJ[e]?(""+t).trim():t+"px"}(t,i[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in l){let n=c?t:t1[t]||(t1[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));void 0!==e.getAttribute(n)&&e.setAttribute(n,l[t])}return}},transform:e=>e};let t2=(function(e,t){return void 0===t&&(t=!0),n=>(tt.arr(n)?n:Object.keys(n)).reduce((n,r)=>{let i=t?r[0].toLowerCase()+r.substring(1):r;return n[i]=e(i),n},e)})(e=>(0,g.forwardRef)((t,n)=>{let i=function(){let e=(0,g.useState)(!1)[1];return(0,g.useCallback)(()=>e(e=>!e),[])}(),a=(0,g.useRef)(!0),o=(0,g.useRef)(null),s=(0,g.useRef)(null),l=(0,g.useCallback)(e=>{let t=o.current;o.current=new th(e,()=>{let e=!1;s.current&&(e=r.fn(s.current,o.current.getAnimatedValue())),s.current&&!1!==e||i()}),t&&t.detach()},[]);(0,g.useEffect)(()=>()=>{a.current=!1,o.current&&o.current.detach()},[]),(0,g.useImperativeHandle)(n,()=>td(s,a,i)),l(t);let c=o.current.getValue(),u=(c.scrollTop,c.scrollLeft,te(c,["scrollTop","scrollLeft"])),d=tf(e)?void 0:e=>s.current=function(e,t){return t&&(tt.fun(t)?t(e):tt.obj(t)&&(t.current=e)),e}(e,n);return g.createElement(e,e7({},u,{ref:d}))}),!1)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function t3(e,t){return e.map(function(e,n){return e+t[n]})}function t5(e,t){return e.map(function(e,n){return e-t[n]})}function t4(e){return Math.hypot.apply(Math,e)}function t8(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}
1function t6(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function t9(e,t,n,r){return(void 0===r&&(r=.15),0===r)?Math.max(t,Math.min(e,n)):e<t?-t6(t-e,n-t,r)+t:e>n?+t6(e-n,n-t,r)+n:e}function t7(){return(t7=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ne(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function nt(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function nn(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ni(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nr(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nr(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function na(){}function no(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?na:1===t.length?t[0]:function(){for(var e,n,r=ni(t);!(n=r()).done;)e=n.value.apply(this,arguments)||e;return e}}function ns(e,t){if(void 0===e){if(void 0===t)throw Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function nl(e,t){return Object.assign({},t,e||{})}function nc(e){if("function"!=typeof e)return e;for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}function nu(e,t){void 0===e&&(e={});for(var n={},r=0,i=Object.entries(t);r<i.length;r++){var a=i[r],o=a[0],s=a[1];switch(typeof s){case"function":n[o]=s.call(n,e[o],o,e);break;case"object":n[o]=nu(e[o],s);break;case"boolean":s&&(n[o]=e[o])}}return n}var nd={threshold:function(e){return void 0===e&&(e=0),ns(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return ns(.15);case!1:return ns(0);default:return ns(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return(void 0===e&&(e=0),"function"==typeof e)?e:ns(e)}},nh=t7({},nd,{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return nh.bounds(e(t))};var t=e,n=t.left,r=t.right,i=t.top,a=t.bottom;return[[void 0===n?-1/0:n,void 0===r?1/0:r],[void 0===i?-1/0:i,void 0===a?1/0:a]]}}),nf="undefined"!=typeof window&&window.document&&window.document.createElement,np={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return void 0===e&&(e=nf?window:void 0),e}),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=t.capture;return{passive:void 0===n||n,capture:void 0!==r&&r}}},nm=t7({},nd,{bounds:function(e,t,n){var r=n.distanceBounds,i=void 0===r?{}:r,a=n.angleBounds,o=void 0===a?{}:a,s=function(e){var t=nl(nc(i,e),{min:-1/0,max:1/0});return[t.min,t.max]},l=function(e){var t=nl(nc(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof i&&"function"!=typeof o?[s(),l()]:function(e){return[s(e),l(e)]}}}),ng=t7({},nh,{threshold:function(e,t,n){var r=n.filterTaps,i=void 0!==r&&r,a=n.lockDirection,o=n.axis,s=ns(e,i?3:void 0!==a&&a?1:+!!(void 0===o?void 0:o));return this.filterTaps=i||s[0]+s[1]>0,s},swipeVelocity:function(e){return void 0===e&&(e=.5),ns(e)},swipeDistance:function(e){return void 0===e&&(e=60),ns(e)},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function nE(e){return void 0===e&&(e={}),nu(e,np)}function ny(e){return void 0===e&&(e={}),nu(e,nh)}function nv(e){var t,n=e.domTarget,r=e.eventOptions,i=e.window,a=e.enabled,o=nt(e,["domTarget","eventOptions","window","enabled"]),s=nE({domTarget:n,eventOptions:r,
1window:i,enabled:a});return void 0===(t=o)&&(t={}),s.drag=nu(t,ng),s}function nT(e){return t7({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:na,canceled:!1,memo:void 0,args:void 0},e)}function nb(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},drag:nT({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),pinch:nT({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:nT({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:nT({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:nT({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var n_=new Map,nA=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var i=arguments.length,a=Array(i>2?i-2:0),o=2;o<i;o++)a[o-2]=arguments[o];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(a))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var i=t7({},n.controller.state.shared,n.state,n.mapStateValues(n.state)),a=n.handler(i);return n.state.memo=void 0!==a?a:n.state.memo,n.state._active||n.clean(),i}}var t=e.prototype;return t.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},t.updateGestureState=function(e){Object.assign(this.state,e)},t.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},t.getMovement=function(e){var t,n,r,i,a=this.config,o=a.initial,s=a.bounds,l=a.rubberband,c=a.threshold,u=this.state,d=u._bounds,h=u._initial,f=u._active,p=u._intentional,m=u.lastOffset,g=u.movement,E=this.getInternalMovement(e,this.state),y=!1===p[0]?nS(E[0],c[0]):p[0],v=!1===p[1]?nS(E[1],c[1]):p[1],T=this.checkIntentionality([y,v],E);if(T._blocked)return t7({},T,{_movement:E,delta:[0,0]});var b=T._intentional;!1!==b[0]&&!1===p[0]&&(n=nc(o,this.state),t=nc(s,this.state),h[0]=n[0],d[0]=t[0]),!1!==b[1]&&!1===p[1]&&(n=null!=(r=n)?r:nc(o,this.state),t=null!=(i=t)?i:nc(s,this.state),h[1]=n[1],d[1]=t[1]);var _=[!1!==b[0]?E[0]-b[0]:h[0],!1!==b[1]?E[1]-b[1]:h[1]],A=t3(_,m),S=f?l:[0,0];return _=nk(d,t3(_,h),S),t7({},T,{intentional:!1!==b[0]||!1!==b[1],_initial:h,_movement:E,movement:_,values:e,offset:nk(d,A,S),delta:t5(_,g)})},t.clean=function(){this.clearTimeout()},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),e}();function nS(e,t){return Math.abs(e)>=t&&t8(e)*t}function nk(e,t,n){var r=t[0],i=t[1],a=n[0],o=n[1],s=e[0],l=s[0],c=s[1],u=e[1],d=u[0],h=u[1];return[t9(r,l,c,a),t9(i,d,h,o)]}function nC(e,t,n){var r=e.state,i=e.args,a=t.timeStamp,o=t.type,s=r.values,l=n?0:a-r.startTime;return{_lastEventType:o,event:t,timeStamp:a,elapsedTime:l,args:i,previous:s}}var nO=function(e){var t=this;this.classes=e,this.bind=function(){for(var e={},n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var a,o=ni(t.classes);!(a=o()).done;)new a.value(t,r).addBindings(e);for(var s=0,l=Object.entries(t.nativeRefs);s<l.length;s++){var c=l[s];nI(e,c[0],function(e,t){return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return e.call.apply(e,[this,t7({},t,{event:n})].concat(i))}}(c[1],t7({},t.state.shared,{args:r})))}return t.config.domTarget?function(e,t){var n=e.config,r=e.domListeners,i=nD(n);if(!i)throw Error("domTarget must be defined");var a=n.eventOptions;nw(i,nN(r),a);for(var o=0,s=Object.entries(t);o<s.length;o++){var l=s[o],c=l[0],u=l[1],d=c.slice(2).toLowerCase();r.push([d,no.apply(void 0,u)])}nx(i,r,a)}(t,e):function(e,t){for(var n=e.config,r={},i=n.eventOptions.capture?"Capture":"",a=0,o=Object.entries(t);a<o.length;a++){var s=o[a],l=s[0],c=s[1],u=Array.isArray(c)?c:[c];r[l+i]=no.apply(void 0,u)}return r}(t,e)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=nD(t.config),n=t.config.eventOptions;
1e&&nw(e,nN(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,i=e.windowListeners;if(n){for(var a in i)nw(n,i[a],r);e.windowListeners={}}}(t)},this.state=nb(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function nN(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function nD(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function nI(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function nx(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,i=ni(t);!(r=i()).done;){var a=r.value,o=a[0],s=a[1];e.addEventListener(o,s,n)}}function nw(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,i=ni(t);!(r=i()).done;){var a=r.value,o=a[0],s=a[1];e.removeEventListener(o,s,n)}}function nR(){}function nP(e){if("touches"in e){var t=e.targetTouches,n=e.changedTouches;return t.length>0?t:n}return null}function nL(e){var t="buttons"in e?e.buttons:0,n=nP(e),r=n&&n.length||0;return{touches:r,down:r>0||t>0,buttons:t,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}function nM(e){var t=nP(e),n=t?t[0]:e;return[n.clientX,n.clientY]}var nF=function(e){function t(){var t;return t=e.apply(this,arguments)||this,t.ingKey="dragging",t.stateKey="drag",t.onDragStart=function(e){if(t.enabled&&!t.state._active){var n,r,i,a,o;n=t.controller,r=t.stateKey,i=[["pointermove",t.onDragChange],["pointerup",t.onDragEnd],["pointercancel",t.onDragEnd]],a=n.config,o=n.windowListeners,void 0===i&&(i=[]),a.window&&(nw(a.window,o[r],a.eventOptions),nx(a.window,o[r]=i,a.eventOptions)),t.updateGestureState({_pointerId:e.pointerId}),t.config.delay>0?(t.state._delayedEvent=!0,"persist"in e&&"function"==typeof e.persist&&e.persist(),t.setTimeout(t.startDrag.bind(nn(t)),t.config.delay,e)):t.startDrag(e)}},t.onDragChange=function(e){if(!t.state.canceled&&e.pointerId===t.state._pointerId){if(!t.state._active){t.state._delayedEvent&&(t.clearTimeout(),t.startDrag(e));return}var n=nL(e);if(!n.down){t.onDragEnd(e);return}t.updateSharedState(n);var r=nM(e),i=t.getKinematics(r,e),a=nC(nn(t),e),o=t.state._isTap,s=t4(i._movement);o&&s>=3&&(o=!1),t.updateGestureState(t7({},a,i,{_isTap:o})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(e.pointerId===t.state._pointerId){t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0});var n=t.state._isTap,r=t.state.velocities,i=r[0],a=r[1],o=t.state.movement,s=o[0],l=o[1],c=t.state._intentional,u=c[0],d=c[1],h=t.config.swipeVelocity,f=h[0],p=h[1],m=t.config.swipeDistance,g=m[0],E=m[1],y=t7({},nC(nn(t),e),t.getMovement(t.state.values)),v=[0,0];y.elapsedTime<220&&(!1!==u&&Math.abs(i)>f&&Math.abs(s)>g&&(v[0]=t8(i)),!1!==d&&Math.abs(a)>p&&Math.abs(l)>E&&(v[1]=t8(a))),t.updateGestureState(t7({},y,{tap:n,swipe:v})),t.fireGestureHandler(!0===n)}},t.clean=function(){var n,r,i,a;e.prototype.clean.call(nn(t)),t.state._delayedEvent=!1,n=t.controller,r=t.stateKey,i=n.config,a=n.windowListeners,i.window&&(nw(i.window,a[r],i.eventOptions),delete a[r])},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0}),t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame(function(){return t.fireGestureHandler()}))},t.onClick=function(e){t.state._isTap||e.stopPropagation()},t}ne(t,e);var n=t.prototype;return n.startDrag=function(e){var t,n,r=nM(e);this.updateSharedState(nL(e)),this.updateGestureState(t7({},(t=this.state.offset,n=e.timeStamp,t7({},nb()[this.stateKey],{_active:!0,values:r,initial:r,offset:t,lastOffset:t,startTime:n})),nC(this,e,!0),{_pointerId:e.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(r)),this.fireGestureHandler()},n.addBindings=function(e){nI(e,"onPointerDown",this.onDragStart),this.config.filterTaps&&nI(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(function(e){function t(){return e.apply(this,arguments)||this}ne(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return t5(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],i=n[1],a=this.state.axis||(r>i?"x":r<i?"y":void 0);return this.config.axis||this.config.lockDirection?a?this.config.axis&&a!==this.config.axis?{_intentional:e,_blocked:!0,axis:a}:(e[+("x"===a)]=!1,{_intentional:e,_blocked:!1,axis:a}):{_intentional:[!1,!1],_blocked:!1,axis:a}:{_intentional:e,_blocked:!1,axis:a}},n.getKinematics=function(e,t){var n=this.getMovement(e);
1if(!n._blocked){var r,i,a,o,s,l,c,u=t.timeStamp-this.state.timeStamp;Object.assign(n,(r=n.movement,o=0===(a=t4(i=n.delta))?0:1/a,s=0===u?0:1/u,l=i.map(function(e){return s*e}),c=i.map(function(e){return o*e}),{velocities:l,velocity:s*a,distance:t4(r),direction:c}))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(nA));function nB(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,i,a,o;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!==n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if("function"==typeof Map&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(o=t.entries();!(i=o.next()).done;)if(!n.has(i.value[0]))return!1;for(o=t.entries();!(i=o.next()).done;)if(!e(i.value[1],n.get(i.value[0])))return!1;return!0}if("function"==typeof Set&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(o=t.entries();!(i=o.next()).done;)if(!n.has(i.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;if("undefined"!=typeof Element&&t instanceof Element)return!1;for(i=r;0!=i--;)if(("_owner"!==a[i]||!t.$$typeof)&&!e(t[a[i]],n[a[i]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}var nH=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],nU=nH.join(","),nj="undefined"==typeof Element,nG=nj?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,nV=!nj&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},nz=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(nU));return t&&nG.call(e,nU)&&r.unshift(e),r=r.filter(n)},nY=function e(t,n,r){for(var i=[],a=Array.from(t);a.length;){var o=a.shift();if("SLOT"===o.tagName){var s=o.assignedElements(),l=e(s.length?s:o.children,!0,r);r.flatten?i.push.apply(i,l):i.push({scope:o,candidates:l})}else{nG.call(o,nU)&&r.filter(o)&&(n||!t.includes(o))&&i.push(o);var c=o.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(o),u=!r.shadowRootFilter||r.shadowRootFilter(o);if(c&&u){var d=e(!0===c?o.children:c.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scope:o,candidates:d})}else a.unshift.apply(a,o.children)}}return i},nq=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},nW=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},nX=function(e){return"INPUT"===e.tagName},nQ=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},nK=function(e){if(!e.name)return!0;var t,n=e.form||nV(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=nQ(t,e.form);return!i||i===e},n$=function(e){return nX(e)&&"radio"===e.type&&!nK(e)},nJ=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},nZ=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=nG.call(e,"details>summary:first-of-type")?e.parentElement:e;if(nG.call(i,"details:not([open]) *"))return!0;var a=nV(e).host,o=(null==a?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return nJ(e)}else{if("function"==typeof r){for(var s=e;e;){var l=e.parentElement,c=nV(e);if(l&&!l.shadowRoot&&!0===r(l))return nJ(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=s}if(o)return!e.getClientRects().length}return!1}
1,n0=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!nG.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},n1=function(e,t){return!(t.disabled||nX(t)&&"hidden"===t.type||nZ(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||n0(t))},n2=function(e,t){return!(n$(t)||0>nq(t))&&!!n1(e,t)},n3=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},n5=function e(t){var n=[],r=[];return t.forEach(function(t,i){var a=!!t.scope,o=a?t.scope:t,s=nq(o,a),l=a?e(t.candidates):o;0===s?a?n.push.apply(n,l):n.push(o):r.push({documentOrder:i,tabIndex:s,item:t,isScope:a,content:l})}),r.sort(nW).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},n4=function(e,t){var n;return n5((t=t||{}).getShadowRoot?nY([e],t.includeContainer,{filter:n2.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:n3}):nz(e,t.includeContainer,n2.bind(null,t)))},n8=function(e,t){var n;return(t=t||{}).getShadowRoot?nY([e],t.includeContainer,{filter:n1.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):nz(e,t.includeContainer,n1.bind(null,t))},n6=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==nG.call(e,nU)&&n2(t,e)},n9=nH.concat("iframe").join(","),n7=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==nG.call(e,n9)&&n1(t,e)};function re(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 rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var rn=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),rr=function(e){return setTimeout(e,0)},ri=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},ra=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},ro=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},rs=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=rt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e){return a.containerGroups.findIndex(function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find(function(t){return t===e})})},l=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];t=t.apply(void 0,a)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=r.querySelector(t)))throw Error("`".concat(e,"` as selector refers to no known node"));return s},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement)>=0)e=r.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(a.containerGroups=a.containers.map(function(e){var t=n4(e,i.tabbableOptions),n=n8(e,i.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=n.findIndex(function(t){return t===e});if(!(r<0))return t?n.slice(r+1).find(function(e){return n6(e,i.tabbableOptions)}):n.slice(0,r).reverse().find(function(e){return n6(e,i.tabbableOptions)})}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){if(!1!==t&&t!==r.activeElement){if(!t||!t.focus){e(c());return}t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&t.select()}},h=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},f=function(e){var t=ro(e);if(!(s(t)>
1=0)){if(ra(i.clickOutsideDeactivates,e)){n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!n7(t,i.tabbableOptions)});return}ra(i.allowOutsideClick,e)||e.preventDefault()}},p=function(e){var t=ro(e),n=s(t)>=0;n||t instanceof Document?n&&(a.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(a.mostRecentlyFocusedNode||c()))},m=function(e){var t=ro(e);u();var n=null;if(a.tabbableGroups.length>0){var r=s(t),o=r>=0?a.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=ri(a.tabbableGroups,function(e){return t===e.firstTabbableNode});if(c<0&&(o.container===t||n7(t,i.tabbableOptions)&&!n6(t,i.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(c=r),c>=0){var h=0===c?a.tabbableGroups.length-1:c-1;n=a.tabbableGroups[h].lastTabbableNode}}else{var f=ri(a.tabbableGroups,function(e){return t===e.lastTabbableNode});if(f<0&&(o.container===t||n7(t,i.tabbableOptions)&&!n6(t,i.tabbableOptions)&&!o.nextTabbableNode(t))&&(f=r),f>=0){var p=f===a.tabbableGroups.length-1?0:f+1;n=a.tabbableGroups[p].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),d(n))},g=function(e){if(("Escape"===e.key||"Esc"===e.key||27===e.keyCode)&&!1!==ra(i.escapeDeactivates,e)){e.preventDefault(),n.deactivate();return}if("Tab"===e.key||9===e.keyCode){m(e);return}},E=function(e){!(s(ro(e))>=0||ra(i.clickOutsideDeactivates,e))&&(ra(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation()))},y=function(){if(a.active)return rn.activateTrap(n),a.delayInitialFocusTimer=i.delayInitialFocus?rr(function(){d(c())}):d(c()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",f,{capture:!0,passive:!1}),r.addEventListener("touchstart",f,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},v=function(){if(a.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",f,!0),r.removeEventListener("touchstart",f,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",g,!0),n};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=o(e,"onActivate"),n=o(e,"onPostActivate"),i=o(e,"checkCanFocusTrap");i||u(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){i&&u(),y(),n&&n()};return i?i(a.containers.concat()).then(s,s):s(),this},deactivate:function(e){if(!a.active)return this;var t=rt({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,v(),a.active=!1,a.paused=!1,rn.deactivateTrap(n);var r=o(t,"onDeactivate"),s=o(t,"onPostDeactivate"),l=o(t,"checkCanReturnFocus"),c=o(t,"returnFocus","returnFocusOnDeactivate");r&&r();var u=function(){rr(function(){c&&d(h(a.nodeFocusedBeforeActivation)),s&&s()})};return c&&l?l(h(a.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(){return a.paused||!a.active||(a.paused=!0,v()),this},unpause:function(){return a.paused&&a.active&&(a.paused=!1,u(),y()),this},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
1Boolean).map(function(e){return"string"==typeof e?r.querySelector(e):e}),a.active&&u(),this}}).updateContainerElements(e),n},rl=!1;if("undefined"!=typeof window){var rc={get passive(){rl=!0;return}};window.addEventListener("testPassive",null,rc),window.removeEventListener("testPassive",null,rc)}var ru="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),rd=[],rh=!1,rf=-1,rp=void 0,rm=void 0,rg=function(e){return rd.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},rE=function(e){var t=e||window.event;return!!rg(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},ry=function(e){if(void 0===rm){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(rm=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===rp&&(rp=document.body.style.overflow,document.body.style.overflow="hidden")},rv=function(){void 0!==rm&&(document.body.style.paddingRight=rm,rm=void 0),void 0!==rp&&(document.body.style.overflow=rp,rp=void 0)},rT=function(e,t){var n=e.targetTouches[0].clientY-rf;return!rg(e.target)&&(t&&0===t.scrollTop&&n>0?rE(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?rE(e):(e.stopPropagation(),!0))},rb=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}rd.some(function(t){return t.targetElement===e})||(rd=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(rd),[{targetElement:e,options:t||{}}]),ru?(e.ontouchstart=function(e){1===e.targetTouches.length&&(rf=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&rT(t,e)},rh||(document.addEventListener("touchmove",rE,rl?{passive:!1}:void 0),rh=!0)):ry(t))},r_=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}rd=rd.filter(function(t){return t.targetElement!==e}),ru?(e.ontouchstart=null,e.ontouchmove=null,rh&&0===rd.length&&(document.removeEventListener("touchmove",rE,rl?{passive:!1}:void 0),rh=!1)):rd.length||rv()},rA=[],rS="ResizeObserver loop completed with undelivered notifications.",rk=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:rS}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=rS),window.dispatchEvent(e)};!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(p||(p={}));var rC=function(e){return Object.freeze(e)},rO=function(e,t){this.inlineSize=e,this.blockSize=t,rC(this)},rN=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,rC(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),rD=function(e){return e instanceof SVGElement&&"getBBox"in e},rI=function(e){if(rD(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,a=e.offsetHeight;return!(i||a||e.getClientRects().length)},rx=function(e){if(e instanceof Element)return!0;var t,n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},rw=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},rR="undefined"!=typeof window?window:{},rP=new WeakMap,rL=/auto|scroll/,rM=/^tb|vertical/,rF=/msie|trident/i.test(rR.navigator&&rR.navigator.userAgent),rB=function(e){return parseFloat(e||"0")},rH=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new rO((n?t:e)||0,(n?e:t)||0)},rU=rC({devicePixelContentBoxSize:rH(),borderBoxSize:rH(),contentBoxSize:rH(),contentRect:new rN(0,0,0,0)}),rj=function(e,t){if(void 0===t&&(t=!1),rP.has(e)&&!t)return rP.get(e);if(rI(e))return rP.set(e,rU),rU;var n=getComputedStyle(e),r=rD(e)&&e.ownerSVGElement&&e.getBBox(),i=!rF&&"border-box"===n.boxSizing,a=rM.test(n.writingMode||""),o=!r&&rL.test(n.overflowY||""),s=!r&&r
1L.test(n.overflowX||""),l=r?0:rB(n.paddingTop),c=r?0:rB(n.paddingRight),u=r?0:rB(n.paddingBottom),d=r?0:rB(n.paddingLeft),h=r?0:rB(n.borderTopWidth),f=r?0:rB(n.borderRightWidth),p=r?0:rB(n.borderBottomWidth),m=r?0:rB(n.borderLeftWidth),g=d+c,E=l+u,y=m+f,v=h+p,T=s?e.offsetHeight-v-e.clientHeight:0,b=o?e.offsetWidth-y-e.clientWidth:0,_=r?r.width:rB(n.width)-(i?g+y:0)-b,A=r?r.height:rB(n.height)-(i?E+v:0)-T,S=_+g+b+y,k=A+E+T+v,C=rC({devicePixelContentBoxSize:rH(Math.round(_*devicePixelRatio),Math.round(A*devicePixelRatio),a),borderBoxSize:rH(S,k,a),contentBoxSize:rH(_,A,a),contentRect:new rN(d,l,_,A)});return rP.set(e,C),C},rG=function(e,t,n){var r=rj(e,n),i=r.borderBoxSize,a=r.contentBoxSize,o=r.devicePixelContentBoxSize;switch(t){case p.DEVICE_PIXEL_CONTENT_BOX:return o;case p.BORDER_BOX:return i;default:return a}},rV=function(e){var t=rj(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=rC([t.borderBoxSize]),this.contentBoxSize=rC([t.contentBoxSize]),this.devicePixelContentBoxSize=rC([t.devicePixelContentBoxSize])},rz=function(e){if(rI(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},rY=function(){var e=1/0,t=[];rA.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new rV(t.target),i=rz(t.target);r.push(n),t.lastReportedSize=rG(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},rq=function(e){rA.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(rz(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},rW=function(){var e=0;for(rq(0);rA.some(function(e){return e.activeTargets.length>0});)rq(e=rY());return rA.some(function(e){return e.skippedTargets.length>0})&&rk(),e>0},rX=[],rQ=function(e){if(!m){var t=0,n=document.createTextNode("");new MutationObserver(function(){return rX.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),m=function(){n.textContent="".concat(t?t--:t++)}}rX.push(e),m()},rK=function(e){rQ(function(){requestAnimationFrame(e)})},r$=0,rJ={attributes:!0,characterData:!0,childList:!0,subtree:!0},rZ=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],r0=function(e){return void 0===e&&(e=0),Date.now()+e},r1=!1,r2=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!r1){r1=!0;var n=r0(e);rK(function(){var r=!1;try{r=rW()}finally{if(r1=!1,e=n-r0(),!r$)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,rJ)};document.body?t():rR.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rZ.forEach(function(t){return rR.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),rZ.forEach(function(t){return rR.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),r3=function(e){!r$&&e>0&&r2.start(),(r$+=e)||r2.stop()},r5=function(){function e(e,t){this.target=e,this.observedBox=t||p.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=rG(this.target,this.observedBox,!0);return!rD(e=this.target)&&!rw(e)&&"inline"===getComputedStyle(e).display&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),r4=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},r8=new WeakMap,r6=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},r9=function(){function e(){}return e.connect=function(e,t){var n=new r4(e,t);r8.set(e,n)},e.observe=function(e,t,n){var r=r8.get(e),i=0===r.observationTargets.length;0>r6(r.observationTargets,t)&&(i&&rA.push(r),r.observationTargets.push(new r5(t,n&&n.box)),r3(1),r2.schedule())},e.unobserve=function(e,t){var n=r8.get(e),r=r6(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&rA.splice(rA.indexOf(n),1),n.observationTargets.splice(r,1),r3(-1))},e.disconnect=function(e){var t=this,n=r8.get(e);
1n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),r7=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");r9.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rx(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");r9.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rx(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");r9.unobserve(this,e)},e.prototype.disconnect=function(){r9.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function ie(e){return b(b({type:F},e),{toJSON:function(){e.onDone,e.onError;var t=_(e,["onDone","onError"]);return b(b({},t),{type:F,src:function(e){if("string"==typeof e){var t={type:e};return t.toString=function(){return e},t}return e}(e.src)})}})}var it={},ir=function(e){return"#"===e[0]},ii=function(){function e(t,n,r,i){void 0===r&&(r="context"in t?t.context:void 0);var a,o=this;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==i?void 0:i.parent,this.key=this.config.key||(null==i?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||k([this.machine.key],S(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(a=this.config.schema)&&void 0!==a?a:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?X(this.config.states,function(t,n){var r,i=new e(t,{},void 0,{parent:o,key:n});return Object.assign(o.idMap,b(((r={})[i.id]=i,r),i.idMap)),i}):it;var s=0;!function e(t){var n,r;t.order=s++;try{for(var i=A(eT(t)),a=i.next();!a.done;a=i.next()){var o=a.value;e(o)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(e){return""===e.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=ee(this.config.entry||this.config.onEntry).map(function(e){return eD(e)}),this.onExit=ee(this.config.exit||this.config.onExit).map(function(e){return eD(e)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=ee(this.config.invoke).map(function(e,t){if(eu(e)){var n,r,i=eE(o.id,t);return o.machine.options.services=b(((n={})[i]=e,n),o.machine.options.services),ie({src:i,id:i})}if(es(e.src)){var i=e.id||eE(o.id,t);return ie(b(b({},e),{id:i,src:e.src}))}if(eu(e.src)||eo(e.src)){var i=e.id||eE(o.id,t);return o.machine.options.services=b(((r={})[i]=e.src,r),o.machine.options.services),ie(b(b({id:i},e),{src:i}))}var a=e.src;return ie(b(b({id:eE(o.id,t)},e),{src:a}))}),this.activities=ee(this.config.activities).concat(this.invoke).map(function(e){return ex(e)}),this.transition=this.transition.bind(this),this.tags=ee(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||(function e(t){var n=[t];return ev(t)?n:n.concat(J(eb(t).map(e)))}
vendor: 6,034 bytes, line 1
1)(this).forEach(function(e){return e.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,o=r.guards,s=r.services,l=r.delays;return new e(this.config,{actions:b(b({},i),t.actions),activities:b(b({},a),t.activities),guards:b(b({},o),t.guards),services:b(b({},s),t.services),delays:b(b({},l),t.delays)},null!=n?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return eo(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:X(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=""===e,n=this.transitions.filter(function(n){var r=n.eventType===e;return t?r:r||"*"===n.eventType});return this.__cache.candidates[e]=n,n},e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var n=function(t,n){var r,i,a=(r=eo(t)?"".concat(e.id,":delay[").concat(n,"]"):t,i=e.id,"".concat(c.After,"(").concat(r,")").concat(i?"#".concat(i):""));return e.onEntry.push(ew(a,{delay:t})),e.onExit.push({type:w,sendId:a}),a};return(ea(t)?t.map(function(e,t){var r=n(e.delay,t);return b(b({},e),{event:r})}):J(Object.keys(t).map(function(e,r){var i=t[e],a=es(i)?{target:i}:i,o=isNaN(+e)?e:+e,s=n(o,r);return ee(a).map(function(e){return b(b({},e),{event:s,delay:o})})}))).map(function(t){var n=t.delay;return b(b({},e.formatTransition(t)),{delay:n})})},e.prototype.getStateNodes=function(e){var t,n=this;if(!e)return[];var r=e instanceof eB?e.value:q(e,this.delimiter);if(es(r)){var i=this.getStateNode(r).initial;return void 0!==i?this.getStateNodes(((t={})[r]=i,t)):[this,this.states[r]]}var a=Object.keys(r),o=[this];return o.push.apply(o,k([],S(J(a.map(function(e){return n.getStateNode(e).getStateNodes(r[e])}))),!1)),o},e.prototype.handles=function(e){var t=z(e);return this.events.includes(t)},e.prototype.resolveState=function(e){var t=e instanceof eB?e:eB.create(e),n=Array.from(e_([],this.getStateNodes(t.value)));return new eB(b(b({},t),{value:this.resolve(t.value),configuration:n,done:ek(n,this),tags:eC(n),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,n){var r=this.getStateNode(e).next(t,n);return r&&r.transitions.length?r:this.next(t,n)},e.prototype.transitionCompoundNode=function(e,t,n){var r=Object.keys(e),i=this.getStateNode(r[0])._transition(e[r[0]],t,n);return i&&i.transitions.length?i:this.next(t,n)},e.prototype.transitionParallelNode=function(e,t,n){var r,i,a={};try{for(var o=A(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,c=e[l];if(c){var u=this.getStateNode(l)._transition(c,t,n);u&&(a[l]=u)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}var d=Object.keys(a).map(function(e){return a[e]}),h=J(d.map(function(e){return e.transitions}));if(!d.some(function(e){return e.transitions.length>0}))return this.next(t,n);var f=J(Object.keys(a).map(function(e){return a[e].configuration}));return{transitions:h,exitSet:J(d.map(function(e){return e.exitSet})),configuration:f,source:t,actions:J(Object.keys(a).map(function(e){return a[e].actions}))}},e.prototype._transition=function(e,t,n){return es(e)?this.transitionLeafNode(e,t,n):1===Object.keys(e).length?this.transitionCompoundNode(e,t,n):this.transitionParallelNode(e,t,n)},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,eh(t))},e.prototype.next=function(e,t){var n,r,i,a=this,o=t.name,s=[],l=[];try{for(var c=A(this.getCandidates(o)),u=c.next();!u.done;u=c.next()){var d=u.value,h=d.cond,f=d.in,p=e.context,m=!f||(es(f)&&ir(f)?e.matches(q(this.getStateNodeById(f).path,this.delimiter)):V(q(f,this.delimiter),K(this.path.slice(0,-2))(e.value))),g=!1;try{g=!h||ep(this.machine,h,p,t,e)}catch(e){throw Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(o,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(g&&m){void 0!==d.target&&(l=d.target),s.push.apply(s,k([],S(d.actions),!1)),i=d;break}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(i){if(!l.length)return{transitions:[i],exitSet:[],configuration:e.value?[this]:[],source:e,actions:s};var E=J(l.map(function(t){return a.getRelativeStateNodes(t,e.historyValue)})),y=!!i.internal;return{transitions:[i],exitSet:y?[]:J(l.map(function(e){return a.getPotentiallyReenteringNodes(e)})),configuration:E,source:e,actions:s}}},e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],n=this;n&&n!==e;)t.push(n),n=n.parent;return n!==e?[]:(t.push(e),t)},e.prototype.getActions=function(e,t,n,r,i,a,o){var s,l,u,d,h=this,f=a?e_([],this.get
1StateNodes(a.value)):[],p=new Set;try{for(var m=A(Array.from(e).sort(function(e,t){return e.order-t.order})),g=m.next();!g.done;g=m.next()){var E=g.value;(!eS(f,E)||eS(n.exitSet,E)||E.parent&&p.has(E.parent))&&p.add(E)}}catch(e){s={error:e}}finally{try{g&&!g.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}try{for(var y=A(f),v=y.next();!v.done;v=y.next()){var E=v.value;(!eS(e,E)||eS(n.exitSet,E.parent))&&n.exitSet.push(E)}}catch(e){u={error:e}}finally{try{v&&!v.done&&(d=y.return)&&d.call(y)}finally{if(u)throw u.error}}n.exitSet.sort(function(e,t){return t.order-e.order});var T=Array.from(p).sort(function(e,t){return e.order-t.order}),b=new Set(n.exitSet),_=J(T.map(function(e){var t=[];if("final"!==e.type)return t;var a=e.parent;if(!a.parent)return t;t.push(eR(e.id,e.doneData),eR(a.id,e.doneData?et(e.doneData,r,i):void 0));var o=a.parent;return"parallel"===o.type&&eb(o).every(function(e){return ek(n.configuration,e)})&&t.push(eR(o.id)),t})),C=T.map(function(e){var t=e.onEntry,n=e.activities.map(function(e){var t;return t=ex(e),{type:c.Start,activity:t,exec:void 0}});return{type:"entry",actions:eI(o?k(k([],S(t),!1),S(n),!1):k(k([],S(n),!1),S(t),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:_.map(function(e){var t;return{type:I,event:"function"==typeof e?e:ed(e),delay:void 0,id:null==t?void 0:t.id}})}),O=Array.from(b).map(function(e){return{type:"exit",actions:eI(k(k([],S(e.onExit),!1),S(e.activities.map(function(e){var t;return t=eo(e)?e:ex(e),{type:c.Stop,activity:t,exec:void 0}})),!1),h.machine.options.actions)}}).concat({type:"transition",actions:eI(n.actions,this.machine.options.actions)}).concat(C);if(t){var N=eI(J(k([],S(e),!1).sort(function(e,t){return t.order-e.order}).map(function(e){return e.onExit})),this.machine.options.actions).filter(function(e){return!ey(e)});return O.concat({type:"stop",actions:N})}return O},e.prototype.transition=function(e,t,n,r){void 0===e&&(e=this.initialState);var i,a,o=eh(t);if(e instanceof eB)a=void 0===n?e:this.resolveState(eB.from(e,n));else{var s=es(e)?this.resolve(W(this.getResolvedPath(e))):this.resolve(e),l=null!=n?n:this.machine.context;a=this.resolveState(eB.from(s,l))}if(this.strict&&!this.events.includes(o.name)&&(i=o.name,!/^(done|error)\./.test(i)))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(o.name,"'"));var c=this._transition(a.value,a,o)||{transitions:[],configuration:[],exitSet:[],source:a,actions:[]},u=e_([],this.getStateNodes(a.value)),d=c.configuration.length?e_(u,c.configuration):u;return c.configuration=k([],S(d),!1),this.resolveTransition(c,a,a.context,r,o)},e.prototype.resolveRaisedTransition=function(e,t,n,r){var i,a=e.actions;return(e=this.transition(e,t,void 0,r))._event=n,e.event=n.data,(i=e.actions).unshift.apply(i,k([],S(a),!1)),e},e.prototype.resolveTransition=function(e,t,n,r,i){var a,o,s,l,c,u,d=this;void 0===i&&(i=eO);var h=e.configuration,f=!t||e.transitions.length>0,p=f?e.configuration:t?t.configuration:[],m=ek(p,this),g=f?(o=e_([a=this.machine],h),function e(t,n){var r=n.get(t);if(!r)return{};if("compound"===t.type){var i=r[0];if(!i)return{};if(ev(i))return i.key}var a={};return r.forEach(function(t){a[t.key]=e(t,n)}),a}(a,eA(o))):void 0,E=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,y=this.getActions(new Set(p),m,e,n,i,t,r),v=t?b({},t.activities):{};try{for(var T=A(y),_=T.next();!_.done;_=T.next()){var k=_.value;try{for(var C=(c=void 0,A(k.actions)),O=C.next();!O.done;O=C.next()){var I=O.value;I.type===N?v[I.activity.id||I.activity.type]=I:I.type===D&&(v[I.activity.id||I.activity.type]=!1)}}catch(e){c={error:e}}finally{try{O&&!O.done&&(u=C.return)&&u.call(C)}finally{if(c)throw c.error}}}}catch(e){s={error:e}}finally{try{_&&!_.done&&(l=T.return)&&l.call(T)}finally{if(s)throw s.error}}var x=S(eF(this,t,n,i,y,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),w=x[0],P=x[1],L=S(function(e,t){var n,r,i=S([[],[]],2),a=i[0],o=i[1];try{for(var s=A(e),l=s.next();!l.done;l=s.next()){var c=l.value;t(c)?a.push(c):o.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return[a,o]}(w,ey),2),M=L[0],B=L[1],H=w.filter(function(e){var t;return e.type===N&&(null===(t=e.activity)||void 0===t?void 0:t.type)===F}).reduce(function(e,t){var n,r,a,o,s,l,c,u;return e[t.activity.id]=(n=t.activity,r=d.machine,a=i,s=em(n.src),l=null===(o=null==r?void 0:r.options.services)||void 0===o?void 0:o[s.type],c=n.data?et(n.data,P,a):void 0,(u=l?eY(l,n.id,c):ez(n.id)).meta=n,u),e},t?b({},t.children):{}),j=new eB({value:g||t.value,context:P,_event:i,_sessionid:t?t._sessionid:null,historyValue:g?E?{current:g,states:function e(t,n){return X(t.states,function(t,r){if(t){var i=(es(n)?void 0:n[r])||(t?t.current:void 0);if(i)return{current:i,states:e(t,i)}}})}(E,g)}:void 0:t?t.historyValue:void 0,history:!g||e.source?t:void 0,actions:g?B:[],activities:g?v:t?t.activities:{},events:[],configuration:p,transitions:e.transitions,children:H,done:m,tags:eC(p),machine:this}),G=n!==P;j.changed=i.name===U||G;var V=j.history;V&&delete V.history;var z=!m&&(this._transient||h.some(function(e){return e._transient}));if(!f&&(!z||""===i.name))return j;var Y=j;
1if(!m)for(z&&(Y=this.resolveRaisedTransition(Y,{type:R},i,r));M.length;){var q=M.shift();Y=this.resolveRaisedTransition(Y,q._event,i,r)}var W=Y.changed||(V?!!Y.actions.length||G||typeof V.value!=typeof Y.value||!function e(t,n){if(t===n)return!0;if(void 0===t||void 0===n)return!1;if(es(t)||es(n))return t===n;var r=Object.keys(t),i=Object.keys(n);return r.length===i.length&&r.every(function(r){return e(t[r],n[r])})}(Y.value,V.value):void 0);return Y.changed=W,Y.history=V,Y},e.prototype.getStateNode=function(e){if(ir(e))return this.machine.getStateNodeById(e);if(!this.states)throw Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},e.prototype.getStateNodeById=function(e){var t=ir(e)?e.slice(1):e;if(t===this.id)return this;var n=this.machine.idMap[t];if(!n)throw Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&ir(e))try{return this.getStateNodeById(e.slice(1))}catch(e){}for(var t=Y(e,this.delimiter).slice(),n=this;t.length;){var r=t.shift();if(!r.length)break;n=n.getStateNode(r)}return n},e.prototype.resolve=function(e){var t,n=this;if(!e)return this.initialStateValue||it;switch(this.type){case"parallel":return X(this.initialStateValue,function(t,r){return t?n.getStateNode(r).resolve(e[r]||t):it});case"compound":if(es(e)){var r=this.getStateNode(e);if("parallel"===r.type||"compound"===r.type)return(t={})[e]=r.initialStateValue,t;return e}if(!Object.keys(e).length)return this.initialStateValue||{};return X(e,function(e,t){return e?n.getStateNode(t).resolve(e):it});default:return e||it}},e.prototype.getResolvedPath=function(e){if(ir(e)){var t=this.machine.idMap[e.slice(1)];if(!t)throw Error("Unable to find state node '".concat(e,"'"));return t.path}return Y(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=Q(this.states,function(e){return e.initialStateValue||it},function(e){return"history"!==e.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=ev(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();var n=this.getStateNodes(e);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e;if("history"===this.type){var t=this.config;e=es(t.target)&&ir(t.target)?W(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(e,t,n){return void 0===n&&(n=!0),n?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return ev(this)?[this]:"compound"!==this.type||this.initial?J($(this.initialStateValue).map(function(t){return e.getFromRelativePath(t)})):[this]},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=S(e),n=t[0],r=t.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var i=this.getStateNode(n);if("history"===i.type)return i.resolveHistory();if(!this.states[n])throw Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:Q(this.states,function(t,n){if(!e)return t.historyValue();var r=es(e)?void 0:e[n];return t.historyValue(r||t.initialStateValue)},function(e){return!e.history})}},e.prototype.resolveHistory=function(e){var t,n=this;if("history"!==this.type)return[this];var r=this.parent;if(!e){var i=this.target;return i?J($(i).map(function(e){return r.getFromRelativePath(e)})):r.initialStateNodes}var a=(t=r.path,function(e){var n,r,i=e;try{for(var a=A(t),o=a.next();!o.done;o=a.next()){var s=o.value;i=i.states[s]}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i})(e).current;
1return es(a)?[r.getStateNode(a)]:J($(a).map(function(e){return"deep"===n.history?r.getFromRelativePath(e):[r.states[e[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var e=this,t=J(Object.keys(this.states).map(function(t){return e.states[t].stateIds}));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){if(this.__cache.events)return this.__cache.events;var e,t,n,r,i=this.states,a=new Set(this.ownEvents);if(i)try{for(var o=A(Object.keys(i)),s=o.next();!s.done;s=o.next()){var l=i[s.value];if(l.states)try{for(var c=(n=void 0,A(l.events)),u=c.next();!u.done;u=c.next()){var d=u.value;a.add("".concat(d))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){return Array.from(new Set(this.transitions.filter(function(e){return!(!e.target&&!e.actions.length&&e.internal)}).map(function(e){return e.eventType})))},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map(function(e){if(!es(e))return e;var n=e[0]===t.delimiter;if(n&&!t.parent)return t.getStateNodeByPath(e.slice(1));var r=n?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(r);try{return t.parent.getStateNodeByPath(r)}catch(e){throw Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}})},e.prototype.formatTransition=function(e){var t=this,n=function(e){if(void 0!==e&&""!==e)return ee(e)}(e.target),r="internal"in e?e.internal:!n||n.some(function(e){return es(e)&&e[0]===t.delimiter}),i=this.machine.options.guards,a=this.resolveTarget(n),o=b(b({},e),{actions:eI(ee(e.actions)),cond:el(e.cond,i),target:a,source:this,internal:r,eventType:e.event,toJSON:function(){return b(b({},o),{target:o.target?o.target.map(function(e){return"#".concat(e.id)}):void 0,source:"#".concat(t.id)})}});return o},e.prototype.formatTransitions=function(){var e,t,n,r=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var i=this.config.on,a=i["*"],o=_(i,["*"]);n=J(Object.keys(o).map(function(e){return ef(e,o[e])}).concat(ef("*",void 0===a?[]:a)))}else n=[];var s=this.config.always?ef("",this.config.always):[],l=this.config.onDone?ef(String(eR(this.id)),this.config.onDone):[],c=J(this.invoke.map(function(e){var t=[];return e.onDone&&t.push.apply(t,k([],S(ef(String(eP(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,k([],S(ef(String(eL(e.id)),e.onError)),!1)),t})),u=this.after,d=J(k(k(k(k([],S(l),!1),S(c),!1),S(n),!1),S(s),!1).map(function(e){return ee(e).map(function(e){return r.formatTransition(e)})}));try{for(var h=A(u),f=h.next();!f.done;f=h.next()){var p=f.value;d.push(p)}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}return d},e}();function ia(){return(ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function io(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}var is="undefined"!=typeof window?g.useLayoutEffect:g.useEffect;function il(e,t,n){return t=(t*=1)==t?t:0,n=(n*=1)==n?n:0,(e*=1)==e&&(e=(e=e<=n?e:n)>=t?e:t),e}function ic(e){var t=Math.round(e);if(Number.isNaN(e))throw TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return t}var iu={box:"border-box"};function id(e,t){var n=t.label,r=t.enabled,i=t.resizeSourceRef,a=(0,g.useState)(0),o=a[0],s=a[1];(0,g.useDebugValue)(n+": "+o);var l=(0,g.useCallback)(function(e){s(e[0].borderBoxSize[0].blockSize),i.current="element"},[i]);return is(function(){if(e.current&&r){var t=new r7(l);return t.observe(e.current,iu),function(){t.disconnect()}}},[e,l,r]),r?o:0}function ih(e){return void 0===e&&(e=1e3),new Promise(function(t){return setTimeout(t,e)})}var ip={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},im={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},ig=function(e,t,n){return void 0===n&&(n=e.context),new ii(e,t,n)}({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:ia({},ip,im)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:ia({},ip,im)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:ia({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"}
1,entry:[{type:P,assignment:{y:function(e,t){return t.payload.y},velocity:function(e,t){return t.payload.velocity},snapSource:function(e,t){var n=t.payload.source;return void 0===n?"custom":n}}}]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(e,t){},onSnapCancel:function(e,t){},onResizeCancel:function(e,t){},onCloseCancel:function(e,t){},onOpenEnd:function(e,t){},onSnapEnd:function(e,t){},onRezizeEnd:function(e,t){}},services:{onSnapStart:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onOpenStart:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onCloseStart:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onResizeStart:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onSnapEnd:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onOpenEnd:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onCloseEnd:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},onResizeEnd:function(){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},renderVisuallyHidden:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},activate:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},deactivate:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},openSmoothly:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},openImmediately:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},snapSmoothly:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},resizeSmoothly:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}},closeSmoothly:function(e,t){try{return Promise.resolve(ih()).then(function(){})}catch(e){return Promise.reject(e)}}},guards:{initiallyClosed:function(e){return"CLOSED"===e.initialState},initiallyOpen:function(e){return"OPEN"===e.initialState}}}),iE=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],iy=["velocity"],iv=["onRest","config"],iT={tension:170,friction:26},ib=iT.tension,i_=iT.friction,iA=g.forwardRef(function(e,t){var n,r,i,a,o,s,l,c,u,d,h,p,m,E,y,v,T,b,_,A,S,k,C,O,N,D,I,x,w,R,P,L,M,F,B,H,U,j,G,V=e.children,z=e.sibling,Y=e.className,q=e.footer,W=e.header,X=e.open,Q=e.initialState,K=e.lastSnapRef,$=e.initialFocusRef,J=e.onDismiss,Z=e.maxHeight,ee=e.defaultSnap,et=void 0===ee?ik:ee,en=e.snapPoints,er=e.blocking,ei=void 0===er||er,ea=e.scrollLocking,eo=e.style,es=e.onSpringStart,el=e.onSpringCancel,ec=e.onSpringEnd,eu=e.reserveScrollBarGap,ed=void 0===eu?ei:eu,eh=e.expandOnContentDrag,ef=void 0!==eh&&eh,ep=io(e,iE),em=(eA=(e_=(0,g.useState)(!1))[0],eS=e_[1],eC=(ek=(0,g.useState)({}))[0],eO=ek[1],eN=(0,g.useCallback)(function(e){return eO(function(t){var n;return ia({},t,((n={})[e]=!1,n))}),function(){eO(function(t){var n;return ia({},t,((n={})[e]=!0,n))})}},[]),(0,g.useEffect)(function(){var e=Object.values(eC);0!==e.length&&e.every(Boolean)&&eS(!0)},[eC]),{ready:eA,registerReady:eN}),eg=em.ready,eE=em.registerReady,ey=(0,g.useRef)(!1),ev=(0,g.useRef)(es),eT=(0,g.useRef)(el),eb=(0,g.useRef)(ec);(0,g.useEffect)(function(){ev.current=es,eT.current=el,eb.current=ec},[el,es,ec]);var e_,eA,eS,ek,eC,eO,eN,eD,eI,ex,ew,eR,eP,eL,eM,eF,eU,ej,eG,eV,ez,eY,eq,eW,eX,eQ,eK,e$,e9,e7,te,tt,tn,tr,ti,ta,to,ts,tl,tc,tu,td,th,tf,tp,tm,tg,tE,ty,tv,tT,t_,tA,tS,tk,tC,tN,tD,tI,tx=tO(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),tw=tx[0],tR=tx[1],tP=(0,g.useRef)(null),tL=(0,g.useRef)(null),tM=(0,g.useRef)(null),tF=(0,g.useRef)(null),tB=(0,g.useRef)(null),tH=(0,g.useRef)(null),tU=(0,g.useRef)(0),tj=(0,g.useRef)(),tG=(0,g.useRef)(!1),tV=(tD=(0,g.useMemo)(function(){return"undefined"!=typeof window?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),tI=(0,g.useRef)(null==tD?void 0:tD.matches),(0,g.useDebugValue)(tI.current?"reduce":"no-preference"),(0,g.useEffect)(function(){var e=function(e){tI.current=e.matches};return null==tD||tD.addListener(e),function(){return null==tD?void 0:tD.removeListener(e)}}
1,[tD]),tI),tz=(eI=(eD={targetRef:tL,enabled:eg&&(void 0===ea||ea),reserveScrollBarGap:ed}).targetRef,ex=eD.enabled,ew=eD.reserveScrollBarGap,eR=(0,g.useRef)({activate:function(){throw TypeError("Tried to activate scroll lock too early")},deactivate:function(){}}),(0,g.useDebugValue)(ex?"Enabled":"Disabled"),(0,g.useEffect)(function(){if(!ex)return eR.current.deactivate(),void(eR.current={activate:function(){},deactivate:function(){}});var e=eI.current,t=!1;eR.current={activate:function(){t||(t=!0,rb(e,{allowTouchMove:function(e){return e.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:ew}))},deactivate:function(){t&&(t=!1,r_(e))}}},[ex,eI,ew]),eR),tY=(eL=(eP={targetRef:tP,enabled:eg&&ei}).targetRef,eM=eP.enabled,eF=(0,g.useRef)({activate:function(){throw TypeError("Tried to activate aria hider too early")},deactivate:function(){}}),(0,g.useDebugValue)(eM?"Enabled":"Disabled"),(0,g.useEffect)(function(){if(!eM)return eF.current.deactivate(),void(eF.current={activate:function(){},deactivate:function(){}});var e=eL.current,t=!1,n=[],r=[];eF.current={activate:function(){if(!t){t=!0;var i=e.parentNode;document.querySelectorAll("body > *").forEach(function(e){if(e!==i){var t=e.getAttribute("aria-hidden");null!==t&&"false"!==t||(n.push(t),r.push(e),e.setAttribute("aria-hidden","true"))}})}},deactivate:function(){t&&(t=!1,r.forEach(function(e,t){var r=n[t];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)}),n=[],r=[])}}},[eL,eM]),eF),tq=(ej=(eU={targetRef:tP,fallbackRef:tH,initialFocusRef:$||void 0,enabled:eg&&ei&&!1!==$}).targetRef,eG=eU.fallbackRef,eV=eU.initialFocusRef,ez=eU.enabled,eY=(0,g.useRef)({activate:function(){throw TypeError("Tried to activate focus trap too early")},deactivate:function(){}}),(0,g.useDebugValue)(ez?"Enabled":"Disabled"),(0,g.useEffect)(function(){if(!ez)return eY.current.deactivate(),void(eY.current={activate:function(){},deactivate:function(){}});var e=eG.current,t=rs(ej.current,{onActivate:void 0,initialFocus:eV?function(){return(null==eV?void 0:eV.current)||e}:void 0,fallbackFocus:e,escapeDeactivates:!1,clickOutsideDeactivates:!1}),n=!1;eY.current={activate:function(){try{return n?Promise.resolve():(n=!0,Promise.resolve(t.activate()).then(function(){return Promise.resolve(new Promise(function(e){return setTimeout(function(){return e(void 0)},0)})).then(function(){})}))}catch(e){return Promise.reject(e)}},deactivate:function(){n&&(n=!1,t.deactivate())}}},[ez,eG,eV,ej]),eY),tW=(tp=(eq={contentRef:tM,controlledMaxHeight:Z,footerEnabled:!!q,footerRef:tB,getSnapPoints:void 0===en?iC:en,headerEnabled:!1!==W,headerRef:tF,heightRef:tU,lastSnapRef:K,ready:eg,registerReady:eE,resizeSourceRef:tj}).getSnapPoints,tm=eq.heightRef,tg=eq.lastSnapRef,tE=eq.ready,tv=(te=(eW={contentRef:eq.contentRef,controlledMaxHeight:eq.controlledMaxHeight,footerEnabled:eq.footerEnabled,footerRef:eq.footerRef,headerEnabled:eq.headerEnabled,headerRef:eq.headerRef,registerReady:eq.registerReady,resizeSourceRef:eq.resizeSourceRef}).contentRef,tt=eW.controlledMaxHeight,tn=eW.footerEnabled,tr=eW.footerRef,ti=eW.headerEnabled,ta=eW.headerRef,to=eW.registerReady,ts=eW.resizeSourceRef,tl=(0,g.useMemo)(function(){return to("contentHeight")},[to]),eX=(0,g.useMemo)(function(){return to("maxHeight")},[to]),eK=(eQ=(0,g.useState)(function(){return ic(tt)||"undefined"!=typeof window?window.innerHeight:0}))[0],e$=eQ[1],e9=eK>0,e7=(0,g.useRef)(0),(0,g.useDebugValue)(tt?"controlled":"auto"),(0,g.useEffect)(function(){e9&&eX()},[e9,eX]),is(function(){if(tt)return e$(ic(tt)),void(ts.current="maxheightprop");var e=function(){e7.current||(e7.current=requestAnimationFrame(function(){e$(window.innerHeight),ts.current="window",e7.current=0}))};return window.addEventListener("resize",e),e$(window.innerHeight),ts.current="window",eX(),function(){window.removeEventListener("resize",e),cancelAnimationFrame(e7.current)}},[tt,eX,ts]),tc=id(ta,{label:"headerHeight",enabled:ti,resizeSourceRef:ts}),tu=id(te,{label:"contentHeight",enabled:!0,resizeSourceRef:ts}),th=Math.min(eK-tc-(td=id(tr,{label:"footerHeight",enabled:tn,resizeSourceRef:ts})),tu)+tc+td,(0,g.useDebugValue)("minHeight: "+th),tf=tu>0,(0,g.useEffect)(function(){tf&&tl()},[tf,tl]),ty={maxHeight:eK,minHeight:th,headerHeight:tc,footerHeight:td}).maxHeight,tT=ty.minHeight,t_=ty.headerHeight,tA=ty.footerHeight,tk=(tS=function(e,t){var n=Array.from([].concat(e).map(ic).reduce(function(e,n){return e.add(il(n,0,t)),e},new Set)),r=Math.min.apply(Math,n);if(Number.isNaN(r))throw TypeError("minSnap is NaN");var i=Math.max.apply(Math,n);if(Number.isNaN(i))throw TypeError("maxSnap is NaN");return{snapPoints:n,minSnap:r,maxSnap:i}}(tE?tp({height:tm.current,footerHeight:tA,headerHeight:t_,minHeight:tT,maxHeight:tv}):[0],tv)).snapPoints,tC=tS.minSnap,tN=tS.maxSnap,(0,g.useDebugValue)("minSnap: "+tC+", maxSnap:"+tN),{minSnap:tC,maxSnap:tN,findSnap:function(e){var t=ic("function"==typeof e?e({footerHeight:tA,headerHeight:t_,height:tm.current,minHeight:tT,maxHeight:tv,snapPoints:tk,lastSnap:tg.current}):e);return tk.reduce(function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e},tC)},maxHeight:tv}),tX=tW.minSnap,tQ=tW.maxSnap,tK=tW.maxHeight,t$=tW.findSnap,tJ=(0,g.useRef)(tK),tZ=(0,g.useRef)(tX),t0=(0,g.useRef)(tQ),t1=(0,g.useRef)(t$),t3=(0,g.useRef)(0);is(function(){tJ.current=tK,t0.current=tQ,tZ.current=tX,t1.current=t$,t3.current=t$(et)},[t$,et,tK,tQ,tX]);var t5=(0,g.useCallback)(function(e){var t=e.onRest,n=e.config,r=(n=void 0===n?{}:n).velocity,i=void 0===r?1:r,a=io(n,iy),o=io(e,iv);return new Promise(function(e){return tR(ia({},o,{config:ia({velocity:i},a,{mass:1,tension:ib,friction:Math.max(i_,i_+(i_-i_*i))}),onRest:function(){var n=[].slice.call(arguments);e.apply(void 0,n),null==t||t.apply(void 0,n)}}))})},[tR]),t4=(E={devTools:!1,actions:{onOpenCancel:(0,g.useCallback)(function(){return null==eT.current?void 0:eT.current({type:"OPEN"})},[]),onSnapCancel:(0,g.useCallback)(function(e){return null==eT.current?void 0:eT.current({type:"SNAP",source:e.snapSource})},[]),onCloseCancel:(0,g.useCallback)(function(){return null==eT.current?void 0:eT.current({type:"CLOSE"})},[]),onResizeCancel:(0,g.useCallback)(function(){return null==eT.current?void 0:eT.current({type:"RESIZE",source:tj.current})},[]),onOpenEnd:(0,g.useCallback)(function(){return null==eb.current?void 0:eb.current({type:"OPEN"})},[]),onSnapEnd:(0,g.useCallback)(function(e,t){return null==eb.current?void 0:eb.current({type:"SNAP",source:e.snapSource})},[]),onResizeEnd:(0,g.useCallback)(function(){return null==eb.current?void 0:eb.current({type:"RESIZE",source:tj.current})},[])},context:{initialState:Q},services:{onSnapStart:(0,g.useCallback)(function(e,t){try{return Promise.resolve(null==ev.current?void 0:ev.current({type:"SNAP",source:t.payload.source||"custom"}))}catch(e){return Promise.reject(e)}},[]),onOpenStart:(0,g.useCallback)(function(){try{return Promise.resolve(null==ev.current?void 0:ev.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}},[]),onCloseStart:(0,g.useCallback)(function(){try{return Promise.resolve(null==ev.current?void 0:ev.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}},[]),onResizeStart:(0,g.useCallback)(function(){try{return Promise.resolve(null==ev.current?void 0:ev.current({type:"RESIZE",source:tj.current}))}catch(e){return Promise.reject(e)}},[]),onSnapEnd:(0,g.useCallback)(function(e,t){try{return Promise.resolve(null==eb.current?void 0:eb.current({type:"SNAP",source:e.snapSource}))}catch(e){return Promise.reject(e)}},[]),onOpenEnd:(0,g.useCallback)(function(){try{return Promise.resolve(null==eb.current?void 0:eb.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}},[]),onCloseEnd:(0,g.useCallback)(function(){try{return Promise.resolve(null==eb.current?void 0:eb.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}},[]),onResizeEnd:(0,g.useCallback)(function(){try{return Promise.resolve(null==eb.current?void 0:eb.current({type:"RESIZE",source:tj.current}))}catch(e){return Promise.reject(e)}},[]),renderVisuallyHidden:(0,g.useCallback)(function(e,t){try{return Promise.resolve(t5({y:t3.current,ready:0,maxHeight:tJ.current,maxSnap:t0.current,minSnap:t3.current,immediate:!0})).then(function(){})}catch(e){return Promise.reject(e)}},[t5]),activate:(0,g.useCallback)(function(e,t){try{return ey.current=!0,Promise.resolve(Promise.all([tz.current.activate(),tq.current.activate(),tY.current.activate()])).then(function(){})}catch(e){return Promise.reject(e)}},[tY,tq,tz]),deactivate:(0,g.useCallback)(function(){try{return tz.current.deactivate(),tq.current.deactivate(),tY.current.deactivate(),ey.current=!1,Promise.resolve()}catch(e){return Promise.reject(e)}},[tY,tq,tz]),openImmediately:(0,g.useCallback)(function(){try{return tU.current=t3.current,Promise.resolve(t5({y:t3.current,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:t3.current,immediate:!0})).then(function(){})}catch(e){return Promise.reject(e)}},[t5]),openSmoothly:(0,g.useCallback)(function(){try{return Promise.resolve(t5({y:0,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:t3.current,immediate:!0})).then(function(){return tU.current=t3.current,Promise.resolve(t5({y:t3.current,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:t3.current,immediate:tV.current})).then(function(){})})}catch(e){return Promise.reject(e)}},[t5,tV]),snapSmoothly:(0,g.useCallback)(function(e,t){try{var n=t1.current(e.y);return tU.current=n,K.current=n,Promise.resolve(t5({y:n,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:tZ.current,immediate:tV.current,config:{velocity:e.velocity}})).then(function(){})}catch(e){return Promise.reject(e)}},[t5,K,tV]),resizeSmoothly:(0,g.useCallback)(function(){try{var e=t1.current(tU.current);return tU.current=e,K.current=e,Promise.resolve(t5({y:e,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:tZ.current,immediate:"element"!==tj.current||tV.current})).then(function(){})}catch(e){return Promise.reject(e)}},[t5,K,tV]),closeSmoothly:(0,g.useCallback)(function(e,t){try{return t5({minSnap:tU.current,immediate:!0}),tU.current=0,Promise.resolve(t5({y:0,maxHeight:tJ.current,maxSnap:t0.current,immediate:tV.current})).then(function(){return Promise.resolve(t5({ready:0,immediate:!0})).then(function(){})})}catch(e){return Promise.reject(e)}},[t5,tV])}},y=(0,g.useCallback)(function(e){var t=void 0===e.changed&&Object.keys(e.children).length;(e.changed||t)&&P(e)},[]),void 0===(v=E)&&(v={}),T=eZ(function(){return"function"==typeof ig?ig():ig}),b=v.context,_=v.guards,A=v.actions,S=v.activities,k=v.services,C=v.delays,O=v.state,N=e8(v,["context","guards","actions","activities","services","delays","state"]),D=eZ(function(){return eJ(T.withConfig({context:b,guards:_,actions:A,activities:S,services:k,delays:C},function(){return e4(e4({},T.context),b)}
1),e4({deferEvents:!0},N))}),eH(function(){var e;return y&&(e=D.subscribe(function(e,t,n){if("object"==typeof e)return e;var r=function(){};return{next:e,error:r,complete:r}}(y))),function(){null==e||e.unsubscribe()}},[y]),eH(function(){return D.start(O?eB.create(O):void 0),function(){D.stop()}},[]),eH(function(){Object.assign(D.machine.options.actions,A),Object.assign(D.machine.options.guards,_),Object.assign(D.machine.options.activities,S),Object.assign(D.machine.options.services,k),Object.assign(D.machine.options.delays,C)},[A,_,S,k,C]),I=(0,g.useRef)([]),x=(0,g.useRef)([]),eH(function(){var e=D.subscribe(function(e){var t,n;if(e.actions.length){var r=e2(function(e,t){var n,r,i=e0([[],[]],2),a=i[0],o=i[1];try{for(var s=e1(e),l=s.next();!l.done;l=s.next()){var c=l.value;t(c)?a.push(c):o.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return[a,o]}(e.actions.filter(function(e){return"function"==typeof e.exec&&"__effect"in e.exec}),function(e){return e.exec.__effect===f.Effect}),2),i=r[0],a=r[1];(t=I.current).push.apply(t,e3([],e2(i.map(function(t){return[t,e]})),!1)),(n=x.current).push.apply(n,e3([],e2(a.map(function(t){return[t,e]})),!1))}});return function(){e.unsubscribe()}},[]),eH(function(){for(;x.current.length;){var e=e2(x.current.shift(),2);e5(e[0],e[1])}}),(0,g.useEffect)(function(){for(;I.current.length;){var e=e2(I.current.shift(),2);e5(e[0],e[1])}}),R=(w=e6((0,g.useState)(function(){var e=D.machine.initialState;return E.state?eB.create(E.state):e}),2))[0],P=w[1],[R,D.send,D]),t8=t4[0],t6=t4[1];(0,g.useEffect)(function(){eg&&t6(X?"OPEN":"CLOSE")},[X,t6,eg]),is(function(){(tK||tQ||tX)&&t6("RESIZE")},[tK,tQ,tX,t6]),(0,g.useEffect)(function(){return function(){tz.current.deactivate(),tq.current.deactivate(),tY.current.deactivate()}},[tY,tq,tz]),(0,g.useImperativeHandle)(t,function(){return{snapTo:function(e,t){var n=void 0===t?{}:t,r=n.velocity,i=n.source;t6("SNAP",{payload:{y:t1.current(e),velocity:void 0===r?1:r,source:void 0===i?"custom":i}})},get height(){return tU.current}}},[t6]),(0,g.useEffect)(function(){var e=tL.current,t=function(e){tG.current&&e.preventDefault()},n=function(t){e.scrollTop<0&&(requestAnimationFrame(function(){e.style.overflow="hidden",e.scrollTop=0,e.style.removeProperty("overflow")}),t.preventDefault())};return ef&&(e.addEventListener("scroll",t),e.addEventListener("touchmove",t),e.addEventListener("touchstart",n)),function(){e.removeEventListener("scroll",t),e.removeEventListener("touchmove",t),e.removeEventListener("touchstart",n)}},[ef,tL]);var t7=(n_.set("drag",nF),(L=(0,g.useRef)()).current||(n=nv,r=nB,o=[],s=!1,L.current=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return s&&i===this&&r(t,o)||(a=n.apply(this,t),s=!0,i=this,o=t),a}),l={drag:function(e){var t=e.args,n=(t=void 0===t?[]:t)[0],r=(n=void 0===n?{}:n).closeOnTap,i=n.isContentDragging,a=e.cancel,o=e.direction[1],s=e.down,l=e.first,c=e.last,u=e.memo,d=void 0===u?tw.y.getValue():u,h=e.tap,f=e.velocity,p=-1*e.movement[1];if(!ey.current)return a(),d;if(J&&void 0!==r&&r&&h)return a(),setTimeout(function(){return J()},0),d;if(h)return d;var m=d+p,g=p*f,E=Math.max(tZ.current,Math.min(t0.current,m+2*g));if(!s&&J&&o>0&&m+g<tZ.current/2)return a(),J(),d;var y=s?J||tZ.current!==t0.current?t9(m,J?0:tZ.current,t0.current,.55):m<tZ.current?t9(m,tZ.current,2*t0.current,.55):t9(m,tZ.current/2,t0.current,.55):E;return ef&&void 0!==i&&i?(y>=t0.current&&(y=t0.current),d===t0.current&&tL.current.scrollTop>0&&(y=t0.current),tG.current=y<t0.current):tG.current=!1,l&&t6("DRAG"),c?t6("SNAP",{payload:{y:y,velocity:f>.05?f:1,source:"dragging"}}):tR({y:y,ready:1,maxHeight:tJ.current,maxSnap:t0.current,minSnap:tZ.current,immediate:!0,config:{velocity:f}}),d}},c=L.current({filterTaps:!0}),void 0===u&&(u={}),p=(d=l,h=new Set,d.drag&&h.add(n_.get("drag")),d.wheel&&h.add(n_.get("wheel")),d.scroll&&h.add(n_.get("scroll")),d.move&&h.add(n_.get("move")),d.pinch&&h.add(n_.get("pinch")),d.hover&&h.add(n_.get("hover")),h),((m=g.useMemo(function(){return new nO(p)}
1,[])).config=c,m.handlers=l,m.nativeRefs=u,g.useEffect(m.effect,[]),m.config.domTarget)?nR:m.bind);if(Number.isNaN(t0.current))throw TypeError("maxSnapRef is NaN!!");if(Number.isNaN(tZ.current))throw TypeError("minSnapRef is NaN!!");var ne=(F=tb([tw.y,tw.maxHeight],function(e,t){return Math.round(il(t-e,0,16))+"px"}),B=tb([tw.y,tw.minSnap,tw.maxSnap],function(e,t,n){return il(e,t,n)+"px"}),H=tb([tw.y,tw.minSnap,tw.maxSnap],function(e,t,n){return e<t?t-e+"px":e>n?n-e+"px":"0px"}),U=tb([tw.y,tw.maxSnap],function(e,t){return e>=t?Math.ceil(e-t):0}),j=tb([tw.y,tw.minSnap],function(e,t){if(!t)return 0;var n=Math.max(t/2-45,0);return il((e-n)*(1/(Math.min(t/2+45,t)-n)+0),0,1)}),G=tb([tw.y,tw.minSnap],function(e,t){return t?il(e/t,0,1):0}),(M={})["--rsbs-content-opacity"]=j,M["--rsbs-backdrop-opacity"]=G,M["--rsbs-antigap-scale-y"]=U,M["--rsbs-overlay-translate-y"]=H,M["--rsbs-overlay-rounded"]=F,M["--rsbs-overlay-h"]=B,M);return g.createElement(t2.div,ia({},ep,{"data-rsbs-root":!0,"data-rsbs-state":iS.find(t8.matches),"data-rsbs-is-blocking":ei,"data-rsbs-is-dismissable":!!J,"data-rsbs-has-header":!!W,"data-rsbs-has-footer":!!q,className:Y,ref:tP,style:ia({},ne,eo,{opacity:tw.ready})}),z,ei&&g.createElement("div",ia({key:"backdrop","data-rsbs-backdrop":!0},t7({closeOnTap:!0}))),g.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:tH,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),J&&J())}},!1!==W&&g.createElement("div",ia({key:"header","data-rsbs-header":!0,ref:tF},t7()),W),g.createElement("div",ia({key:"scroll","data-rsbs-scroll":!0,ref:tL},ef?t7({isContentDragging:!0}):{}),g.createElement("div",{"data-rsbs-content":!0,ref:tM},V)),q&&g.createElement("div",ia({key:"footer",ref:tB,"data-rsbs-footer":!0},t7()),q)))}),iS=["closed","opening","open","closing","dragging","snapping","resizing"];function ik(e){var t=e.lastSnap;return null!=t?t:Math.min.apply(Math,e.snapPoints)}function iC(e){return e.minHeight}var iO=["onSpringStart","onSpringEnd","skipInitialTransition"],iN=(0,g.forwardRef)(function(e,t){var n=e.onSpringStart,r=e.onSpringEnd,i=e.skipInitialTransition,a=io(e,iO),o=(0,g.useState)(!1),s=o[0],l=o[1],c=(0,g.useRef)(),u=(0,g.useRef)(null),d=(0,g.useRef)(i&&a.open?"OPEN":"CLOSED");is(function(){if(a.open)return cancelAnimationFrame(c.current),l(!0),function(){d.current="CLOSED"}},[a.open]);var h=(0,g.useCallback)(function(e){return Promise.resolve(null==n?void 0:n(e)).then(function(){"OPEN"===e.type&&cancelAnimationFrame(c.current)})},[n]),f=(0,g.useCallback)(function(e){return Promise.resolve(null==r?void 0:r(e)).then(function(){"CLOSE"===e.type&&(c.current=requestAnimationFrame(function(){return l(!1)}))})},[r]);return s?g.createElement(T,{"data-rsbs-portal":!0},g.createElement(iA,ia({},a,{lastSnapRef:u,ref:t,initialState:d.current,onSpringStart:h,onSpringEnd:f}))):null})},15933:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:()=>r})},17280:(e,t)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(){}t.__esModule=!0,t.default=function(e){var t="".concat(e,"Storage");return!function(e){if(("undefined"==typeof self?"undefined":n(self))!=="object"||!(e in self))return!1;try{var t=self[e],r="redux-persist ".concat(e," test");t.setItem(r,"test"),t.getItem(r),t.removeItem(r)}catch(e){return!1}return!0}(t)?i:self[t]};var i={getItem:r,setItem:r,removeItem:r}},17915:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return a;
1if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function a(){return!0}},18091:(e,t,n)=>{"use strict";t.A=void 0,t.A=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(53742)).default)("local")},18260:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55570),i=n(65982);function a(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),a=(0,r.A)(t);return n.getTime()<a.getTime()}},18313:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(48834),i=n.n(r),a=n(12115),o=n(46662),s=n.n(o),l=n(48476),c=n.n(l);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var h={},f=function(){};let p=function(e){var t=e.loadAnimation;return(0,a.memo)((0,a.forwardRef)(function(e,n){var r,i,o=e.play,l=void 0===o?null:o,p=e.speed,m=void 0===p?1:p,g=e.direction,E=void 0===g?1:g,y=e.segments,v=void 0===y?null:y,T=e.goTo,b=void 0===T?null:T,_=e.useSubframes,A=void 0===_||_,S=e.renderer,k=void 0===S?"svg":S,C=e.loop,O=void 0===C||C,N=e.rendererSettings,D=void 0===N?h:N,I=e.audioFactory,x=e.onLoad,w=void 0===x?f:x,R=e.onComplete,P=void 0===R?f:R,L=e.onLoopComplete,M=void 0===L?f:L,F=e.onEnterFrame,B=void 0===F?f:F,H=e.onSegmentStart,U=void 0===H?f:H,j=d(e,["play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),G=j;"animationData"in j&&(r=j.animationData,G=d(j,["animationData"])),"path"in j&&(i=j.path,G=d(j,["path"]));var V=(0,a.useRef)(null),z=(0,a.useRef)(),Y=(0,a.useCallback)(function(){if(null==z.current)throw Error("Lottie ref is not set");return z.current},[]),q=(0,a.useState)(!1),W=q[0],X=q[1],Q=(0,a.useState)(v),K=Q[0],$=Q[1];(0,a.useEffect)(function(){s()(K,v)||$(v)},[v,K]);var J=(0,a.useState)(D),Z=J[0],ee=J[1];(0,a.useEffect)(function(){s()(Z,D)||ee(D)},[D,Z]),(0,a.useEffect)(function(){return function(){return Y().removeEventListener("complete",P)}},[Y,P]),(0,a.useEffect)(function(){return function(){return Y().removeEventListener("loopComplete",M)}},[Y,M]),(0,a.useEffect)(function(){return function(){return Y().removeEventListener("enterFrame",B)}},[Y,B]),(0,a.useEffect)(function(){return function(){return Y().removeEventListener("segmentStart",U)}},[Y,U]),(0,a.useEffect)(function(){return function(){return Y().removeEventListener("DOMLoaded",w)}},[Y,w]);var et=(0,a.useCallback)(function(e){z.current=e,"function"==typeof n?n(e):null!=n&&(n.current=e)},[n]);(0,a.useEffect)(function(){if(null==V.current)throw Error("animElementRef is not set");et(t(u({animationData:null==r||"object"!=typeof r?r:"default"in r&&"object"==typeof r.default?c()(r.default):c()(r),path:i,container:V.current,renderer:k,loop:!1,autoplay:!1,rendererSettings:Z},I?{audioFactory:I}:{})));var e=function(){return X(!0)};return Y().addEventListener("DOMLoaded",e),function(){Y().removeEventListener("DOMLoaded",e),X(!1),Y().destroy(),et(void 0)}},[O,k,Z,r,i,I,et,Y]),(0,a.useEffect)(function(){Y().addEventListener("DOMLoaded",w)},[Y,w]),(0,a.useEffect)(function(){Y().addEventListener("complete",P)},[Y,P]),(0,a.useEffect)(function(){Y().addEventListener("loopComplete",M)},[Y,M]),(0,a.useEffect)(function(){Y().addEventListener("enterFrame",B)},[Y,B]),(0,a.useEffect)(function(){Y().addEventListener("segmentStart",
1U)},[Y,U]),(0,a.useEffect)(function(){W&&(Y().loop=O)},[W,O,Y]);var en=(0,a.useRef)(!1);return(0,a.useEffect)(function(){W&&(!0===l?K?(Y().playSegments(K,!0),en.current=!0,-1===E&&e("number"==typeof K[1]?K[1]:K[1][1])):(en.current&&Y().resetSegments(!0),en.current=!1,-1===E?e(Y().getDuration(!0)):Y().play()):!1===l&&Y().pause());function e(e){Y().goToAndPlay(e,!0),Y().setDirection(E)}},[l,K,W,E,Y]),(0,a.useEffect)(function(){W&&(Number.isNaN(m)||Y().setSpeed(m))},[m,W,Y]),(0,a.useEffect)(function(){W&&Y().setDirection(E)},[E,Y,W]),(0,a.useEffect)(function(){W&&null!=b&&(l?Y().goToAndPlay(b,!0):Y().goToAndStop(b,!0))},[Y,b,l,W]),(0,a.useEffect)(function(){Y().setSubframe&&Y().setSubframe(A)},[Y,A]),a.createElement("div",u({},G,{ref:V}))}))}(i())},20379:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},20531:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r={};function i(){return r}},21231:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(12115),i=n(87657);let a=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},21449:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(87657);function i(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},21661:(e,t,n)=>{"use strict";var r=n(44134).hp;function i(e){return e instanceof r?r.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){if((e=e||{}).circles)return function(e){let t=[],n=[],r=new Map;if(r.set(Date,e=>new Date(e)),r.set(Map,(e,t)=>new Map(o(Array.from(e),t))),r.set(Set,(e,t)=>new Set(o(Array.from(e),t))),e.constructorHandlers)for(let t of e.constructorHandlers)r.set(t[0],t[1]);let a=null;return e.proto?function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return o(s,e);if(s.constructor!==Object&&(a=r.get(s.constructor)))return a(s,e);let l={};for(let o in t.push(s),n.push(l),s){let c=s[o];if("object"!=typeof c||null===c)l[o]=c;else if(c.constructor!==Object&&(a=r.get(c.constructor)))l[o]=a(c,e);else if(ArrayBuffer.isView(c))l[o]=i(c);else{let r=t.indexOf(c);-1!==r?l[o]=n[r]:l[o]=e(c)}}return t.pop(),n.pop(),l}:function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return o(s,e);if(s.constructor!==Object&&(a=r.get(s.constructor)))return a(s,e);let l={};for(let o in t.push(s),n.push(l),s){if(!1===Object.hasOwnProperty.call(s,o))continue;let c=s[o];if("object"!=typeof c||null===c)l[o]=c;else if(c.constructor!==Object&&(a=r.get(c.constructor)))l[o]=a(c,e);else if(ArrayBuffer.isView(c))l[o]=i(c);else{let r=t.indexOf(c);-1!==r?l[o]=n[r]:l[o]=e(c)}}return t.pop(),n.pop(),l};function o(e,o){let s=Object.keys(e),l=Array(s.length);for(let c=0;c<s.length;c++){let u=s[c],d=e[u];if("object"!=typeof d||null===d)l[u]=d;else if(d.constructor!==Object&&(a=r.get(d.constructor)))l[u]=a(d,o);else if(ArrayBuffer.isView(d))l[u]=i(d);else{let e=t.indexOf(d);-1!==e?l[u]=n[e]:l[u]=o(d)}}return l}}(e);let t=new Map;if(t.set(Date,e=>new Date(e)),t.set(Map,(e,t)=>new Map(r(Array.from(e),t))),t.set(Set,(e,t)=>new Set(r(Array.from(e),t))),e.constructorHandlers)for(let n of e.constructorHandlers)t.set(n[0],n[1]);let n=null;return e.proto?function e(a){if("object"!=typeof a||null===a)return a;if(Array.isArray(a))return r(a,e);if(a.constructor!==Object&&(n=t.get(a.constructor)))return n(a,e);let o={};for(let r in a){let s=a[r];"object"!=typeof s||null===s?o[r]=s:s.constructor!==Object&&(n=t.get(s.constructor))?o[r]=n(s,e):ArrayBuffer.isView(s)?o[r]=i(s):o[r]=e(s)}return o}:function e(a){if("object"!=typeof a||null===a)return a;if(Array.isArray(a))return r(a,e);if(a.constructor!==Object&&(n=t.get(a.constructor)))return n(a,e);let o={};for(let r in a){if(!1===Object.hasOwnProperty.call(a,r))continue;let s=a[r];"object"!=typeof s||null===s?o[r]=s:s.constructor!==Object&&(n=t.get(s.constructor))?o[r]=n(s,e):ArrayBuffer.isView(s)?o[r]=i(s):o[r]=e(s)}return o};function r(e,r){let a=Object.keys(e),o=Array(a.length);for(let s=0;s<a.length;s++){let l=a[s],c=e[l];"object"!=typeof c||null===c?o[l]=c:c.constructor!==Object&&(n=t.get(c.constructor))?o[l]=n(c,r):ArrayBuffer.isView(c)?o[l]=i(c):o[l]=r(c)}return o}}},23742:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,j:()=>a});var r=n(84554),i=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(i||{});let a=(0,r.FX)(function(e,t){var n;let{features:i=1,...a}=e,o={ref:t,"aria-hidden":(2&i)==2||(null!=(n=a["aria-hidden"])?n:void 0),hidden:(4&i)==4||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&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,r.XX)({ourProps:o,theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})})},24006:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(12115),i=n(37254),a=n(73413),o=n(6232);function s(e,t,n){let i=(0,o.Y)(t);(0,r.useEffect)(()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}var l=n(28566);function c(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=(0,r.useRef)(!1);function c(n,r){if(!o.current||n.defaultPrevented)return;let a=r(n);if(null!==a&&a.getRootNode().contains(a)&&a.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(a)||n.composed&&n.composedPath().includes(e))return}return(0,i.Bm)(a,i.MZ.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);let u=(0,r.useRef)(null);s("pointerdown",e=>{var t,n;o.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),s("mousedown",e=>{var t,n;o.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),s("click",e=>{(0,a.Fr)()||u.current&&(c(e,()=>u.current),u.current=null)},!0),s("touchend",e=>c(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,l.M)("blur",e=>c(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},25437:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(68581),i=n(8918);let a=Object.keys(i);class o extends r.R{constructor(e,t,n,r){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++o<a.length;){let e=a[o];!function(e,t,n){n&&(e[t]=n)}(this,a[o],(n&i[e])===i[e])}}}o.prototype.defined=!0}
1,26964:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(86608),i=n(43127),a=n(37359),o=n(55570),s=n(65982),l=n(39709);function c(e,t){if((0,s.A)(2,arguments),!t||"object"!==(0,r.A)(t))return new Date(NaN);var n=t.years?(0,l.A)(t.years):0,c=t.months?(0,l.A)(t.months):0,u=t.weeks?(0,l.A)(t.weeks):0,d=t.days?(0,l.A)(t.days):0,h=t.hours?(0,l.A)(t.hours):0,f=t.minutes?(0,l.A)(t.minutes):0,p=t.seconds?(0,l.A)(t.seconds):0,m=(0,o.A)(e),g=c||n?(0,a.A)(m,c+12*n):m;return new Date((d||u?(0,i.A)(g,d+7*u):g).getTime()+1e3*(p+60*(f+60*h)))}},27279:(e,t,n)=>{"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];if(e in t){let n=t[e];return"function"==typeof n?n(...i):n}let o=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{Y:()=>r})},27671:(e,t,n)=>{"use strict";n.d(t,{l:()=>ei});var r=n(12115),i=n.t(r,2),a=n(48014),o=n(30797),s=n(6232);function l(e,t,n,i){let a=(0,s.Y)(n);(0,r.useEffect)(()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)},[e,t,i])}var c=n(13250),u=n(29479),d=n(48346),h=n(89925),f=n(47769),p=n(28566),m=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(m||{});function g(e,t){let n=(0,r.useRef)([]),i=(0,o._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,a]of t.entries())if(n.current[r]!==a){let r=i(t,e);return n.current=t,r}},[i,...t])}var E=n(23742);let y=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&y[0]!==e.target&&(y.unshift(e.target),(y=y.filter(e=>null!=e&&e.isConnected)).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})});var v=n(37254),T=n(27279),b=n(7856),_=n(84554);function A(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var S=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(S||{});let k=Object.assign((0,_.FX)(function(e,t){let n,i=(0,r.useRef)(null),s=(0,f.P)(i,t),{initialFocus:S,containers:k,features:O=30,...N}=e;(0,h.g)()||(O=1);let D=(0,d.g)(i);!function(e,t){let{ownerDocument:n}=e,i=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(y.slice());return g((e,n)=>{let[r]=e,[i]=n;!0===i&&!1===r&&(0,b._)(()=>{t.current.splice(0)}),!1===i&&!0===r&&(t.current=y.slice())},[e,y,t]),(0,o._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);g(()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,v.pW)(i())},[t]),(0,u.X)(()=>{t&&(0,v.pW)(i())})}({ownerDocument:D},!!(16&O));let I=function(e,t){let{ownerDocument:n,container:i,initialFocus:a}=e,o=(0,r.useRef)(null),s=(0,c.a)();return g(()=>{if(!t)return;let e=i.current;e&&(0,b._)(()=>{if(!s.current)return;let t=null==n?void 0:n.activeElement;if(null!=a&&a.current){if((null==a?void 0:a.current)===t){o.current=t;return}}else if(e.contains(t)){o.current=t;return}null!=a&&a.current?(0,v.pW)(a.current):(0,v.CU)(e,v.BD.First)===v.Me.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),o.current=null==n?void 0:n.activeElement})},[t]),o}({ownerDocument:D,container:i,initialFocus:S},!!(2&O));!function(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:a}=e,o=(0,c.a)();l(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!o.current)return;let n=A(i);r.current instanceof HTMLElement&&n.add(r.current);let s=a.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?C(n,l)?(a.current=l,(0,v.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,v.pW)(s)):(0,v.pW)(a.current)},!0)}({ownerDocument:D,container:i,containers:k,previousActiveElement:I},!!(8&O));let x=(n=(0,r.useRef)(0),(0,p.M)("keydown",e=>{"Tab"===e.key&&(n.current=+!!e.shiftKey)},!0),n),w=(0,o._)(e=>{let t=i.current;t&&(0,T.Y)(x.current,{[m.Forwards]:()=>{(0,v.CU)(t,v.BD.First,{skipElements:[e.relatedTarget]})},[m.Backwards]:()=>{(0,v.CU)(t,v.BD.Last,{skipElements:[e.relatedTarget]})}})}),R=(0,a.L)(),P=(0,r.useRef)(!1);return r.createElement(r.Fragment,null,!!(4&O)&&r.createElement(E.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:w,features:E.O.Focusable}),(0,_.XX)({ourProps:{ref:s,onKeyDown(e){"Tab"==e.key&&(P.current=!0,R.requestAnimationFrame(()=>{P.current=!1}))},onBlur(e){let t=A(k);i.current instanceof HTMLElement&&t.add(i.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(C(t,n)||(P.current?(0,v.CU)(i.current,(0,T.Y)(x.current,{[m.Forwards]:()=>v.BD.Next,[m.Backwards]:()=>v.BD.Previous})|v.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,v.pW)(e.target)))}},theirProps:N,defaultTag:"div",name:"FocusTrap"}),!!(4&O)&&r.createElement(E.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:w,features:E.O.Focusable}))}),{features:S});function C(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var O=n(77962);let N="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:D,useEffect:I,useLayoutEffect:x,useDebugValue:w}=i;"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;let R=i.useSyncExternalStore;var P=n(21231),L=n(45261),M=n(73413);let F=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=t[e].call(n,...a);
1s&&(n=s,r.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,L.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(e){let t,{doc:n,d:r,meta:i}=e,a={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(i)},o=[(0,M.un)()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,L.e)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,a=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),o=t.querySelector(r);o&&!i(o)&&(a=o)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement)if(i(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}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{},{before(e){var n;let{doc:r}=e,i=r.documentElement;t=(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth},after(e){let{doc:n,d:r}=e,i=n.documentElement,a=i.clientWidth-i.offsetWidth,o=t-a;r.style(i,"paddingRight","".concat(o,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];o.forEach(e=>{let{before:t}=e;return null==t?void 0:t(a)}),o.forEach(e=>{let{after:t}=e;return null==t?void 0:t(a)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});F.subscribe(()=>{let e=F.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)&&F.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&F.dispatch("TEARDOWN",n)}});var B=n(69470);let H=new Map,U=new Map;function j(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,P.s)(()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let i=null!=(n=U.get(r))?n:0;return U.set(r,i+1),0!==i||(H.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=U.get(r))?e:1;if(1===t?U.delete(r):U.set(r,t-1),1!==t)return;let n=H.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,H.delete(r))}},[e,t])}var G=n(24006),V=n(91525),z=n(38725);let Y=(0,r.createContext)(()=>{});Y.displayName="StackContext";var q=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(q||{});function W(e){let{children:t,onUpdate:n,type:i,element:a,enabled:s}=e,l=(0,r.useContext)(Y),c=(0,o._)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),l(...t)});
1return(0,P.s)(()=>{let e=void 0===s||!0===s;return e&&c(0,i,a),()=>{e&&c(1,i,a)}},[c,i,a,s]),r.createElement(Y.Provider,{value:c},t)}var X=n(50058),Q=n(82691),K=n(84352),$=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($||{}),J=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(J||{});let Z={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ee=(0,r.createContext)(null);function et(e){let t=(0,r.useContext)(ee);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,et),t}return t}function en(e,t){return(0,T.Y)(t.type,Z,e,t)}ee.displayName="DialogContext";let er=_.O5.RenderStrategy|_.O5.Static,ei=Object.assign((0,_.FX)(function(e,t){let n=(0,B.B)(),{id:i="headlessui-dialog-".concat(n),open:a,onClose:s,initialFocus:c,role:u="dialog",__demoMode:p=!1,...m}=e,[g,y]=(0,r.useState)(0),v=(0,r.useRef)(!1);u="dialog"===u||"alertdialog"===u?u:(v.current||(v.current=!0,console.warn("Invalid role [".concat(u,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let b=(0,V.O_)();void 0===a&&null!==b&&(a=(b&V.Uw.Open)===V.Uw.Open);let A=(0,r.useRef)(null),S=(0,f.P)(A,t),C=(0,d.g)(A),N=e.hasOwnProperty("open")||null!==b,D=e.hasOwnProperty("onClose");if(!N&&!D)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!N)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!D)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof a)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(a));if("function"!=typeof s)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(s));let I=+!a,[x,w]=(0,r.useReducer)(en,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),L=(0,o._)(()=>s(!1)),M=(0,o._)(e=>w({type:0,id:e})),H=!!(0,h.g)()&&!p&&0===I,U=g>1,Y=null!==(0,r.useContext)(ee),[X,$]=(0,O.k)(),{resolveContainers:J,mainTreeNodeRef:Z,MainTreeNode:et}=function(){var e;let{defaultContainers:t=[],portals:n,mainTreeNodeRef:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,r.useRef)(null!=(e=null==i?void 0:i.current)?e:null),s=(0,d.g)(a),l=(0,o._)(()=>{var e,r,i;let o=[];for(let e of t)null!==e&&(e instanceof HTMLElement?o.push(e):"current"in e&&e.current instanceof HTMLElement&&o.push(e.current));if(null!=n&&n.current)for(let e of n.current)o.push(e);for(let t of null!=(e=null==s?void 0:s.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(a.current)||t.contains(null==(i=null==(r=a.current)?void 0:r.getRootNode())?void 0:i.host)||o.some(e=>t.contains(e))||o.push(t));return o}
1);return{resolveContainers:l,contains:(0,o._)(e=>l().some(t=>t.contains(e))),mainTreeNodeRef:a,MainTreeNode:(0,r.useMemo)(()=>function(){return null!=i?null:r.createElement(E.j,{features:E.O.Hidden,ref:a})},[a,i])}}({portals:X,defaultContainers:[{get current(){var ei;return null!=(ei=x.panelRef.current)?ei:A.current}}]}),ea=null!==b&&(b&V.Uw.Closing)===V.Uw.Closing,eo=!Y&&!ea&&H;j((0,r.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==C?void 0:C.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(Z.current)&&e instanceof HTMLElement))?t:null},[Z]),eo);let es=!!U||H;j((0,r.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==C?void 0:C.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(Z.current)&&e instanceof HTMLElement))?t:null},[Z]),es);let el=!(!H||U);(0,G.j)(J,e=>{e.preventDefault(),L()},el);let ec=!(U||0!==I);l(null==C?void 0:C.defaultView,"keydown",e=>{ec&&(e.defaultPrevented||e.key===K.D.Escape&&(e.preventDefault(),e.stopPropagation(),L()))}),function(e,t){var n;let r,i,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];n=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],o]}},r=R(F.subscribe,F.getSnapshot,F.getSnapshot),(i=e?r.get(e):void 0)&&i.c
1ount,(0,P.s)(()=>{if(!(!e||!t))return F.dispatch("PUSH",e,n),()=>F.dispatch("POP",e,n)},[t,e])}(C,!(ea||0!==I||Y),J),(0,r.useEffect)(()=>{if(0!==I||!A.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&L()}});return e.observe(A.current),()=>e.disconnect()},[I,A,L]);let[eu,ed]=(0,Q.r)(),eh=(0,r.useMemo)(()=>[{dialogState:I,close:L,setTitleId:M},x],[I,x,L,M]),ef=(0,r.useMemo)(()=>({open:0===I}),[I]),ep={ref:S,id:i,role:u,"aria-modal":0===I||void 0,"aria-labelledby":x.titleId,"aria-describedby":eu};return r.createElement(W,{type:"Dialog",enabled:0===I,element:A,onUpdate:(0,o._)((e,t)=>{"Dialog"===t&&(0,T.Y)(e,{[q.Add]:()=>y(e=>e+1),[q.Remove]:()=>y(e=>e-1)})})},r.createElement(z.a,{force:!0},r.createElement(O.Z,null,r.createElement(ee.Provider,{value:eh},r.createElement(O.Z.Group,{target:A},r.createElement(z.a,{force:!1},r.createElement(ed,{slot:ef,name:"Dialog.Description"},r.createElement(k,{initialFocus:c,containers:J,features:H?(0,T.Y)(U?"parent":"leaf",{parent:k.features.RestoreFocus,leaf:k.features.All&~k.features.FocusLock}):k.features.None},r.createElement($,null,(0,_.XX)({ourProps:ep,theirProps:m,slot:ef,defaultTag:"div",features:er,visible:0===I,name:"Dialog"}))))))))),r.createElement(et,null))}),{Backdrop:(0,_.FX)(function(e,t){let n=(0,B.B)(),{id:i="headlessui-dialog-backdrop-".concat(n),...a}=e,[{dialogState:o},s]=et("Dialog.Backdrop"),l=(0,f.P)(t);(0,r.useEffect)(()=>{if(null===s.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[s.panelRef]);let c=(0,r.useMemo)(()=>({open:0===o}),[o]);return r.createElement(z.a,{force:!0},r.createElement(O.Z,null,(0,_.XX)({ourProps:{ref:l,id:i,"aria-hidden":!0},theirProps:a,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))}),Panel:(0,_.FX)(function(e,t){let n=(0,B.B)(),{id:i="headlessui-dialog-panel-".concat(n),...a}=e,[{dialogState:s},l]=et("Dialog.Panel"),c=(0,f.P)(t,l.panelRef),u=(0,r.useMemo)(()=>({open:0===s}),[s]),d=(0,o._)(e=>{e.stopPropagation()});return(0,_.XX)({ourProps:{ref:c,id:i,onClick:d},theirProps:a,slot:u,defaultTag:"div",name:"Dialog.Panel"})}),Overlay:(0,_.FX)(function(e,t){let n=(0,B.B)(),{id:i="headlessui-dialog-overlay-".concat(n),...a}=e,[{dialogState:s,close:l}]=et("Dialog.Overlay"),c=(0,f.P)(t),u=(0,o._)(e=>{if(e.target===e.currentTarget){if((0,X.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),l()}}),d=(0,r.useMemo)(()=>({open:0===s}),[s]);return(0,_.XX)({ourProps:{ref:c,id:i,"aria-hidden":!0,onClick:u},theirProps:a,slot:d,defaultTag:"div",name:"Dialog.Overlay"})}),Title:(0,_.FX)(function(e,t){let n=(0,B.B)(),{id:i="headlessui-dialog-title-".concat(n),...a}=e,[{dialogState:o,setTitleId:s}]=et("Dialog.Title"),l=(0,f.P)(t);(0,r.useEffect)(()=>(s(i),()=>s(null)),[i,s]);let c=(0,r.useMemo)(()=>({open:0===o}),[o]);return(0,_.XX)({ourProps:{ref:l,id:i},theirProps:a,slot:c,defaultTag:"h2",name:"Dialog.Title"})}),Description:Q.V})},28566:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});var r=n(12115),i=n(6232);function a(e,t,n){let a=(0,i.Y)(t);(0,r.useEffect)(()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}},29479:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(12115),i=n(7856),a=n(30797);function o(e){let t=(0,a._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,i._)(()=>{n.current&&t()})}),[t])}},30383:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SkeletonTheme:()=>o,default:()=>a});var r=n(12115);let i=r.createContext({});function a(e){var t,n,a;let{count:o=1,wrapper:s,className:l,containerClassName:c,containerTestId:u,circle:d=!1,style:h,...f}=e,p=r.useContext(i),m={...f};for(let[e,t]of Object.entries(f))void 0===t&&delete m[e];let g={...p,...m,circle:d},E={...h,...function(e){let{baseColor:t,highlightColor:n,width:r,height:i,borderRadius:a,circle:o,direction:s,duration:l,enableAnimation:c=!0,customHighlightBackgroun
1d:u}=e,d={};return"rtl"===s&&(d["--animation-direction"]="reverse"),"number"==typeof l&&(d["--animation-duration"]="".concat(l,"s")),c||(d["--pseudo-element-display"]="none"),("string"==typeof r||"number"==typeof r)&&(d.width=r),("string"==typeof i||"number"==typeof i)&&(d.height=i),("string"==typeof a||"number"==typeof a)&&(d.borderRadius=a),o&&(d.borderRadius="50%"),void 0!==t&&(d["--base-color"]=t),void 0!==n&&(d["--highlight-color"]=n),"string"==typeof u&&(d["--custom-highlight-background"]=u),d}(g)},y="react-loading-skeleton";l&&(y+=" ".concat(l));let v=null!==(t=g.inline)&&void 0!==t&&t,T=[],b=Math.ceil(o);for(let e=0;e<b;e++){let t=E;if(b>o&&e===b-1){let e=null!==(n=t.width)&&void 0!==n?n:"100%",r=o%1,i="number"==typeof e?e*r:"calc(".concat(e," * ").concat(r,")");t={...t,width:i}}let i=r.createElement("span",{className:y,style:t,key:e},"‌");v?T.push(i):T.push(r.createElement(r.Fragment,{key:e},i,r.createElement("br",null)))}return r.createElement("span",{className:c,"data-testid":u,"aria-live":"polite","aria-busy":null===(a=g.enableAnimation)||void 0===a||a},s?T.map((e,t)=>r.createElement(s,{key:t},e)):T)}function o(e){let{children:t,...n}=e;return r.createElement(i.Provider,{value:n},t)}},30797:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(12115),i=n(6232);let a=function(e){let t=(0,i.Y)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},31300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,l):e.replace(a,l)).replace(r,s))}},32592:(e,t,n)=>{"use strict";n.d(t,{d:()=>v});var r=n(12115),i=n(30797),a=n(48014),o=n(69470),s=n(52503),l=n(47769),c=n(23742),u=n(50058),d=n(84554),h=n(82691),f=n(84352),p=n(21231);let m=(0,r.createContext)(null),g=Object.assign((0,d.FX)(function(e,t){let n=(0,o.B)(),{id:i="headlessui-label-".concat(n),passive:a=!1,...s}=e,c=function e(){let t=(0,r.useContext)(m);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),u=(0,l.P)(t);(0,p.s)(()=>c.register(i),[i,c.register]);let h={ref:u,...c.props,id:i};return a&&("onClick"in h&&(delete h.htmlFor,delete h.onClick),"onClick"in s&&delete s.onClick),(0,d.XX)({ourProps:h,theirProps:s,slot:c.slot||{},defaultTag:"label",name:c.name||"Label"})}),{}),E=(0,r.createContext)(null);E.displayName="GroupContext";let y=r.Fragment,v=Object.assign((0,d.FX)(function(e,t){var n;let h=(0,o.B)(),{id:p="headlessui-switch-".concat(h),checked:m,defaultChecked:g=!1,onChange:y,disabled:v=!1,name:T,value:b,form:_,...A}=e,S=(0,r.useContext)(E),k=(0,r.useRef)(null),C=(0,l.P)(k,t,null===S?null:S.setSwitch),[O,N]=function(e,t,n){let[a,o]=(0,r.useState)(n),s=void 0!==e,l=(0,r.useRef)(s),c=(0,r.useRef)(!1),u=(0,r.useRef)(!1);return!s||l.current||c.current?s||!l.current||u.current||(u.current=!0,l.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(c.current=!0,l.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:a,(0,i._)(e=>(s||o(e),null==t?void 0:t(e)))]}(m,y,g),D=(0,i._)(()=>null==N?void 0:N(!O)),I=(0,i._)(e=>{if((0,u.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),D()}),x=(0,i._)(e=>{e.key===f.D.Space?(e.preventDefault(),D()):e.key===f.D.Enter&&function(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type)){t.click();return}null==(n=r.requestSubmit)||n.call(r)}}(e.currentTarget)}),w=(0,i._)(e=>e.preventDefault()),R=(0,r.useMemo)(()=>({checked:O}),[O]),P={id:p,ref:C,role:"switch",type:(0,s.c)(e,k),tabIndex:-1===e.tabIndex?0:null!=(n=e.tabIndex)?n:0,"aria-checked":O,"aria-labelledby":null==S?void 0:S.labelledby,"aria-describedby":null==S?void 0:S.describedby,disabled:v,onClick:I,onKeyUp:x,onKeyPress:w},L=(0,a.L)();return(0,r.useEffect)(()=>{var e;
1let t=null==(e=k.current)?void 0:e.closest("form");t&&void 0!==g&&L.addEventListener(t,"reset",()=>{N(g)})},[k,N]),r.createElement(r.Fragment,null,null!=T&&O&&r.createElement(c.j,{features:c.O.Hidden,...(0,d.oE)({as:"input",type:"checkbox",hidden:!0,readOnly:!0,disabled:v,form:_,checked:O,name:T,value:b})}),(0,d.XX)({ourProps:P,theirProps:A,slot:R,defaultTag:"button",name:"Switch"}))}),{Group:function(e){var t;let[n,a]=(0,r.useState)(null),[o,s]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,i._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),a=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return r.createElement(m.Provider,{value:a},e.children)},[t])]}(),[l,c]=(0,h.r)(),u=(0,r.useMemo)(()=>({switch:n,setSwitch:a,labelledby:o,describedby:l}),[n,a,o,l]);return r.createElement(c,{name:"Switch.Description"},r.createElement(s,{name:"Switch.Label",props:{htmlFor:null==(t=u.switch)?void 0:t.id,onClick(e){n&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},r.createElement(E.Provider,{value:u},(0,d.XX)({ourProps:{},theirProps:e,defaultTag:y,name:"Switch.Group"}))))},Label:g,Description:h.V})},32765:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{A:()=>r})},33386:(e,t,n)=>{"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{B:()=>r})},34093:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},34728:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(43127),i=n(10787),a=n(65982);function o(e){return(0,a.A)(1,arguments),(0,i.A)(e,(0,r.A)(Date.now(),1))}},37129:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{Ik:()=>ep,Yj:()=>Z});var o=n(51469),s=n(51507),l=n(61348),c=n.n(l);let u=Object.prototype.toString,d=Error.prototype.toString,h=RegExp.prototype.toString,f="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",p=/^Symbol\((.*)\)(.*)$/;function m(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return f.call(e).replace(p,"Symbol($1)");let r=u.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+d.call(e)+"]":"RegExp"===r?h.call(e):null}function g(e,t){let n=m(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=m(this[e],t);return null!==r?r:n},2)}function E(e){return null==e?[]:[].concat(e)}let y=/\$\{\s*(\w+)\s*\}/g;r=Symbol.toStringTag;class v{constructor(e,t,n,i){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[r]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=i,this.errors=[],this.inner=[],E(e).forEach(e=>{if(T.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}i=Symbol.hasInstance,a=Symbol.toStringTag;class T extends Error{static formatError(e,t){let n=t.label||t.path||"this";return(t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e)?e.replace(y,(e,n)=>g(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){let o=new v(e,t,n,r);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[a]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,T)}static[i](e){return v[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let b={default:"${path}
1 is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let i=null!=r&&r!==n?` (cast from the value \`${g(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${g(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${g(n,!0)}\``+i}},_={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},A={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},S={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},k={isValue:"${path} field must be ${value}"},C={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},O={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},N={notType:e=>{let{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${g(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${g(n,!0)}\``}return T.formatError(b.notType,e)}};Object.assign(Object.create(null),{mixed:b,string:_,number:A,date:S,object:C,array:O,boolean:k,tuple:N});let D=e=>e&&e.__isYupSchema__;class I{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,a="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new I(e,(e,t)=>{var n;let o=a(...e)?r:i;return null!=(n=null==o?void 0:o(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!D(r))throw TypeError("conditions must return a schema object");return r.resolve(t)}}let x={context:"$",value:"."};class w{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===x.context,this.isValue=this.key[0]===x.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?x.context:this.isValue?x.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,o.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}w.prototype.__isYupRef=!0;let R=e=>null==e;function P(e){function t({value:t,path:n="",options:r,originalValue:i,schema:a},o,s){let l,{name:c,test:u,params:d,message:h,skipAbsent:f}
1=e,{parent:p,context:m,abortEarly:g=a.spec.abortEarly,disableStackTrace:E=a.spec.disableStackTrace}=r,y={value:t,parent:p,context:m};function v(e={}){let r=L(Object.assign({value:t,originalValue:i,label:a.spec.label,path:e.path||n,spec:a.spec,disableStackTrace:e.disableStackTrace||E},d,e.params),y),o=new T(T.formatError(e.message||h,r),t,r.path,e.type||c,r.disableStackTrace);return o.params=r,o}let b=g?o:s,_={path:n,parent:p,type:c,from:r.from,createError:v,resolve:e=>M(e,y),options:r,originalValue:i,schema:a},A=e=>{T.isError(e)?b(e):e?s(null):b(v())},S=e=>{T.isError(e)?b(e):o(e)};if(f&&R(t))return A(!0);try{var k;if(l=u.call(_,t,_),"function"==typeof(null==(k=l)?void 0:k.then)){if(r.sync)throw Error(`Validation test of type: "${_.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(l).then(A,S)}}catch(e){S(e);return}A(l)}return t.OPTIONS=e,t}function L(e,t){if(!e)return e;for(let n of Object.keys(e))e[n]=M(e[n],t);return e}function M(e,t){return w.isRef(e)?e.getValue(t.value,t.parent,t.context):e}class F extends Set{describe(){let e=[];for(let t of this.values())e.push(w.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let n of this.values())t.push(e(n));return t}clone(){return new F(this.values())}merge(e,t){let n=this.clone();return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function B(e,t=new Map){let n;if(D(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=B(e[r],t)}else if(e instanceof Map)for(let[r,i]of(n=new Map,t.set(e,n),e.entries()))n.set(r,B(i,t));else if(e instanceof Set)for(let r of(n=new Set,t.set(e,n),e))n.add(B(r,t));else if(e instanceof Object)for(let[r,i]of(n={},t.set(e,n),Object.entries(e)))n[r]=B(i,t);else throw Error(`Unable to clone ${e}`);return n}function H(e,t){var n;if(!(null!=(n=e.inner)&&n.length)&&e.errors.length){let n=t?`${t}.${e.path}`:e.path;return e.errors.map(e=>({message:e,path:function(e){if(!(null!=e&&e.length))return;let t=[],n="",r=!1,i=!1;for(let a=0;a<e.length;a++){let o=e[a];if("["===o&&!i){n&&(t.push(...n.split(".").filter(Boolean)),n=""),r=!0;continue}if("]"===o&&!i){n&&(/^\d+$/.test(n)?t.push(n):t.push(n.replace(/^"|"$/g,"")),n=""),r=!1;continue}if('"'===o){i=!i;continue}if("."===o&&!r&&!i){n&&(t.push(n),n="");continue}n+=o}return n&&t.push(...n.split(".").filter(Boolean)),t}(n)}))}let r=t?`${t}.${e.path}`:e.path;return e.inner.flatMap(e=>H(e,r))}class U{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new F,this._blacklist=new F,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(b.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=B(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=Object.assign({},this.spec,t.spec);return t.spec=n,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blackl
1ist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!this.spec.nullable&&null===e||!!this.spec.optional&&void 0===e:this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({},t,{value:e})),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&R(i))return i;let a=g(e),o=g(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 
2
3attempted value: ${a} 
4`+(o!==a?`result of cast: ${o}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((n,r)=>r.call(this,n,e,this,t),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:a=e,strict:o=this.spec.strict}=t,s=e;o||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let e of Object.values(this.internalTests))e&&l.push(e);this.runTests({path:i,value:s,originalValue:a,options:t,tests:l},n,e=>{if(e.length)return r(e,s);this.runTests({path:i,value:s,originalValue:a,options:t,tests:this.tests},n,r)})}runTests(e,t,n){let r=!1,{tests:i,value:a,originalValue:o,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,a))},u=e=>{r||(r=!0,n(e,a))},d=i.length,h=[];if(!d)return u([]);let f={value:a,originalValue:o,path:s,options:l,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(f,c,function(e){e&&(Array.isArray(e)?h.push(...e):h.push(e)),--d<=0&&u(h)})}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:a}){let o=null!=e?e:t;if(null==o)throw TypeError("Must include `key` or `index` for nested validations");let s="number"==typeof o,l=n[o],c=Object.assign({},a,{strict:!0,parent:n,value:l,originalValue:i[o],key:void 0,[s?"index":"key"]:o,path:s||o.includes(".")?`${r||""}[${s?o:`"${o}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(c)._validate(l,c,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise((n,a)=>r._validate(e,t,(e,t)=>{T.isError(e)&&(e.value=t),a(e)},(e,t)=>{e.length?a(new T(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),a=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw T.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new T(t,e,void 0,void 0,a);r=n}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(T.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(T.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):B(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let n=this.clone({nullable:e});return n.internalTests.nullable=P({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){let n=this.clone({optional:e});return n.internalTests.optionality=P({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=b.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=b.notNull){return this.nullability(!1,e)}required(e=b.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=b.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),r=P(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==r.OPTIONS.test),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=E(e).map(e=>new w(e));
4return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new I(r,t):I.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=P({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=b.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=P({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=b.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=P({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:a}=t.spec;return{meta:r,label:n,optional:i,nullable:a,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.filter((e,t,n)=>n.findIndex(t=>t.OPTIONS.name===e.OPTIONS.name)===t).map(t=>{let n=t.OPTIONS.params&&e?L(Object.assign({},t.OPTIONS.params),e):t.OPTIONS.params;return{name:t.OPTIONS.name,params:n}})}}get"~standard"(){let e=this;return{version:1,vendor:"yup",async validate(t){try{return{value:await e.validate(t,{abortEarly:!1})}}catch(e){if(e instanceof T)return{issues:H(e)};throw e}}}}}for(let e of(U.prototype.__isYupSchema__=!0,["validate","validateSync"]))U.prototype[`${e}At`]=function(t,n,r={}){let{parent:i,parentPath:a,schema:s}=function(e,t,n,r=n){let i,a,s;return t?((0,o.forEach)(t,(o,l,c)=>{let u=l?o.slice(1,o.length-1):o,d="tuple"===(e=e.resolve({context:r,parent:i,value:n})).type,h=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&h>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${o}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[h],e=d?e.spec.types[h]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=n,n=n&&n[u],e=e.fields[u]}a=u,s=l?"["+o+"]":"."+o}),{schema:e,parent:i,parentPath:a}):{parent:i,parentPath:t,schema:e}}(this,t,n,r.context);return s[e](i&&i[a],Object.assign({},r,{parent:i,path:t}))};for(let e of["equals","is"])U.prototype[e]=U.prototype.oneOf;for(let e of["not","nope"])U.prototype[e]=U.prototype.notOneOf;let j=()=>!0;class G extends U{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:j},e))}}G.prototype;class V extends U{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation(()=>{this.transform((e,t)=>{if(this.spec.coerce&&!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e})})}isTrue(e=k.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>R(e)||!0===e})}isFalse(e=k.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>R(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}V.prototype;let z=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Y(e){var t,n;let r=z.exec(e);return r?{year:q(r[1]),month:q(r[2],1)-1,day:q(r[3],1),hour:q(r[4]),minute:q(r[5]),second:q(r[6]),millisecond:r[7]?q(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:q(r[10]),minuteOffset:q(r[11])}:null}function q(e,t=0){return Number(e)||t}let W=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,X=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Q=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,K=RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),$=e=>R(e)||e===e.trim(),J=({}).toString();function Z(){return new ee}class ee extends U{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t)=>{if(!this.spec.coerce||this.isType(e)||Array.isArray(e))return e;let n=null!=e&&e.toString?e.toString():e;return n===J?e:n})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||b.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=_.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=_.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=_.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:n,name:r}=t:n=t),this.test({name:r||"matches",message:n||_.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=_.email){return this.matches(W,{name:"email",message:e,excludeEmptyString:!0})}url(e=_.url){return this.matches(X,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=_.uuid){return this.matches(Q,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?{message:r="",allowOffset:t=!1,precision:n}=e:r=e),this.matches(K,{name:"datetime",message:r||_.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||_.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;let n=Y(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||_.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||void 0==n)return!0;let t=Y(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=_.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:$})}lowercase(e=_.lowercase){return this.transform(e=>R(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>R(e)||e===e.toLowerCase()})}uppercase(e=_.uppercase){return this.transform(e=>R(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>R(e)||e===e.toUpperCase()})}}Z.prototype=ee.prototype;let et=e=>e!=+e;class en extends U{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!et(e))}),this.withMutation(()=>{this.transform((e,t)=>{if(!this.spec.coerce)return e;let n=e;if("string"==typeof n){if(""===(n=n.replace(/\s/g,"")))return NaN;n*=1}return this.isType(n)||null===n?n:parseFloat(n)})})}min(e,t=A.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=A.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=A.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=A.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=A.positive){return this.moreThan(0,e)}negative(e=A.negative){return this.lessThan(0,e)}integer(e=A.integer){return this.test({name:"integer",message:e,ski
4pAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform(e=>R(e)?e:0|e)}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(t=>R(t)?t:Math[e](t))}}en.prototype;let er=new Date(""),ei=e=>"[object Date]"===Object.prototype.toString.call(e);function ea(){return new eo}class eo extends U{constructor(){super({type:"date",check:e=>ei(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t)=>!this.spec.coerce||this.isType(e)||null===e?e:isNaN(e=function(e){let t=Y(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e))?eo.INVALID_DATE:new Date(e))})}prepareParam(e,t){let n;if(w.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=S.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=S.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function es(e,t){let n=1/0;return e.some((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0}),n}function el(e){return(t,n)=>es(e,t)-es(e,n)}eo.INVALID_DATE=er,ea.prototype=eo.prototype,ea.INVALID_DATE=er;let ec=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e},eu=(e,t)=>{let n=[...(0,o.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,o.getter)((0,o.join)(n),!0)(e);return!!(i&&r in i)},ed=e=>"[object Object]"===Object.prototype.toString.call(e);function eh(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===n.indexOf(e))}let ef=el([]);function ep(e){return new em(e)}class em extends U{constructor(e){super({type:"object",check:e=>ed(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=ef,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,a=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,o=[].concat(this._nodes,Object.keys(r).filter(e=>!this._nodes.includes(e))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(let e of o){let n=i[e],o=e in r,u=r[e];if(n){let i;l.path=(t.path?`${t.path}.`:"")+e;let a=(n=n.resolve({value:u,context:t.context,parent:s}))instanceof U?n.spec:void 0,o=null==a?void 0:a.strict;if(null!=a&&a.strip){c=c||e in r;continue}void 0!==(i=t.__validating&&o?u:n.cast(u,l))&&(s[e]=i)}else o&&!a&&(s[e]=u);(o!==e in s||s[e]!==u)&&(c=!0)}return c?s:r}_validate(e,t={},n,r){let{from:i=[],originalValue:a=e,recursive:o=this.spec.recursive}=t;t.from=[{schema:this,value:a},...i],t.__validating=!0,t.originalValue=a,super._validate(e,t,n,(e,i)=>{if(!o||!ed(i)){r(e,i);return}a=a||i;let s=[];for(let e of this._nodes){let n=this.fields[e];!n||w.isRef(n)||s.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:a}))}this.runTests({tests:s,value:i,originalValue:a,options:t},n,t=>{r(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){let r=n[e];n[e]=void 0===r?t:r}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};
4return this._nodes.forEach(n=>{var r;let i=this.fields[n],a=e;null!=(r=a)&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(a):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function a(e,t){let a=(0,o.split)(e)[0];r.add(a),i.has(`${t}-${a}`)||n.push([t,a])}for(let t of Object.keys(e)){let n=e[t];r.add(t),w.isRef(n)&&n.isSibling?a(n.path,t):D(n)&&"deps"in n&&n.deps.forEach(e=>a(e,t))}return c().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=el(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)})}partial(){let e={};for(let[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let n={};for(let[r,i]of Object.entries(t.fields))n[r]=e(i);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=e(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){let t=[];for(let n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,o.getter)(e,!0);return this.transform(i=>{if(!i)return i;let a=i;return eu(i,e)&&(a=Object.assign({},i),n||delete a[e],a[t]=r(i)),a})}json(){return this.transform(ec)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||C.exact,test(e){if(null==e)return!0;let t=eh(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=C.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;let n=eh(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=C.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let n={};for(let r of Object.keys(t))n[e(r)]=t[r];return n})}camelCase(){return this.transformKeys(s.camelCase)}snakeCase(){return this.transformKeys(s.snakeCase)}constantCase(){return this.transformKeys(e=>(0,s.snakeCase)(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);for(let[i,a]of(n.fields={},Object.entries(t.fields))){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=a.describe(t)}return n}}ep.prototype=em.prototype;class eg extends U{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){let n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1,i=n.map((e,i)=>{let a=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${i}]`,parent:n,originalValue:e,value:e,index:i}));return a!==e&&(r=!0),a});return r?i:n}_validate(e,t={},n,r){var i;let a=this.innerType,o=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,(i,s)=>{var l,c;if(!o||!a||!this._typeCheck(s)){r(i,s);return}let u=Array(s.length);for(let n=0;n<s.length;n++)u[n]=a.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e});this.runTests({value:s,tests:u,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,e=>r(e.concat(i),s))})}clone(e){let t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(ec)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!D(e))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+g(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=O.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||O.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||O.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=t.innerType.describe(i)}return n}}eg.prototype;class eE extends U{constructor(e){super({type:"tuple",spec:{types:e},check(e){let t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation(()=>{this.typeError(N.notType)})}_cast(e,t){let{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let i=!1,a=n.map((e,n)=>{let a=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`,parent:r,originalValue:r[n],value:r[n],index:n}));return a!==r[n]&&(i=!0),a});return i?a:r}_validate(e,t={},n,r){let i=this.spec.types;super._validate(e,t,n,(a,o)=>{var s,l;if(!this._typeCheck(o)){r(a,o);return}let c=[];for(let[n,r]of i.entries())c[n]=r.asNestedTest({options:t,index:n,parent:o,parentPath:t.path,originalParent:null!=(l=t.originalValue)?l:e});this.runTests({value:o,tests:c,originalValue:null!=(s=t.originalValue)?s:e,options:t},n,e=>r(e.concat(a),o))})}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map((t,n)=>{var r;let i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)}),n}}function ey(e){try{return e()}catch(e){if(T.isError(e))return Promise.reject(e);throw e}}eE.prototype;class ev{constructor(e){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(e,t={})=>{let n=this.builder(e,t);if(!D(n))throw TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(n=n.optional()),n.resolve(t)},this.builder=e,this.spec={meta:void 0,optional:!1}}clone(e){let t=new ev(this.builder);return t.spec=Object.assign({},this.spec,e),t}optionality(e){return this.clone({optional:e})}optional(){return this.optionality(!0)}resolve(e){return this._resolve(e.value,e)}cast(e,t){return this._resolve(e,t).cast(e,t)}asNestedTest(e){let{key:t,index:n,parent:r,options:i}=e,a=r[null!=n?n:t];return this._resolve(a,Object.assign({},i,{value:a,parent:r})).asNestedTest(e)}validate(e,t){return ey(()=>this._resolve(e,t).validate(e,t))}validateSync(e,t){return this._resolve(e,t).validateSync(e,t)}validateAt(e,t,n){return ey(()=>this._resolve(t,n).validateAt(e,t,n))}validateSyncAt(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)}isValid(e,t){try{return this._resolve(e,t).isValid(e,t)}catch(e){if(T.isError(e))return Promise.resolve(!1);throw e}}isValidSync(e,t){return this._resolve(e,t).isValidSync(e,t)}describe(e){return e?this.resolve(e).describe(e):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}get"~standard"(){let e=this;return{version:1,vendor:"yup",async validate(t){try{return{value:await e.validate(t,{abortEarly:!1})}}catch(e){if(T.isError(e))return{issues:H(e)};throw e}}}}}}
4,37254:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Bm:()=>h,CU:()=>y,Fh:()=>f,MZ:()=>d,Me:()=>l,p9:()=>E,pW:()=>m,wl:()=>g});var r=n(45261),i=n(27279),a=n(21449);let o=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var s=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(s||{}),l=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(l||{}),c=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(c||{});function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(o)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var d=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(d||{});function h(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,a.T)(e))?void 0:t.body)&&(0,i.Y)(n,{0:()=>e.matches(o),1(){let t=e;for(;null!==t;){if(t.matches(o))return!0;t=t.parentElement}return!1}})}function f(e){let t=(0,a.T)(e);(0,r.e)().nextFrame(()=>{t&&!h(t.activeElement,0)&&m(e)})}var p=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(p||{});function m(e){null==e||e.focus({preventScroll:!0})}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E(e,t){return y(u(),t,{relativeTo:e})}function y(e,t){var n,r,i;let{sorted:a=!0,relativeTo:o=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,c=Array.isArray(e)?a?g(e):e:u(e);s.length>0&&c.length>1&&(c=c.filter(e=>!s.includes(e))),o=null!=o?o:l.activeElement;let d=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>
4{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(o))-1;if(4&t)return Math.max(0,c.indexOf(o))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,m=c.length,E;do{if(p>=m||p+m<=0)return 0;let e=h+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(E=c[e])||E.focus(f),p+=d}while(E!==l.activeElement);return 6&t&&null!=(i=null==(r=null==(n=E)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&E.select(),2}"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))},37359:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(39709),i=n(55570),a=n(65982);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),o=(0,r.A)(t);if(isNaN(o))return new Date(NaN);if(!o)return n;var s=n.getDate(),l=new Date(n.getTime());return(l.setMonth(n.getMonth()+o+1,0),s>=l.getDate())?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},38725:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,a:()=>o});var r=n(12115);let i=(0,r.createContext)(!1);function a(){return(0,r.useContext)(i)}function o(e){return r.createElement(i.Provider,{value:e.force},e.children)}},41923:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65982),i=n(39709);function a(e,t){(0,r.A)(1,arguments);var n,a,p,m=(0,i.A)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==m&&1!==m&&0!==m)throw RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var g=function(e){var t,n={},r=e.split(o.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],o.timeZoneDelimiter.test(n.date)&&(n.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=o.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(g.date){var E=function(e,t){var n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?i:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(g.date,m);a=function(e,t){if(null===t)return new Date(NaN);var n,r,i,a,o,l,c,d,p,m,g,E,y,v=e.match(s);if(!v)return new Date(NaN);var T=!!v[4],b=u(v[1]),_=u(v[2])-1,A=u(v[3]),S=u(v[4]),k=u(v[5])-1;if(T){return(n=0,r=S,i=k,r>=1&&r<=53&&i>=0&&i<=6)?(a=t,o=S,l=k,(c=new Date(0)).setUTCFullYear(a,0,4),d=c.getUTCDay()||7,c.setUTCDate(c.getUTCDate()+((o-1)*7+l+1-d)),c):new Date(NaN)}var C=new Date(0);return(p=t,m=_,g=A,m>=0&&m<=11&&g>=1&&g<=(h[m]||(f(p)?29:28))&&(E=t,(y=b)>=1&&y<=(f(E)?366:365)))?(C.setUTCFullYear(t,_,Math.max(b,A)),C):new Date(NaN)}(E.restDateString,E.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var y=a.getTime(),v=0;if(g.time&&isNaN(v=function(e){var t,n,r,i=e.match(l);if(!i)return NaN;var a=d(i[1]),o=d(i[2]),s=d(i[3]);return(t=a,n=o,r=s,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?36e5*a+6e4*o+1e3*s:NaN}(g.time)))return new Date(NaN);if(g.timezone){if(isNaN(p=function(e){if("Z"===e)return 0;var t,n,r=e.match(c);if(!r)return 0;var i="+"===r[1]?-1:1,a=parseInt(r[2]),o=r[3]&&parseInt(r[3])||0;return(t=0,(n=o)>=0&&n<=59)?i*(36e5*a+6e4*o):NaN}(g.timezone)))return new Date(NaN)}else{var T=new Date(y+v),b=new Date(0);return b.setFullYear(T.getUTCFullYear(),T.getUTCMonth(),T.getUTCDate()),b.setHours(T.getUTCHours(),T.getUTCMinutes(),T.getUTCSeconds(),T.getUTCMilliseconds()),b}return new Date(y+v+p)}var o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function f(e){return e%400==0||e%4==0&&e%100!=0}},43127:(e,t,n)=>{"use strict";n.d(t,{A:()=>
4o});var r=n(39709),i=n(55570),a=n(65982);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),o=(0,r.A)(t);return isNaN(o)?new Date(NaN):(o&&n.setDate(n.getDate()+o),n)}},45261:(e,t,n)=>{"use strict";n.d(t,{e:()=>function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=setTimeout(...t);return n.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let a={current:!0};return(0,r._)(()=>{a.current&&t[0]()}),n.add(()=>{a.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(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}});var r=n(7856)},45577:(e,t,n)=>{var r=n(85855),i=0;e.exports=function(e){var t=++i;return r(e)+t}},46506:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(12115),i=n(62177),a=function(e){var t=e.as,n=e.errors,a=e.name,o=e.message,s=e.render,l=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}(e,["as","errors","name","message","render"]),c=(0,i.xW)(),u=(0,i.Jt)(n||c.formState.errors,a);if(!u)return null;var d=u.message,h=u.types,f=Object.assign({},l,{children:d||o});return r.isValidElement(t)?r.cloneElement(t,f):s?s({message:d||o,messages:h}):r.createElement(t||r.Fragment,f)}},46582:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(39709),i=n(55570),a=n(65982);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),o=(0,r.A)(t);return n.setMinutes(o),n}},46662:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(("_owner"!==o||!t.$$typeof)&&!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},47202:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(55570),i=n(39709),a=n(65982),o=n(20531);function s(e,t){(0,a.A)(1,arguments);var n,s,l,c,u,d,h,f,p=(0,o.q)(),m=(0,i.A)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==s?s:null===(h=p.locale)||void 0===h?void 0:null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.A)(e),E=g.getDay();return g.setDate(g.getDate()-(7*(E<m)+E-m)),g.setHours(0,0,0,0),g}},47769:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,a:()=>o});var r=n(12115),i=n(30797);let a=Symbol();function o(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[a]:t})}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=(0,r.useRef)(t);(0,r.useEffect)(()=>{o.current=t},[t]);let s=(0,i._)(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[a]))?void 0:s}}
4,48014:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(12115),i=n(45261);function a(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},48346:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(12115),i=n(21449);function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,i.T)(...t),[...t])}},48476:(e,t,n)=>{"use strict";e.exports=n(21661)()},49535:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(12556);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},49537:()=>{},50058:(e,t,n)=>{"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(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(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:()=>r})},50709:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55570),i=n(65982);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setHours(23,59,59,999),t}},51469:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,a=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,o=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map(function(e){return e.replace(o,"$2")}))}function d(e){return e.match(n)||[""]}function h(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,function(e,n){for(var r=0,i=t.length,a=e;r<i-1;){var o=t[r];if("__proto__"===o||"constructor"===o||"prototype"===o)return e;a=a[t[r++]]}a[t[r]]=n})},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,function(e){for(var r=0,i=n.length;r<i;)if(null==e&&t)return;else e=e[n[r++]];return e})},join:function(e){return e.reduce(function(e,t){return e+(h(t)||r.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,n){!function(e,t,n){var o,s,l,c,u=e.length;for(s=0;s<u;s++)(o=e[s])&&(function(e){return!h(e)&&(e.match(i)&&!e.match(r)||a.test(e))}(o)&&(o='"'+o+'"'),l=!(c=h(o))&&/^\d+$/.test(o),t.call(n,o,c,l,s,e))}(Array.isArray(e)?e:d(e),t,n)}}}
4,51507:e=>{let t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),a=e=>n(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:n,upperFirst:r,camelCase:a,pascalCase:e=>r(a(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},52503:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(12115),i=n(21231);function a(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>a(e));return(0,i.s)(()=>{o(a(e))},[e.type,e.as]),(0,i.s)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},52596:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},53360:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,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(t=arguments[h],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(p&&i&&(o(i)||(c=a(i)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&o(r)?r:{},s(d,{name:n,newValue:e(p,u,i)})):void 0!==i&&s(d,{name:n,newValue:i}));return d}},53566:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55570),i=n(65982);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setHours(0,0,0,0),t}},53724:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esMo
4dule?e:{default:e}})(n(87924)),i=n(31300);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},53742:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(e){var t=(0,r.default)(e);return{getItem:function(e){return new Promise(function(n,r){n(t.getItem(e))})},setItem:function(e,n){return new Promise(function(r,i){r(t.setItem(e,n))})},removeItem:function(e){return new Promise(function(n,r){n(t.removeItem(e))})}}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(17280))},55548:(e,t,n)=>{"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>i,q:()=>r})},56454:(e,t,n)=>{"use strict";n.d(t,{oz:()=>tF});var r={};n.r(r),n.d(r,{attentionMarkers:()=>eW,contentInitial:()=>ej,disable:()=>eX,document:()=>eU,flow:()=>eV,flowInitial:()=>eG,insideSpan:()=>eq,string:()=>ez,text:()=>eY});var i=n(34093),a=n(55548);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function c(e,t){return((t||l).jsx?s:o).test(e)}let u=/[ \t\n\f\r]/g;function d(e){return""===e.replace(u,"")}var h=n(83846),f=n(7887);let p={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 m=n(14947),g=n(53724),E=n(70832);function y(e){return e&&"object"==typeof e?"position"in e||"type"in e?T(e.position):"start"in e||"end"in e?T(e):"line"in e||"column"in e?v(e):"":""}function v(e){return b(e&&e.line)+":"+b(e&&e.column)}function T(e){return v(e&&e.start)+"-"+v(e&&e.end)}function b(e){return e&&"number"==typeof e?e:1}class _ extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=y(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}_.prototype.file="",_.prototype.name="",_.prototype.reason="",_.prototype.message="",_.prototype.stack="",_.prototype.column=void 0,_.prototype.line=void 0,_.prototype.ancestors=void 0,_.prototype.cause=void 0,_.prototype.fatal=void 0,_.prototype.place=void 0,_.prototype.ruleId=void 0,_.prototype.source=void 0;let A={}.hasOwnProperty,S=new Map,k=/[A-Z]/g,C=new Set(["table","tbody","thead","tfoot","tr"]),O=new Set(["td","th"]),N="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function D(e,t,n){var r;return"element"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(e.schema=h.JW),e.ancestors.push(t);let o=R(e,t.tagName,!1),s=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&A.call(t.properties,r)){let o=function(e,t,n){let r=(0,f.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,a.A)(n):(0,m.A)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return g(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new _("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
4throw t.file=e.filePath||void 0,t.url=N+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)A.call(e,t)&&(n[function(e){let t=e.replace(k,L);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?p[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,a]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&O.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),l=w(e,t);return C.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&d(e.value):d(e))})),I(e,s,o,t),x(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}P(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,a=r;"svg"===t.name&&"html"===r.space&&(e.schema=h.JW),e.ancestors.push(t);let o=null===t.name?e.Fragment:R(e,t.name,!0),s=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let o=a.properties[0];(0,i.ok)("SpreadElement"===o.type),Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else P(e,t.position);else{let a,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else P(e,t.position);else a=null===r.value||r.value;n[o]=a}return n}(e,t),l=w(e,t);return I(e,s,o,t),x(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);P(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return x(r,w(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?(r=0,t.value):void 0}function I(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function x(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function w(e,t){let n=[],r=-1,i=e.passKeys?new Map:S;for(;++r<t.children.length;){let a,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let s=D(e,o,a);void 0!==s&&n.push(s)}return n}function R(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=c(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return A.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);P(e)}function P(e,t){let n=new _("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=N+"#cannot-handle-mdx-estrees-without-createevaluater",n}function L(e){return"-"+e.toLowerCase()}let M={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 F=n(95155);n(12115);var B=n(4392),H=n(11603);class U{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&j(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),j(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),j(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);j(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);j(this.left,t.reverse())}}}function j(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 G(e){let t,n,r,i,a,o,s,l={},c=-1,u=new U(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],o=t-1,s=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},h=-1,f=i,p=0,m=0,g=[0];for(;f;){for(;e.get(++o)[1]!==f;);s.push(o),!f._tokenizer&&(n=a.sliceStream(f),f.next||n.push(null),r&&l.defineSki
4p(f.start),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++h<c.length;)"exit"===c[h][0]&&"enter"===c[h-1][0]&&c[h][1].type===c[h-1][1].type&&c[h][1].start.line!==c[h][1].end.line&&(m=h+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(l.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),h=g.length;h--;){let t=c.slice(g[h],g[h+1]),n=s.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),h=-1;++h<u.length;)d[p+u[h][0]]=p+u[h][1],p+=u[h][1]-u[h][0]-1;return d}(u,c)),c=l[c],s=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(a=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,a))}}return(0,H.m)(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!s}var V=n(69381),z=n(94581),Y=n(12556);let q={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,z.N)(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,Y.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},W={tokenize:function(e){let t,n,r,i=this,a=[],o=0;return s;function s(t){if(o<a.length){let n=a[o];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&E();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}g(o);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return(0,H.m)(i.events,a+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(o===a.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(X,u,d)(n)}function u(e){return t&&E(),g(o),h(e)}function d(e){return i.parser.lazy[i.now().line]=o!==a.length,r=i.now().offset,p(e)}function h(t){return i.containerState={},e.attempt(X,f,p)(t)}function f(e){return o++,a.push([i.currentConstruct,i.containerState]),h(e)}function p(r){if(null===r){t&&E(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,Y.HP)(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function m(e,a){let s=i.sliceStream(e);if(a&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(o),a=s;a<i.events.length;)i.events[a][1].end={...n},a++;(0,H.m)(i.events,l+1,0,i.events.slice(s)),i.events.length=a}}function g(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function E(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},X={tokenize:function(e,t,n){return(0,z.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Q=n(95333);let K={resolve:function(e){return G(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,Y.HP)(t)?e.check($,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},$={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
4(0,z.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,Y.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},J={tokenize:function(e){let t=this,n=e.attempt(Q.B,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,z.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(K,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},Z={resolveAll:er()},ee=en("string"),et=en("text");function en(e){return{resolveAll:er("text"===e?ei:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function er(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ei(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),o=a.length,s=-1,l=0;for(;o--;){let e=a[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:i.start._bufferIndex+s,_index:i.start._index+o,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let ea={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var o;return e.enter("thematicBreak"),r=o=a,function a(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,Y.On)(n)?(0,z.N)(e,a,"whitespace")(n):a(n))}(o)):i>=3&&(null===o||(0,Y.HP)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},eo={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Q.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,z.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,Y.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
4=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(el,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,z.N)(e,e.attempt(eo,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,Y.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ea,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,Y.BM)(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Q.B,r.interrupt?n:l,e.attempt(es,u,c))}
4function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,Y.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},es={partial:!0,tokenize:function(e,t,n){let r=this;return(0,z.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,Y.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},el={partial:!0,tokenize:function(e,t,n){let r=this;return(0,z.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},ec={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,Y.On)(t)?(0,z.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(ec,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,Y.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function eu(e,t,n,r,i,a,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,Y.JQ)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,Y.HP)(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(i){return!u&&(null===i||41===i||(0,Y.Ee)(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,p):41===i?(e.consume(i),u--,p):null===i||32===i||40===i||(0,Y.JQ)(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function ed(e,t,n,r,i,a){let o,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,Y.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,Y.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,Y.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function eh(e,t,n,r,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),s(o)):null===t?n(t):(0,Y.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,z.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,Y.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function ef(e,t){let n;return function r(i){return(0,Y.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,Y.On)(i)?(0,z.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var ep=n(33386);let em={partial:!0,tokenize:function(e,t,n){return function(t){return(0,Y.Ee)(t)?ef(e,r)(t):n(t)};function r(t){return eh(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,Y.On)(t)?(0,z.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,Y.HP)(e)?t(e):n(e)}}},eg={name:"codeIndented",tokenize:function(e,t,n){let r=this;
4return function(t){return e.enter("codeIndented"),(0,z.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,Y.HP)(n)?e.attempt(eE,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,Y.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},eE={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,Y.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,z.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,Y.HP)(e)?i(e):n(e)}}},ey={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,Y.On)(n)?(0,z.N)(e,a,"lineSuffix")(n):a(n))}(o)):n(t)};function a(r){return null===r||(0,Y.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},ev=["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"],eT=["pre","script","style","textarea"],eb={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Q.B,t,n)}}},e_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,Y.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eA={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eS={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,Y.On)(t)?(0,z.N)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=s?(e.exit("codeFencedFenceSequence"),(0,Y.On)(i)?(0,z.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,Y.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,s=0;return function(t){var a=t;
4let c=i.events[i.events.length-1];return o=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),(0,Y.On)(i)?(0,z.N)(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||(0,Y.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(eA,u,p)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,Y.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,Y.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,z.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||(0,Y.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,Y.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,p,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return o>0&&(0,Y.On)(t)?(0,z.N)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,Y.HP)(t)?e.check(eA,u,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,Y.HP)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}}},ek=document.createElement("i");function eC(e){let t="&"+e+";";ek.innerHTML=t;let n=ek.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eO={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=Y.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=Y.ok,c):(e.enter("characterReferenceValue"),r=7,i=Y.BM,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return i!==Y.lV||eC(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&o++<r?(e.consume(s),c):n(s)}}},eN={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,Y.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eD={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,z.N)(e,t,"linePrefix")}}};var eI=n(91877);let ex={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,H.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return a=[["enter",l,t],["enter",c,t]],a=(0,H.V)(a,e.slice(r+1,r+s+3)),a=(0,H.V)(a,[["enter",u,t]]),a=(0,H.V)(a,(0,eI.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),a=(0,H.V)(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=(0,H.V)(a,e.slice(i+1)),a=(0,H.V)(a,[["exit",l,t]]),(0,H.m)(e,r,e.length,a),e},tokenize:function(e,t,n){let r,i,a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){r=a.events[o][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes((0,ep.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(ew,c,i?c:u)(t):91===t?e.attempt(eR,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(eP,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},ew={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,Y.Ee)(t)?ef(e,i)(t):i(t)}function i(t){return 41===t?c(t):eu(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,Y.Ee)(t)?ef(e,s)(t):c(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?eh(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,Y.Ee)(t)?ef(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eR={tokenize:function(e,t,n){let r=this;return function(t){return ed.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,ep.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},eP={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)}}},eL={name:"labelStartImage",resolveAll:ex.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var eM=n(49535);let eF={name:"attention",resolveAll:function(e,t){let n,r,i,a,o,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
4n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},h={...e[u][1].start};eB(d,-s),eB(h,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:h},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[n][1].end={...a.start},e[u][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,H.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,H.V)(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=(0,H.V)(l,(0,eI.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,H.V)(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,H.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,H.m)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,eM.S)(i);return function(o){return n=o,e.enter("attentionSequence"),function o(s){if(s===n)return e.consume(s),o;let l=e.exit("attentionSequence"),c=(0,eM.S)(s),u=!c||2===c&&a||r.includes(s),d=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(s)}(o)}}};function eB(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eH={name:"labelStartLink",resolveAll:ex.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eU={42:eo,43:eo,45:eo,48:eo,49:eo,50:eo,51:eo,52:eo,53:eo,54:eo,55:eo,56:eo,57:eo,62:ec},ej={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,ed.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,ep.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return(0,Y.Ee)(t)?ef(e,s)(t):s(t)}function s(t){return eu(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(em,c,c)(t)}function c(t){return(0,Y.On)(t)?(0,z.N)(e,u,"whitespace")(t):u(t)}function u(a){return null===a||(0,Y.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},eG={[-2]:eg,[-1]:eg,32:eg},eV={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,H.m)(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,Y.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,Y.HP)(r)?(e.exit("atxHeading"),t(r)):(0,Y.On)(r)?(0,z.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,Y.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:ea,45:[ey,ea],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,o,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),i=!0,f):63===o?(e.consume(o),r=3,l.interrupt?t:w):(0,Y.CW)(o)?(e.consume(o),a=String.fromCharCode(o),p):n(o)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,o=0,h):(0,Y.CW)(i)?(e.consume(i),r=4,l.interrupt?t:w):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:w):n(r)}function h(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?l.interrupt?t:S:h:n(r)}function f(t){return(0,Y.CW)(t)?(e.consume(t),a=String.fromCharCode(t),p):n(t)}
4function p(o){if(null===o||47===o||62===o||(0,Y.Ee)(o)){let s=47===o,c=a.toLowerCase();return!s&&!i&&eT.includes(c)?(r=1,l.interrupt?t(o):S(o)):ev.includes(a.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):S(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):i?function t(n){return(0,Y.On)(n)?(e.consume(n),t):_(n)}(o):g(o))}return 45===o||(0,Y.lV)(o)?(e.consume(o),a+=String.fromCharCode(o),p):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,Y.CW)(t)?(e.consume(t),E):(0,Y.On)(t)?(e.consume(t),g):_(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,Y.lV)(t)?(e.consume(t),E):y(t)}function y(t){return 61===t?(e.consume(t),v):(0,Y.On)(t)?(e.consume(t),y):g(t)}function v(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,T):(0,Y.On)(t)?(e.consume(t),v):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,Y.Ee)(n)?y(n):(e.consume(n),t)}(t)}function T(t){return t===s?(e.consume(t),s=null,b):null===t||(0,Y.HP)(t)?n(t):(e.consume(t),T)}function b(e){return 47===e||62===e||(0,Y.On)(e)?g(e):n(e)}function _(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,Y.HP)(t)?S(t):(0,Y.On)(t)?(e.consume(t),A):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),N):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),w):93===t&&5===r?(e.consume(t),x):(0,Y.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eb,P,k)(t)):null===t||(0,Y.HP)(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),S)}function k(t){return e.check(e_,C,P)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||(0,Y.HP)(t)?k(t):(e.enter("htmlFlowData"),S(t))}function N(t){return 45===t?(e.consume(t),w):S(t)}function D(t){return 47===t?(e.consume(t),a="",I):S(t)}function I(t){if(62===t){let n=a.toLowerCase();return eT.includes(n)?(e.consume(t),R):S(t)}return(0,Y.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):S(t)}function x(t){return 93===t?(e.consume(t),w):S(t)}function w(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),w):S(t)}function R(t){return null===t||(0,Y.HP)(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),R)}function P(n){return e.exit("htmlFlow"),t(n)}}},61:ey,95:ea,96:eS,126:eS},ez={38:eO,92:eN},eY={[-5]:eD,[-4]:eD,[-3]:eD,33:eL,38:eO,42:eF,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,Y.CW)(t)?(e.consume(t),a):64===t?n(t):s(t)}function a(t){return 43===t||45===t||46===t||(0,Y.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,Y.lV)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,Y.JQ)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,Y.cx)(t)?(e.consume(t),s):n(t)}function l(i){return(0,Y.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,Y.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),y):(0,Y.CW)(t)?(e.consume(t),_):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,f):(0,Y.CW)(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,Y.HP)(t)?(a=u,I(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?D(e):45===e?d(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:f):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):(0,Y.HP)(t)?(a=p,I(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):p(t)}function E(t){return null===t||62===t?D(t):(0,Y.HP)(t)?(a=E,I(t)):(e.consume(t),E)}function y(t){return null===t?n(t):63===t?(e.consume(t),v):(0,Y.HP)(t)?(a=y,I(t)):(e.consume(t),y)}function v(e){return 62===e?D(e):y(e)}function T(t){return(0,Y.CW)(t)?(e.consume(t),b):n(t)}function b(t){return 45===t||(0,Y.lV)(t)?(e.consume(t),b):function t(n){return(0,Y.HP)(n)?(a=t,I(n)):(0,Y.On)(n)?(e.consume(n),t):D(n)}(t)}function _(t){return 45===t||(0,Y.lV)(t)?(e.consume(t),_):47===t||62===t||(0,Y.Ee)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),D):58===t||95===t||(0,Y.CW)(t)?(e.consume(t),S):(0,Y.HP)(t)?(a=A,I(t)):(0,Y.On)(t)?(e.consume(t),A):D(t)}function S(t){return 45===t||46===t||58===t||95===t||(0,Y.lV)(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),k):(0,Y.HP)(n)?(a=t,I(n)):(0,Y.On)(n)?(e.consume(n),t):A(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):(0,Y.HP)(t)?(a=k,I(t)):(0,Y.On)(t)?(e.consume(t),k):(e.consume(t),O)}function C(t){return t===r?(e.consume(t),r=void 0,N):null===t?n(t):(0,Y.HP)(t)?(a=C,I(t)):(e.consume(t),C)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,Y.Ee)(t)?A(t):(e.consume(t),O)}function N(e){return 47===e||62===e||(0,Y.Ee)(e)?A(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),x}function x(t){return(0,Y.On)(t)?(0,z.N)(e,w,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):w(t)}function w(t){return e.enter("htmlTextData"),a(t)}}}],91:eH,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,Y.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eN],93:ex,95:eF,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;
4return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",s(o))}(l)):(0,Y.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,Y.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}},eq={null:[eF,Z]},eW={null:[42,95]},eX={null:[]},eQ=/[\0\t\n\r]/g;function eK(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let e$=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eJ(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eK(n.slice(t?2:1),t?16:10)}return eC(n)||e}let eZ={}.hasOwnProperty;function e0(e){return{line:e.line,column:e.column,offset:e.offset}}function e1(e,t){if(e)throw 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");throw Error("Cannot close document, a token (`"+t.type+"`, "+y({start:t.start,end:t.end})+") is still open")}function e2(e){let t=this;t.parser=function(n){var i,a;let o,s,l,c;return"object"==typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(E),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(p),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(f,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:c,htmlText:r(g,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(E),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(p),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eK(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=eC(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=e0(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,ep.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e$,eJ),n.identifier=(0,ep.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=e0(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
4ype)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,ep.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(eZ.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,a,o,s=t-1,l=-1,c=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,a=void 0,o=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];eZ.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||e1).call(o,void 0,e[0])}for(r.position={start:e0(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e0(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:e0(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||e1).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+y({start:e.start,end:e.end})+"): it’s not open");n.position.end=e0(e.end)}function l(){return(0,B.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:e0(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e0(e.end)}function d(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function p(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!G(e););return e}((function(e){let t={constructs:(0,V.y)([r,...(e||{}).extensions||[]]),content:n(q),defined:[],document:n(W),flow:n(J),lazy:{},string:n(ee),text:n(et)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
4olumn:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],l={attempt:p(function(e,t){m(e,t.from)}),check:p(f),consume:function(e){(0,Y.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=h(),c.events.push(["exit",t,c]),t},interrupt:p(f,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,o=e[r];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":"	";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=(0,H.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==o[o.length-1])?[]:(m(t,0),c.events=(0,eI.W)(a,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,o)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[a].slice(0,o))}return n}(o,e)}function h(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function f(e,t){t.restore()}function p(e,t){return function(n,i,a){var o;let u,d,f,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(u=e,d=0,0===e.length)?a:E(e[d])}function E(e){return function(n){return(p=function(){let e=h(),t=c.previous,n=c.currentConstruct,i=c.events.length,a=Array.from(s);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=a,g()}}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,y,v)(n)}}function y(t){return e(f,p),i}function v(e){return(p.restore(),++d<u.length)?E(u[d]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&(0,H.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(a).document().write((s=1,l="",c=!0,function(e,t,n){let r,i,a,u,d,h=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,l="",c&&(65279===e.charCodeAt(0)&&a++,c=void 0);a<e.length;){if(eQ.lastIndex=a,u=(r=eQ.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){l=e.slice(a);break}if(10===d&&a===u&&o)h.push(-3),o=void 0;else switch(o&&(h.push(-5),o=void 0),a<u&&(h.push(e.slice(a,u)),s+=u-a),d){case 0:h.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),h.push(-2);s++<i;)h.push(-1);break;case 10:h.push(-4),s=1;break;default:o=!0,s=1}a=u+1}return n&&(o&&h.push(-5),l&&h.push(l),h.push(null)),h})(n,i,!0))))}}var e3=n(66945);function e5(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o="";if(37===a&&(0,Y.lV)(e.charCodeAt(n+1))&&(0,Y.lV)(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function e4(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function e8(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var e6=n(88428);function e9(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function e7(e){let t=e.spread;return null==t?e.children.length>1:t}function te(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let tt={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
4,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=e5(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={src:e5(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:e5(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={href:e5(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:e5(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=e7(n[r])}return t}(n):e7(t),a={},o=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=(0,E.PW)(t.children[1]),o=(0,E.Y)(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:"element",tagName:"table",properties:{}
4,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,o=a?a.length:t.children.length,s=-1,l=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(te(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(te(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tn,yaml:tn,definition:tn,footnoteDefinition:tn};function tn(){}let tr={}.hasOwnProperty,ti={};function ta(e,t){e.position&&(t.position=(0,E.G1)(e))}function to(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,(0,e3.Ay)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ts(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tl(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tc(e,t){let n=function(e,t){let n=t||ti,r=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=tl(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=tl(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:to,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tt,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(tr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,e3.Ay)(n);return r.children=a.all(e),r}return(0,e3.Ay)(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tr.call(n,"hProperties")||tr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(a,e,t)},options:n,patch:ta,wrap:ts};return(0,e6.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),a=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||e4,r=e.options.footnoteBackLabel||e8,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),c=e5(o.toLowerCase()),u=0,d=[],h=e.footnoteCounts.get(o);for(;void 0!==h&&++u<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}
4let f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else a.push(...d);let p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...(0,e3.Ay)(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,i.ok)("children"in o),o.children.push({type:"text",value:"\n"},a)),o}function tu(e,t){return e&&"run"in e?async function(n,r){let i=tc(n,{file:r,...t});await e.run(i,r)}:function(n,r){return tc(n,{file:r,...e||t})}}function td(e){if(e)throw e}var th=n(53360);function tf(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tp={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tm(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(tm(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;tm(e);let n=e.length,r=-1,i=0,a=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||r<0||0===o||1===o&&a===r-1&&a===i+1?"":e.slice(a,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)tm(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){tm(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function tm(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tg={cwd:function(){return"/"}};function tE(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let ty=["history","path","basename","stem","extname","dirname"];class tv{constructor(e){let t,n;t=e?tE(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":tg.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ty.length;){let e=ty[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)ty.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tp.basename(this.path):void 0}set basename(e){tb(e,"basename"),tT(e,"basename"),this.path=tp.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tp.dirname(this.path):void 0}set dirname(e){t_(this.basename,"dirname"),this.path=tp.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?tp.extname(this.path):void 0}set extname(e){if(tT(e,"extname"),t_(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");
4if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=tp.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tE(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tE(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tb(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tp.basename(this.path,this.extname):void 0}set stem(e){tb(e,"stem"),tT(e,"stem"),this.path=tp.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new _(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 tT(e,t){if(e&&e.includes(tp.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+tp.sep+"`")}function tb(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function t_(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tA=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},tS={}.hasOwnProperty;class tk extends tA{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function i(a,...o){let s=e[++n],l=-1;if(a){r(a);return}for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let n;return function(...t){let a,o=e.length>t.length;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tk,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(th(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tD("data",this.frozen),this.namespace[e]=t,this):tS.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tD("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=tw(e),n=this.parser||this.Parser;return tO("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tO("process",this.parser||this.Parser),tN("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let o=tw(e),s=n.parse(o);function l(e,n){e||!n?a(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(s,o,function(e,t,r){var i,a;if(e||!t||!r)return l(e);let o=n.stringify(t,r);"string"==typeof(i=o)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=o:r.result=
4o,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),tO("processSync",this.parser||this.Parser),tN("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,td(e),t=r}),tx("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){tI(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,o){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let s=tw(t);r.run(e,s,function(t,r,s){let l=r||e;t?o(t):a?a(l):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){td(e),n=t,r=!0}),tx("runSync","run",r),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tw(t),r=this.compiler||this.Compiler;return tN("stringify",r),tI(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(tD("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=th(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)o(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;o(e,t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];tf(o)&&tf(r)&&(r=th(!0,o,r)),n[i]=[e,r,...a]}}}}let tC=new tk().freeze();function tO(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tN(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tD(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tI(e){if(!tf(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tx(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tw(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new tv(e)}let tR=[],tP={allowDangerousHtml:!0},tL=/^(https?|ircs?|mailto|xmpp)$/i,tM=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tF(e){let t=function(e){let t=e.rehypePlugins||tR,n=e.remarkPlugins||tR,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tP}:tP;return tC().use(e2).use(n).use(tu,r).use(t)}(e),n=function(e){let t=e.children||"",n=new tv;return"string"==typeof t?n.value=t:(0,i.HB)("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,a=t.components,o=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||tB;for(let e of tM)Object.hasOwn(t,e.from)&&(0,i.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&o&&(0,i.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),(0,e6.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in M)if(Object.hasOwn(M,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=M[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,a,o;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=l,r=t.jsxDEV,s=function(e,t,i,a){let o=Array.isArray(i.children),s=(0,E.PW)(e);return r(t,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
4if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=0,a=t.jsx,o=t.jsxs,s=function(e,t,n,r){let i=Array.isArray(n.children)?o:a;return r?i(t,n,r):i(t,n)}}let c={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?h.JW:h.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=D(c,e,void 0);return u&&"string"!=typeof u?u:c.create(e,c.Fragment,{children:u||void 0},void 0)}(e,{Fragment:F.Fragment,components:a,ignoreInvalidStyle:!0,jsx:F.jsx,jsxs:F.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function tB(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||tL.test(e.slice(0,t))?e:""}},56970:()=>{},59408:()=>{},59739:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},59882:e=>{e.exports=function(e){return null==e}},60058:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(86608),i=n(65982),a=n(55570),o=n(96054),s=n(39709);function l(e){(0,i.A)(1,arguments);var t=(0,a.A)(e),n=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-(7*(n<1)+n-1)),t.setUTCHours(0,0,0,0),t}function c(e){(0,i.A)(1,arguments);var t=(0,a.A)(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=l(r),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var c=l(s);return t.getTime()>=o.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}var u=n(20531);function d(e,t){(0,i.A)(1,arguments);var n,r,o,l,c,d,h,f,p=(0,u.q)(),m=(0,s.A)(null!==(n=null!==(r=null!==(o=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(c=t.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==o?o:p.weekStartsOn)&&void 0!==r?r:null===(h=p.locale)||void 0===h?void 0:null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,a.A)(e),E=g.getUTCDay();return g.setUTCDate(g.getUTCDate()-(7*(E<m)+E-m)),g.setUTCHours(0,0,0,0),g}function h(e,t){(0,i.A)(1,arguments);var n,r,o,l,c,h,f,p,m=(0,a.A)(e),g=m.getUTCFullYear(),E=(0,u.q)(),y=(0,s.A)(null!==(n=null!==(r=null!==(o=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t?void 0:null===(c=t.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==o?o:E.firstWeekContainsDate)&&void 0!==r?r:null===(f=E.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(g+1,0,y),v.setUTCHours(0,0,0,0);var T=d(v,t),b=new Date(0);b.setUTCFullYear(g,0,y),b.setUTCHours(0,0,0,0);var _=d(b,t);return m.getTime()>=T.getTime()?g+1:m.getTime()>=_.getTime()?g:g-1}function f(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return(e<0?"-":"")+n}let p={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return f("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):f(n+1,2)},d:function(e,t){return f(e.getUTCDate(),t.length)},h:function(e,t){return f(e.getUTCHours()%12||12,t.length)},H:function(e,t){return f(e.getUTCHours(),t.length)},m:function(e,t){return f(e.getUTCMinutes(),t.length)},s:function(e,t){return f(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length;return f(Math.floor(e.getUTCMilliseconds()*Math.pow(10,n-3)),t.length)}};var m={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function g(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;return 0===a?n+String(i):n+String(i)+(t||"")+f(a,2)}function E(e,t){return e%60==0?(e>0?"-":"+")+f(Math.abs(e)/60,2):y(e,t)}function y(e,t){var n=Math.abs(e);return(e>0?"-":"+")+f(Math.floor(n/60),2)+(t||"")+f(n%60,2)}let v={G:function(e,t,n){var r=+(e.getUTCFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear();return n.ordinalNumber(r>0?r:1-r,{unit:"year"})}return p.y(e,t)},Y:function(e,t,n,r){var i=h(e,r),a=i>0?i:1-i;return"YY"===t?f(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):f(a,t.length)},R:function(e,t){return f(c(e),t.length)},u:function(e,t){return f(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return p.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=function(e,t){(0,i.A)(1,arguments);var n=(0,a.A)(e);return Math.round((d(n,t).getTime()-(function(e,t){(0,i.A)(1,arguments);var n,r,a,o,l,c,f,p,m=(0,u.q)(),g=(0,s.A)(null!==(n=null!==(r=null!==(a=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:m.firstWeekContainsDate)&&void 0!==r?r:null===(f=m.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),E=h(e,t),y=new Date(0);return y.setUTCFullYear(E,0,g),y.setUTCHours(0,0,0,0),d(y,t)})(n,t).getTime())/6048e5)+1}(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):f(o,t.length)},I:function(e,t,n){var r=function(e){(0,i.A)(1,arguments);var t=(0,a.A)(e);return Math.round((l(t).getTime()-(function(e){(0,i.A)(1,arguments);var t=c(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),l(n)})(t).getTime())/6048e5)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):p.d(e,t)},D:function(e,t,n){var r=function(e){(0,i.A)(1,arguments);var t=(0,a.A)(e),n=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((n-t.getTime())/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return f(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return f(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return f(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?m.noon:0===i?m.midnight:i/12>
4=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?m.evening:i>=12?m.afternoon:i>=4?m.morning:m.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return p.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):p.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):p.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):p.s(e,t)},S:function(e,t){return p.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return E(i);case"XXXX":case"XX":return y(i);default:return y(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return E(i);case"xxxx":case"xx":return y(i);default:return y(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(i,":");default:return"GMT"+y(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(i,":");default:return"GMT"+y(i,":")}}
4,t:function(e,t,n,r){return f(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,r){return f((r._originalDate||e).getTime(),t.length)}};var T=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},b=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};let _={p:b,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return T(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",T(i,t)).replace("{{time}}",b(a,t))}};var A=n(32765),S=["D","DD"],k=["YY","YYYY"];function C(e,t,n){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
4concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var O=n(2953),N=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,I=/^'([^]*?)'?$/,x=/''/g,w=/[a-zA-Z]/;function R(e,t,n){(0,i.A)(2,arguments);var l,c,d,h,f,p,m,g,E,y,T,b,R,P,L,M,F,B,H=String(t),U=(0,u.q)(),j=null!==(l=null!==(c=null==n?void 0:n.locale)&&void 0!==c?c:U.locale)&&void 0!==l?l:O.A,G=(0,s.A)(null!==(d=null!==(h=null!==(f=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n?void 0:null===(m=n.locale)||void 0===m?void 0:null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==f?f:U.firstWeekContainsDate)&&void 0!==h?h:null===(E=U.locale)||void 0===E?void 0:null===(y=E.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==d?d:1);if(!(G>=1&&G<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=(0,s.A)(null!==(T=null!==(b=null!==(R=null!==(P=null==n?void 0:n.weekStartsOn)&&void 0!==P?P:null==n?void 0:null===(L=n.locale)||void 0===L?void 0:null===(M=L.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==R?R:U.weekStartsOn)&&void 0!==b?b:null===(F=U.locale)||void 0===F?void 0:null===(B=F.options)||void 0===B?void 0:B.weekStartsOn)&&void 0!==T?T:0);if(!(V>=0&&V<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw RangeError("locale must contain localize property");if(!j.formatLong)throw RangeError("locale must contain formatLong property");var z=(0,a.A)(e);if(!function(e){return(0,i.A)(1,arguments),(!!function(e){return(0,i.A)(1,arguments),e instanceof Date||"object"===(0,r.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number((0,a.A)(e)))}(z))throw RangeError("Invalid time value");var Y=(0,A.A)(z),q=function(e,t){(0,i.A)(2,arguments);var n=(0,s.A)(t);return(0,o.A)(e,-n)}(z,Y),W={firstWeekContainsDate:G,weekStartsOn:V,locale:j,_originalDate:z};return H.match(D).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,_[t])(e,j.formatLong):e}).join("").match(N).map(function(r){if("''"===r)return"'";var i,a,o=r[0];if("'"===o){return(a=(i=r).match(I))?a[1].replace(x,"'"):i}var s=v[o];if(s)return!(null!=n&&n.useAdditionalWeekYearTokens)&&-1!==k.indexOf(r)&&C(r,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&-1!==S.indexOf(r)&&C(r,t,String(e)),s(q,r,j.localize,W);if(o.match(w))throw RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r}).join("")}},60245:(e,t,n)=>{var r=n(51911);e.exports=function(e,t){return r(e,t)}},61328:(e,t,n)=>{"use strict";n.d(t,{r2:()=>i,rL:()=>p});var r="persist:",i="persist/REHYDRATE";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){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 s(e,t,n,r){r.debug;var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEac
4h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n);return e&&"object"===a(e)&&Object.keys(e).forEach(function(r){"_persist"!==r&&t[r]===n[r]&&(i[r]=e[r])}),i}function l(e){return JSON.stringify(e)}function c(e){var t,n=e.transforms||[],i="".concat(void 0!==e.keyPrefix?e.keyPrefix:r).concat(e.key),a=e.storage;return e.debug,t=!1===e.deserialize?function(e){return e}:"function"==typeof e.deserialize?e.deserialize:u,a.getItem(i).then(function(e){if(e)try{var r={},i=t(e);return Object.keys(i).forEach(function(e){r[e]=n.reduceRight(function(t,n){return n.out(t,e,i)},t(i[e]))}),r}catch(e){throw e}})}function u(e){return JSON.parse(e)}function d(e){}function h(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var a=void 0===e.stateReconciler?s:e.stateReconciler,o=e.getStoredState||c,u=void 0!==e.timeout?e.timeout:5e3,h=null,p=!1,m=!0,g=function(e){return e._persist.rehydrated&&h&&!m&&h.update(e),e};return function(s,c){var E,y,v=s||{},T=v._persist,b=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(v,["_persist"]);if("persist/PERSIST"===c.type){var _=!1,A=function(t,n){_||(c.rehydrate(e.key,t,n),_=!0)};if(u&&setTimeout(function(){_||A(void 0,Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},u),m=!1,h||(h=function(e){var t,n=e.blacklist||null,i=e.whitelist||null,a=e.transforms||[],o=e.throttle||0,s="".concat(void 0!==e.ke
4yPrefix?e.keyPrefix:r).concat(e.key),c=e.storage;t=!1===e.serialize?function(e){return e}:"function"==typeof e.serialize?e.serialize:l;var u=e.writeFailHandler||null,d={},h={},f=[],p=null,m=null;function g(){if(0===f.length){p&&clearInterval(p),p=null;return}var e=f.shift(),n=a.reduce(function(t,n){return n.in(t,e,d)},d[e]);if(void 0!==n)try{h[e]=t(n)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete h[e];0===f.length&&(Object.keys(h).forEach(function(e){void 0===d[e]&&delete h[e]}),m=c.setItem(s,t(h)).catch(y))}function E(e){return(!i||-1!==i.indexOf(e)||"_persist"===e)&&(!n||-1===n.indexOf(e))}function y(e){u&&u(e)}return{update:function(e){Object.keys(e).forEach(function(t){E(t)&&d[t]!==e[t]&&-1===f.indexOf(t)&&f.push(t)}),Object.keys(d).forEach(function(t){void 0===e[t]&&E(t)&&-1===f.indexOf(t)&&void 0!==d[t]&&f.push(t)}),null===p&&(p=setInterval(g,o)),d=e},flush:function(){for(;0!==f.length;)g();return m||Promise.resolve()}}}(e)),T)return f({},t(b,c),{_persist:T});if("function"!=typeof c.rehydrate||"function"!=typeof c.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return c.register(e.key),o(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then(function(e){A(e)},function(e){A(void 0,e)})},function(e){A(void 0,e)}),f({},t(b,c),{_persist:{version:n,rehydrated:!1}})}if("persist/PURGE"===c.type)return p=!0,c.result((E=e.storage,y="".concat(void 0!==e.ke
4yPrefix?e.keyPrefix:r).concat(e.key),E.removeItem(y,d))),f({},t(b,c),{_persist:T});if("persist/FLUSH"===c.type)return c.result(h&&h.flush()),f({},t(b,c),{_persist:T});if("persist/PAUSE"===c.type)m=!0;else if(c.type===i){if(p)return f({},b,{_persist:f({},T,{rehydrated:!0})});if(c.key===e.key){var S=t(b,c),k=c.payload;return g(f({},!1!==a&&void 0!==k?a(k,s,S,e):S,{_persist:f({},T,{rehydrated:!0})}))}}if(!T)return t(s,c);var C=t(b,c);return C===b?s:g(f({},C,{_persist:T}))}}function m(e){return function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function g(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var y={registry:[],bootstrapped:!1}},61348:e=>{function t(e,t){var n=e.length,r=Array(n),i={},a=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!s.has(e[0])||!s.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});a--;)i[a]||function e(t,a,l){if(l.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(e){c=""}throw Error("Cyclic dependency"+c)}if(!s.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[a]){i[a]=!0;var u=o.get(t)||new Set;if(a=(u=Array.from(u)).length){l.add(t);do{var d=u[--a];e(d,s.get(d),l)}while(a);l.delete(t)}r[--n]=t}}(e[a],a,new Set);return r}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},62177:(e,t,n)=>{"use strict";n.d(t,{Jt:()=>y,mN:()=>eC,xI:()=>L,xW:()=>F});var r=n(12115),i=e=>"checkbox"===e.type,a=e=>e instanceof Date,o=e=>null==e;let s=e=>"object"==typeof e;var l=e=>!o(e)&&!Array.isArray(e)&&s(e)&&!a(e),c=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,u=(e,t)=>t.split(".").some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join("."))),d=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function f(e){if(e instanceof Date)return new Date(e);let t="undefined"!=typeof FileList&&e instanceof FileList;if(h&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(l(e)&&d(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=f(e[t]));return r}var p=e=>/^\w*$/.test(e),m=e=>void 0===e,g=e=>Array.isArray(e)?e.filter(Boolean):[],E=e=>g(e.replace(/["|']|\]/g,"").split(/\.|\[/)),y=(e,t,n)=>{if(!t||!l(e))return n;let r=(p(t)?[t]:E(t)).reduce((e,t)=>o(e)?void 0:e[t],e);return m(r)||r===e?m(e[t])?n:e[t]:r},v=e=>"boolean"==typeof e,T=e=>"function"==typeof e,b=(e,t,n)=>{let r=-1,i=p(t)?[t]:E(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=l(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let _={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},A={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},S={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},k="form",C="root",O=r.createContext(null);
4O.displayName="HookFormControlContext";let N=()=>r.useContext(O);var D=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>(t._proxyFormState[a]!==A.all&&(t._proxyFormState[a]=!r||A.all),n&&(n[a]=!0),e[a])});return i};let I="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var x=e=>"string"==typeof e,w=(e,t,n,r,i)=>x(e)?(r&&t.watch.add(e),y(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),y(n,e))):(r&&(t.watchAll=!0),n),R=e=>o(e)||!s(e);function P(e,t,n=new WeakSet){if(e===t)return!0;if(R(e)||R(t))return Object.is(e,t);if(a(e)&&a(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;for(let i of(n.add(e),n.add(t),r)){let r=e[i];if(!(i in t))return!1;if("ref"!==i){let e=t[i];if(a(r)&&a(e)||(l(r)||Array.isArray(r))&&(l(e)||Array.isArray(e))?!P(r,e,n):!Object.is(r,e))return!1}}return!0}let L=e=>e.render(function(e){let t=N(),{name:n,disabled:i,control:a=t,shouldUnregister:o,defaultValue:s,exact:l=!0}=e,d=u(a._names.array,n),h=r.useMemo(()=>y(a._formValues,n,y(a._defaultValues,n,s)),[a,n,s]),p=function(e){let t=N(),{control:n=t,name:i,defaultValue:a,disabled:o,exact:s,compute:l}=e||{},c=r.useRef(a),u=r.useRef(l),d=r.useRef(void 0),h=r.useRef(n),f=r.useRef(i);u.current=l;let[p,m]=r.useState(()=>{let e=n._getWatch(i,c.current);return u.current?u.current(e):e}),g=r.useCallback(e=>{let t=w(i,n._names,e||n._formValues,!1,c.current);return u.current?u.current(t):t},[n._formValues,n._names,i]),E=r.useCallback(e=>{if(!o){let t=w(i,n._names,e||n._formValues,!1,c.current);if(u.current){let e=u.current(t);P(e,d.current)||(m(e),d.current=e)}else m(t)}},[n._formValues,n._names,o,i]);I(()=>(h.current===n&&P(f.current,i)||(h.current=n,f.current=i,E()),n._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{E(e.values)}})),[n,s,i,E]),r.useEffect(()=>n._removeUnmounted());let y=h.current!==n,v=f.current,T=r.useMemo(()=>{if(o)return null;let e=!y&&!P(v,i);return y||e?g():null},[o,y,i,v,g]);return null!==T?T:p}({control:a,name:n,defaultValue:h,exact:l}),g=function(e){let t=N(),{control:n=t,disabled:i,name:a,exact:o}=e||{},[s,l]=r.useState(()=>({...n._formState,defaultValues:n._defaultValues})),c=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return I(()=>n._subscribe({name:a,formState:c.current,exact:o,callback:e=>{i||l({...n._formState,...e,defaultValues:n._defaultValues})}}),[a,i,o]),r.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>D(s,n,c.current,!1),[s,n])}({control:a,name:n,exact:l}),E=r.useRef(e),A=r.useRef(a.register(n,{...e.rules,value:p,...v(e.disabled)?{disabled:e.disabled}:{}}));E.current=e;let S=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!y(g.errors,n)},isDirty:{enumerable:!0,get:()=>!!y(g.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!y(g.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!y(g.validatingFields,n)},error:{enumerable:!0,get:()=>y(g.errors,n)}}),[g,n]),k=r.useCallback(e=>A.current.onChange({target:{value:c(e),name:n},type:_.CHANGE}),[n]),C=r.useCallback(()=>A.current.onBlur({target:{value:y(a._formValues,n),name:n},type:_.BLUR}),[n,a._formValues]),O=r.useCallback(e=>{let t=y(a._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>T(e.focus)&&e.focus(),select:()=>T(e.select)&&e.select(),setCustomValidity:t=>T(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>T(e.reportValidity)&&e.reportValidity()})},[a._fields,n]),x=r.useMemo(()=>({name:n,value:p,...v(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:k,onBlur:C,ref:O}),[n,i,g.disabled,k,C,O,p]);return r.useEffect(()=>{let e=a._options.shouldUnregister||o;a.register(n,{...E.current.rules,...v(E.current.disabled)?{disabled:E.current.disabled}:{}});let t=(e,t)=>{let n=y(a._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=f(y(a._options.defaultValues,n,E.current.defaultValue));b(a._defaultValues,n,e),m(y(a._formValues,n))&&b(a._formValues,n,e)}return d||a.register(n),()=>{(d?e&&!a._state.action:e)?a.unregister(n):t(n,!1)}},[n,a,d,o]),r.useEffect(()=>{a._setDisabledField({disabled:i,name:n})},[i,n,a]),r.useMemo(()=>({field:x,formState:g,fieldState:S}),[x,g,S])}(e)),M=r.createContext(null);M.displayName="HookFormContext";let F=()=>r.useContext(M);var B=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},H=e=>Array.isArray(e)?e:[e],U=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},j=e=>l(e)&&!Object.keys(e).length,G=e=>"file"===e.type,V=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},z=e=>"select-multiple"===e.type,Y=e=>"radio"===e.type,q=e=>Y(e)||i(e),W=e=>V(e)&&e.isConnected;function X(e,t){if(x(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:p(t)?[t]:E(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;){if(o(e)){e=void 0;break}e=e[t[r]],r++}return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(l(r)&&j(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!m(e[t]))return!1;return!0}(r))&&X(e,n.slice(0,-1)),e}var Q=e=>{for(let t in e)if(T(e[t]))return!0;return!1};function K(e){return Array.isArray(e)||l(e)&&!Q(e)}function $(e,t={}){for(let n in e){let r=e[n];K(r)?(t[n]=Array.isArray(r)?[]:{},$(r,t[n])):m(r)||(t[n]=!0)}return t}function J(e,t,n){for(let r in n||(n=$(t)),e){let i=e[r];if(K(i))m(t)||R(n[r])?n[r]=$(i,Array.isArray(i)?[]:{}):J(i,o(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!P(i,e)}}return function e(t){if(!1!==t){if(!0===t)return!0;
4if(Array.isArray(t)){let n=t.map(t=>e(t));return n.some(e=>void 0!==e)?n:void 0}if(l(t)){let n={};for(let r in t){let i=e(t[r]);m(i)||(n[r]=i)}return Object.keys(n).length?n:void 0}}}(n)||{}}let Z={value:!1,isValid:!1},ee={value:!0,isValid:!0};var et=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?ee:{value:e[0].value,isValid:!0}:ee:Z}return Z},en=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>m(e)?e:t?""===e?NaN:e?+e:e:n&&x(e)?new Date(e):r?r(e):e;let er={isValid:!1,value:null};var ei=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,er):er;function ea(e){let t=e.ref;return G(t)?t.files:Y(t)?ei(e.refs).value:z(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?et(e.refs).value:en(m(t.value)?e.ref.value:t.value,e)}var eo=(e,t,n,r)=>{let i={};for(let n of e){let e=y(t,n);e&&b(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},es=e=>e instanceof RegExp,el=e=>m(e)?e:es(e)?e.source:l(e)?es(e.value)?e.value.source:e.value:e,ec=e=>({isOnSubmit:!e||e===A.onSubmit,isOnBlur:e===A.onBlur,isOnChange:e===A.onChange,isOnAll:e===A.all,isOnTouch:e===A.onTouched});let eu="AsyncFunction";var ed=e=>!!e&&!!e.validate&&!!(T(e.validate)&&e.validate.constructor.name===eu||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===eu)),eh=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),ef=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let ep=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=y(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;else if(e.ref&&t(e.ref,e.name)&&!r)return!0;else if(ep(a,t))break}else if(l(a)&&ep(a,t))break}}};function em(e,t,n){let r=y(e,n);if(r||p(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),a=y(t,r),o=y(e,r);if(a&&!Array.isArray(a)&&n!==r)break;if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var eg=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return j(a)||r&&Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||A.all))},eE=(e,t,n)=>!e||!t||e===t||H(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),ey=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),ev=(e,t)=>
4!g(y(e,t)).length&&X(e,t),eT=(e,t,n)=>{let r=H(y(e,n));return b(r,C,t[n]),b(e,n,r),e};function eb(e,t,n="validate"){if(x(e)||Array.isArray(e)&&e.every(x)||v(e)&&!e)return{type:n,message:x(e)?e:"",ref:t}}var e_=e=>l(e)&&!es(e)?e:{value:e,message:""},eA=async(e,t,n,r,a,s)=>{let{ref:c,refs:u,required:d,maxLength:h,minLength:f,min:p,max:g,pattern:E,validate:b,name:_,valueAsNumber:A,mount:k}=e._f,C=y(n,_);if(!k||t.has(_))return{};let O=u?u[0]:c,N=e=>{a&&O.reportValidity&&(O.setCustomValidity(v(e)?"":e||""),O.reportValidity())},D={},I=Y(c),w=i(c),R=(A||G(c))&&m(c.value)&&m(C)||V(c)&&""===c.value||""===C||Array.isArray(C)&&!C.length||A&&"number"==typeof C&&isNaN(C),P=B.bind(null,_,r,D),L=(e,t,n,r=S.maxLength,i=S.minLength)=>{let a=e?t:n;D[_]={type:e?r:i,message:a,ref:c,...P(e?r:i,a)}};if(s?!Array.isArray(C)||!C.length:d&&(!(I||w)&&(R||o(C))||v(C)&&!C||w&&!et(u).isValid||I&&!ei(u).isValid)){let{value:e,message:t}=x(d)?{value:!!d,message:d}:e_(d);if(e&&(D[_]={type:S.required,message:t,ref:O,...P(S.required,t)},!r))return N(t),D}if(!R&&(!o(p)||!o(g))){let e,t,n=e_(g),i=e_(p);if(o(C)||isNaN(C)){let r=c.valueAsDate||new Date(C),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==c.type,s="week"==c.type;x(n.value)&&C&&(e=o?a(C)>a(n.value):s?C>n.value:r>new Date(n.value)),x(i.value)&&C&&(t=o?a(C)<a(i.value):s?C<i.value:r<new Date(i.value))}else{let r=c.valueAsNumber||(C?+C:C);o(n.value)||(e=r>n.value),o(i.value)||(t=r<i.value)}if((e||t)&&(L(!!e,n.message,i.message,S.max,S.min),!r))return N(D[_].message),D}if((h||f)&&!R&&(x(C)||s&&Array.isArray(C))){let e=e_(h),t=e_(f),n=!o(e.value)&&C.length>+e.value,i=!o(t.value)&&C.length<+t.value;if((n||i)&&(L(n,e.message,t.message),!r))return N(D[_].message),D}if(E&&!R&&x(C)){let{value:e,message:t}=e_(E);if(es(e)&&!C.match(e)&&(D[_]={type:S.pattern,message:t,ref:c,...P(S.pattern,t)},!r))return N(t),D}if(b){if(T(b)){let e=eb(await b(C,n),O);if(e&&(D[_]={...e,...P(S.validate,e.message)},!r))return N(e.message),D}else if(l(b)){let e={};for(let t in b){if(!j(e)&&!r)break;let i=eb(await b[t](C,n),O,t);i&&(e={...i,...P(t,i.message)},N(i.message),r&&(D[_]=e))}if(!j(e)&&(D[_]={ref:O,...e},!r))return D}}return N(!0),D};let eS={mode:A.onSubmit,reValidateMode:A.onChange,shouldFocusError:!0},ek={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function eC(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[s,d]=r.useState(()=>({...f(ek),isLoading:T(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:T(e.defaultValues)?void 0:e.defaultValues}));if(!t.current)if(e.formControl)t.current={...e.formControl,formState:s},e.defaultValues&&!T(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=function(e={}){let t,n={...eS,...e},r={...f(ek),isLoading:T(n.defaultValues),errors:n.errors||{},disabled:n.disabled||!1},s={},d=(l(n.defaultValues)||l(n.values))&&f(n.defaultValues||n.values)||{},p=n.shouldUnregister?{}:f(d),E={action:!1,mount:!1,watch:!1,keepIsValid:!1},O={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},N=0,D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},I={...D},R={...I},L={array:U(),state:U()},M=n.criteriaMode===A.all,F=e=>t=>{clearTimeout(N),N=setTimeout(e,t)},B=async e=>{if(!E.keepIsValid&&!n.disabled&&(I.isValid||R.isValid||e)){let e;n.resolver?(e=j((await et()).errors),Y()):e=await es({fields:s,onlyCheckValid:!0,eventType:_.VALID}),e!==r.isValid&&L.state.next({isValid:e})}},Y=(e,t)=>{!n.disabled&&(I.isValidating||I.validatingFields||R.isValidating||R.validatingFields)&&((e||Array.from(O.mount)).forEach(e=>{e&&(t?b(r.validatingFields,e,t):X(r.validatingFields,e))}),L.state.next({validatingFields:r.validatingFields,isValidating:!j(r.validatingFields)}))},Q=()=>{r.dirtyFields=J(d,p)},K=(e,t)=>{b(r.errors,e,t),L.state.next({errors:r.errors})},$=(e,t,n,i)=>{let a=y(s,e);if(a){let o=m(y(p,e)),s=y(p,e,m(n)?y(d,e):n);m(s)||i&&i.defaultChecked||t?b(p,e,t?s:ea(a._f)):e_(e,s),E.mount&&!E.action&&(B(),o&&r.isDirty&&(I.isDirty||R.isDirty)&&!eu()&&(r.isDirty=!1,L.state.next({...r})))}},Z=(e,t,i,a,o)=>{let s=!1,l=!1,c={name:e};
4if(!n.disabled){if(!i||a){(I.isDirty||R.isDirty)&&(l=r.isDirty,r.isDirty=c.isDirty=eu(),s=l!==c.isDirty);let n=P(y(d,e),t);l=!!y(r.dirtyFields,e),n?X(r.dirtyFields,e):b(r.dirtyFields,e,!0),c.dirtyFields=r.dirtyFields,s=s||(I.dirtyFields||R.dirtyFields)&&!n!==l}if(i){let t=y(r.touchedFields,e);t||(b(r.touchedFields,e,i),c.touchedFields=r.touchedFields,s=s||(I.touchedFields||R.touchedFields)&&t!==i)}s&&o&&L.state.next(c)}return s?c:{}},ee=(e,i,a,o)=>{let s=y(r.errors,e),l=(I.isValid||R.isValid)&&v(i)&&r.isValid!==i;if(n.delayError&&a?(t=F(()=>K(e,a)))(n.delayError):(clearTimeout(N),t=null,a?b(r.errors,e,a):X(r.errors,e)),(a?!P(s,a):s)||!j(o)||l){let t={...o,...l&&v(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},L.state.next(t)}},et=async e=>(Y(e,!0),await n.resolver(p,n.context,eo(e||O.mount,s,n.criteriaMode,n.shouldUseNativeValidation))),er=async e=>{let{errors:t}=await et(e);if(Y(e),e)for(let n of e){let e=y(t,n);e?b(r.errors,n,e):X(r.errors,n)}else r.errors=t;return t},ei=async({name:t,eventType:n})=>{if(e.validate){let i=await e.validate({formValues:p,formState:r,name:t,eventType:n});if(l(i))for(let e in i)i[e]&&eP(`${k}.${e}`,{message:x(i.message)?i.message:"",type:S.validate});else x(i)||!i?eP(k,{message:i||"",type:S.validate}):eR(k);return i}return!0},es=async({fields:t,onlyCheckValid:i,name:a,eventType:o,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await ei({name:a,eventType:o})&&(s.valid=!1,i)))return s.valid;for(let a in t){let l=t[a];if(l){let{_f:t,...c}=l;if(t){let a=O.array.has(t.name),o=l._f&&ed(l._f);o&&I.validatingFields&&Y([t.name],!0);let c=await eA(l,O.disabled,p,M,n.shouldUseNativeValidation&&!i,a);if(o&&I.validatingFields&&Y([t.name]),c[t.name]&&(s.valid=!1,i)||(i||(y(c,t.name)?a?eT(r.errors,c,t.name):b(r.errors,t.name,c[t.name]):X(r.errors,t.name)),e.shouldUseNativeValidation&&c[t.name]))break}j(c)||await es({context:s,onlyCheckValid:i,fields:c,name:a,eventType:o})}}return s.valid},eu=(e,t)=>!n.disabled&&(e&&t&&b(p,e,t),!P(ex(),d)),eb=(e,t,n)=>w(e,O,{...E.mount?p:m(t)?d:x(e)?{[e]:t}:t},n,t),e_=(e,t,n={})=>{let r=y(s,e),a=t;if(r){let n=r._f;n&&(n.disabled||b(p,e,en(t,n)),a=V(n.ref)&&o(t)?"":t,z(n.ref)?[...n.ref.options].forEach(e=>e.selected=a.includes(e.value)):n.refs?i(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(a)?e.checked=!!a.find(t=>t===e.value):e.checked=a===e.value||!!a)}):n.refs.forEach(e=>e.checked=e.value===a):G(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||L.state.next({name:e,values:f(p)})))}(n.shouldDirty||n.shouldTouch)&&Z(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eI(e)},eC=(e,t,n)=>{for(let r in t){if(!t.hasOwnProperty(r))return;let i=t[r],o=e+"."+r,c=y(s,o);(O.array.has(e)||l(i)||c&&!c._f)&&!a(i)?eC(o,i,n):e_(o,i,n)}},eO=(e,t,n={})=>{let i=y(s,e),a=O.array.has(e),l=f(t),c=P(y(p,e),l);if(b(p,e,l),a)L.array.next({name:e,values:f(p)}),(I.isDirty||I.dirtyFields||R.isDirty||R.dirtyFields)&&n.shouldDirty&&(Q(),L.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:eu(e,l)}));else{let t=Array.isArray(l)&&!l.length||j(l);!i||i._f||o(l)||t?e_(e,l,n):eC(e,l,n)}if(!c){let t=ef(e,O);L.state.next({...t&&r,name:E.mount||t?e:void 0,values:f(p)})}},eN=async i=>{E.mount=!0;let o=i.target,l=o.name,u=!0,d=y(s,l),h=e=>{u=Number.isNaN(e)||a(e)&&isNaN(e.getTime())||P(e,y(p,l,e))},m=ec(n.mode),g=ec(n.reValidateMode);if(d){let a,E,v=o.type?ea(d._f):c(i),T=i.type===_.BLUR||i.type===_.FOCUS_OUT,A=!eh(d._f)&&!e.validate&&!n.resolver&&!y(r.errors,l)&&!d._f.deps||ey(T,y(r.touchedFields,l),r.isSubmitted,g,m),S=ef(l,O,T);b(p,l,v),T?o&&o.readOnly||(d._f.onBlur&&d._f.onBlur(i),t&&t(0)):d._f.onChange&&d._f.onChange(i);let k=Z(l,v,T),C=!j(k)||S;if(T||L.state.next({name:l,type:i.type,values:f(p)}),A)return(I.isValid||R.isValid)&&("onBlur"===n.mode?T&&B():T||B()),C&&L.state.next({name:l,...S?{}:k});if(!n.resolver&&e.validate&&await ei({name:l,eventType:i.type}),!T&&S&&L.state.next({...r}),n.resolver){let{errors:e}=await et([l]);if(Y([l]),h(v),u){let t=em(r.errors,s,l),n=em(e,s,t.name||l);a=n.error,l=n.name,E=j(e)}}else Y([l],!0),a=(await eA(d,O.disabled,p,M,n.shouldUseNativeValidation))[l],Y([l]),h(v),u&&(a?E=!1:(I.isValid||R.isValid)&&(E=await es({fields:s,onlyCheckValid:!0,name:l,eventType:i.type})));u&&(d._f.deps&&(!Array.isArray(d._f.deps)||d._f.deps.length>0)&&eI(d._f.deps),ee(l,E,a,k))}},eD=(e,t)=>{if(y(r.errors,t)&&e.focus)return e.focus(),1},eI=async(e,t={})=>{let i,a,o=H(e);if(n.resolver){let t=await er(m(e)?e:o);i=j(t),a=e?!o.some(e=>y(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=y(s,e);return await es({fields:t&&t._f?{[e]:t}:t,eventType:_.TRIGGER})}))).every(Boolean))||r.isValid)&&B():a=i=await es({fields:s,name:e,eventType:_.TRIGGER});return L.state.next({...!x(e)||(I.isValid||R.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&ep(s,eD,e?o:O.mount),a},ex=(e,t)=>{let n={...E.mount?p:d};return t&&(n=function e(t,n){let r={};for(let i in t)if(t.hasOwnProperty(i)){let a=t[i],o=n[i];if(a&&l(a)&&o){let t=e(a,o);l(t)&&(r[i]=t)}else t[i]&&(r[i]=o)}return r}(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),m(e)?n:x(e)?y(n,e):e.map(e=>y(n,e))},ew=(e,t)=>({invalid:!!y((t||r).errors,e),isDirty:!!y((t||r).dirtyFields,e),error:y((t||r).errors,e),isValidating:!!y(r.validatingFields,e),isTouched:!!y((t||r).touchedFields,e)}),eR=e=>{let t=e?H(e):void 0;
4null==t||t.forEach(e=>X(r.errors,e)),t?t.forEach(e=>{L.state.next({name:e,errors:r.errors})}):L.state.next({errors:{}})},eP=(e,t,n)=>{let i=(y(s,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:l,...c}=y(r.errors,e)||{};b(r.errors,e,{...c,...t,ref:i}),L.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},eL=e=>L.state.subscribe({next:t=>{if(eE(e.name,t.name,e.exact)&&eg(t,e.formState||I,eV,e.reRenderRoot)){let n={...p};e.callback({values:n,...r,...t,defaultValues:d})}}}).unsubscribe,eM=(e,t={})=>{for(let i of e?H(e):O.mount)O.mount.delete(i),O.array.delete(i),t.keepValue||(X(s,i),X(p,i)),t.keepError||X(r.errors,i),t.keepDirty||X(r.dirtyFields,i),t.keepTouched||X(r.touchedFields,i),t.keepIsValidating||X(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||X(d,i);L.state.next({values:f(p)}),L.state.next({...r,...t.keepDirty?{isDirty:eu()}:{}}),t.keepIsValid||B()},eF=({disabled:e,name:t})=>{if(v(e)&&E.mount||e||O.disabled.has(t)){let n=O.disabled.has(t),r=!!e;e?O.disabled.add(t):O.disabled.delete(t),n!==r&&E.mount&&!E.action&&B()}},eB=(e,t={})=>{let r=y(s,e),i=v(t.disabled)||v(n.disabled),a=!O.registerName.has(e)&&r&&r._f&&!r._f.mount;return b(s,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),O.mount.add(e),r&&!a?eF({disabled:v(t.disabled)?t.disabled:n.disabled,name:e}):$(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:el(t.min),max:el(t.max),minLength:el(t.minLength),maxLength:el(t.maxLength),pattern:el(t.pattern)}:{},name:e,onChange:eN,onBlur:eN,ref:i=>{if(i){O.registerName.add(e),eB(e,t),O.registerName.delete(e),r=y(s,e);let n=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=q(n),o=r._f.refs||[];(a?o.find(e=>e===n):n===r._f.ref)||(b(s,e,{_f:{...r._f,...a?{refs:[...o.filter(W),n,...Array.isArray(y(d,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),$(e,!1,void 0,n))}else(r=y(s,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(u(O.array,e)&&E.action)&&O.unMount.add(e)}}},eH=()=>n.shouldFocusError&&ep(s,eD,O.mount),eU=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=f(p);if(L.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await et();Y(),r.errors=e,o=f(t)}else await es({fields:s,eventType:_.SUBMIT});if(O.disabled.size)for(let e of O.disabled)X(o,e);if(X(r.errors,C),j(r.errors)){L.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...r.errors},i),eH(),setTimeout(eH);if(L.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:j(r.errors)&&!a,submitCount:r.submitCount+1,errors:r.errors}),a)throw a},ej=(e,t={})=>{let i=e?f(e):d,a=f(i),o=j(e),l=o?d:a;if(t.keepDefaultValues||(d=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...O.mount,...Object.keys(J(d,p))]))){let t=y(r.dirtyFields,e),n=y(p,e),i=y(l,e);t&&!m(n)?b(l,e,n):t||m(i)||eO(e,i)}else{if(h&&m(e))for(let e of O.mount){let t=y(s,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(V(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of O.mount)eO(e,y(l,e));else s={}}p=n.shouldUnregister?t.keepDefaultValues?f(d):{}:f(l),L.array.next({values:{...l}}),L.state.next({values:{...l}})}O={mount:t.keepDirtyValues?O.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},E.mount=!I.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!j(l),E.watch=!!n.shouldUnregister,E.keepIsValid=!!t.keepIsValid,E.action=!1,t.keepErrors||(r.errors={}),L.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!P(e,d))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&p?J(d,p):r.dirtyFields:t.keepDefaultValues&&e?J(d,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:d})},eG=(e,t)=>ej(T(e)?e(p):e,{...n.resetOptions,...t}),eV=e=>{r={...r,...e}},ez={control:{register:eB,unregister:eM,getFieldState:ew,handleSubmit:eU,setError:eP,_subscribe:eL,_runSchema:et,_updateIsValidating:Y,_focusError:eH,_getWatch:eb,_getDirty:eu,_setValid:B,_setFieldArray:(e,t=[],i,a,o=!0,l=!0)=>
4{if(a&&i&&!n.disabled){if(E.action=!0,l&&Array.isArray(y(s,e))){let t=i(y(s,e),a.argA,a.argB);o&&b(s,e,t)}if(l&&Array.isArray(y(r.errors,e))){let t=i(y(r.errors,e),a.argA,a.argB);o&&b(r.errors,e,t),ev(r.errors,e)}if((I.touchedFields||R.touchedFields)&&l&&Array.isArray(y(r.touchedFields,e))){let t=i(y(r.touchedFields,e),a.argA,a.argB);o&&b(r.touchedFields,e,t)}(I.dirtyFields||R.dirtyFields)&&Q(),L.state.next({name:e,isDirty:eu(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else b(p,e,t)},_setDisabledField:eF,_setErrors:e=>{r.errors=e,L.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>g(y(E.mount?p:d,e,n.shouldUnregister?y(d,e,[]):[])),_reset:ej,_resetDefaultValues:()=>T(n.defaultValues)&&n.defaultValues().then(e=>{eG(e,n.resetOptions),L.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of O.unMount){let t=y(s,e);t&&(t._f.refs?t._f.refs.every(e=>!W(e)):!W(t._f.ref))&&eM(e)}O.unMount=new Set},_disableForm:e=>{v(e)&&(L.state.next({disabled:e}),ep(s,(t,n)=>{let r=y(s,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:L,_proxyFormState:I,get _fields(){return s},get _formValues(){return p},get _state(){return E},set _state(value){E=value},get _defaultValues(){return d},get _names(){return O},set _names(value){O=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(E.mount=!0,R={...R,...e.formState},eL({...e,formState:{...D,...e.formState}})),trigger:eI,register:eB,handleSubmit:eU,watch:(e,t)=>T(e)?L.state.subscribe({next:n=>"values"in n&&e(n.values||eb(void 0,t),n)}):eb(e,t,!0),setValue:eO,setValues:e=>{let t=T(e)?e(p):e;P(p,t)||(p={...p,...t},L.state.next({...r,values:p}))},getValues:ex,reset:eG,resetField:(e,t={})=>{y(s,e)&&(m(t.defaultValue)?eO(e,f(y(d,e))):(eO(e,t.defaultValue),b(d,e,f(t.defaultValue))),t.keepTouched||X(r.touchedFields,e),t.keepDirty||(X(r.dirtyFields,e),r.isDirty=t.defaultValue?eu(e,f(y(d,e))):eu()),!t.keepError&&(X(r.errors,e),I.isValid&&B()),L.state.next({...r}))},clearErrors:eR,unregister:eM,setError:eP,setFocus:(e,t={})=>{let n=y(s,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&T(e.select)&&e.select()})}},getFieldState:ew};return{...ez,formControl:ez}}(e);t.current={...r,formState:s}}let p=t.current.control;return p._options=e,I(()=>{let e=p._subscribe({formState:p._proxyFormState,callback:()=>d({...p._formState}),reRenderRoot:!0});return d(e=>({...e,isReady:!0})),p._formState.isReady=!0,e},[p]),r.useEffect(()=>p._disableForm(e.disabled),[p,e.disabled]),r.useEffect(()=>{e.mode&&(p._options.mode=e.mode),e.reValidateMode&&(p._options.reValidateMode=e.reValidateMode)},[p,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(p._setErrors(e.errors),p._focusError())},[p,e.errors]),r.useEffect(()=>{e.shouldUnregister&&p._subjects.state.next({values:p._getWatch()})},[p,e.shouldUnregister]),r.useEffect(()=>{if(p._proxyFormState.isDirty){let e=p._getDirty();e!==s.isDirty&&p._subjects.state.next({isDirty:e})}},[p,s.isDirty]),r.useEffect(()=>{var t;e.values&&!P(e.values,n.current)?(p._reset(e.values,{keepFieldsRef:!0,...p._options.resetOptions}),(null===(t=p._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||p._setValid(),n.current=e.values,d(e=>({...e}))):p._resetDefaultValues()},[p,e.values]),r.useEffect(()=>{p._state.mount||(p._setValid(),p._state.mount=!0),p._state.watch&&(p._state.watch=!1,p._subjects.state.next({...p._formState})),p._removeUnmounted()}),t.current.formState=r.useMemo(()=>D(s,p),[p,s]),t.current}},66945:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h});let r="object"==typeof self?self:globalThis,i=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),i=a=>{if(e.has(a))return e.get(a);let[o,s]=t[a];switch(o){case 0:case -1:return n(s,a);case 1:{let e=n([],a);for(let t of s)e.push(i(t));return e}case 2:{let e=n({},a);for(let[t,n]of s)e[i(t)]=i(n);return e}case 3:return n(new Date(s),a);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of s)e.set(i(t),i(n));return e}
4case 6:{let e=n(new Set,a);for(let t of s)e.add(i(t));return e}case 7:{let{name:e,message:t}=s;return n(new r[e](t),a)}case 8:return n(BigInt(s),a);case"BigInt":return n(Object(BigInt(s)),a);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(new r[o](s),a)};return i},a=e=>i(new Map,e)(0),{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=o.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,u]=l(r);switch(o){case 0:{let t=r;switch(u){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+u);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(u){let e=r;return"DataView"===u?e=new Uint8Array(r.buffer):"ArrayBuffer"===u&&(e=new Uint8Array(r)),i([u,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(u)switch(u){case"BigInt":return i([u,r.toString()],r);case"Boolean":case"Number":case"String":return i([u,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());let n=[],d=i([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([a(t),a(r[t])]);return d}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);
4for(let[n,i]of r)(e||!(c(l(n))||c(l(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!c(l(n)))&&t.push(a(n));return n}}let{message:d}=r;return i([o,{name:u,message:d}],r)};return a},d=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r},h="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?a(d(e,t)):structuredClone(e):(e,t)=>a(d(e,t))},68375:()=>{},68581:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},69381:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(11603);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,o=(i.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];if(s)for(a in s){i.call(o,a)||(o[a]=[]);let e=s[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(o[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},69470:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r,i=n(12115),a=n(87657),o=n(21231),s=n(89925);let l=null!=(r=i.useId)?r:function(){let e=(0,s.g)(),[t,n]=i.useState(e?()=>a._.nextId():null);return(0,o.s)(()=>{null===t&&n(a._.nextId())},[t]),null!=t?""+t:void 0}},70832:(e,t,n)=>{"use strict";n.d(t,{G1:()=>o,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function o(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},70876:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(39709),i=n(55570),a=n(65982);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.A)(e),o=(0,r.A)(t);return n.setHours(o),n}},71300:()=>{},73054:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55570),i=n(65982);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},73413:(e,t,n)=>{"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>i,un:()=>r})},77962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v,k:()=>y});var r=n(12115),i=n(47650),a=n(30797),o=n(21231),s=n(29479),l=n(48346),c=n(89925),u=n(47769),d=n(38725),h=n(87657),f=n(84554);let p=r.Fragment,m=r.Fragment,g=(0,r.createContext)(null),E=(0,r.createContext)(null);function y(){let e=(0,r.useContext)(E),t=(0,r.useRef)([]),n=(0,a._)(n=>(t.current.push(n),e&&e.register(n),()=>i(n))),i=(0,a._)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),o=(0,r.useMemo)(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(E.Provider,{value:o},t)},[o])]}let v=Object.assign((0,f.FX)(function(e,t){let n=(0,r.useRef)(null),a=(0,u.P)((0,u.a)(e=>{n.current=e}),t),m=(0,l.g)(n),y=function(e){let t=(0,d.S)(),n=(0,r.useContext)(g),i=(0,l.g)(e),[a,o]=(0,r.useState)(()=>{if(!t&&null!==n||h._.isServer)return null;let e=null==i?void 0:i.getElementById("headlessui-portal-root");if(e)return e;if(null===i)return null;let r=i.createElement("div");return r.setAttribute("id","headlessui-portal-root"),i.body.appendChild(r)});return(0,r.useEffect)(()=>{null!==a&&(null!=i&&i.body.contains(a)||null==i||i.body.appendChild(a))},[a,i]),(0,r.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),a}(n),[v]=(0,r.useState)(()=>{var e;return h._.isServer?null:null!=(e=null==m?void 0:m.createElement("div"))?e:null}),T=(0,r.useContext)(E),b=(0,c.g)();return(0,o.s)(()=>{!y||!v||y.contains(v)||(v.setAttribute("data-headlessui-portal",""),y.appendChild(v))},[y,v]),(0,o.s)(()=>
4{if(v&&T)return T.register(v)},[T,v]),(0,s.X)(()=>{var e;y&&v&&(v instanceof Node&&y.contains(v)&&y.removeChild(v),y.childNodes.length<=0&&(null==(e=y.parentElement)||e.removeChild(y)))}),b&&y&&v?(0,i.createPortal)((0,f.XX)({ourProps:{ref:a},theirProps:e,defaultTag:p,name:"Portal"}),v):null}),{Group:(0,f.FX)(function(e,t){let{target:n,...i}=e,a={ref:(0,u.P)(t)};return r.createElement(g.Provider,{value:n},(0,f.XX)({ourProps:a,theirProps:i,defaultTag:m,name:"Popover.Group"}))})})},78569:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55570),i=n(65982);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},79136:(e,t,n)=>{"use strict";n.d(t,{A:()=>tW});var r,i,a,o,s,l,c,u,d,h,f,p,m,g,E,y,v=n(66945),T=n(34093),b=n(83846),_=n(55548);let A=/[#.]/g;var S=n(7887),k=n(59739),C=n(14947);function O(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...a){let o;if(null==n)o={type:"root",children:[]},a.unshift(i);else{let s=(o=function(e,t){let n,r,i=e||"",a={},o=0;for(;o<i.length;){A.lastIndex=o;let e=A.exec(i),t=i.slice(o,e?e.index:i.length);t&&(n?"#"===n?a.id=t:Array.isArray(a.className)?a.className.push(t):a.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:a,children:[]}}(n,t)).tagName.toLowerCase(),l=r?r.get(s):void 0;if(o.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))a.unshift(i);else for(let[t,n]of Object.entries(i))!function(e,t,n,r){let i,a=(0,S.I)(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?a.spaceSeparated?(0,C.q)(r):a.commaSeparated?(0,_.q)(r):a.commaOrSpaceSeparated?(0,C.q)((0,_.q)(r).join(" ")):N(a,a.property,r):Array.isArray(r)?[...r]:"style"===a.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){let e=[];for(let t of i)e.push(N(a,a.property,t));i=e}"className"===a.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}(e,o.properties,t,n)}for(let e of a)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(o.children,e);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function N(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,k.S)(n)===(0,k.S)(t)))return!0}return n}let D=O(b.qy,"div"),I=O(b.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function x(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}let w={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},R={}.hasOwnProperty,P=Object.prototype;function L(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},F(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:M(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t=String(e.file),r=function(e){let t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=x(t,e),i=-1===r?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=x(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),i=r.toPoint(0),a=r.toPoint(t.length);(0,T.ok)(i,"expected `start`"),(0,T.ok)(a,"expected `end`"),n.position={start:i,end:a}}return n}case"#documentType":return F(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},F(e,t,n),n;
4default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===w.svg?b.JW:b.qy;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;R.call(P,n)||(i[n]=e.value)}let a=("svg"===e.schema.space?I:D)(t.tagName,i,M(e,t.childNodes));if(F(e,t,a),"template"===a.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&B(n.startTag),i=n&&n.endTag&&B(n.endTag),o=L(e,t.content);r&&i&&e.file&&(o.position={start:r.end,end:i.start}),a.content=o}return e.schema=n,a}(e,t)}}function M(e,t){let n=-1,r=[];for(;++n<t.length;){let i=L(e,t[n]);r.push(i)}return r}function F(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=B(n);if("element"===t.type){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r,i={};if(n.attrs)for(r in n.attrs)R.call(n.attrs,r)&&(i[(0,S.I)(e.schema,r).property]=B(n.attrs[r]));(0,T.ok)(n.startTag,"a start tag should exist");let a=B(n.startTag),o=n.endTag?B(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=i,t.data={position:s}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function B(e){let t=H({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=H({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function H(e){return e.line&&e.column?e:void 0}let U={}.hasOwnProperty;function j(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&U.call(t,e)){let n=String(t[e]);i=U.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}let G={}.hasOwnProperty,V=j("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=z(e.children,n,t),Y(e,n),n},element:function(e,t){let n,r=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(r=b.JW);let i=[];if(e.properties){for(n in e.properties)if("children"!==n&&G.call(e.properties,n)){let t=function(e,t,n){let r=(0,S.I)(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,_.A)(n):(0,C.A)(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=w[r.space]}return i}(r,n,e.properties[n]);t&&i.push(t)}}let a=r.space;(0,T.ok)(a);let o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:w[a],childNodes:[],parentNode:null};return o.childNodes=z(e.children,o,r),Y(e,o),"template"===e.tagName&&e.content&&(o.content=function(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=z(e.children,n,t),Y(e,n),n}(e.content,r)),o},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return Y(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return Y(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Y(e,t),t}}});function z(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=V(e[r],n);a.parentNode=t,i.push(a)}return i}function Y(e,t){let n=e.position;n&&n.start&&n.end&&((0,T.ok)("number"==typeof n.start.offset),(0,T.ok)("number"==typeof n.end.offset),t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}let q=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],W=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEM
4ICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(r||(r={}));let X={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Q(e){return e>=55296&&e<=57343}function K(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function $(e){return e>=64976&&e<=65007||W.has(e)}!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(i||(i={}));class J{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,r.EOF;return this._err(i.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let n=this.html.charCodeAt(t);
vendor: 7,400 bytes, line 4
4return n===r.CARRIAGE_RETURN?r.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let e=this.html.charCodeAt(this.pos);return e===r.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,r.LINE_FEED):e===r.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Q(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===r.LINE_FEED||e===r.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){K(e)?this._err(i.controlCharacterInInputStream):$(e)&&this._err(i.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function Z(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(a||(a={}));let ee=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;
4揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;
4䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;
4iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;
4䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
4astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;
4aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),et=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);o=String.fromCodePoint;function en(e){return e>=s.ZERO&&e<=s.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(s||(s={})),!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(l||(l={})),!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(c||(c={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(u||(u={}));class er{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=c.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=u.Strict}startEntity(e){this.decodeMode=e,this.state=c.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case c.EntityStart:if(e.charCodeAt(t)===s.NUM)return this.state=c.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=c.NamedEntity,this.stateNamedEntity(e,t);case c.NumericStart:return this.stateNumericStart(e,t);case c.NumericDecimal:return this.stateNumericDecimal(e,t);case c.NumericHex:return this.stateNumericHex(e,t);case c.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===s.LOWER_X?(this.state=c.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=c.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,
4i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!en(i)&&(!((r=i)>=s.UPPER_A)||!(r<=s.UPPER_F))&&(!(r>=s.LOWER_A)||!(r<=s.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!en(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,i;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===s.SEMI)this.consumed+=1;else if(this.decodeMode===u.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!==(i=et.get(r))&&void 0!==i?i:r,this.consumed),this.errors&&(e!==s.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&l.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let i=(t&l.BRANCH_LENGTH)>>7,a=t&l.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===u.Attribute&&(0===i||function(e){var t;return e===s.EQUALS||(t=e)>=s.UPPER_A&&t<=s.UPPER_Z||t>=s.LOWER_A&&t<=s.LOWER_Z||en(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&l.VALUE_LENGTH)>>14)){if(a===s.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==u.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&l.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~l.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case c.NamedEntity:return 0!==this.result&&(this.decodeMode!==u.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case c.NumericDecimal:return this.emitNumericEntity(0,2);case c.NumericHex:return this.emitNumericEntity(0,3);case c.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case c.EntityStart:return 0}}}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(d||(d={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(h||(h={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(f||(f={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="str
4ike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(p||(p={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(m||(m={}));let ei=new Map([[p.A,m.A],[p.ADDRESS,m.ADDRESS],[p.ANNOTATION_XML,m.ANNOTATION_XML],[p.APPLET,m.APPLET],[p.AREA,m.AREA],[p.ARTICLE,m.ARTICLE],[p.ASIDE,m.ASIDE],[p.B,m.B],[p.BASE,m.BASE],[p.BASEFONT,m.BASEFONT],[p.BGSOUND,m.BGSOUND],[p.BIG,m.BIG],[p.BLOCKQUOTE,m.BLOCKQUOTE],[p.BODY,m.BODY],[p.BR,m.BR],[p.BUTTON,m.BUTTON],[p.CAPTION,m.CAPTION],[p.CENTER,m.CENTER],[p.CODE,m.CODE],[p.COL,m.COL],[p.COLGROUP,m.COLGROUP],[p.DD,m.DD],[p.DESC,m.DESC],[p.DETAILS,m.DETAILS],[p.DIALOG,m.DIALOG],[p.DIR,m.DIR],[p.DIV,m.DIV],[p.DL,m.DL],[p.DT,m.DT],[p.EM,m.EM],[p.EMBED,m.EMBED],[p.FIELDSET,m.FIELDSET],[p.FIGCAPTION,m.FIGCAPTION],[p.FIGURE,m.FIGURE],[p.FONT,m.FONT],[p.FOOTER,m.FOOTER],[p.FOREIGN_OBJECT,m.FOREIGN_OBJECT],[p.FORM,m.FORM],[p.FRAME,m.FRAME],[p.FRAMESET,m.FRAMESET],[p.H1,m.H1],[p.H2,m.H2],[p.H3,m.H3],[p.H4,m.H4],[p.H5,m.H5],[p.H6,m.H6],[p.HEAD,m.HEAD],[p.HEADER,m.HEADER],[p.HGROUP,m.HGROUP],[p.HR,m.HR],[p.HTML,m.HTML],[p.I,m.I],[p.IMG,m.IMG],[p.IMAGE,m.IMAGE],[p.INPUT,m.INPUT],[p.IFRAME,m.IFRAME],[p.KEYGEN,m.KEYGEN],[p.LABEL,m.LABEL],[p.LI,m.LI],[p.LINK,m.LINK],[p.LISTING,m.LISTING],[p.MAIN,m.MAIN],[p.MALIGNMARK,m.MALIGNMARK],[p.MARQUEE,m.MARQUEE],[p.MATH,m.MATH],[p.MENU,m.MENU],[p.META,m.META],[p.MGLYPH,m.MGLYPH],[p.MI,m.MI],[p.MO,m.MO],[p.MN,m.MN],[p.MS,m.MS],[p.MTEXT,m.MTEXT],[p.NAV,m.NAV],[p.NOBR,m.NOBR],[p.NOFRAMES,m.NOFRAMES],[p.NOEMBED,m.NOEMBED],[p.NOSCRIPT,m.NOSCRIPT],[p.OBJ
4ECT,m.OBJECT],[p.OL,m.OL],[p.OPTGROUP,m.OPTGROUP],[p.OPTION,m.OPTION],[p.P,m.P],[p.PARAM,m.PARAM],[p.PLAINTEXT,m.PLAINTEXT],[p.PRE,m.PRE],[p.RB,m.RB],[p.RP,m.RP],[p.RT,m.RT],[p.RTC,m.RTC],[p.RUBY,m.RUBY],[p.S,m.S],[p.SCRIPT,m.SCRIPT],[p.SEARCH,m.SEARCH],[p.SECTION,m.SECTION],[p.SELECT,m.SELECT],[p.SOURCE,m.SOURCE],[p.SMALL,m.SMALL],[p.SPAN,m.SPAN],[p.STRIKE,m.STRIKE],[p.STRONG,m.STRONG],[p.STYLE,m.STYLE],[p.SUB,m.SUB],[p.SUMMARY,m.SUMMARY],[p.SUP,m.SUP],[p.TABLE,m.TABLE],[p.TBODY,m.TBODY],[p.TEMPLATE,m.TEMPLATE],[p.TEXTAREA,m.TEXTAREA],[p.TFOOT,m.TFOOT],[p.TD,m.TD],[p.TH,m.TH],[p.THEAD,m.THEAD],[p.TITLE,m.TITLE],[p.TR,m.TR],[p.TRACK,m.TRACK],[p.TT,m.TT],[p.U,m.U],[p.UL,m.UL],[p.SVG,m.SVG],[p.VAR,m.VAR],[p.WBR,m.WBR],[p.XMP,m.XMP]]);function ea(e){var t;return null!==(t=ei.get(e))&&void 0!==t?t:m.UNKNOWN}let eo=m,es={[d.HTML]:new Set([eo.ADDRESS,eo.APPLET,eo.AREA,eo.ARTICLE,eo.ASIDE,eo.BASE,eo.BASEFONT,eo.BGSOUND,eo.BLOCKQUOTE,eo.BODY,eo.BR,eo.BUTTON,eo.CAPTION,eo.CENTER,eo.COL,eo.COLGROUP,eo.DD,eo.DETAILS,eo.DIR,eo.DIV,eo.DL,eo.DT,eo.EMBED,eo.FIELDSET,eo.FIGCAPTION,eo.FIGURE,eo.FOOTER,eo.FORM,eo.FRAME,eo.FRAMESET,eo.H1,eo.H2,eo.H3,eo.H4,eo.H5,eo.H6,eo.HEAD,eo.HEADER,eo.HGROUP,eo.HR,eo.HTML,eo.IFRAME,eo.IMG,eo.INPUT,eo.LI,eo.LINK,eo.LISTING,eo.MAIN,eo.MARQUEE,eo.MENU,eo.META,eo.NAV,eo.NOEMBED,eo.NOFRAMES,eo.NOSCRIPT,eo.OBJECT,eo.OL,eo.P,eo.PARAM,eo.PLAINTEXT,eo.PRE,eo.SCRIPT,eo.SECTION,eo.SELECT,eo.SOURCE,eo.STYLE,eo.SUMMARY,eo.TABLE,eo.TBODY,eo.TD,eo.TEMPLATE,eo.TEXTAREA,eo.TFOOT,eo.TH,eo.THEAD,eo.TITLE,eo.TR,eo.TRACK,eo.UL,eo.WBR,eo.XMP]),[d.MATHML]:new Set([eo.MI,eo.MO,eo.MN,eo.MS,eo.MTEXT,eo.ANNOTATION_XML]),[d.SVG]:new Set([eo.TITLE,eo.FOREIGN_OBJECT,eo.DESC]),[d.XLINK]:new Set,[d.XML]:new Set,[d.XMLNS]:new Set},el=new Set([eo.H1,eo.H2,eo.H3,eo.H4,eo.H5,eo.H6]);p.STYLE,p.SCRIPT,p.XMP,p.IFRAME,p.NOEMBED,p.NOFRAMES,p.PLAINTEXT,!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(g||(g={}));let ec={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function eu(e){return e>=r.LATIN_CAPITAL_A&&e<=r.LATIN_CAPITAL_Z}function ed(e){return e>=r.LATIN_SMALL_A&&e<=r.LATIN_SMALL_Z||eu(e)}function eh(e){return ed(e)||e>=r.DIGIT_0&&e<=r.DIGIT_9}function ef(e){return e===r.SPACE||e===r.LINE_FEED||e===r.TABULATION||e===r.FORM_FEED}function ep(e){return ef(e)||e===r.SOLIDUS||e===r.GREATER_THAN_SIGN}class em{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new J(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new er(ee,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(i.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(i.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===r.NULL)return i.nullCharacterReference;if(e>1114111)return i.characterReferenceOutsideUnicodeRange;if(Q(e))return i.surrogateCharacterReference;if($(e))return i.noncharacterCharacterReference;
4if(K(e)||e===r.CARRIAGE_RETURN)return i.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0===r||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:a.START_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:a.END_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:a.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:a.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===Z(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(i.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=ea(e.tagName),e.type===a.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(i.endTagWithAttributes),e.selfClosing&&this._err(i.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case a.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case a.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case a.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:a.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=ef(e)?a.WHITESPACE_CHARACTER:e===r.NULL?a.NULL_CHARACTER:a.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(a.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?u.Attribute:u.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:this._stateData(e);break;case g.RCDATA:this._stateRcdata(e);break;case g.RAWTEXT:this._stateRawtext(e);break;case g.SCRIPT_DATA:this._stateScriptData(e);break;case g.PLAINTEXT:this._statePlaintext(e);break;case g.TAG_OPEN:this._stateTagOpen(e);break;case g.END_TAG_OPEN:this._stateEndTagOpen(e);break;case g.TAG_NAME:this._stateTagName(e);break;case g.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case g.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case g.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case g.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case g.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case g.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case g.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case g.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case g.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case g.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case g.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case g.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case g.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case g.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 14,250 bytes, line 4
4Start(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case g.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case g.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case g.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case g.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case g.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case g.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case g.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case g.BOGUS_COMMENT:this._stateBogusComment(e);break;case g.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case g.COMMENT_START:this._stateCommentStart(e);break;case g.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case g.COMMENT:this._stateComment(e);break;case g.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case g.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case g.COMMENT_END:this._stateCommentEnd(e);break;case g.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case g.DOCTYPE:this._stateDoctype(e);break;case g.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case g.DOCTYPE_NAME:this._stateDoctypeName(e);break;case g.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case g.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case g.CDATA_SECTION:this._stateCdataSection(e);break;case g.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case g.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case g.CHARACTER_REFERENCE:this._stateCharacterReference();break;case g.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.TAG_OPEN;break;case r.AMPERSAND:this._startCharacterReference();break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitCodePoint(e);break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case r.AMPERSAND:this._startCharacterReference();break;case r.LESS_THAN_SIGN:this.state=g.RCDATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.RAWTEXT_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ed(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.EXCLAMATION_MARK:this.state=g.MARKUP_DECLARATION_OPEN;break;case r.SOLIDUS:this.state=g.END_TAG_OPEN;break;case r.QUESTION_MARK:this._err(i.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(i.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ed(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.GREATER_THAN_SIGN:this._err(i.missingEndTagName),this.state=g.DATA;break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(i.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.BEFORE_ATTRIBUTE_NAME;break;case r.SOLIDUS:this.state=g.SELF_CLOSING_START_TAG;break;case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentTagToken();break;case r.NULL:this._err(i.unexpectedNullCharacter),t.tagName+="�";break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(eu(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===r.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ed(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case r.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case r.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===r.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ed(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case r.SOLIDUS:this.state=g.SCRIPT_DATA_END_TAG_OPEN;break;case r.EXCLAMATION_MARK:this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ed(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===r.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===r.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case r.HYPHEN_MINUS:this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case r.HYPHEN_MINUS:this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case r.HYPHEN_MINUS:this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case r.GREATER_THAN_SIGN:this.state=g.SCRIPT_DATA,this._emitChars(">");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===r.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ed(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ed(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(X.SCRIPT,!1)&&ep(this.preprocessor.peek(X.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<X.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case r.HYPHEN_MINUS:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case r.HYPHEN_MINUS:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case r.HYPHEN_MINUS:this._emitChars("-");break;case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case r.GREATER_THAN_SIGN:this.state=g.SCRIPT_DATA,this._emitChars(">");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===r.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(X.SCRIPT,!1)&&ep(this.preprocessor.peek(X.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<X.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.SOLIDUS:case r.GREATER_THAN_SIGN:case r.EOF:this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case r.EQUALS_SIGN:this._err(i.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:case r.SOLIDUS:case r.GREATER_THAN_SIGN:case r.EOF:this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case r.EQUALS_SIGN:this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break;case r.QUOTATION_MARK:case r.APOSTROPHE:case r.LESS_THAN_SIGN:this._err(i.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case r.NULL:this._err(i.unexpectedNullCharacter),this.currentAttr.name+="
4�";break;default:this.currentAttr.name+=String.fromCodePoint(eu(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.SOLIDUS:this.state=g.SELF_CLOSING_START_TAG;break;case r.EQUALS_SIGN:this.state=g.BEFORE_ATTRIBUTE_VALUE;break;case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentTagToken();break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.QUOTATION_MARK:this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case r.APOSTROPHE:this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case r.GREATER_THAN_SIGN:this._err(i.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break;default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case r.QUOTATION_MARK:this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case r.AMPERSAND:this._startCharacterReference();break;case r.NULL:this._err(i.unexpectedNullCharacter),this.currentAttr.value+="�";break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case r.APOSTROPHE:this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case r.AMPERSAND:this._startCharacterReference();break;case r.NULL:this._err(i.unexpectedNullCharacter),this.currentAttr.value+="�";break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break;case r.AMPERSAND:this._startCharacterReference();break;case r.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break;case r.NULL:this._err(i.unexpectedNullCharacter),this.currentAttr.value+="�";break;case r.QUOTATION_MARK:case r.APOSTROPHE:case r.LESS_THAN_SIGN:case r.EQUALS_SIGN:case r.GRAVE_ACCENT:this._err(i.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break;case r.SOLIDUS:this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break;case r.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this._err(i.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case r.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break;case r.EOF:this._err(i.eofInTag),this._emitEOFToken();break;default:this._err(i.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentComment(t);break;case r.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case r.NULL:this._err(i.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(X.DASH_DASH,!0)?(this._createCommentToken(X.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch(X.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(X.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch(X.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(i.cdataInHtmlContent),this._createCommentToken(X.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(i.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case r.HYPHEN_MINUS:this.state=g.COMMENT_START_DASH;break;case r.GREATER_THAN_SIGN:{this._err(i.abruptClosingOfEmptyComment),this.state=g.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case r.HYPHEN_MINUS:this.state=g.COMMENT_END;break;case r.GREATER_THAN_SIGN:this._err(i.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break;case r.EOF:this._err(i.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case r.HYPHEN_MINUS:this.state=g.COMMENT_END_DASH;break;case r.LESS_THAN_SIGN:t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),t.data+="�";break;case r.EOF:this._err(i.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case r.EXCLAMATION_MARK:t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break;case r.LESS_THAN_SIGN:t.data+="<";break;default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===r.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===r.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==r.GREATER_THAN_SIGN&&e!==r.EOF&&this._err(i.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case r.HYPHEN_MINUS:this.state=g.COMMENT_END;break;case r.EOF:this._err(i.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentComment(t);break;case r.EXCLAMATION_MARK:this.state=g.COMMENT_END_BANG;break;case r.HYPHEN_MINUS:t.data+="-";break;case r.EOF:this._err(i.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case r.HYPHEN_MINUS:t.data+="--!",this.state=g.COMMENT_END_DASH;break;case r.GREATER_THAN_SIGN:this._err(i.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break;case r.EOF:this._err(i.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.BEFORE_DOCTYPE_NAME;break;case r.GREATER_THAN_SIGN:this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case r.EOF:{this._err(i.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(i.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(eu(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=g.DOCTYPE_NAME;else switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.NULL:this._err(i.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=g.DOCTYPE_NAME;break;case r.GREATER_THAN_SIGN:{this._err(i.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=g.DATA;break}case r.EOF:{this._err(i.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.AFTER_DOCTYPE_NAME;break;case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentDoctype(t);break;
vendor: 4,187 bytes, line 4
4case r.NULL:this._err(i.unexpectedNullCharacter),t.name+="�";break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(eu(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(X.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(X.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(i.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case r.QUOTATION_MARK:this._err(i.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:this._err(i.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case r.GREATER_THAN_SIGN:this._err(i.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.QUOTATION_MARK:t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case r.GREATER_THAN_SIGN:this._err(i.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case r.QUOTATION_MARK:this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case r.NULL:this._err(i.unexpectedNullCharacter),t.publicId+="�";break;case r.GREATER_THAN_SIGN:this._err(i.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case r.APOSTROPHE:this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case r.NULL:this._err(i.unexpectedNullCharacter),t.publicId+="�";break;case r.GREATER_THAN_SIGN:this._err(i.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case r.GREATER_THAN_SIGN:this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.QUOTATION_MARK:this._err(i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:this._err(i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 4,995 bytes, line 4
4default:this._err(i.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.QUOTATION_MARK:t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case r.QUOTATION_MARK:this._err(i.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:this._err(i.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case r.GREATER_THAN_SIGN:this._err(i.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.QUOTATION_MARK:t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case r.APOSTROPHE:t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case r.GREATER_THAN_SIGN:this._err(i.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case r.QUOTATION_MARK:this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case r.NULL:this._err(i.unexpectedNullCharacter),t.systemId+="�";break;case r.GREATER_THAN_SIGN:this._err(i.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case r.APOSTROPHE:this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case r.NULL:this._err(i.unexpectedNullCharacter),t.systemId+="�";break;case r.GREATER_THAN_SIGN:this._err(i.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case r.SPACE:case r.LINE_FEED:case r.TABULATION:case r.FORM_FEED:break;case r.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.EOF:this._err(i.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(i.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case r.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=g.DATA;break;case r.NULL:this._err(i.unexpectedNullCharacter);break;case r.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case r.RIGHT_SQUARE_BRACKET:this.state=g.CDATA_SECTION_BRACKET;break;case r.EOF:this._err(i.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===r.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case r.GREATER_THAN_SIGN:this.state=g.DATA;break;case r.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,107 bytes, line 4
40===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(r.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&eh(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){eh(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===r.SEMICOLON&&this._err(i.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let eg=new Set([m.DD,m.DT,m.LI,m.OPTGROUP,m.OPTION,m.P,m.RB,m.RP,m.RT,m.RTC]),eE=new Set([...eg,m.CAPTION,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]),ey=new Set([m.APPLET,m.CAPTION,m.HTML,m.MARQUEE,m.OBJECT,m.TABLE,m.TD,m.TEMPLATE,m.TH]),ev=new Set([...ey,m.OL,m.UL]),eT=new Set([...ey,m.BUTTON]),eb=new Set([m.ANNOTATION_XML,m.MI,m.MN,m.MO,m.MS,m.MTEXT]),e_=new Set([m.DESC,m.FOREIGN_OBJECT,m.TITLE]),eA=new Set([m.TR,m.TEMPLATE,m.HTML]),eS=new Set([m.TBODY,m.TFOOT,m.THEAD,m.TEMPLATE,m.HTML]),ek=new Set([m.TABLE,m.TEMPLATE,m.HTML]),eC=new Set([m.TD,m.TH]);class eO{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=m.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===m.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===d.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==d.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(el,d.HTML)}popUntilTableCellPopped(){this.popUntilPopped(eC,d.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(ek,d.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eS,d.HTML)}clearBackToTableRowContext(){this.clearBackTo(eA,d.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===m.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===m.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case d.HTML:if(r===e)return!0;
4if(t.has(r))return!1;break;case d.SVG:if(e_.has(r))return!1;break;case d.MATHML:if(eb.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ey)}hasInListItemScope(e){return this.hasInDynamicScope(e,ev)}hasInButtonScope(e){return this.hasInDynamicScope(e,eT)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case d.HTML:if(el.has(t))return!0;if(ey.has(t))return!1;break;case d.SVG:if(e_.has(t))return!1;break;case d.MATHML:if(eb.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===d.HTML)switch(this.tagIDs[t]){case e:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===d.HTML)switch(this.tagIDs[e]){case m.TBODY:case m.THEAD:case m.TFOOT:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===d.HTML)switch(this.tagIDs[t]){case e:return!0;case m.OPTION:case m.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&eE.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&eE.has(this.currentTagId);)this.pop()}}!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(E||(E={}));let eN={type:E.Marker};class eD{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===E.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eN)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:E.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:E.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eN);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===E.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===E.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===E.Element&&t.element===e)}}let eI={createDocument:()=>({nodeName:"#document",mode:f.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):eI.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eI.isTextNode(n)){n.value+=t;return}}eI.appendChild(e,eI.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eI.isTextNode(r)?r.value+=t:eI.insertBefore(e,eI.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ex="html",ew=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eR=[...ew,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eP=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eL=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eM=[...eL,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eF(e,t){return t.some(t=>e.startsWith(t))}let eB={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eH=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eU=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:d.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:d.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:d.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:d.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:d.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:d.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:d.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:d.XML}],["xml:space",{prefix:"xml",name:"space",namespace:d.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:d.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:d.XMLNS}]]),ej=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eG=new Set([m.B,m.BIG,m.BLOCKQUOTE,m.BODY,m.BR,m.CENTER,m.CODE,m.DD,m.DIV,m.DL,m.DT,m.EM,m.EMBED,m.H1,m.H2,m.H3,m.H4,m.H5,m.H6,m.HEAD,m.HR,m.I,m.IMG,m.LI,m.LISTING,m.MENU,m.META,m.NOBR,m.OL,m.P,m.PRE,m.RUBY,m.S,m.SMALL,m.SPAN,m.STRONG,m.STRIKE,m.SUB,m.SUP,m.TABLE,m.TT,m.U,m.UL,m.VAR]);function eV(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function ez(e){for(let t=0;t<e.attrs.length;t++){let n=eH.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function eY(e){for(let t=0;t<e.attrs.length;t++){let n=eU.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(y||(y={}));let eq={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},eW=new Set([m.TABLE,m.TBODY,m.TFOOT,m.THEAD,m.TR]),eX={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eI,onParseError:null};class eQ{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=y.INITIAL,this.originalInsertionMode=y.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...eX,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new em(this.options,this),this.activeFormattingElements=new eD(this.treeAdapter),this.fragmentContextID=n?ea(this.treeAdapter.getTagName(n)):m.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new eO(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...eX,...t};null!=e||(e=n.treeAdapter.createElement(p.TEMPLATE,d.HTML,[]));let r=n.treeAdapter.createElement("documentmock",d.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===m.TEMPLATE&&i.tmplInsertionModeStack.unshift(y.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let i=null!==(r=e.location)&&void 0!==r?r:eq,a={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(a)}
4onItemPush(e,t,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===d.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,d.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=y.TEXT}switchToPlaintextParsing(){this.insertionMode=y.TEXT,this.originalInsertionMode=y.IN_BODY,this.tokenizer.state=ec.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===p.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===d.HTML)switch(this.fragmentContextID){case m.TITLE:case m.TEXTAREA:this.tokenizer.state=ec.RCDATA;break;case m.STYLE:case m.XMP:case m.IFRAME:case m.NOEMBED:case m.NOFRAMES:case m.NOSCRIPT:this.tokenizer.state=ec.RAWTEXT;break;case m.SCRIPT:this.tokenizer.state=ec.SCRIPT_DATA;break;case m.PLAINTEXT:this.tokenizer.state=ec.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,d.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,d.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(p.HTML,d.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,m.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===a.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==m.SVG||this.treeAdapter.getTagName(t)!==p.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==d.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===m.MGLYPH||e.tagID===m.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,d.HTML)))}_processToken(e){switch(e.type){case a.CHARACTER:this.onCharacter(e);break;case a.NULL_CHARACTER:this.onNullCharacter(e);break;case a.COMMENT:this.onComment(e);break;case a.DOCTYPE:this.onDoctype(e);break;case a.START_TAG:this._processStartTag(e);break;case a.END_TAG:this.onEndTag(e);break;case a.EOF:this.onEof(e);break;case a.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===d.HTML)&&function(e,t,n){if(t===d.MATHML&&e===m.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===h.ENCODING){let t=n[e].value.toLowerCase();return t===eB.TEXT_HTML||t===eB.APPLICATION_XML}}return t===d.SVG&&(e===m.FOREIGN_OBJECT||e===m.DESC||e===m.TITLE)}(e,r,i)||(!n||n===d.MATHML)&&r===d.MATHML&&(e===m.MI||e===m.MO||e===m.MN||e===m.MS||e===m.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===E.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=y.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(m.P),this.openElements.popUntilTagNamePopped(m.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case m.TR:this.insertionMode=y.IN_ROW;return;case m.TBODY:case m.THEAD:case m.TFOOT:this.insertionMode=y.IN_TABLE_BODY;return;case m.CAPTION:this.insertionMode=y.IN_CAPTION;return;case m.COLGROUP:this.insertionMode=y.IN_COLUMN_GROUP;return;case m.TABLE:this.insertionMode=y.IN_TABLE;return;case m.BODY:this.insertionMode=y.IN_BODY;return;case m.FRAMESET:this.insertionMode=y.IN_FRAMESET;return;case m.SELECT:this._resetInsertionModeForSelect(e);return;case m.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case m.HTML:this.insertionMode=this.headElement?y.AFTER_HEAD:y.BEFORE_HEAD;return;case m.TD:case m.TH:if(e>0){this.insertionMode=y.IN_CELL;return}break;case m.HEAD:if(e>0){this.insertionMode=y.IN_HEAD;return}}this.insertionMode=y.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===m.TEMPLATE)break;if(e===m.TABLE){this.insertionMode=y.IN_SELECT_IN_TABLE;return}}this.insertionMode=y.IN_SELECT}_isElementCausesFosterParenting(e){return eW.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case m.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===d.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case m.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return es[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;t=this,n=e,t._insertCharacters(n),t.framesetOk=!1;return}switch(this.insertionMode){case y.INITIAL:eZ(this,e);break;case y.BEFORE_HTML:e0(this,e);break;case y.BEFORE_HEAD:e1(this,e);break;case y.IN_HEAD:e5(this,e);break;case y.IN_HEAD_NO_SCRIPT:e4(this,e);break;case y.AFTER_HEAD:e8(this,e);break;case y.IN_BODY:case y.IN_CAPTION:case y.IN_CELL:case y.IN_TEMPLATE:e7(this,e);break;case y.TEXT:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:tl(this,e);break;case y.IN_TABLE_TEXT:tf(this,e);break;case y.IN_COLUMN_GROUP:tE(this,e);break;case y.AFTER_BODY:tC(this,e);break;case y.AFTER_AFTER_BODY:tO(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;t=this,(n=e).chars="�",t._insertCharacters(n);return}switch(this.insertionMode){case y.INITIAL:eZ(this,e);break;case y.BEFORE_HTML:e0(this,e);break;case y.BEFORE_HEAD:e1(this,e);break;case y.IN_HEAD:e5(this,e);break;case y.IN_HEAD_NO_SCRIPT:e4(this,e);break;case y.AFTER_HEAD:e8(this,e);break;case y.TEXT:this._insertCharacters(e);break;case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:tl(this,e);break;case y.IN_COLUMN_GROUP:tE(this,e);break;case y.AFTER_BODY:tC(this,e);break;case y.AFTER_AFTER_BODY:tO(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e$(this,e);return}switch(this.insertionMode){case y.INITIAL:case y.BEFORE_HTML:case y.BEFORE_HEAD:case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:case y.IN_BODY:case y.IN_TABLE:case y.IN_CAPTION:case y.IN_COLUMN_GROUP:case y.IN_TABLE_BODY:case y.IN_ROW:case y.IN_CELL:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:case y.IN_TEMPLATE:case y.IN_FRAMESET:case y.AFTER_FRAMESET:e$(this,e);break;case y.IN_TABLE_TEXT:tp(this,e);break;case y.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case y.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?f.QUIRKS:function(e){if(e.name!==ex)return f.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return f.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eP.has(n))return f.QUIRKS;let e=null===t?eR:ew;if(eF(n,e))return f.QUIRKS;if(eF(n,e=null===t?eL:eM))return f.LIMITED_QUIRKS}return f.NO_QUIRKS}(t);(t.name!==ex||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,i.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=y.BEFORE_HTML}(this,e);break;case y.BEFORE_HEAD:case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:this._err(e,i.misplacedDoctype);break;case y.IN_TABLE_TEXT:tp(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,i.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID;return t===m.FONT&&e.attrs.some(({name:e})=>e===h.COLOR||e===h.SIZE||e===h.FACE)||eG.has(t)}(t))tN(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===d.MATHML)eV(t);else if(r===d.SVG){let e=ej.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=ea(t.tagName)),ez(t)}eY(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case y.INITIAL:eZ(this,e);break;case y.BEFORE_HTML:t=this,(n=e).tagID===m.HTML?(t._insertElement(n,d.HTML),t.insertionMode=y.BEFORE_HEAD):e0(t,n);break;case y.BEFORE_HEAD:var t,n,r,a,o,s,l=this,c=e;switch(c.tagID){case m.HTML:ti(l,c);break;case m.HEAD:l._insertElement(c,d.HTML),l.headElement=l.openElements.current,l.insertionMode=y.IN_HEAD;break;default:e1(l,c)}break;case y.IN_HEAD:e2(this,e);break;case y.IN_HEAD_NO_SCRIPT:var u=this,h=e;switch(h.tagID){case m.HTML:ti(u,h);break;case m.BASEFONT:case m.BGSOUND:case m.HEAD:case m.LINK:case m.META:case m.NOFRAMES:case m.STYLE:e2(u,h);break;case m.NOSCRIPT:u._err(h,i.nestedNoscriptInHead);break;default:e4(u,h)}break;case y.AFTER_HEAD:var f=this,p=e;switch(p.tagID){case m.HTML:ti(f,p);break;case m.BODY:f._insertElement(p,d.HTML),f.framesetOk=!1,f.insertionMode=y.IN_BODY;break;case m.FRAMESET:f._insertElement(p,d.HTML),f.insertionMode=y.IN_FRAMESET;break;case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:f._err(p,i.abandonedHeadElementChild),f.openElements.push(f.headElement,m.HEAD),e2(f,p),f.openElements.remove(f.headElement);break;case m.HEAD:f._err(p,i.misplacedStartTagForHeadElement);break;default:e8(f,p)}break;case y.IN_BODY:ti(this,e);break;case y.IN_TABLE:tc(this,e);break;case y.IN_TABLE_TEXT:tp(this,e);break;case y.IN_CAPTION:var g=this,E=e;let v=E.tagID;tm.has(v)?g.openElements.hasInTableScope(m.CAPTION)&&(g.openElements.generateImpliedEndTags(),g.openElements.popUntilTagNamePopped(m.CAPTION),g.activeFormattingElements.clearToLastMarker(),g.insertionMode=y.IN_TABLE,tc(g,E)):ti(g,E);break;case y.IN_COLUMN_GROUP:tg(this,e);break;case y.IN_TABLE_BODY:ty(this,e);break;case y.IN_ROW:tT(this,e);break;case y.IN_CELL:var T=this,b=e;let _=b.tagID;tm.has(_)?(T.openElements.hasInTableScope(m.TD)||T.openElements.hasInTableScope(m.TH))&&(T._
4closeTableCell(),tT(T,b)):ti(T,b);break;case y.IN_SELECT:t_(this,e);break;case y.IN_SELECT_IN_TABLE:var A=this,S=e;let k=S.tagID;k===m.CAPTION||k===m.TABLE||k===m.TBODY||k===m.TFOOT||k===m.THEAD||k===m.TR||k===m.TD||k===m.TH?(A.openElements.popUntilTagNamePopped(m.SELECT),A._resetInsertionMode(),A._processStartTag(S)):t_(A,S);break;case y.IN_TEMPLATE:var C=this,O=e;switch(O.tagID){case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:e2(C,O);break;case m.CAPTION:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:C.tmplInsertionModeStack[0]=y.IN_TABLE,C.insertionMode=y.IN_TABLE,tc(C,O);break;case m.COL:C.tmplInsertionModeStack[0]=y.IN_COLUMN_GROUP,C.insertionMode=y.IN_COLUMN_GROUP,tg(C,O);break;case m.TR:C.tmplInsertionModeStack[0]=y.IN_TABLE_BODY,C.insertionMode=y.IN_TABLE_BODY,ty(C,O);break;case m.TD:case m.TH:C.tmplInsertionModeStack[0]=y.IN_ROW,C.insertionMode=y.IN_ROW,tT(C,O);break;default:C.tmplInsertionModeStack[0]=y.IN_BODY,C.insertionMode=y.IN_BODY,ti(C,O)}break;case y.AFTER_BODY:r=this,(a=e).tagID===m.HTML?ti(r,a):tC(r,a);break;case y.IN_FRAMESET:var N=this,D=e;switch(D.tagID){case m.HTML:ti(N,D);break;case m.FRAMESET:N._insertElement(D,d.HTML);break;case m.FRAME:N._appendElement(D,d.HTML),D.ackSelfClosing=!0;break;case m.NOFRAMES:e2(N,D)}break;case y.AFTER_FRAMESET:var I=this,x=e;switch(x.tagID){case m.HTML:ti(I,x);break;case m.NOFRAMES:e2(I,x)}break;case y.AFTER_AFTER_BODY:o=this,(s=e).tagID===m.HTML?ti(o,s):tO(o,s);break;case y.AFTER_AFTER_FRAMESET:var w=this,R=e;switch(R.tagID){case m.HTML:ti(w,R);break;case m.NOFRAMES:e2(w,R)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===m.P||t.tagID===m.BR){tN(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===d.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case y.INITIAL:eZ(this,e);break;case y.BEFORE_HTML:var t,n,r,a,o,s,l=this,c=e;let u=c.tagID;(u===m.HTML||u===m.HEAD||u===m.BODY||u===m.BR)&&e0(l,c);break;case y.BEFORE_HEAD:var d=this,h=e;let f=h.tagID;f===m.HEAD||f===m.BODY||f===m.HTML||f===m.BR?e1(d,h):d._err(h,i.endTagWithoutMatchingOpenElement);break;case y.IN_HEAD:var p=this,g=e;switch(g.tagID){case m.HEAD:p.openElements.pop(),p.insertionMode=y.AFTER_HEAD;break;case m.BODY:case m.BR:case m.HTML:e5(p,g);break;case m.TEMPLATE:e3(p,g);break;default:p._err(g,i.endTagWithoutMatchingOpenElement)}break;case y.IN_HEAD_NO_SCRIPT:var E=this,v=e;switch(v.tagID){case m.NOSCRIPT:E.openElements.pop(),E.insertionMode=y.IN_HEAD;break;case m.BR:e4(E,v);break;default:E._err(v,i.endTagWithoutMatchingOpenElement)}break;case y.AFTER_HEAD:var T=this,b=e;switch(b.tagID){case m.BODY:case m.HTML:case m.BR:e8(T,b);break;case m.TEMPLATE:e3(T,b);break;default:T._err(b,i.endTagWithoutMatchingOpenElement)}break;case y.IN_BODY:to(this,e);break;case y.TEXT:t=this,e.tagID===m.SCRIPT&&(null===(n=t.scriptHandler)||void 0===n||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode;break;case y.IN_TABLE:tu(this,e);break;case y.IN_TABLE_TEXT:tp(this,e);break;case y.IN_CAPTION:var _=this,A=e;let S=A.tagID;switch(S){case m.CAPTION:case m.TABLE:_.openElements.hasInTableScope(m.CAPTION)&&(_.openElements.generateImpliedEndTags(),_.openElements.popUntilTagNamePopped(m.CAPTION),_.activeFormattingElements.clearToLastMarker(),_.insertionMode=y.IN_TABLE,S===m.TABLE&&tu(_,A));break;case m.BODY:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:to(_,A)}break;case y.IN_COLUMN_GROUP:var k=this,C=e;switch(C.tagID){case m.COLGROUP:k.openElements.currentTagId===m.COLGROUP&&(k.openElements.pop(),k.insertionMode=y.IN_TABLE);break;case m.TEMPLATE:e3(k,C);break;case m.COL:break;default:tE(k,C)}break;case y.IN_TABLE_BODY:tv(this,e);break;case y.IN_ROW:tb(this,e);break;case y.IN_CELL:var O=this,N=e;let D=N.tagID;switch(D){case m.TD:case m.TH:O.openElements.hasInTableScope(D)&&
4(O.openElements.generateImpliedEndTags(),O.openElements.popUntilTagNamePopped(D),O.activeFormattingElements.clearToLastMarker(),O.insertionMode=y.IN_ROW);break;case m.TABLE:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:O.openElements.hasInTableScope(D)&&(O._closeTableCell(),tb(O,N));break;case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:break;default:to(O,N)}break;case y.IN_SELECT:tA(this,e);break;case y.IN_SELECT_IN_TABLE:var I=this,x=e;let w=x.tagID;w===m.CAPTION||w===m.TABLE||w===m.TBODY||w===m.TFOOT||w===m.THEAD||w===m.TR||w===m.TD||w===m.TH?I.openElements.hasInTableScope(w)&&(I.openElements.popUntilTagNamePopped(m.SELECT),I._resetInsertionMode(),I.onEndTag(x)):tA(I,x);break;case y.IN_TEMPLATE:r=this,(a=e).tagID===m.TEMPLATE&&e3(r,a);break;case y.AFTER_BODY:tk(this,e);break;case y.IN_FRAMESET:o=this,e.tagID!==m.FRAMESET||o.openElements.isRootHtmlElementCurrent()||(o.openElements.pop(),o.fragmentContext||o.openElements.currentTagId===m.FRAMESET||(o.insertionMode=y.AFTER_FRAMESET));break;case y.AFTER_FRAMESET:s=this,e.tagID===m.HTML&&(s.insertionMode=y.AFTER_AFTER_FRAMESET);break;case y.AFTER_AFTER_BODY:tO(this,e)}}onEof(e){switch(this.insertionMode){case y.INITIAL:eZ(this,e);break;case y.BEFORE_HTML:e0(this,e);break;case y.BEFORE_HEAD:e1(this,e);break;case y.IN_HEAD:e5(this,e);break;case y.IN_HEAD_NO_SCRIPT:e4(this,e);break;case y.AFTER_HEAD:e8(this,e);break;case y.IN_BODY:case y.IN_TABLE:case y.IN_CAPTION:case y.IN_COLUMN_GROUP:case y.IN_TABLE_BODY:case y.IN_ROW:case y.IN_CELL:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:ts(this,e);break;case y.TEXT:var t,n;t=this,n=e,t._err(n,i.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case y.IN_TABLE_TEXT:tp(this,e);break;case y.IN_TEMPLATE:tS(this,e);break;case y.AFTER_BODY:case y.IN_FRAMESET:case y.AFTER_FRAMESET:case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:eJ(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===r.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:case y.TEXT:case y.IN_COLUMN_GROUP:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:case y.IN_FRAMESET:case y.AFTER_FRAMESET:this._insertCharacters(e);break;case y.IN_BODY:case y.IN_CAPTION:case y.IN_CELL:case y.IN_TEMPLATE:case y.AFTER_BODY:case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:e9(this,e);break;case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:tl(this,e);break;case y.IN_TABLE_TEXT:th(this,e)}}}function eK(e,t){for(let r=0;r<8;r++){let r=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ta(e,t),n}(e,t);if(!r)break;let i=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;let a=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,i,r.element),o=e.openElements.getCommonAncestor(r.element);if(e.treeAdapter.detachNode(a),o){var n=o;let t=ea(e.treeAdapter.getTagName(n));if(e._isElementCausesFosterParenting(t))e._fosterParentElement(a);else{let r=e.treeAdapter.getNamespaceURI(n);t===m.TEMPLATE&&r===d.HTML&&(n=e.treeAdapter.getTemplateContent(n)),e.treeAdapter.appendChild(n,a)}}let s=e.treeAdapter.getNamespaceURI(r.element),{token:l}=r,c=e.treeAdapter.createElement(l.tagName,s,l.attrs);e._adoptNodes(i,c),e.treeAdapter.appendChild(i,c),e.activeFormattingElements.insertElementAfterBookmark(c,l),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(i,c,l.tagID)}}function e$(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function eJ(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;
4for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function eZ(e,t){e._err(t,i.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,f.QUIRKS),e.insertionMode=y.BEFORE_HTML,e._processToken(t)}function e0(e,t){e._insertFakeRootElement(),e.insertionMode=y.BEFORE_HEAD,e._processToken(t)}function e1(e,t){e._insertFakeElement(p.HEAD,m.HEAD),e.headElement=e.openElements.current,e.insertionMode=y.IN_HEAD,e._processToken(t)}function e2(e,t){switch(t.tagID){case m.HTML:ti(e,t);break;case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:e._appendElement(t,d.HTML),t.ackSelfClosing=!0;break;case m.TITLE:e._switchToTextParsing(t,ec.RCDATA);break;case m.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,ec.RAWTEXT):(e._insertElement(t,d.HTML),e.insertionMode=y.IN_HEAD_NO_SCRIPT);break;case m.NOFRAMES:case m.STYLE:e._switchToTextParsing(t,ec.RAWTEXT);break;case m.SCRIPT:e._switchToTextParsing(t,ec.SCRIPT_DATA);break;case m.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=y.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(y.IN_TEMPLATE);break;case m.HEAD:e._err(t,i.misplacedStartTagForHeadElement);break;default:e5(e,t)}}function e3(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==m.TEMPLATE&&e._err(t,i.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,i.endTagWithoutMatchingOpenElement)}function e5(e,t){e.openElements.pop(),e.insertionMode=y.AFTER_HEAD,e._processToken(t)}function e4(e,t){let n=t.type===a.EOF?i.openElementsLeftAfterEof:i.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=y.IN_HEAD,e._processToken(t)}function e8(e,t){e._insertFakeElement(p.BODY,m.BODY),e.insertionMode=y.IN_BODY,e6(e,t)}function e6(e,t){switch(t.type){case a.CHARACTER:e7(e,t);break;case a.WHITESPACE_CHARACTER:e9(e,t);break;case a.COMMENT:e$(e,t);break;case a.START_TAG:ti(e,t);break;case a.END_TAG:to(e,t);break;case a.EOF:ts(e,t)}}function e9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function e7(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function te(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tt(e){let t=Z(e,h.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tn(e,t){e._switchToTextParsing(t,ec.RAWTEXT)}function tr(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML)}function ti(e,t){switch(t.tagID){case m.I:case m.S:case m.B:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.SMALL:case m.STRIKE:case m.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case m.A:let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(p.A);n&&(eK(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&el.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,d.HTML);break;case m.P:case m.DL:case m.OL:case m.UL:case m.DIV:case m.DIR:case m.NAV:case m.MAIN:case m.MENU:case m.ASIDE:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.DETAILS:case m.ADDRESS:case m.ARTICLE:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML);break;case m.LI:case m.DD:case m.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===m.LI&&n===m.LI||(r===m.DD||r===m.DT)&&(n===m.DD||n===m.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==m.ADDRESS&&n!==m.DIV&&n!==m.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML);break;case m.BR:case m.IMG:case m.WBR:case m.AREA:case m.EMBED:case m.KEYGEN:te(e,t);break;case m.HR:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._appendElement(t,d.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case m.RB:case m.RTC:e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,d.HTML);break;case m.RT:case m.RP:e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(m.RTC),e._insertElement(t,d.HTML);break;case m.PRE:case m.LISTING:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case m.XMP:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ec.RAWTEXT);break;case m.SVG:e._reconstructActiveFormattingElements(),ez(t),eY(t),t.selfClosing?e._appendElement(t,d.SVG):e._insertElement(t,d.SVG),t.ackSelfClosing=!0;break;case m.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case m.BASE:case m.LINK:case m.META:case m.STYLE:case m.TITLE:case m.SCRIPT:case m.BGSOUND:case m.BASEFONT:case m.TEMPLATE:e2(e,t);break;case m.BODY:let i=e.openElements.tryPeekProperlyNestedBodyElement();i&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case m.FORM:let a=e.openElements.tmplCount>0;e.formElement&&!a||(e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML),a||(e.formElement=e.openElements.current));break;case m.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(m.NOBR)&&(eK(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,d.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case m.MATH:e._reconstructActiveFormattingElements(),eV(t),eY(t),t.selfClosing?e._appendElement(t,d.MATHML):e._insertElement(t,d.MATHML),t.ackSelfClosing=!0;break;case m.TABLE:e.treeAdapter.getDocumentMode(e.document)!==f.QUIRKS&&e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML),e.framesetOk=!1,e.insertionMode=y.IN_TABLE;break;case m.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,d.HTML),tt(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case m.PARAM:case m.TRACK:case m.SOURCE:e._appendElement(t,d.HTML),t.ackSelfClosing=!0;break;case m.IMAGE:t.tagName=p.IMG,t.tagID=m.IMG,te(e,t);break;case m.BUTTON:e.openElements.hasInScope(m.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML),e.framesetOk=!1;break;case m.APPLET:case m.OBJECT:case m.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case m.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,ec.RAWTEXT);break;case m.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===y.IN_TABLE||e.insertionMode===y.IN_CAPTION||e.insertionMode===y.IN_TABLE_BODY||e.insertionMode===y.IN_ROW||e.insertionMode===y.IN_CELL?y.IN_SELECT_IN_TABLE:y.IN_SELECT;break;case m.OPTION:case m.OPTGROUP:e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,d.HTML);break;case m.NOEMBED:case m.NOFRAMES:tn(e,t);break;case m.FRAMESET:let o=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_FRAMESET);break;case m.TEXTAREA:e._insertElement(t,d.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ec.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=y.TEXT;break;case m.NOSCRIPT:e.options.scriptingEnabled?tn(e,t):tr(e,t);break;case m.PLAINTEXT:e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,d.HTML),e.tokenizer.state=ec.PLAINTEXT;break;case m.COL:case m.TH:case m.TD:case m.TR:case m.HEAD:case m.FRAME:case m.TBODY:case m.TFOOT:case m.THEAD:case m.CAPTION:case m.COLGROUP:break;default:tr(e,t)}}function ta(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==m.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>
4=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function to(e,t){switch(t.tagID){case m.A:case m.B:case m.I:case m.S:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.NOBR:case m.SMALL:case m.STRIKE:case m.STRONG:eK(e,t);break;case m.P:e.openElements.hasInButtonScope(m.P)||e._insertFakeElement(p.P,m.P),e._closePElement();break;case m.DL:case m.UL:case m.OL:case m.DIR:case m.DIV:case m.NAV:case m.PRE:case m.MAIN:case m.MENU:case m.ASIDE:case m.BUTTON:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.ADDRESS:case m.ARTICLE:case m.DETAILS:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.LISTING:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case m.LI:e.openElements.hasInListItemScope(m.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(m.LI),e.openElements.popUntilTagNamePopped(m.LI));break;case m.DD:case m.DT:let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case m.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(p.BR,m.BR),e.openElements.pop(),e.framesetOk=!1;break;case m.BODY:if(e.openElements.hasInScope(m.BODY)&&(e.insertionMode=y.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case m.HTML:e.openElements.hasInScope(m.BODY)&&(e.insertionMode=y.AFTER_BODY,tk(e,t));break;case m.FORM:let i=e.openElements.tmplCount>0,{formElement:a}=e;i||(e.formElement=null),(a||i)&&e.openElements.hasInScope(m.FORM)&&(e.openElements.generateImpliedEndTags(),i?e.openElements.popUntilTagNamePopped(m.FORM):a&&e.openElements.remove(a));break;case m.APPLET:case m.OBJECT:case m.MARQUEE:let o=t.tagID;e.openElements.hasInScope(o)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o),e.activeFormattingElements.clearToLastMarker());break;case m.TEMPLATE:e3(e,t);break;default:ta(e,t)}}function ts(e,t){e.tmplInsertionModeStack.length>0?tS(e,t):eJ(e,t)}function tl(e,t){if(void 0!==e.openElements.currentTagId&&eW.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=y.IN_TABLE_TEXT,t.type){case a.CHARACTER:tf(e,t);break;case a.WHITESPACE_CHARACTER:th(e,t)}else td(e,t)}function tc(e,t){switch(t.tagID){case m.TD:case m.TH:case m.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.TBODY,m.TBODY),e.insertionMode=y.IN_TABLE_BODY,ty(e,t);break;case m.STYLE:case m.SCRIPT:case m.TEMPLATE:e2(e,t);break;case m.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.COLGROUP,m.COLGROUP),e.insertionMode=y.IN_COLUMN_GROUP,tg(e,t);break;case m.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,d.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case m.TABLE:e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case m.TBODY:case m.TFOOT:case m.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_TABLE_BODY;break;case m.INPUT:tt(t)?e._appendElement(t,d.HTML):td(e,t),t.ackSelfClosing=!0;break;case m.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_CAPTION;break;case m.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_COLUMN_GROUP;break;default:td(e,t)}}function tu(e,t){switch(t.tagID){case m.TABLE:e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode());break;case m.TEMPLATE:e3(e,t);break;case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:td(e,t)}}function td(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e6(e,t),e.fosterParentingEnabled=n}
vendor: 5,194 bytes, line 4
4function th(e,t){e.pendingCharacterTokens.push(t)}function tf(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tp(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)td(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let tm=new Set([m.CAPTION,m.COL,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]);function tg(e,t){switch(t.tagID){case m.HTML:ti(e,t);break;case m.COL:e._appendElement(t,d.HTML),t.ackSelfClosing=!0;break;case m.TEMPLATE:e2(e,t);break;default:tE(e,t)}}function tE(e,t){e.openElements.currentTagId===m.COLGROUP&&(e.openElements.pop(),e.insertionMode=y.IN_TABLE,e._processToken(t))}function ty(e,t){switch(t.tagID){case m.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_ROW;break;case m.TH:case m.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(p.TR,m.TR),e.insertionMode=y.IN_ROW,tT(e,t);break;case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE,tc(e,t));break;default:tc(e,t)}}function tv(e,t){let n=t.tagID;switch(t.tagID){case m.TBODY:case m.TFOOT:case m.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE);break;case m.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE,tu(e,t));break;case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:case m.TR:break;default:tu(e,t)}}function tT(e,t){switch(t.tagID){case m.TH:case m.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,d.HTML),e.insertionMode=y.IN_CELL,e.activeFormattingElements.insertMarker();break;case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,ty(e,t));break;default:tc(e,t)}}function tb(e,t){switch(t.tagID){case m.TR:e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY);break;case m.TABLE:e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,tv(e,t));break;case m.TBODY:case m.TFOOT:case m.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(m.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,tv(e,t));break;case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:break;default:tu(e,t)}}function t_(e,t){switch(t.tagID){case m.HTML:ti(e,t);break;case m.OPTION:e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e._insertElement(t,d.HTML);break;case m.OPTGROUP:e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop(),e._insertElement(t,d.HTML);break;case m.HR:e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop(),e._appendElement(t,d.HTML),t.ackSelfClosing=!0;break;case m.INPUT:case m.KEYGEN:case m.TEXTAREA:case m.SELECT:e.openElements.hasInSelectScope(m.SELECT)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),t.tagID!==m.SELECT&&e._processStartTag(t));break;case m.SCRIPT:case m.TEMPLATE:e2(e,t)}}function tA(e,t){switch(t.tagID){case m.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===m.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===m.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop();break;case m.OPTION:e.openElements.currentTagId===m.OPTION&&e.openElements.pop();break;case m.SELECT:e.openElements.hasInSelectScope(m.SELECT)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode());break;case m.TEMPLATE:e3(e,t)}}function tS(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):eJ(e,t)}function tk(e,t){var n;if(t.tagID===m.HTML){if(e.fragmentContext||(e.insertionMode=y.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===m.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tC(e,t)}function tC(e,t){e.insertionMode=y.IN_BODY,e6(e,t)}function tO(e,t){e.insertionMode=y.IN_BODY,e6(e,t)}function tN(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==d.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
4penElements.current);)e.openElements.pop()}null==String.prototype.codePointAt||((e,t)=>e.codePointAt(t));let tD=new Set([p.AREA,p.BASE,p.BASEFONT,p.BGSOUND,p.BR,p.COL,p.EMBED,p.FRAME,p.HR,p.IMG,p.INPUT,p.KEYGEN,p.LINK,p.META,p.PARAM,p.SOURCE,p.TRACK,p.WBR]);var tI=n(70832),tx=n(88428);let tw=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,tR=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tP={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tL(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=j("type",{handlers:{root:tF,element:tB,text:tH,comment:tj,doctype:tU,raw:tG},unknown:tV}),i={parser:n?new eQ(tP):eQ.getFragmentParser(void 0,tP),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),tz(i,(0,tI.PW)());let a=function(e,t){let n=t||{};return L({file:n.file||void 0,location:!1,schema:"svg"===n.space?b.JW:b.qy,verbose:n.verbose||!1},e)}(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return(i.stitches&&(0,tx.YR)(a,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===a.type&&1===a.children.length&&a.children[0].type===e.type)?a.children[0]:a}function tM(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function tF(e,t){tM(e.children,t)}function tB(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ec.PLAINTEXT)return;tz(t,(0,tI.PW)(e));let r=t.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:w.html;i===w.html&&"svg"===n&&(i=w.svg);let o=V({...e,children:[]},"svg"===({space:i===w.svg?"svg":"html"}).space?b.JW:b.qy),s={type:a.START_TAG,tagName:n,tagID:ea(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:tq(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),tM(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&q.includes(n)||t.parser.tokenizer.state===ec.PLAINTEXT)return;tz(t,(0,tI.Y)(e));let r={type:a.END_TAG,tagName:n,tagID:ea(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:tq(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ec.RCDATA||t.parser.tokenizer.state===ec.RAWTEXT||t.parser.tokenizer.state===ec.SCRIPT_DATA)&&(t.parser.tokenizer.state=ec.DATA)}(e,t)}function tH(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:a.CHARACTER,chars:e.value,location:tq(e)};tz(t,(0,tI.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tU(e,t){let n={type:a.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tq(e)};tz(t,(0,tI.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tj(e,t){let n=e.value,r={type:a.COMMENT,data:n,location:tq(e)};tz(t,(0,tI.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tG(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tY(t,(0,tI.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(tw,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tV(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;t.stitches=!0;let r="children"in(n=e)?(0,v.Ay)({...n,children:[]}):(0,v.Ay)(n);"children"in e&&"children"in r&&(r.children=tL({type:"root",children:e.children},t.options).children),tj({type:"comment",value:{stitch:r}},t)}else{let t="";
4throw tR.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tz(e,t){tY(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ec.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tY(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tq(e){let t=(0,tI.PW)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tI.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function tW(e){return function(t,n){return tL(t,{...e,file:n})}}},82269:(e,t,n)=>{"use strict";var r=n(87358);n(68375);var i=n(12115),a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),o=void 0!==r&&r.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,a=void 0===i?o:i;c(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var n="undefined"!=typeof window?this.get
4Sheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if("undefined"==typeof window){this._serverSheet.deleteRule(e);return}if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},t.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+u(e+"-"+n)),d[r]}function f(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=a,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return a.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}}
4)})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=h(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:h(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=a.default.useInsertionEffect||a.default.useLayoutEffect,E="undefined"!=typeof window?new p:void 0;function y(e){var t=E||i.useContext(m);return t&&("undefined"==typeof window?t.add(e):g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}y.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=y},82691:(e,t,n)=>{"use strict";n.d(t,{V:()=>d,r:()=>u});var r=n(12115),i=n(30797),a=n(69470),o=n(21231),s=n(47769),l=n(84554);let c=(0,r.createContext)(null);function u(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,i._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),a=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return r.createElement(c.Provider,{value:a},e.children)},[t])]}let d=Object.assign((0,l.FX)(function(e,t){let n=(0,a.B)(),{id:i="headlessui-description-".concat(n),...u}=e,d=function e(){let t=(0,r.useContext)(c);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),h=(0,s.P)(t);(0,o.s)(()=>d.register(i),[i,d.register]);let f={ref:h,...d.props,id:i};return(0,l.XX)({ourProps:f,theirProps:u,slot:d.slot||{},defaultTag:"p",name:d.name||"Description"})}),{})},83846:(e,t,n)=>{"use strict";n.d(t,{qy:()=>E,JW:()=>y});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(59739),o=n(25437);function s(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let s=new o.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[(0,a.S)(r)]=r,n[(0,a.S)(s.attribute)]=r}return new r(t,n,e.space)}var l=n(8918);let c=s({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function u(e,t){return t in e?e[t]:t}function d(e,t){return u(e,t.toLowerCase())}let h=s({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,cols:l.number,colSpan:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxCl
4ick: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:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:d}),f=s({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
4-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:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,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:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackgroun
4d:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,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:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,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:l.number,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:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,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:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:u}),p=s({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
4"xlink:"+t.slice(5).toLowerCase()}),m=s({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),g=s({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),E=i([c,h,p,m,g],"html"),y=i([c,f,p,m,g],"svg")},84352:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},84554:(e,t,n)=>{"use strict";n.d(t,{FX:()=>h,O5:()=>o,XX:()=>l,mK:()=>s,oE:()=>f});var r=n(12115),i=n(20379),a=n(27279),o=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(o||{}),s=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(s||{});function l(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:o,visible:s=!0,name:l,mergeRefs:h}=e;h=null!=h?h:u;let f=d(n,t);if(s)return c(f,r,i,l,h);let p=null!=o?o:0;if(2&p){let{static:e=!1,...t}=f;if(e)return c(t,r,i,l,h)}if(1&p){let{unmount:e=!0,...t}=f;return(0,a.Y)(+!e,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},r,i,l,h)})}return c(f,r,i,l,h)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:s=n,children:l,refName:c="ref",...u}=p(e,["unmount","static"]),h=void 0!==e.ref?{[c]:e.ref}:{},m="function"==typeof l?l(t):l;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let g={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(g["data-headlessui-state"]=n.join(" "))}if(s===r.Fragment&&Object.keys(f(u)).length>0){if(!(0,r.isValidElement)(m)||Array.isArray(m)&&m.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(a,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(u).map(e=>"  - ".concat(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=>"  - ".concat(e)).join("\n")].join("\n"));let e=m.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,i.x)(null==e?void 0:e.className(...n),u.className)}:(0,i.x)(null==e?void 0:e.className,u.className);return(0,r.cloneElement)(m,Object.assign({},d(m.props,f(p(u,["ref"]))),g,h,{ref:o(m.ref,h.ref)},t?{className:t}:{}))}return(0,r.createElement)(s,Object.assign({},p(u,["ref"]),s!==r.Fragment&&h,s!==r.Fragment&&g),m)}function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(i).map(e=>[e,void 0])));for(let e in i)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];for(let n of i[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function h(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function f(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}}
4,84823:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>eH});var i=n(34093),a=n(12556),o=n(1922),s=n(17915);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function h(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function p(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.C)((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<i.length;)(0,o.VG)(e,"text",l);function l(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,l=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,y]],{ignore:["link","linkReference"]})}function E(e,t,n,i,a){let o="";if(!v(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),a=r(e,"("),o=r(e,")");for(;-1!==i&&a>o;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),o++;return[e,n]}(n+i);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!v(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function v(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.Ny)(n)||(0,a.es)(n))&&(!t||47!==n)}var T=n(33386);function b(){this.buffer()}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function A(){this.buffer()}function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function k(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,T.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function C(e){this.exit(e)}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,T.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function N(e){this.exit(e)}function D(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]")}function I(e,t,n){return 0===t?e:x(e,t,n)}function x(e,t,n){return(n?"":"    ")+e}D.peek=function(){return"["};let w=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function R(e){this.enter({type:"delete",children:[]},e)}function P(e){this.exit(e)}function L(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}L.peek=function(){return"~"};function B(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function H(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function U(e){return"&#x"+e.toString(16).toUpperCase()+";"}var j=n(49535);function G(e,t,n){let r=(0,j.S)(e),i=(0,j.S)(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}n(88428);var V=n(4392);function z(e,t,n){let r=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){let e,t=n.unsafe[a],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}function Y(e,t){let n=(0,V.d)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}z.peek=function(){return"`"};(0,s.C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let q={inlineCode:z,listItem:function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),a=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let o=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?a:a+" ".repeat(o-a.length))+e});return l(),c}};function W(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function X(e){this.exit(e),this.data.inTable=void 0}function Q(e){this.enter({type:"tableRow",children:[]},e)}function K(e){this.exit(e)}function $(e){this.enter({type:"tableCell",children:[]},e)}function J(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Z));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function Z(e,t){return"|"===t?t:e}function ee(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function et(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++a<i.length;){let e=i[a];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function en(e,t,n,r){let i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let l=q.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),l}var er=n(69381);let ei={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},ea={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(es,c,l)(t):null===t||(0,a.Ee)(t)||(0,a.Ny)(t)||45!==t&&(0,a.es)(t)?c(t):(o=!0,e.consume(t),s)}function l(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function c(e){return i||r||!o?n(e):t(e)}},partial:!0},eo={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(es,t,o)(s):null===s||(0,a.Ee)(s)||(0,a.Ny)(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},es={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),o):93===s?(e.consume(s),i):60===s||null===s||(0,a.Ee)(s)||(0,a.Ny)(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||(0,a.Ee)(e)||(0,a.Ny)(e)?t(e):r(e)}function o(t){return(0,a.CW)(t)?function t(i){return 59===i?(e.consume(i),r):(0,a.CW)(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},el={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,a.lV)(e)?n(e):t(e)}},partial:!0},ec={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ep.call(r,r.previous)||ey(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(e
4i,e.attempt(ea,e.attempt(eo,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ep},eu={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&em.call(r,r.previous)&&!ey(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if((0,a.CW)(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),o)?c:(o=!0,l):n(t)}function c(t){return null===t||(0,a.JQ)(t)||(0,a.Ee)(t)||(0,a.Ny)(t)||(0,a.es)(t)?n(t):e.attempt(ea,e.attempt(eo,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:em},ed={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!eE(t)||!eg.call(o,o.previous)||ey(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return eE(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(el,c,l)(t):45===t||95===t||(0,a.lV)(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),r=!0,s}function c(s){return i&&r&&(0,a.CW)(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:eg},eh={},ef=48;for(;ef<123;)eh[ef]=ed,58==++ef?ef=65:91===ef&&(ef=97);function ep(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,a.Ee)(e)}function em(e){return!(0,a.CW)(e)}function eg(e){return!(47===e||eE(e))}function eE(e){return 43===e||45===e||46===e||95===e||(0,a.lV)(e)}function ey(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eh[43]=ed,eh[45]=ed,eh[46]=ed,eh[95]=ed,eh[72]=[ed,eu],eh[104]=[ed,eu],eh[87]=[ed,ec],eh[119]=[ed,ec];var ev=n(95333),eT=n(94581);let eb={tokenize:function(e,t,n){let r=this;return(0,eT.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function e_(e,t,n){let r,i=this,a=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let s=(0,T.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function eA(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eS(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,a.Ee)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,T.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.Ee)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function ek(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,T.B)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return(0,a.Ee)(t)||(i=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eT.N)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eC(e,t,n){return e.check(ev.B,t,e.attempt(eb,t,n))}function eO(e){e.exit("gfmFootnoteDefinition")}var eN=n(11603),eD=n(91877);class eI{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function ex(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?v:l;return a===v&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),c(n)}function c(t){return null===t?n(t):(0,a.HP)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):(0,a.On)(t)?(0,eT.N
4)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.On)(t))?(0,eT.N)(e,f,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function p(t){return(0,a.On)(t)?(0,eT.N)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,a.HP)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(n))}(t)):n(t)}function E(t){return(0,a.On)(t)?(0,eT.N)(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return f(i);if(null===i||(0,a.HP)(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function v(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||(0,a.HP)(n)?(e.exit("tableRow"),t(n)):(0,a.On)(n)?(0,eT.N)(e,T,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?_:b)}function _(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function ew(e,t){let n,r,i,a=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new eI;for(;++a<e.length;){let f=e[a],p=f[1];"enter"===f[0]?"tableHead"===p.type?(u=!1,0!==d&&(eP(h,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},h.add(a,0,[["enter",n,t]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(o=!0,i=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},h.add(a,0,[["enter",r,t]])),s="tableDelimiterRow"===p.type?2:r?3:1):s&&("data"===p.type||"tableDelimiterMarker"===p.type||"tableDelimiterFiller"===p.type)?(o=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=eR(h,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=a)):"tableCellDivider"===p.type&&(o?o=!1:(0!==l[1]&&(c[0]=c[1],i=eR(h,t,l,s,void 0,i)),c=[(l=c)[1],a,0,0])):"tableHead"===p.type?(u=!0,d=a):"tableRow"===p.type||"tableDelimiterRow"===p.type?(d=a,0!==l[1]?(c[0]=c[1],i=eR(h,t,l,s,a,i)):0!==c[1]&&(i=eR(h,t,c,s,a,i)),s=0):s&&("data"===p.type||"tableDelimiterMarker"===p.type||"tableDelimiterFiller"===p.type)&&(c[3]=a)}for(0!==d&&eP(h,t,d,n,r),h.consume(t.events),a=-1;++a<t.events.length;){let e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,a))}return e}function eR(e,t,n,r,i,a){0!==n[0]&&(a.end=Object.assign({},eL(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));let o=eL(t.events,n[1]);if(a={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){let i=eL(t.events,n[2]),a=eL(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}
4e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},eL(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function eP(e,t,n,r,i){let a=[],o=eL(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function eL(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eM={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,a.HP)(r)?t(r):(0,a.On)(r)?e.check({tokenize:eF},t,n)(r):n(r)}}};function eF(e,t,n){return(0,eT.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eB={};function eH(e){let t,n=e||eB,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push((0,er.y)([{text:eh},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ek,continuation:{tokenize:eC},exit:eO}},text:{91:{name:"gfmFootnoteCall",tokenize:eS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:e_,resolveTo:eA}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,a=this.events,o=0;return function(s){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function a(s){let l=(0,j.S)(i);if(126===s)return o>1?r(s):(e.consume(s),o++,a);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,j.S)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],s=t.parser.constructs.insideSpan.null;s&&(0,eN.m)(o,o.length,0,(0,eD.W)(s,e.slice(r+1,n),t)),(0,eN.m)(o,o.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,eN.m)(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(n),{flow:{null:{name:"table",tokenize:ex,resolveAll:ew}}},{text:{91:eM}}])),a.push([{transforms:[g],enter:{literalAutolink:u,literalAutolinkEmail:d,literalAutolinkHttp:d,literalAutolinkWww:d},exit:{literalAutolink:m,literalAutolinkEmail:p,literalAutolinkHttp:h,literalAutolinkWww:f}},{enter:{gfmFootnoteCallString:b,gfmFootnoteCall:_,gfmFootnoteDefinitionLabelString:A,gfmFootnoteDefinition:S},exit:{gfmFootnoteCallString:k,gfmFootnoteCall:C,gfmFootnoteDefinitionLabelString:O,gfmFootnoteDefinition:N}},{canContainEols:["delete"],enter:{strikethrough:R},exit:{strikethrough:P}},{enter:{table:W,tableData:$,tableHeader:$,tableRow:Q},exit:{codeText:J,table:X,tableData:K,tableHeader:K,tableRow:K}},{exit:{taskListCheckValueChecked:ee,taskListCheckValueUnchecked:ee,paragraph:et}}]),o.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:":",before:"[ps]",after:"\\/",inConstruct:l,notInConstruct:c}]},(t=!1,n&&n.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){let a=r.createTracker(i),o=a.move("[^"),s=r.enter("footnoteDefinition"),l=r.enter("label");return o+=a.move(r.safe(r.associationId(e),{before:o,after:"]"})),l(),o+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?x:I))),s(),o},footnoteReference:D},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:w}],handlers:{delete:L}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=q.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("table");for(;++i<r.length;)a[i]=l(r[i],t,n);return o(),a}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,n,r){let i=n.enter("tableCell"),o=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function s(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||M,a=[],o=[],s=[],l=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){var d;let o=null==(d=e[u][a])?"":String(d);if(!1!==n.alignDelimiters){let e=i(o);r[a]=e,(void 0===l[a]||e>l[a])&&(l[a]=e)}t.push(o)}
4o[u]=t,s[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++h<c;)a[h]=F(r[h]);else{let e=F(r);for(;++h<c;)a[h]=e}h=-1;let f=[],p=[];for(;++h<c;){let e=a[h],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[h]-t.length-r.length),o=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>l[h]&&(l[h]=i),p[h]=i),f[h]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];h=-1;let r=[];for(;++h<c;){let i=e[h]||"",o="",s="";if(!1!==n.alignDelimiters){let e=l[h]-(t[h]||0),n=a[h];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=o=" ".repeat(e/2):s=" ".repeat(e)}!1===n.delimiterStart||h||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||h)&&r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(i),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||h!==c-1)&&r.push("|")}m.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){let r=e.children,i=-1,a=[],s=t.enter("tableRow");for(;++i<r.length;)a[i]=o(r[i],e,t,n);return s(),a}}(n),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:en}}]})}},87657:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class o{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}constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}}let s=new o},87924: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){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),a="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;a?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(11308))},88428:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(1922);function i(e,t,n,i){let a,o,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,s=t,a=n):(o=t,s=n,a=i),(0,r.VG)(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},a)}},89925:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r,i=n(12115),a=n(87657);function o(){let e,t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[o,s]=i.useState(a._.isHandoffComplete);return o&&!1===a._.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==o&&s(!0)},[o]),i.useEffect(()=>a._.handoff(),[]),!t&&o}},91525:(e,t,n)=>{"use strict";n.d(t,{El:()=>s,O_:()=>o,Uw:()=>a});var r=n(12115);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var a=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(a||{});function o(){return(0,r.useContext)(i)}function s(e){let{value:t,children:n}=e;return r.createElement(i.Provider,{value:t},n)}},91877:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}n.d(t,{W:()=>r})},94274:e=>{"use strict";e.exports=function(){}},94581:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(12556);function i(e,t,n,i){let a=i?i-1:Number.POSITIVE_INFINITY,o=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(s){return(0,r.On)(s)&&o++<a?(e.consume(s),i):(e.exit(n),t(s))}(i)):t(i)}}},95333:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(94581),i=n(12556);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},96922:(e,t,n)=>{"use strict";n.d(t,{A:()=>
4o});var r=n(43127),i=n(65982),a=n(39709);function o(e,t){(0,i.A)(2,arguments);var n=(0,a.A)(t);return(0,r.A)(e,-n)}},98071:()=>{}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.