PageSourceSearch

https://git-hub-new-api.hf.space/static/js/4226.ce2d2f7e92.js

js git-hub-new-api.hf.space collected 2026-10-03 16:53:34 UTC 789,878 bytes, 126 lines download raw bytes

1/*! LICENSE: 4226.ce2d2f7e92.js.LICENSE.txt */
2(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[4226],{11827(){},11422(e,t,r){"use strict";var n=new WeakMap,a=new WeakMap,i={},o=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[r]||(i[r]=new WeakMap);var c=i[r],d=[],h=new Set,p=new Set(u),m=function(e){!e||h.has(e)||(h.add(e),m(e.parentNode))};u.forEach(m);var f=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))f(e);else try{var t=e.getAttribute(l),i=null!==t&&"false"!==t,o=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,o),c.set(e,s),d.push(e),1===o&&i&&a.set(e,!0),1===s&&e.setAttribute(r,"true"),i||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return f(t),h.clear(),o++,function(){d.forEach(function(e){var t=n.get(e)-1,i=c.get(e)-1;n.set(e,t),c.set(e,i),t||(a.has(e)||e.removeAttribute(l),a.delete(e)),i||e.removeAttribute(r)}),--o||(n=new WeakMap,n=new WeakMap,a=new WeakMap,i={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),l(n,a,r,"aria-hidden")):function(){return null}};r.d(t,{Eq:()=>u})},98026(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",a="week",i="month",o="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},p="en",m={};m[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var f="$isDayjsObject",g=function(e){return e instanceof w||!(!e||!e[f])},y=function e(t,r,n){var a;if(!t)return p;if("string"==typeof t){var i=t.toLowerCase();m[i]&&(a=i),r&&(m[i]=r,a=i);var o=t.split("-");if(!a&&o.length>1)return e(o[0])}else{var s=t.name;m[s]=t,a=s}return!n&&a&&(p=a),a||!n&&p},b=function(e,t){if(g(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},v={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),a=t.clone().add(n,i),o=r-a<0,s=t.clone().add(n+(o?-1:1),i);return+(-(n+(r-a)/(o?a-s:s-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:i,y:s,w:a,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:o})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};v.l=y,v.i=g,v.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function h(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[f]=!0}var p=h.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(v.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var a=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return v},p.isValid=function(){return this.$d.toString()!==u},p.isSame=function(e,t){var r=b(e);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(e,t){return b(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<b(e)},p.$g=function(e,t,r){return v.u(e)?this[t]:this.set(r,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,o){var u=this,c=!!v.u(o)||o,d=v.p(e),h=function(e,t){var r=v.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?r:r.endOf("day")},p=function(e,t){return v.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},m=this.$W,f=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case s:return c?h(1,0):h(31,11);case i:return c?h(1,f):h(0,f+1);case a:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return h(c?g-w:g+(6-w),f);case"day":case l:return p(y+"Hours",0);case n:return p(y+"Minutes",1);case r:return p(y+"Seconds",2);case t:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(a,o){var u,c=v.p(a),d="set"+(this.$u?"UTC":""),h=((u={}).day=d+"Date",u[l]=d+"Date",u[i]=d+"Month",u[s]=d+"FullYear",u[n]=d+"Hours",u[r]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],p="day"===c?this.$D+(o-this.$W):o;if(c===i||c===s){var m=this.clone().set(l,1);
2m.$d[h](p),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[v.p(e)]()},p.add=function(e,o){var l,u=this;e=Number(e);var c=v.p(o),d=function(t){var r=b(u);return v.w(r.date(r.date()+Math.round(t*e)),u)};if(c===i)return this.set(i,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===a)return d(7);var h=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[c]||1,p=this.$d.getTime()+e*h;return v.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var n=e||"YYYY-MM-DDTHH:mm:ssZ",a=v.z(this),i=this.$H,o=this.$m,s=this.$M,l=r.weekdays,c=r.months,h=r.meridiem,p=function(e,r,a,i){return e&&(e[r]||e(t,n))||a[r].slice(0,i)},m=function(e){return v.s(i%12||12,e,"0")},f=h||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return v.s(t.$y,4,"0");case"M":return s+1;case"MM":return v.s(s+1,2,"0");case"MMM":return p(r.monthsShort,s,c,3);case"MMMM":return p(c,s);case"D":return t.$D;case"DD":return v.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,l,2);case"ddd":return p(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return v.s(i,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return f(i,o,!0);case"A":return f(i,o,!1);case"m":return String(o);case"mm":return v.s(o,2,"0");case"s":return String(t.$s);case"ss":return v.s(t.$s,2,"0");case"SSS":return v.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,l,u){var c,d=this,h=v.p(l),p=b(e),m=(p.utcOffset()-this.utcOffset())*6e4,f=this-p,g=function(){return v.m(d,p)};switch(h){case s:c=g()/12;break;case i:c=g();break;case o:c=g()/3;break;case a:c=(f-m)/6048e5;break;case"day":c=(f-m)/864e5;break;case n:c=f/36e5;break;case r:c=f/6e4;break;case t:c=f/1e3;break;default:c=f}return u?c:v.a(c)},p.daysInMonth=function(){return this.endOf(i).$D},p.$locale=function(){return m[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},p.clone=function(){return v.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},h}(),x=w.prototype;return b.prototype=x,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",s],["$D",l]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,w,b),e.$i=!0),b},b.locale=y,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=m[p],b.Ls=m,b.p={},b}()},65872(e){e.exports=function(e,t,r){e=e||{};var n=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,r,a){return n.fromToBase(e,t,r,a)}r.en.relativeTime=a,n.fromToBase=function(t,n,i,o,s){for(var l,u,c,d=i.$locale().relativeTime||a,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=h.length,m=0;m<p;m+=1){var f=h[m];f.d&&(l=o?r(t).diff(i,f.d,!0):i.diff(t,f.d,!0));var g=(e.rounding||Math.round)(Math.abs(l));if(c=l>0,g<=f.r||!f.r){g<=1&&m>0&&(f=h[m-1]);var y=d[f.l];s&&(g=s(""+g)),u="string"==typeof y?y.replace("%d",g):y(g,n,f.l,c);break}}if(n)return u;var b=c?d.future:d.past;return"function"==typeof b?b(u):b.replace("%s",u)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var o=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(o(this),e)},n.fromNow=function(e){return this.from(o(this),e)}}},98298(e,t,r){"use strict";r.d(t,{A:()=>J});var n,a,i,o,s,l,u,c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function d(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var h=r(65311),p="right-scroll-bar-position",m="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var g="u">typeof window?h.useLayoutEffect:h.useEffect,y=new WeakMap,b=(void 0===n&&(n={}),(void 0===a&&(a=function(e){return e}),i=[],o=!1,s={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=a(e,o);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){o=!0;var t=[];if(i.length){var r=i;i=[],r.forEach(e),t=i}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),i={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),i}}}}).options=c({async:!0,ssr:!1},n),s),v=function(){},w=h.forwardRef(function(e,t){var r,n,a,i,o=h.useRef(null),s=h.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),l=s[0],u=s[1],p=e.forwardProps,m=e.children,w=e.className,x=e.removeScrollBar,k=e.enabled,S=e.shards,A=e.sideCar,T=e.noRelative,M=e.noIsolation,z=e.inert,E=e.allowPinchZoom,_=e.as,C=e.gapMode,O=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(r=[o,t],n=function(e){return r.forEach(function(t){return f(t,e)})},(a=(0,h.useState)(function(){return{value:null,callback:n,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=n,i=a.facade,g(function(){var e=y.get(i);if(e){var t=new Set(e),n=new Set(r),a=i.current;t.forEach(function(e){n.has(e)||f(e,null)}
2),n.forEach(function(e){t.has(e)||f(e,a)})}y.set(i,r)},[r]),i),R=c(c({},O),l);return h.createElement(h.Fragment,null,k&&h.createElement(A,{sideCar:b,removeScrollBar:x,shards:S,noRelative:T,noIsolation:M,inert:z,setCallbacks:u,allowPinchZoom:!!E,lockRef:o,gapMode:C}),p?h.cloneElement(h.Children.only(m),c(c({},R),{ref:N})):h.createElement(void 0===_?"div":_,c({},R,{className:w,ref:N}),m))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:m,zeroRight:p};var x=function(e){var t=e.sideCar,r=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return h.createElement(n,c({},r))};x.isSideCarExport=!0;var k=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,i;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},S=function(){var e=k();return function(t,r){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},A=function(){var e=S();return function(t){return e(t.styles,t.dynamic),null}},T={left:0,top:0,right:0,gap:0},M=function(e){return parseInt(e||"",10)||0},z=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[M(r),M(n),M(a)]},E=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return T;var t=z(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},_=A(),C="data-scroll-locked",O=function(e,t,r,n){var a=e.left,i=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(C,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(a,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(p," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(m," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(p," .").concat(p," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(m," .").concat(m," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(C,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},N=function(){var e=parseInt(document.body.getAttribute(C)||"0",10);return isFinite(e)?e:0},R=function(){h.useEffect(function(){return document.body.setAttribute(C,(N()+1).toString()),function(){var e=N()-1;e<=0?document.body.removeAttribute(C):document.body.setAttribute(C,e.toString())}},[])},D=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;R();var i=h.useMemo(function(){return E(a)},[a]);return h.createElement(_,{styles:O(i,!t,a,r?"":"!important")})},I=!1;if("u">typeof window)try{var P=Object.defineProperty({},"passive",{get:function(){return I=!0,!0}});window.addEventListener("test",P,P),window.removeEventListener("test",P,P)}catch(e){I=!1}var L=!!I&&{passive:!1},$=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},j=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),B(e,n)){var a=F(e,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},B=function(e,t){return"v"===e?$(t,"overflowY"):$(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,r,n,a){var i,o=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=o*n,l=r.target,u=t.contains(l),c=!1,d=s>0,h=0,p=0;
2do{if(!l)break;var m=F(e,l),f=m[0],g=m[1]-m[2]-o*f;(f||g)&&B(e,l)&&(h+=g,p+=f);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(a&&1>Math.abs(h)||!a&&s>h)?c=!0:!d&&(a&&1>Math.abs(p)||!a&&-s>p)&&(c=!0),c},q=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},V=0,Y=[],G=(l=function(e){var t=h.useRef([]),r=h.useRef([0,0]),n=h.useRef(),a=h.useState(V++)[0],i=h.useState(A)[0],o=h.useRef(e);h.useEffect(function(){o.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var a,i=q(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),p=h&&h.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var m=j(d,c);if(!m)return!0;if(m?a=d:(a="v"===d?"h":"v",m=j(d,c)),!m)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=a),!a)return!0;var f=n.current||a;return W(f,t,e,"h"===f?l:u,!0)},[]),l=h.useCallback(function(e){if(Y.length&&Y[Y.length-1]===i){var r="deltaY"in e?H(e):q(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var a=(o.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?s(e,a[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=h.useCallback(function(e,r,n,a){var i={name:e,delta:r,target:n,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=h.useCallback(function(e){r.current=q(e),n.current=void 0},[]),d=h.useCallback(function(t){u(t.type,H(t),t.target,s(t,e.lockRef.current))},[]),p=h.useCallback(function(t){u(t.type,q(t),t.target,s(t,e.lockRef.current))},[]);h.useEffect(function(){return Y.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,L),document.addEventListener("touchmove",l,L),document.addEventListener("touchstart",c,L),function(){Y=Y.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,L),document.removeEventListener("touchmove",l,L),document.removeEventListener("touchstart",c,L)}},[]);var m=e.removeScrollBar,f=e.inert;return h.createElement(h.Fragment,null,f?h.createElement(i,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,m?h.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},b.useMedium(l),x),Z=h.forwardRef(function(e,t){return h.createElement(w,c({},e,{ref:t,sideCar:G}))});Z.classNames=w.classNames;var J=Z},37086(e,t,r){"use strict";var n=r(65311),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,o=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),a=n[0].inst,c=n[1];
2return s(function(){a.value=r,a.getSnapshot=t,u(a)&&c({inst:a})},[e,r,t]),o(function(){return u(a)&&c({inst:a}),e(function(){u(a)&&c({inst:a})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},69457(e,t,r){"use strict";var n=r(65311),a=r(3801),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=a.useSyncExternalStore,s=n.useRef,l=n.useEffect,u=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,a){var d=s(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;var p=o(e,(d=u(function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==a&&h.hasValue){var t=h.value;if(a(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var r=n(e);return void 0!==a&&a(t,r)?(o=e,t):(o=e,s=r)}var o,s,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,a]))[0],d[1]);return l(function(){h.hasValue=!0,h.value=p},[p]),c(p),p}},3801(e,t,r){"use strict";e.exports=r(37086)},88967(e,t,r){"use strict";e.exports=r(69457)},36952(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},16561(e,t,r){"use strict";r.d(t,{BB:()=>p}),Symbol.for("constructDateFrom");let n={},a={};function i(e,t){try{let r=(n[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(r in a)return a[r];return s(r,r.split(":"))}catch{if(e in a)return a[e];let t=e?.match(o);if(t)return s(e,t.slice(1));return NaN}}let o=/([+-]\d\d):?(\d\d)?/;function s(e,t){let r=+(t[0]||0),n=+(t[1]||0),i=(t[2]||0)/60;return a[e]=60*r+n>0?60*r+n+i:60*r-n-i}class l extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(i(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),d(this,e)):this.setTime(Date.now())}static tz(e,...t){return t.length?new l(...t,e):new l(Date.now(),e)}withTimeZone(e){return new l(+this,e)}getTimezoneOffset(){let e=-i(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),c(this),+this}[Symbol.for("constructDateFrom")](e){return new l(+new Date(e),this.timeZone)}}let u=/^(get|set)(?!UTC)/;function c(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*i(e.timeZone,e))))}function d(e,t){var r;let n=Array.isArray(t)?Date.UTC((r=t)[0],r.length>1?r[1]:0,r.length>2?r[2]:1,...r.slice(3)):+e.internal,a=i(e.timeZone,e),o=a>0?Math.floor(a):Math.ceil(a),s=new Date(+e);s.setUTCHours(s.getUTCHours()-1);let l=-new Date(+e).getTimezoneOffset(),u=-new Date(+s).getTimezoneOffset(),d=l;if(l-u&&l!==o&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){let t=new Date(+e),r=l-o;r&&t.setUTCMinutes(t.getUTCMinutes()+r);let n=i(e.timeZone,t);(n>0?Math.floor(n):Math.ceil(n))===o&&(d=u)}let p=d-o;p&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+p);let m=new Date(+e);m.setUTCSeconds(0);let f=l>0?m.getSeconds():(m.getSeconds()-60)%60,g=Math.round(-(60*i(e.timeZone,e)))%60;(g||f)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+g+f);let y=i(e.timeZone,e),b=y>0?Math.floor(y):Math.ceil(y),v=-new Date(+e).getTimezoneOffset()-b-p,w=b-o,x=w>0&&h(e)-n==60*w*1e3&&h(e,n-60*b*1e3)!==n;if(b!==o&&v&&!x){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);let t=i(e.timeZone,e),r=b-(t>0?Math.floor(t):Math.ceil(t));r&&v<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+r)}c(e);let k=(t?n:n+1e3*g)-e.internal;k&&18e5>Math.abs(k)&&(Date.prototype.setTime.call(e,+e+k),c(e))}function h(e,t){let r=new Date(t??+e);return r.setUTCSeconds(r.getUTCSeconds()-Math.round(-(60*i(e.timeZone,r)))),+r}
2Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!u.test(e))return;let t=e.replace(u,"$1UTC");l.prototype[t]&&(e.startsWith("get")?l.prototype[e]=function(){return this.internal[t]()}:(l.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),d(e),+this},l.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),c(this),+this}))});class p extends l{static tz(e,...t){return t.length?new p(...t,e):new p(Date.now(),e)}toISOString(){let[e,t,r]=this.tzComponents(),n=`${e}${t}:${r}`;return this.internal.toISOString().slice(0,-1)+n}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,r,n]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${r} ${t} ${n}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,r,n]=this.tzComponents();return`${e} GMT${t}${r}${n} (${function(e,t,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),r=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,r]}withTimeZone(e){return new p(+this,e)}[Symbol.for("constructDateFrom")](e){return new p(+new Date(e),this.timeZone)}}},71712(e,t,r){"use strict";r.d(t,{ll:()=>z,rD:()=>D,UU:()=>C,jD:()=>N,ER:()=>R,cY:()=>E,iD:()=>T,BN:()=>_,Ej:()=>O});var n=r(62500);function a(e,t,r){let a,{reference:i,floating:o}=e,s=(0,n.TV)(t),l=(0,n.Dz)(t),u=(0,n.sq)(l),c=(0,n.C0)(t),d="y"===s,h=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,m=i[u]/2-o[u]/2;switch(c){case"top":a={x:h,y:i.y-o.height};break;case"bottom":a={x:h,y:i.y+i.height};break;case"right":a={x:i.x+i.width,y:p};break;case"left":a={x:i.x-o.width,y:p};break;default:a={x:i.x,y:i.y}}switch((0,n.Sg)(t)){case"start":a[l]-=m*(r&&d?-1:1);break;case"end":a[l]+=m*(r&&d?-1:1)}return a}async function i(e,t){var r;void 0===t&&(t={});let{x:a,y:i,platform:o,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=(0,n._3)(t,e),f=(0,n.nI)(m),g=l[p?"floating"===h?"reference":"floating":h],y=(0,n.B1)(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(g)))||r?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===h?{x:a,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),w=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},x=(0,n.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:v,strategy:u}):b);return{top:(y.top-x.top+f.top)/w.y,bottom:(x.bottom-y.bottom+f.bottom)/w.y,left:(y.left-x.left+f.left)/w.x,right:(x.right-y.right+f.right)/w.x}}let o=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:l}=r,u=l.detectOverflow?l:{...l,detectOverflow:i},c=await (null==l.isRTL?void 0:l.isRTL(t)),d=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:p}=a(d,n,c),m=n,f=0,g={};for(let r=0;r<s.length;r++){let i=s[r];if(!i)continue;let{name:y,fn:b}=i,{x:v,y:w,data:x,reset:k}=await b({x:h,y:p,initialPlacement:n,placement:m,strategy:o,middlewareData:g,rects:d,platform:u,elements:{reference:e,floating:t}});h=null!=v?v:h,p=null!=w?w:p,g[y]={...g[y],...x},k&&f<50&&(f++,"object"==typeof k&&(k.placement&&(m=k.placement),k.rects&&(d=!0===k.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:h,y:p}=a(d,m,c)),r=-1)}return{x:h,y:p,placement:m,strategy:o,middlewareData:g}};function s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return n.r_.some(t=>e[t]>=0)}let u=new Set(["left","top"]);async function c(e,t){let{placement:r,platform:a,elements:i}=e,o=await (null==a.isRTL?void 0:a.isRTL(i.floating)),s=(0,n.C0)(r),l=(0,n.Sg)(r),c="y"===(0,n.TV)(r),d=u.has(s)?-1:1,h=o&&c?-1:1,p=(0,n._3)(t,e),{mainAxis:m,crossAxis:f,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
2:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof g&&(f="end"===l?-1*g:g),c?{x:f*h,y:m*d}:{x:m*d,y:f*h}}var d=r(84866);function h(e){let t=(0,d.L9)(e),r=parseFloat(t.width)||0,a=parseFloat(t.height)||0,i=(0,d.sb)(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:a,l=(0,n.LI)(r)!==o||(0,n.LI)(a)!==s;return l&&(r=o,a=s),{width:r,height:a,$:l}}function p(e){return(0,d.vq)(e)?e:e.contextElement}function m(e){let t=p(e);if(!(0,d.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:a,height:i,$:o}=h(t),s=(o?(0,n.LI)(r.width):r.width)/a,l=(o?(0,n.LI)(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let f=(0,n.Jx)(0);function g(e){let t=(0,d.zk)(e);return(0,d.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:f}function y(e,t,r,a){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=p(e),l=(0,n.Jx)(1);t&&(a?(0,d.vq)(a)&&(l=m(a)):l=m(e));let u=(void 0===(i=r)&&(i=!1),a&&(!i||a===(0,d.zk)(s))&&i)?g(s):(0,n.Jx)(0),c=(o.left+u.x)/l.x,h=(o.top+u.y)/l.y,f=o.width/l.x,y=o.height/l.y;if(s){let e=(0,d.zk)(s),t=a&&(0,d.vq)(a)?(0,d.zk)(a):a,r=e,n=(0,d._m)(r);for(;n&&a&&t!==r;){let e=m(n),t=n.getBoundingClientRect(),a=(0,d.L9)(n),i=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;c*=e.x,h*=e.y,f*=e.x,y*=e.y,c+=i,h+=o,r=(0,d.zk)(n),n=(0,d._m)(r)}}return(0,n.B1)({width:f,height:y,x:c,y:h})}function b(e,t){let r=(0,d.CP)(e).scrollLeft;return t?t.left+r:y((0,d.ep)(e)).left+r}function v(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-b(e,r),y:r.top+t.scrollTop}}function w(e,t,r){var a;let i;if("viewport"===t)i=function(e,t){let r=(0,d.zk)(e),n=(0,d.ep)(e),a=r.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;let e=(0,d.Tc)();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}let u=b(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(n.clientWidth-t.clientWidth-a);o<=25&&(i-=o)}else u<=25&&(i+=u);return{width:i,height:o,x:s,y:l}}(e,r);else if("document"===t){let t,r,o,s,l,u,c;a=(0,d.ep)(e),t=(0,d.ep)(a),r=(0,d.CP)(a),o=a.ownerDocument.body,s=(0,n.T9)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=(0,n.T9)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-r.scrollLeft+b(a),c=-r.scrollTop,"rtl"===(0,d.L9)(o).direction&&(u+=(0,n.T9)(t.clientWidth,o.clientWidth)-s),i={width:s,height:l,x:u,y:c}}else if((0,d.vq)(t)){let e,a,o,s,l,u;a=(e=y(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,s=(0,d.sb)(t)?m(t):(0,n.Jx)(1),l=t.clientWidth*s.x,u=t.clientHeight*s.y,i={width:l,height:u,x:o*s.x,y:a*s.y}}else{let r=g(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.B1)(i)}function x(e){return"static"===(0,d.L9)(e).position}function k(e,t){if(!(0,d.sb)(e)||"fixed"===(0,d.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,d.ep)(e)===r&&(r=r.ownerDocument.body),r}function S(e,t){let r=(0,d.zk)(e);if((0,d.Tf)(e))return r;if(!(0,d.sb)(e)){let t=(0,d.$4)(e);for(;t&&!(0,d.eu)(t);){if((0,d.vq)(t)&&!x(t))return t;t=(0,d.$4)(t)}return r}let n=k(e,t);for(;n&&(0,d.Lv)(n)&&x(n);)n=k(n,t);return n&&(0,d.eu)(n)&&x(n)&&!(0,d.sQ)(n)?r:n||(0,d.gJ)(e)||r}let A=async function(e){let t=this.getOffsetParent||S,r=this.getDimensions,a=await r(e.floating);return{reference:function(e,t,r){let a=(0,d.sb)(t),i=(0,d.ep)(t),o="fixed"===r,s=y(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=(0,n.Jx)(0);if(a||!a&&!o)if(("body"!==(0,d.mq)(t)||(0,d.ZU)(i))&&(l=(0,d.CP)(t)),a){let e=y(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=b(i));o&&!a&&i&&(u.x=b(i));let c=!i||a||o?(0,n.Jx)(0):v(i,l);return{x:s.left+l.scrollLeft-u.x-c.x,y:s.top+l.scrollTop-u.y-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},T={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:a,strategy:i}=e,o="fixed"===i,s=(0,d.ep)(a),l=!!t&&(0,d.Tf)(t.floating);if(a===s||l&&o)return r;let u={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(1),h=(0,n.Jx)(0),p=(0,d.sb)(a);
2if((p||!p&&!o)&&(("body"!==(0,d.mq)(a)||(0,d.ZU)(s))&&(u=(0,d.CP)(a)),p)){let e=y(a);c=m(a),h.x=e.x+a.clientLeft,h.y=e.y+a.clientTop}let f=!s||p||o?(0,n.Jx)(0):v(s,u);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+h.x+f.x,y:r.y*c.y-u.scrollTop*c.y+h.y+f.y}},getDocumentElement:d.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:a,strategy:i}=e,o=[..."clippingAncestors"===r?(0,d.Tf)(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=(0,d.v9)(e,[],!1).filter(e=>(0,d.vq)(e)&&"body"!==(0,d.mq)(e)),a=null,i="fixed"===(0,d.L9)(e).position,o=i?(0,d.$4)(e):e;for(;(0,d.vq)(o)&&!(0,d.eu)(o);){let t=(0,d.L9)(o),r=(0,d.sQ)(o);r||"fixed"!==t.position||(a=null),(i?r||a:!(!r&&"static"===t.position&&a&&("absolute"===a.position||"fixed"===a.position)||(0,d.ZU)(o)&&!r&&function e(t,r){let n=(0,d.$4)(t);return!(n===r||!(0,d.vq)(n)||(0,d.eu)(n))&&("fixed"===(0,d.L9)(n).position||e(n,r))}(e,o)))?a=t:n=n.filter(e=>e!==o),o=(0,d.$4)(o)}return t.set(e,n),n}(t,this._c):[].concat(r),a],s=w(t,o[0],i),l=s.top,u=s.right,c=s.bottom,h=s.left;for(let e=1;e<o.length;e++){let r=w(t,o[e],i);l=(0,n.T9)(r.top,l),u=(0,n.jk)(r.right,u),c=(0,n.jk)(r.bottom,c),h=(0,n.T9)(r.left,h)}return{width:u-h,height:c-l,x:h,y:l}},getOffsetParent:S,getElementRects:A,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=h(e);return{width:t,height:r}},getScale:m,isElement:d.vq,isRTL:function(e){return"rtl"===(0,d.L9)(e).direction}};function M(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function z(e,t,r,a){let i;void 0===a&&(a={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=a,h=p(e),m=o||s?[...h?(0,d.v9)(h):[],...t?(0,d.v9)(t):[]]:[];m.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let f=h&&u?function(e,t){let r,a=null,i=(0,d.ep)(e);function o(){var e;clearTimeout(r),null==(e=a)||e.disconnect(),a=null}return!function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),o();let c=e.getBoundingClientRect(),{left:d,top:h,width:p,height:m}=c;if(l||t(),!p||!m)return;let f={rootMargin:-(0,n.RI)(h)+"px "+-(0,n.RI)(i.clientWidth-(d+p))+"px "+-(0,n.RI)(i.clientHeight-(h+m))+"px "+-(0,n.RI)(d)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,u))||1},g=!0;function y(t){let n=t[0].intersectionRatio;if(n!==u){if(!g)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||M(c,e.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(y,{...f,root:i.ownerDocument})}catch(e){a=new IntersectionObserver(y,f)}a.observe(e)}(!0),o}(h,r):null,g=-1,b=null;l&&(b=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&b&&t&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),r()}),h&&!c&&b.observe(h),t&&b.observe(t));let v=c?y(e):null;return c&&function t(){let n=y(e);v&&!M(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach(e=>{o&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=b)||e.disconnect(),b=null,c&&cancelAnimationFrame(i)}}let E=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:o,middlewareData:s}=t,l=await c(t,e);return o===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:o}}}}},_=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:a,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=(0,n._3)(e,t),d={x:r,y:a},h=await o.detectOverflow(t,c),p=(0,n.TV)((0,n.C0)(i)),m=(0,n.PG)(p),f=d[m],g=d[p];if(s){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=f+h[e],a=f-h[t];f=(0,n.qE)(r,f,a)}
2if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=g+h[e],a=g-h[t];g=(0,n.qE)(r,g,a)}let y=u.fn({...t,[m]:f,[p]:g});return{...y,data:{x:y.x-r,y:y.y-a,enabled:{[m]:s,[p]:l}}}}}},C=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,a,i,o,s;let{placement:l,middlewareData:u,rects:c,initialPlacement:d,platform:h,elements:p}=t,{mainAxis:m=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...w}=(0,n._3)(e,t);if(null!=(r=u.arrow)&&r.alignmentOffset)return{};let x=(0,n.C0)(l),k=(0,n.TV)(d),S=(0,n.C0)(d)===d,A=await (null==h.isRTL?void 0:h.isRTL(p.floating)),T=g||(S||!v?[(0,n.bV)(d)]:(0,n.WJ)(d)),M="none"!==b;!g&&M&&T.push(...(0,n.lP)(d,v,b,A));let z=[d,...T],E=await h.detectOverflow(t,w),_=[],C=(null==(a=u.flip)?void 0:a.overflows)||[];if(m&&_.push(E[x]),f){let e=(0,n.w7)(l,c,A);_.push(E[e[0]],E[e[1]])}if(C=[...C,{placement:l,overflows:_}],!_.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==f||k===(0,n.TV)(t)||C.every(e=>(0,n.TV)(e.placement)!==k||e.overflows[0]>0)))return{data:{index:e,overflows:C},reset:{placement:t}};let r=null==(o=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(y){case"bestFit":{let e=null==(s=C.filter(e=>{if(M){let t=(0,n.TV)(e.placement);return t===k||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=d}if(l!==r)return{reset:{placement:r}}}return{}}}},O=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,a;let i,o,{placement:s,rects:l,platform:u,elements:c}=t,{apply:d=()=>{},...h}=(0,n._3)(e,t),p=await u.detectOverflow(t,h),m=(0,n.C0)(s),f=(0,n.Sg)(s),g="y"===(0,n.TV)(s),{width:y,height:b}=l.floating;"top"===m||"bottom"===m?(i=m,o=f===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(o=m,i="end"===f?"top":"bottom");let v=b-p.top-p.bottom,w=y-p.left-p.right,x=(0,n.jk)(b-p[i],v),k=(0,n.jk)(y-p[o],w),S=!t.middlewareData.shift,A=x,T=k;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=w),null!=(a=t.middlewareData.shift)&&a.enabled.y&&(A=v),S&&!f){let e=(0,n.T9)(p.left,0),t=(0,n.T9)(p.right,0),r=(0,n.T9)(p.top,0),a=(0,n.T9)(p.bottom,0);g?T=y-2*(0!==e||0!==t?e+t:(0,n.T9)(p.left,p.right)):A=b-2*(0!==r||0!==a?r+a:(0,n.T9)(p.top,p.bottom))}await d({...t,availableWidth:T,availableHeight:A});let M=await u.getDimensions(c.floating);return y!==M.width||b!==M.height?{reset:{rects:!0}}:{}}}},N=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:a}=t,{strategy:i="referenceHidden",...o}=(0,n._3)(e,t);switch(i){case"referenceHidden":{let e=s(await a.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=s(await a.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},R=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:a,placement:i,rects:o,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=(0,n._3)(e,t),h={x:r,y:a},p=(0,n.TV)(i),m=(0,n.PG)(p),f=h[m],g=h[p],y=(0,n._3)(l,t),b="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+b.mainAxis,r=o.reference[m]+o.reference[e]-b.mainAxis;f<t?f=t:f>r&&(f=r)}if(d){var v,w;let e="y"===m?"width":"height",t=u.has((0,n.C0)(i)),r=o.reference[p]-o.floating[e]+(t&&(null==(v=s.offset)?void 0:v[p])||0)+(t?0:b.crossAxis),a=o.reference[p]+o.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[p])||0)-(t?b.crossAxis:0);g<r?g=r:g>a&&(g=a)}return{[m]:f,[p]:g}}}},D=(e,t,r)=>{let n=new Map,a={platform:T,...r},i={...a.platform,_c:n};return o(e,t,{...a,platform:i})}},87022(e,t,r){"use strict";var n=r(71712),a=r(65311),i=r(3690),o="u">typeof document?a.useLayoutEffect:function(){};function s(e,t){let r,n,a;if(e===t)return!0;
vendor: 5,114 bytes, line 2
2if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){let r=a[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=l(e);return Math.round(t*r)/r}function c(e){let t=a.useRef(e);return o(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:h,elements:{reference:p,floating:m}={},transform:f=!0,whileElementsMounted:g,open:y}=e,[b,v]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=a.useState(d);s(w,d)||x(d);let[k,S]=a.useState(null),[A,T]=a.useState(null),M=a.useCallback(e=>{e!==C.current&&(C.current=e,S(e))},[]),z=a.useCallback(e=>{e!==O.current&&(O.current=e,T(e))},[]),E=p||k,_=m||A,C=a.useRef(null),O=a.useRef(null),N=a.useRef(b),R=null!=g,D=c(g),I=c(h),P=c(y),L=a.useCallback(()=>{if(!C.current||!O.current)return;let e={placement:t,strategy:r,middleware:w};I.current&&(e.platform=I.current),(0,n.rD)(C.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};$.current&&!s(N.current,t)&&(N.current=t,i.flushSync(()=>{v(t)}))})},[w,t,r,I,P]);o(()=>{!1===y&&N.current.isPositioned&&(N.current.isPositioned=!1,v(e=>({...e,isPositioned:!1})))},[y]);let $=a.useRef(!1);o(()=>($.current=!0,()=>{$.current=!1}),[]),o(()=>{if(E&&(C.current=E),_&&(O.current=_),E&&_){if(D.current)return D.current(E,_,L);L()}},[E,_,L,D,R]);let j=a.useMemo(()=>({reference:C,floating:O,setReference:M,setFloating:z}),[M,z]),B=a.useMemo(()=>({reference:E,floating:_}),[E,_]),F=a.useMemo(()=>{let e={position:r,left:0,top:0};if(!B.floating)return e;let t=u(B.floating,b.x),n=u(B.floating,b.y);return f?{...e,transform:"translate("+t+"px, "+n+"px)",...l(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,f,B.floating,b.x,b.y]);return a.useMemo(()=>({...b,update:L,refs:j,elements:B,floatingStyles:F}),[b,L,j,B,F])}r.d(t,{we:()=>d},{BN:(e,t)=>{let r=(0,n.BN)(e);return{name:r.name,fn:r.fn,options:[e,t]}},ER:(e,t)=>({fn:(0,n.ER)(e).fn,options:[e,t]}),Ej:(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},UU:(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},cY:(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},jD:(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}}})},84866(e,t,r){"use strict";let n;function a(){return"u">typeof window}function i(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!a()&&(e instanceof Node||e instanceof o(e).Node)}function u(e){return!!a()&&(e instanceof Element||e instanceof o(e).Element)}function c(e){return!!a()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function d(e){return!(!a()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function h(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=k(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==a&&"contents"!==a}function p(e){return/^(table|td|th)$/.test(i(e))}function m(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let f=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,y=e=>!!e&&"none"!==e;function b(e){let t=u(e)?k(e):e;return y(t.transform)||y(t.translate)||y(t.scale)||y(t.rotate)||y(t.perspective)||!w()&&(y(t.backdropFilter)||y(t.filter))||f.test(t.willChange||"")||g.test(t.contain||"")}function v(e){let t=A(e);for(;c(t)&&!x(t);){if(b(t))return t;if(m(t))break;t=A(t)}return null}function w(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function x(e){return/^(html|body|#document)$/.test(i(e))}function k(e){return o(e).getComputedStyle(e)}function S(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function A(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||s(e);return d(t)?t.host:t}function T(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}r.d(t,{$4:()=>A,CP:()=>S,L9:()=>k,Ll:()=>l,Lv:()=>p,Ng:()=>d,Tc:()=>w,Tf:()=>m,ZU:()=>h,_m:()=>T,ep:()=>s,eu:()=>x,gJ:()=>v,mq:()=>i,sQ:()=>b,sb:()=>c,v9:()=>function e(t,r,n){var a;void 0===r&&(r=[]),void 0===n&&(n=!0);let i=function e(t){let r=A(t);return x(r)?t.ownerDocument?t.ownerDocument.body:t.body:c(r)&&h(r)?r:e(r)}(t),s=i===(null==(a=t.ownerDocument)?void 0:a.body),l=o(i);if(!s)return r.concat(i,e(i,[],n));{let t=T(l);
2return r.concat(l,l.visualViewport||[],h(i)?i:[],t&&n?e(t):[])}},vq:()=>u,zk:()=>o})},62500(e,t,r){"use strict";let n=Math.min,a=Math.max,i=Math.round,o=Math.floor,s={left:"right",right:"left",bottom:"top",top:"bottom"};function l(e,t,r){return a(e,n(t,r))}function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function f(e){return h(m(e))}function g(e,t,r){void 0===r&&(r=!1);let n=d(e),a=f(e),i=p(a),o="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=A(o)),[o,A(o)]}function y(e){let t=A(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],w=["right","left"],x=["top","bottom"],k=["bottom","top"];function S(e,t,r,n){let a=d(e),i=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?w:v;return t?v:w;case"left":case"right":return t?x:k;default:return[]}}(c(e),"start"===r,n);return a&&(i=i.map(e=>e+"-"+a),t&&(i=i.concat(i.map(b)))),i}function A(e){let t=c(e);return s[t]+e.slice(t.length)}function T(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function M(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}r.d(t,{B1:()=>M,C0:()=>c,Dz:()=>f,PG:()=>h,Sg:()=>d,TV:()=>m,WJ:()=>y,_3:()=>u,bV:()=>A,lP:()=>S,nI:()=>T,qE:()=>l,sq:()=>p,w7:()=>g},{Jx:e=>({x:e,y:e}),LI:i,RI:o,T9:a,jk:n,r_:["top","right","bottom","left"]})},99435(e,t,r){"use strict";r.d(t,{u:()=>p});var n=r(27606);let a=(e,t,r)=>{if(e&&"reportValidity"in e){let a=(0,n.Jt)(r,t);e.setCustomValidity(a&&a.message||""),e.reportValidity()}},i=(e,t)=>{for(let r in t.fields){let n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?a(n.ref,r,e):n&&n.refs&&n.refs.forEach(t=>a(t,r,e))}},o=(e,t)=>{t.shouldUseNativeValidation&&i(e,t);let r={};for(let a in e){let i=(0,n.Jt)(t.fields,a),o=Object.assign(e[a]||{},{ref:i&&i.ref});if(s(t.names||Object.keys(e),a)){let e=Object.assign({},(0,n.Jt)(r,a));(0,n.hZ)(e,"root",o),(0,n.hZ)(r,a,e)}else(0,n.hZ)(r,a,o)}return r},s=(e,t)=>{let r=l(t).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some(e=>l(e).match(`^${r}\\.\\d+`))};function l(e){return e.replace(/[\[\]]/g,"")}var u=r(53690),c=r(36074);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function h(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function p(e,t,r){if(void 0===r&&(r={}),"_def"in e&&"object"==typeof e._def&&"typeName"in e._def)return function(a,s,l){try{return Promise.resolve(h(function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](a,t)).then(function(e){return l.shouldUseNativeValidation&&i({},l),{errors:{},values:r.raw?Object.assign({},a):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:o(function(e,t){for(var r={};e.length;){var a=e[0],i=a.code,o=a.message,s=a.path.join(".");if(!r[s])if("unionErrors"in a){var l=a.unionErrors[0].errors[0];r[s]={message:l.message,type:l.code}}else r[s]={message:o,type:i};if("unionErrors"in a&&a.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=r[s].types,c=u&&u[a.code];r[s]=(0,n.Gb)(s,t,r,i,c?[].concat(c,a.message):a.message)}e.shift()}return r}(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};if("_zod"in e&&"object"==typeof e._zod)return function(a,s,l){try{return Promise.resolve(h(function(){return Promise.resolve(("sync"===r.mode?u.qg:u.EJ)(e,a,t)).then(function(e){return l.shouldUseNativeValidation&&i({},l),{errors:{},values:r.raw?Object.assign({},a):e}})},function(e){if(e instanceof c.a$)return{values:{},errors:o(function(e,t){for(var r={};e.length;)!function(){var a=e[0],i=a.code,o=a.message,s=a.path.join(".");if(!r[s])if("invalid_union"===a.code&&a.errors.length>0){var l=a.errors[0][0];r[s]={message:l.message,type:l.code}}else r[s]={message:o,type:i};
2if("invalid_union"===a.code&&a.errors.forEach(function(t){return t.forEach(function(t){return e.push(d({},t,{path:[].concat(a.path,t.path)}))})}),t){var u=r[s].types,c=u&&u[a.code];r[s]=(0,n.Gb)(s,t,r,i,c?[].concat(c,a.message):a.message)}e.shift()}();return r}(e.issues,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};throw Error("Invalid input: not a Zod schema")}},79362(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]})},34408(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},56633(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},20200(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},36441(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},86063(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},33393(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]})},73288(e,t,r){"use strict";r.d(t,{},{A:[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]})},42735(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M12 3V6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 18V21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12L18 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 12L3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.3635 5.63672L16.2422 7.75804",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.75804 16.2422L5.63672 18.3635",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18.3635 18.3635L16.2422 16.2422",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M7.75804 7.75804L5.63672 5.63672",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]]})},32753(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M15.5 8.5L12 12M12 12L8.5 15.5M12 12L15.5 15.5M12 12L8.5 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]})},49393(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]})},69393(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]})},50875(e,t,r){"use strict";r.d(t,{},{A:[["path",{d:"M18 14C18 14 13.5811 19 12 19C10.4188 19 6 14 6 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 9.99996C18 9.99996 13.5811 5.00001 12 5C10.4188 4.99999 6 10 6 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]})},94084(e,t,r){"use strict";r.d(t,{n:()=>i});var n=r(65311);let a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},i=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r,absoluteStrokeWidth:i=!1,className:o="",altIcon:s,showAlt:l=!1,icon:u,primaryColor:c,secondaryColor:d,disableSecondaryOpacity:h=!1,...p},m)=>{let f=void 0!==r?i?24*Number(r)/Number(t):r:void 0,g=void 0!==f?{strokeWidth:f,stroke:"currentColor"}:{},y={ref:m,...a,width:t,height:t,color:c||e,className:o,...g,...p},b=[...l&&s?s:u].sort(([,e],[,t])=>{let r=void 0!==e.opacity;return void 0!==t.opacity?1:r?-1:0}).map(([t,r])=>{let a=void 0!==r.opacity,i=a&&!h?r.opacity:void 0,o=d?{...void 0!==r.stroke?{stroke:a?d:c||e}:{fill:a?d:c||e}}:{};
2return(0,n.createElement)(t,{...r,...g,...o,opacity:i,key:r.key})});return(0,n.createElement)("svg",y,b)});i.displayName="HugeiconsIcon"},56297(e,t,r){"use strict";let{Axios:n,AxiosError:a,CanceledError:i,isCancel:o,CancelToken:s,VERSION:l,all:u,Cancel:c,isAxiosError:d,spread:h,toFormData:p,AxiosHeaders:m,HttpStatusCode:f,formToJSON:g,getAdapter:y,mergeConfig:b,create:v}=r(90591).A;r.d(t,{},{pe:a})},90591(e,t,r){"use strict";let n,a,i,o;r.d(t,{A:()=>tw});var s,l,u,c,d={};function h(e,t){return function(){return e.apply(t,arguments)}}r.r(d),r.d(d,{hasBrowserEnv:()=>e_,hasStandardBrowserEnv:()=>eO,hasStandardBrowserWebWorkerEnv:()=>eN,navigator:()=>eC,origin:()=>eR});let{toString:p}=Object.prototype,{getPrototypeOf:m}=Object,{iterator:f,toStringTag:g}=Symbol,y=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),b=(e,t)=>{let r=e,n=[];for(;null!=r&&r!==Object.prototype&&-1===n.indexOf(r);){if(n.push(r),y(r,t))return!0;r=m(r)}return!1},v=(n=Object.create(null),e=>{let t=p.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),w=e=>(e=e.toLowerCase(),t=>v(t)===e),x=e=>t=>typeof t===e,{isArray:k}=Array,S=x("undefined");function A(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let T=w("ArrayBuffer"),M=x("string"),z=x("function"),E=x("number"),_=e=>null!==e&&"object"==typeof e,C=e=>{if(!_(e))return!1;let t=m(e);return(null===t||t===Object.prototype||null===m(t))&&!b(e,g)&&!b(e,f)},O=w("Date"),N=w("File"),R=w("Blob"),D=w("FileList"),I="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{},P=void 0!==I.FormData?I.FormData:void 0,L=w("URLSearchParams"),[$,j,B,F]=["ReadableStream","Request","Response","Headers"].map(w);function W(e,t,{allOwnKeys:r=!1}={}){let n,a;if(null!=e)if("object"!=typeof e&&(e=[e]),k(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{let a;if(A(e))return;let i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;for(n=0;n<o;n++)a=i[n],t.call(null,e[a],a,e)}}function q(e,t){let r;if(A(e))return null;t=t.toLowerCase();let n=Object.keys(e),a=n.length;for(;a-- >0;)if(t===(r=n[a]).toLowerCase())return r;return null}let H="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:global,U=e=>!S(e)&&e!==H,V=(a="u">typeof Uint8Array&&m(Uint8Array),e=>a&&e instanceof a),Y=w("HTMLFormElement"),{propertyIsEnumerable:G}=Object.prototype,Z=w("RegExp"),J=(e,t)=>
2{let r=Object.getOwnPropertyDescriptors(e),n={};W(r,(r,a)=>{let i;!1!==(i=t(r,a,e))&&(n[a]=i||r)}),Object.defineProperties(e,n)},X=w("AsyncFunction"),K=(s="function"==typeof setImmediate,l=z(H.postMessage),s?setImmediate:l?(u=`axios@${Math.random()}`,c=[],H.addEventListener("message",({source:e,data:t})=>{e===H&&t===u&&c.length&&c.shift()()},!1),e=>{c.push(e),H.postMessage(u,"*")}):e=>setTimeout(e)),Q="u">typeof queueMicrotask?queueMicrotask.bind(H):"u">typeof process&&process.nextTick||K,ee=e=>null!=e&&z(e[f]);var et={isArray:k,isArrayBuffer:T,isBuffer:A,isFormData:e=>{if(!e)return!1;if(P&&e instanceof P)return!0;let t=m(e);if(!t||t===Object.prototype||!z(e.append))return!1;let r=v(e);return"formdata"===r||"object"===r&&z(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&T(e.buffer)},isString:M,isNumber:E,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:C,isEmptyObject:e=>{if(!_(e)||A(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:$,isRequest:j,isResponse:B,isHeaders:F,isUndefined:S,isDate:O,isFile:N,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:R,isRegExp:Z,isFunction:z,isStream:e=>_(e)&&z(e.pipe),isURLSearchParams:L,isTypedArray:V,isFileList:D,forEac
2h:W,merge:function e(...t){let{caseless:r,skipUndefined:n}=U(this)&&this||{},a={},i=(t,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;let o=r&&"string"==typeof i&&q(a,i)||i,s=y(a,o)?a[o]:void 0;C(s)&&C(t)?a[o]=e(s,t):C(t)?a[o]=e({},t):k(t)?a[o]=t.slice():n&&S(t)||(a[o]=t)};for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!r||A(r)||(W(r,i),"object"!=typeof r||k(r)))continue;let n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){let t=n[e];G.call(r,t)&&i(r[t],t)}}return a},extend:(e,t,r,{allOwnKeys:n}={})=>(W(t,(t,n)=>{r&&z(t)?Object.defineProperty(e,n,{__proto__:null,value:h(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let a,i,o,s={};if(t=t||{},null==e)return t;do{for(i=(a=Object.getOwnPropertyNames(e)).length;i-- >0;)o=a[i],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=!1!==r&&m(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype)return t},kindOf:v,kindOfTest:w,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(k(e))return e;let t=e.length;if(!E(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[f]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Y,hasOwnProperty:y,hasOwnProp:y,hasOwnInPrototypeChain:b,getSafeProp:(e,t)=>null!=e&&b(e,t)?e[t]:void 0,reduceDescriptors:J,freezeMethods:e=>{J(e,(t,r)=>{if(z(e)&&["arguments","caller","callee"].includes(r))return!1;if(z(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(k(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:q,global:H,isContextDefined:U,isSpecCompliantForm:function(e){return!!(e&&z(e.append)&&"FormData"===e[g]&&e[f])},toJSONObject:e=>{let t=new WeakSet,r=e=>{if(_(e)){if(t.has(e))return;if(A(e))return e;if(!("toJSON"in e)){t.add(e);let n=k(e)?[]:{};return W(e,(e,t)=>{let a=r(e);S(a)||(n[t]=a)}),t.delete(e),n}}return e};return r(e)},isAsyncFn:X,isThenable:e=>e&&(_(e)||z(e))&&z(e.then)&&z(e.catch),setImmediate:K,asap:Q,isIterable:ee,isSafeIterable:e=>null!=e&&b(e,f)&&ee(e)};let er=et.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),en=RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ea=RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ei(e,t){return et.isArray(e)?e.map(e=>ei(e,t)):function(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function eo(e){let t=Object.create(null);return et.forEach(e.toJSON(),(e,r)=>{t[r]=ei(e,ea)}),t}let es=Symbol("internals");function el(e){return e&&String(e).trim().toLowerCase()}function eu(e){return!1===e||null==e?e:et.isArray(e)?e.map(eu):ei(String(e),en)}function ec(e,t,r,n,a){if(et.isFunction(n))return n.call(this,t,r);if(a&&(t=r),et.isString(t)){if(et.isString(n))return -1!==t.indexOf(n);if(et.isRegExp(n))return n.test(t)}}class ed{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function a(e,t,r){let a=el(t);if(!a)return;let i=et.findKey(n,a);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=eu(e))}let i=(e,t)=>et.forEach(e,(e,r)=>a(e,r,t));if(et.isPlainObject(e)||e instanceof this.constructor)i(e,t);else{let n;if(et.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var o;let r,n,a,s;i((s={},(o=e)&&o.split("\n").forEach(function(e){a=e.indexOf(":"),r=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!r||s[r]&&er[r]||("set-cookie"===r?s[r]?s[r].push(n):s[r]=[n]:s[r]=s[r]?s[r]+", "+n:n)}),s),t)}else if(et.isObject(e)&&et.isSafeIterable(e)){let r=Object.create(null),n,a;for(let t of e){if(!et.isArray(t))throw TypeError("Object iterator must return a key-value pair");a=t[0],et.hasOwnProp(r,a)?(n=r[a],r[a]=et.isArray(n)?[...n,t[1]]:[n,t[1]]):r[a]=t[1]}i(r,t)}else null!=e&&a(t,e,r)}return this}get(e,t){if(e=el(e)){let r=et.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(et.isFunction(t))return t.call(this,e,r);if(et.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=el(e)){let r=et.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||ec(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function a(e){if(e=el(e)){let a=et.findKey(r,e);a&&(!t||ec(r,r[a],a,t))&&(delete r[a],n=!0)}}return et.isArray(e)?e.forEach(a):a(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let a=t[r];(!e||ec(this,this[a],a,e,!0))&&(delete this[a],n=!0)}return n}normalize(e){let t=this,r={};return et.forEach(this,(n,a)=>{let i=et.findKey(r,a);if(i){t[i]=eu(n),delete t[a];return}let o=e?a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(a).trim();o!==a&&delete t[a],t[o]=eu(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return et.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&et.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[es]=this[es]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=el(e);
2if(!t[n]){let a;a=et.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(r,t+a,{__proto__:null,value:function(r,n,a){return this[t].call(this,e,r,n,a)},configurable:!0})}),t[n]=!0}}return et.isArray(e)?e.forEach(n):n(e),this}}ed.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),et.reduceDescriptors(ed.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),et.freezeMethods(ed);class eh extends Error{static from(e,t,r,n,a,i){let o=new eh(e.message,t||e.code,r,n,a);return Object.defineProperty(o,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),o.name=e.name,null!=e.status&&null==o.status&&(o.status=e.status),i&&Object.assign(o,i),o}constructor(e,t,r,n,a){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status)}toJSON(){let e,t,r,n=this.config,a=n&&et.hasOwnProp(n,"redact")?n.redact:void 0,i=et.isArray(a)&&a.length>0?(e=new Set(a.map(e=>String(e).toLowerCase())),t=[],(r=n=>{let a;if(null===n||"object"!=typeof n||et.isBuffer(n))return n;if(-1===t.indexOf(n)){if(n instanceof ed&&(n=n.toJSON()),t.push(n),et.isArray(n))a=[],n.forEach((e,t)=>{let n=r(e);et.isUndefined(n)||(a[t]=n)});else{if(!et.isPlainObject(n)&&function(e){if(et.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(et.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(n))return t.pop(),n;for(let[t,i]of(a=Object.create(null),Object.entries(n))){let n=e.has(t.toLowerCase())?"[REDACTED ****]":r(i);et.isUndefined(n)||(a[t]=n)}}return t.pop(),a}})(n)):et.toJSONObject(n);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}}eh.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",eh.ERR_BAD_OPTION="ERR_BAD_OPTION",eh.ECONNABORTED="ECONNABORTED",eh.ETIMEDOUT="ETIMEDOUT",eh.ECONNREFUSED="ECONNREFUSED",eh.ERR_NETWORK="ERR_NETWORK",eh.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",eh.ERR_DEPRECATED="ERR_DEPRECATED",eh.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",eh.ERR_BAD_REQUEST="ERR_BAD_REQUEST",eh.ERR_CANCELED="ERR_CANCELED",eh.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",eh.ERR_INVALID_URL="ERR_INVALID_URL",eh.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var ep=eh;function em(e){return et.isPlainObject(e)||et.isArray(e)}function ef(e){return et.endsWith(e,"[]")?e.slice(0,-2):e}function eg(e,t,r){return e?e.concat(t).map(function(e,t){return e=ef(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ey=et.toFlatObject(et,{},null,function(e){return/^is[A-Z]/.test(e)});var eb=function(e,t,r){if(!et.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=et.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!et.isUndefined(t[e])})).metaTokens,a=r.visitor||p,i=r.dots,o=r.indexes,s=r.Blob||"u">typeof Blob&&Blob,l=void 0===r.maxDepth?100:r.maxDepth,u=s&&et.isSpecCompliantForm(t),c=[];if(!et.isFunction(a))throw TypeError("visitor must be a function");function d(e){if(null===e)return"";if(et.isDate(e))return e.toISOString();if(et.isBoolean(e))return e.toString();if(!u&&et.isBlob(e))throw new ep("Blob is not supported. Use a Buffer instead.");if(et.isArrayBuffer(e)||et.isTypedArray(e)){if(u&&"function"==typeof s)return new s([e]);if("u">typeof Buffer)return Buffer.from(e);throw new ep("Blob is not supported. Use a Buffer instead.",ep.ERR_NOT_SUPPORT)}return e}function h(e){if(e>l)throw new ep("Object is too deeply nested ("+e+" levels). Max depth: "+l,ep.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,r,a){let s=e;if(et.isReactNative(t)&&et.isReactNativeBlob(e))return t.append(eg(a,r,i),d(e)),!1;if(e&&!a&&"object"==typeof e)if(et.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=function(e){if(l===1/0)return JSON.stringify(e);let t=[];return JSON.stringify(e,function(e,r){if(!et.isObject(r))return r;for(;t.length&&t[t.length-1]!==this;)t.pop();return t.push(r),h(1+t.length-1),r})}(e);else{var u;if(et.isArray(e)&&(u=e,et.isArray(u)&&!u.some(em))||(et.isFileList(e)||et.endsWith(r,"[]"))&&(s=et.toArray(e)))return r=ef(r),s.forEac
2h(function(e,n){et.isUndefined(e)||null===e||t.append(!0===o?eg([r],n,i):null===o?r:r+"[]",d(e))}),!1}return!!em(e)||(t.append(eg(a,r,i),d(e)),!1)}let m=Object.assign(ey,{defaultVisitor:p,convertValue:d,isVisitable:em});if(!et.isObject(e))throw TypeError("data must be an object");return!function e(r,n,i=0){if(!et.isUndefined(r)){if(h(i),-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),et.forEach(r,function(r,o){!0===(!(et.isUndefined(r)||null===r)&&a.call(t,r,et.isString(o)?o.trim():o,n,m))&&e(r,n?n.concat(o):[o],i+1)}),c.pop()}}(e),t};function ev(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function ew(e,t){this._pairs=[],e&&eb(e,this,t)}let ex=ew.prototype;function ek(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eS(e,t,r){let n;if(!t)return e;e=e||"";let a=et.isFunction(r)?{serialize:r}:r,i=et.getSafeProp(a,"encode")||ek,o=et.getSafeProp(a,"serialize");if(n=o?o(t,a):et.isURLSearchParams(t)?t.toString():new ew(t,a).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ex.append=function(e,t){this._pairs.push([e,t])},ex.toString=function(e){let t=e?t=>e.call(this,t,ev):ev;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var eA=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){et.forEach(this.handlers,function(t){null!==t&&e(t)})}},eT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},eM="u">typeof URLSearchParams?URLSearchParams:ew,ez="u">typeof FormData?FormData:null,eE="u">typeof Blob?Blob:null;let e_="u">typeof window&&"u">typeof document,eC="object"==typeof navigator&&navigator||void 0,eO=e_&&(!eC||0>["ReactNative","NativeScript","NS"].indexOf(eC.product)),eN="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eR=e_&&window.location.href||"http://localhost";var eD={...d,isBrowser:!0,classes:{URLSearchParams:eM,FormData:ez,Blob:eE},protocols:["http","https","file","blob","url","data"]};function eI(e){if(e>100)throw new ep("FormData field is too deeply nested ("+e+" levels). Max depth: 100",ep.ERR_FORM_DATA_DEPTH_EXCEEDED)}var eP=function(e){if(et.isFormData(e)&&et.isFunction(e.entries)){let t={};return et.forEachEntry(e,(e,r)=>{!function e(t,r,n,a){eI(a);let i=t[a++];if("__proto__"===i)return!0;let o=Number.isFinite(+i),s=a>=t.length;return(i=!i&&et.isArray(n)?n.length:i,s)?et.hasOwnProp(n,i)?n[i]=et.isArray(n[i])?n[i].concat(r):[n[i],r]:n[i]=r:(et.hasOwnProp(n,i)&&et.isObject(n[i])||(n[i]=[]),e(t,r,n[i],a)&&et.isArray(n[i])&&(n[i]=function(e){let t,r,n={},a=Object.keys(e),i=a.length;for(t=0;t<i;t++)n[r=a[t]]=e[r];return n}(n[i]))),!o}(function(e){let t,r=[],n=/\w+|\[(\w*)]/g;for(;null!==(t=n.exec(e));)eI(r.length),r.push("[]"===t[0]?"":t[1]||t[0]);return r}(e),r,t,0)}),t}return null};let eL=(e,t)=>null!=e&&et.hasOwnProp(e,t)?e[t]:void 0,e$={transitional:eT,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=et.isObject(e);if(i&&et.isHTMLForm(e)&&(e=new FormData(e)),et.isFormData(e))return a?JSON.stringify(eP(e)):e;if(et.isArrayBuffer(e)||et.isBuffer(e)||et.isStream(e)||et.isFile(e)||et.isBlob(e)||et.isReadableStream(e))return e;if(et.isArrayBufferView(e))return e.buffer;if(et.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();
2if(i){let t=eL(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return eb(e,new eD.classes.URLSearchParams,{visitor:function(e,t,r,n){return eD.isNode&&et.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t}).toString();if((r=et.isFileList(e))||n.indexOf("multipart/form-data")>-1){let n=eL(this,"env"),a=n&&n.FormData;return eb(r?{"files[]":e}:e,a&&new a,t)}}if(i||a){t.setContentType("application/json",!1);var o=e;if(et.isString(o))try{return(0,JSON.parse)(o),et.trim(o)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(o)}return e}],transformResponse:[function(e){let t=eL(this,"transitional")||e$.transitional,r=t&&t.forcedJSONParsing,n=eL(this,"responseType"),a="json"===n;if(et.isResponse(e)||et.isReadableStream(e))return e;if(e&&et.isString(e)&&(r&&!n||a)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,eL(this,"parseReviver"))}catch(e){if(!r&&a){if("SyntaxError"===e.name)throw ep.from(e,ep.ERR_BAD_RESPONSE,this,null,eL(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eD.classes.FormData,Blob:eD.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function ej(e,t){let r=this||e$,n=t||r,a=ed.from(n.headers),i=n.data;return et.forEach(e,function(e){i=e.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function eB(e){return!!(e&&e.__CANCEL__)}et.forEach(["delete","get","head","post","put","patch","query"],e=>{e$.headers[e]={}});var eF=class extends ep{constructor(e,t,r){super(null==e?"canceled":e,ep.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function eW(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ep("Request failed with status code "+r.status,r.status>=400&&r.status<500?ep.ERR_BAD_REQUEST:ep.ERR_BAD_RESPONSE,r.config,r.request,r))}var eq=function(e,t){let r,n=Array(e=e||10),a=Array(e),i=0,o=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=a[o];r||(r=l),n[i]=s,a[i]=l;let c=o,d=0;for(;c!==i;)d+=n[c++],c%=e;if((i=(i+1)%e)===o&&(o=(o+1)%e),l-r<t)return;let h=u&&l-u;return h?Math.round(1e3*d/h):void 0}},eH=function(e,t){let r,n,a=0,i=1e3/t,o=(t,i=Date.now())=>{a=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-a;s>=i?o(e,t):(r=e,n||(n=setTimeout(()=>{n=null,o(r)},i-s)))},()=>r&&o(r)]};let eU=(e,t,r=3)=>{let n=0,a=eq(50,250);return eH(r=>{if(!r||"number"!=typeof r.loaded)return;let i=r.loaded,o=r.lengthComputable?r.total:void 0,s=null!=o?Math.min(i,o):i,l=Math.max(0,s-n),u=a(l);n=Math.max(n,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:u||void 0,estimated:u&&o?(o-s)/u:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})},r)},eV=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eY=e=>(...t)=>et.asap(()=>e(...t));var eG=eD.hasStandardBrowserEnv?(i=new URL(eD.origin),o=eD.navigator&&/(msie|trident)/i.test(eD.navigator.userAgent),e=>(e=new URL(e,eD.origin),i.protocol===e.protocol&&i.host===e.host&&(o||i.port===e.port))):()=>!0,eZ=eD.hasStandardBrowserEnv?{write(e,t,r,n,a,i,o){if("u"<typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];et.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),et.isString(n)&&s.push(`path=${n}`),et.isString(a)&&s.push(`domain=${a}`),!0===i&&s.push("secure"),et.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),a=n.indexOf("=");if(-1!==a&&n.slice(0,a)===e)try{return decodeURIComponent(n.slice(a+1))}catch(e){return n.slice(a+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};let eJ=/^https?:(?!\/\/)/i,eX=/[\t\n\r]/g;function eK(e,t){if("string"==typeof e&&eJ.test((function(e){let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;return e.slice(t)})(e).replace(eX,"")))throw new ep('Invalid URL: missing "//" after protocol',ep.ERR_INVALID_URL,t)}function eQ(e,t,r,n){eK(t,n);let a=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));return e&&(a||!1===r)?(eK(e,n),t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e):t}let e0=e=>e instanceof ed?{...e}:e;function e1(e,t){e=e||{},t=t||{};let r=Object.create(null);function n(e,t,r,n){return et.isPlainObject(e)&&et.isPlainObject(t)?et.merge.call({caseless:n},e,t):et.isPlainObject(t)?et.merge({},t):et.isArray(t)?t.slice():t}function a(e,t,r,a){return et.isUndefined(t)?et.isUndefined(e)?void 0:n(void 0,e,r,a):n(e,t,r,a)}function i(e,t){if(!et.isUndefined(t))return n(void 0,t)}function o(e,t){return et.isUndefined(t)?et.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,a,i){return et.hasOwnProp(t,i)?n(r,a):et.hasOwnProp(e,i)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
2dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:s,headers:(e,t,r)=>a(e0(e),e0(t),r,!0)};return et.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let i=et.hasOwnProp(l,n)?l[n]:a,o=i(et.hasOwnProp(e,n)?e[n]:void 0,et.hasOwnProp(t,n)?t[n]:void 0,n);et.isUndefined(o)&&i!==s||(r[n]=o)}),et.hasOwnProp(t,"validateStatus")&&et.isUndefined(t.validateStatus)&&!1===function(r){let n=et.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!et.isUndefined(n)){if(!et.isPlainObject(n))return;else if(et.hasOwnProp(n,r))return n[r]}let a=et.hasOwnProp(e,"transitional")?e.transitional:void 0;if(et.isPlainObject(a)&&et.hasOwnProp(a,r))return a[r]}("validateStatusUndefinedResolves")&&(et.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}let e4=["content-type","content-length"];var e5=function(e){let t=e1({},e),r=e=>et.hasOwnProp(t,e)?t[e]:void 0,n=r("data"),a=r("withXSRFToken"),i=r("xsrfHeaderName"),o=r("xsrfCookieName"),s=r("headers"),l=r("auth"),u=r("baseURL"),c=r("allowAbsoluteUrls"),d=r("url");if(t.headers=s=ed.from(s),t.url=eS(eQ(u,d,c,t),r("params"),r("paramsSerializer")),l){let t=et.getSafeProp(l,"username")||"",r=et.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(t+":"+(r?encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw ep.from(t,ep.ERR_BAD_OPTION_VALUE,e)}}if(et.isFormData(n))if(eD.hasStandardBrowserEnv||eD.hasStandardBrowserWebWorkerEnv||et.isReactNative(n))s.setContentType(void 0);else{var h,p;et.isFunction(n.getHeaders)&&(h=s,p=n.getHeaders(),"content-only"!==r("formDataHeaderPolicy")?h.set(p):Object.entries(p||{}).forEach(([e,t])=>{e4.includes(e.toLowerCase())&&h.set(e,t)}))}if(eD.hasStandardBrowserEnv&&(et.isFunction(a)&&(a=a(t)),!0===a||null==a&&eG(t.url))){let e=i&&o&&eZ.read(o);e&&s.set(i,e)}return t},e6="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){var n;let a,i,o,s,l,u,c=e5(e),d=c.data,h=ed.from(c.headers).normalize(),{responseType:p,onUploadProgress:m,onDownloadProgress:f}=c;function g(){s&&s(),l&&l(),c.cancelToken&&c.cancelToken.unsubscribe(a),c.signal&&c.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function b(){if(!y)return;let n=ed.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eW(function(e){t(e),g()},function(e){r(e),g()},{data:p&&"text"!==p&&"json"!==p?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(c.method.toUpperCase(),c.url,!0),y.timeout=c.timeout,"onloadend"in y?y.onloadend=b:y.onreadystatechange=function(){!y||4!==y.readyState||(0!==y.status||y.responseURL&&y.responseURL.startsWith("file:"))&&setTimeout(b)},y.onabort=function(){y&&(r(new ep("Request aborted",ep.ECONNABORTED,e,y)),g(),y=null)},y.onerror=function(t){let n=new ep(t&&t.message?t.message:"Network Error",ep.ERR_NETWORK,e,y);n.event=t||null,r(n),g(),y=null},y.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||eT;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new ep(t,n.clarifyTimeoutError?ep.ETIMEDOUT:ep.ECONNABORTED,e,y)),g(),y=null},void 0===d&&h.setContentType(null),"setRequestHeader"in y&&et.forEach(eo(h),function(e,t){y.setRequestHeader(t,e)}),et.isUndefined(c.withCredentials)||(y.withCredentials=!!c.withCredentials),p&&"json"!==p&&(y.responseType=c.responseType),f&&([o,l]=eU(f,!0),y.addEventListener("progress",o)),m&&y.upload&&([i,s]=eU(m),y.upload.addEventListener("progress",i),y.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(a=t=>{y&&(r(!t||t.type?new eF(null,e,y):t),y.abort(),g(),y=null)},c.cancelToken&&c.cancelToken.subscribe(a),c.signal&&(c.signal.aborted?a():c.signal.addEventListener("abort",a)));let v=(n=c.url,(u=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n))&&u[1]||"");if(v&&!eD.protocols.includes(v)){r(new ep("Unsupported protocol "+v+":",ep.ERR_BAD_REQUEST,e)),g();return}y.send(d||null)})};let e3=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let a=0;for(;a<n;)r=a+t,yield e.slice(a,r),a=r},e2=async function*(e,t){for await(let r of e7(e))yield*e3(r,t)},e7=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},e8=(e,t,r,n)=>{let a,i=e2(e,t),o=0,s=e=>{!a&&(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await i.next();if(t){s(),e.close();return}let a=n.byteLength;if(r){let e=o+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},e9=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,te=(e,t,r)=>t+2<r&&e9(e.charCodeAt(t+1))&&e9(e.charCodeAt(t+2)),{isFunction:tt}=et,tr=e=>{if(!et.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},tn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ta=e=>{let t,r=void 0!==et.global&&null!==et.global?et.global:globalThis,{ReadableStream:n,TextEncoder:a}=r,{fetch:i,Request:o,Response:s}=e=et.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},e),l=i?tt(i):"function"==typeof fetch,u=tt(o),c=tt(s);if(!l)return!1;let d=l&&tt(n),h=l&&("function"==typeof a?(t=new a,e=>t.encode(e)):async e=>new Uint8Array(await new o(e).arrayBuffer())),p=u&&d&&tn(()=>{let e=!1,t=new o(eD.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),m=c&&d&&tn(()=>
2et.isReadableStream(new s("").body)),f={stream:m&&(e=>e.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{f[e]||(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new ep(`Response type '${e}' is not supported`,ep.ERR_NOT_SUPPORT,r)})});let g=async e=>{if(null==e)return 0;if(et.isBlob(e))return e.size;if(et.isSpecCompliantForm(e)){let t=new o(eD.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return et.isArrayBufferView(e)||et.isArrayBuffer(e)?e.byteLength:(et.isURLSearchParams(e)&&(e+=""),et.isString(e))?(await h(e)).byteLength:void 0},y=async(e,t)=>{let r=et.toFiniteNumber(e.getContentLength());return null==r?g(t):r};return async e=>{let t,{url:r,method:n,data:l,signal:c,cancelToken:h,timeout:b,onDownloadProgress:v,onUploadProgress:w,responseType:x,headers:k,withCredentials:S="same-origin",fetchOptions:A,maxContentLength:T,maxBodyLength:M}=e5(e),z=et.isNumber(T)&&T>-1,E=et.isNumber(M)&&M>-1,_=i||fetch;x=x?(x+"").toLowerCase():"text";let C=((e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,a=function(e){if(!n){n=!0,o();let t=e instanceof Error?e:this.reason;r.abort(t instanceof ep?t:new eF(t instanceof Error?t.message:t))}},i=t&&setTimeout(()=>{i=null,a(new ep(`timeout of ${t}ms exceeded`,ep.ETIMEDOUT))},t),o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)}),e=null)};e.forEach(e=>e.addEventListener("abort",a,{once:!0}));let{signal:s}=r;return s.unsubscribe=()=>et.asap(o),s})([c,h&&h.toAbortSignal()],b),O=null,N=C&&C.unsubscribe&&(()=>{C.unsubscribe()}),R=null,D=()=>new ep("Request body larger than maxBodyLength limit",ep.ERR_BAD_REQUEST,e,O);try{var I;let i,c,h,b,P=(c="auth",et.hasOwnProp(e,c)?e[c]:void 0);if(P){let e=et.getSafeProp(P,"username")||"",t=et.getSafeProp(P,"password")||"";i={username:e,password:t}}if(h=(I=r).indexOf("://"),b=I,-1!==h&&(b=b.slice(h+3)),b.includes("@")||b.includes(":")){let e=new URL(r,eD.origin);if(!i&&(e.username||e.password)){let t=tr(e.username),r=tr(e.password);i={username:t,password:r}}(e.username||e.password)&&(e.username="",e.password="",r=e.href)}if(i){let e;k.delete("authorization"),k.set("Authorization","Basic "+btoa((e=(i.username||"")+":"+(i.password||""),encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))}if(z&&"string"==typeof r&&r.startsWith("data:")&&function(e){if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let e=n.length,t=n.length;for(let r=0;r<t;r++)if(37===n.charCodeAt(r)&&r+2<t){let t=n.charCodeAt(r+1),a=n.charCodeAt(r+2);e9(t)&&e9(a)&&(e-=2,r+=2)}let r=0,a=t-1,i=e=>e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e));a>=0&&(61===n.charCodeAt(a)?(r++,a--):i(a)&&(r++,a-=3)),1===r&&a>=0&&(61===n.charCodeAt(a)?r++:i(a)&&r++);let o=3*Math.floor(e/4)-(r||0);return o>0?o:0}let a=0;for(let e=0,t=n.length;e<t;e++){let r=n.charCodeAt(e);if(37===r&&te(n,e,t))a+=1,e+=2;else if(r<128)a+=1;else if(r<2048)a+=2;else if(r>=55296&&r<=56319&&e+1<t){let t=n.charCodeAt(e+1);t>=56320&&t<=57343?(a+=4,e++):a+=3}else a+=3}return a}(r)>T)throw new ep("maxContentLength size of "+T+" exceeded",ep.ERR_BAD_RESPONSE,e,O);if(E&&"get"!==n&&"head"!==n){let e=await g(l);if("number"==typeof e&&isFinite(e)&&(t=e,e>M))throw D()}let L=E&&(et.isReadableStream(l)||et.isStream(l)),$=(e,t,r)=>e8(e,65536,e=>{if(E&&e>M)throw R=D();t&&t(e)},r);if(p&&"get"!==n&&"head"!==n&&(w||L)){if(t=null==t?await y(k,l):t,0!==t||L){let e,n=new o(r,{method:"POST",body:l,duplex:"half"});if(et.isFormData(l)&&(e=n.headers.get("content-type"))&&k.setContentType(e),n.body){let[e,r]=w&&eV(t,eU(eY(w)))||[];l=$(n.body,e,r)}}}else if(L&&!u&&d&&"get"!==n&&"head"!==n)l=$(l);else if(L&&u&&!p&&"get"!==n&&"head"!==n)throw new ep("Stream request bodies are not supported by the current fetch implementation",ep.ERR_NOT_SUPPORT,e,O);et.isString(S)||(S=S?"include":"omit");let j=u&&"credentials"in o.prototype;if(et.isFormData(l)){let e=k.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&k.delete("content-type")}k.set("User-Agent","axios/1.18.1",!1);let B={...A,signal:C,method:n.toUpperCase(),headers:eo(k.normalize()),body:l,duplex:"half",credentials:j?S:void 0};O=u&&new o(r,B);let F=await (u?_(O,A):_(r,B)),W=ed.from(F.headers);if(z){let t=et.toFiniteNumber(W.getContentLength());if(null!=t&&t>T)throw new ep("maxContentLength size of "+T+" exceeded",ep.ERR_BAD_RESPONSE,e,O)}let q=m&&("stream"===x||"response"===x);if(m&&F.body&&(v||z||q&&N)){let t={};
2["status","statusText","headers"].forEach(e=>{t[e]=F[e]});let r=et.toFiniteNumber(W.getContentLength()),[n,a]=v&&eV(r,eU(eY(v),!0))||[];F=new s(e8(F.body,65536,t=>{if(z&&t>T)throw new ep("maxContentLength size of "+T+" exceeded",ep.ERR_BAD_RESPONSE,e,O);n&&n(t)},()=>{a&&a(),N&&N()}),t)}x=x||"text";let H=await f[et.findKey(f,x)||"text"](F,e);if(z&&!m&&!q){let t;if(null!=H&&("number"==typeof H.byteLength?t=H.byteLength:"number"==typeof H.size?t=H.size:"string"==typeof H&&(t="function"==typeof a?new a().encode(H).byteLength:H.length)),"number"==typeof t&&t>T)throw new ep("maxContentLength size of "+T+" exceeded",ep.ERR_BAD_RESPONSE,e,O)}return!q&&N&&N(),await new Promise((t,r)=>{eW(t,r,{data:H,headers:ed.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:O})})}catch(t){if(N&&N(),C&&C.aborted&&C.reason instanceof ep){let r=C.reason;throw r.config=e,O&&(r.request=O),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(R)throw O&&!R.request&&(R.request=O),R;if(t instanceof ep)throw O&&!t.request&&(t.request=O),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let r=new ep("Network Error",ep.ERR_NETWORK,e,O,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw ep.from(t,t&&t.code,e,O,t&&t.response)}}},ti=new Map,to=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:a}=t,i=[n,a,r],o=i.length,s,l,u=ti;for(;o--;)s=i[o],void 0===(l=u.get(s))&&u.set(s,l=o?new Map:ta(t)),u=l;return l};to();let ts={http:null,xhr:e6,fetch:{get:to}};et.forEach(ts,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let tl=e=>`- ${e}`,tu=e=>et.isFunction(e)||null===e||!1===e;var tc=function(e,t){let r,n,{length:a}=e=et.isArray(e)?e:[e],i={};for(let o=0;o<a;o++){let a;if(n=r=e[o],!tu(r)&&void 0===(n=ts[(a=String(r)).toLowerCase()]))throw new ep(`Unknown adapter '${a}'`);if(n&&(et.isFunction(n)||(n=n.get(t))))break;i[a||"#"+o]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new ep("There is no suitable adapter to dispatch the request "+(a?e.length>1?"since :\n"+e.map(tl).join("\n"):" "+tl(e[0]):"as no adapter specified"),ep.ERR_NOT_SUPPORT)}return n};function td(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eF(null,e)}function th(e){return td(e),e.headers=ed.from(e.headers),e.data=ej.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tc(e.adapter||e$.adapter,e)(e).then(function(t){td(e),e.response=t;try{t.data=ej.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=ed.from(t.headers),t},function(t){if(!eB(t)&&(td(e),t&&t.response)){e.response=t.response;try{t.response.data=ej.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=ed.from(t.response.headers)}return Promise.reject(t)})}let tp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tm={};tp.transitional=function(e,t,r){function n(e,t){return"[Axios v1.18.1] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,i)=>{if(!1===e)throw new ep(n(a," has been removed"+(t?" in "+t:"")),ep.ERR_DEPRECATED);return t&&!tm[a]&&(tm[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,i)}},tp.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var tf=function(e,t,r){if("object"!=typeof e||null===e)throw new ep("options must be an object",ep.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),a=n.length;for(;a-- >0;){let i=n[a],o=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(o){let t=e[i],r=void 0===t||o(t,i,e);if(!0!==r)throw new ep("option "+i+" must be "+r,ep.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new ep("Unknown option "+i,ep.ERR_BAD_OPTION)}};class tg{constructor(e){this.defaults=e||{},this.interceptors={request:new eA,response:new eA}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=(()=>
2{if(!t.stack)return"";let e=t.stack.indexOf("\n");return -1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){let t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),a=-1===n?"":r.slice(n+1);String(e.stack).endsWith(a)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:a,paramsSerializer:i,headers:o}=t=e1(this.defaults,t);void 0!==a&&tf(a,{silentJSONParsing:tp.transitional(tp.boolean),forcedJSONParsing:tp.transitional(tp.boolean),clarifyTimeoutError:tp.transitional(tp.boolean),legacyInterceptorReqResOrdering:tp.transitional(tp.boolean),advertiseZstdAcceptEncoding:tp.transitional(tp.boolean),validateStatusUndefinedResolves:tp.transitional(tp.boolean)},!1),null!=i&&(et.isFunction(i)?t.paramsSerializer={serialize:i}:tf(i,{encode:tp.function,serialize:tp.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tf(t,{baseUrl:tp.spelling("baseURL"),withXsrfToken:tp.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&et.merge(o.common,o[t.method]);o&&et.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=ed.concat(s,o);let l=[],u=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;u=u&&e.synchronous;let r=t.transitional||eT;r&&r.legacyInterceptorReqResOrdering?l.unshift(e.fulfilled,e.rejected):l.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[th.bind(this),void 0];for(e.unshift(...l),e.push(...c),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let h=t;for(;d<n;){let e=l[d++],t=l[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{r=th.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,n=c.length;d<n;)r=r.then(c[d++],c[d++]);return r}getUri(e){return eS(eQ((e=e1(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}et.forEach(["delete","get","head","options"],function(e){tg.prototype[e]=function(t,r){return this.request(e1(r||{},{method:e,url:t,data:r&&et.hasOwnProp(r,"data")?r.data:void 0}))}}),et.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,a){return this.request(e1(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tg.prototype[e]=t(),"query"!==e&&(tg.prototype[e+"Form"]=t(!0))});var ty=class e{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,a){r.reason||(r.reason=new eF(e,n,a),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};let tb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tb).forEach(([e,t])=>{tb[t]=e});let tv=function e(t){let r=new tg(t),n=h(tg.prototype.request,r);return et.extend(n,tg.prototype,r,{allOwnKeys:!0}),et.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(e1(t,r))},n}(e$);tv.Axios=tg,tv.CanceledError=eF,tv.CancelToken=ty,tv.isCancel=eB,tv.VERSION="1.18.1",tv.toFormData=eb,tv.AxiosError=ep,tv.Cancel=tv.CanceledError,tv.all=function(e){return Promise.all(e)},tv.spread=function(e){return function(t){return e.apply(null,t)}},tv.isAxiosError=function(e){return et.isObject(e)&&!0===e.isAxiosError},tv.mergeConfig=e1,tv.AxiosHeaders=ed,tv.formToJSON=e=>eP(et.isHTMLForm(e)?new FormData(e):e),tv.getAdapter=tc,tv.HttpStatusCode=tb,tv.default=tv;var tw=tv},13849(e,t,r){"use strict";var n=r(57287);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$;r.d(t,{},{F:(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let i=a(t)||a(n);return o[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}})},57287(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n})},15667(e,t,r){"use strict";r.d(t,{uB:()=>C});var n=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,o=/[\s-]/g;function s(e){return e.toLowerCase().replace(o," ")}var l=r(47688),u=r(65311),c=r(45693),d=r(12910),h=r(14466),p='[cmdk-group=""]',m='[cmdk-group-items=""]',f='[cmdk-item=""]',g=`${f}:not([aria-disabled="true"])`,y="cmdk-item-select",b="data-value",v=(e,t,r)=>{var l;return l=e,function e(t,r,s,l,u,c,d){if(c===r.length)return u===t.length?1:.99;var h=`${u},${c}`;if(void 0!==d[h])return d[h];for(var p,m,f,g,y=l.charAt(c),b=s.indexOf(y,u),v=0;b>=0;)(p=e(t,r,s,l,b+1,c+1,d))>v&&(b===u?p*=1:n.test(t.charAt(b-1))?(p*=.8,(f=t.slice(u,b-1).match(a))&&u>0&&(p*=Math.pow(.999,f.length))):i.test(t.charAt(b-1))?(p*=.9,(g=t.slice(u,b-1).match(o))&&u>0&&(p*=Math.pow(.999,g.length))):(p*=.17,u>0&&(p*=Math.pow(.999,b-u))),t.charAt(b)!==r.charAt(c)&&(p*=.9999)),(p<.1&&s.charAt(b-1)===l.charAt(c+1)||l.charAt(c+1)===l.charAt(c)&&s.charAt(b-1)!==l.charAt(c))&&.1*(m=e(t,r,s,l,b+1,c+2,d))>p&&(p=.1*m),p>v&&(v=p),b=s.indexOf(y,b+1);return d[h]=v,v}(l=r&&r.length>0?`${l+" "+r.join(" ")}`:l,t,s(l),s(t),0,0,{})},w=u.createContext(void 0),x=u.createContext(void 0),k=u.createContext(void 0),S=u.forwardRef((e,t)=>
2{let r=R(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=R(()=>new Set),a=R(()=>new Map),i=R(()=>new Map),o=R(()=>new Set),s=O(e),{label:l,children:h,value:k,onValueChange:S,filter:A,shouldFilter:T,loop:M,disablePointerSelection:z=!1,vimBindings:E=!0,..._}=e,C=(0,d.B)(),D=(0,d.B)(),I=(0,d.B)(),j=u.useRef(null),B=P();N(()=>{if(void 0!==k){let e=k.trim();r.current.value=e,F.emit()}},[k]),N(()=>{B(6,Y)},[]);let F=u.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var a,i,o,l;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)V(),H(),B(1,U);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(I);e?e.focus():null==(a=document.getElementById(C))||a.focus()}if(B(7,()=>{var e;r.current.selectedItemId=null==(e=G())?void 0:e.id,F.emit()}),n||B(5,Y),(null==(i=s.current)?void 0:i.value)!==void 0){null==(l=(o=s.current).onValueChange)||l.call(o,null!=t?t:"");return}}F.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),W=u.useMemo(()=>({value:(e,t,n)=>{var a;t!==(null==(a=i.current.get(e))?void 0:a.value)&&(i.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,q(t,n)),B(2,()=>{H(),F.emit()}))},item:(e,t)=>(n.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),B(3,()=>{V(),H(),r.current.value||U(),F.emit()}),()=>{i.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=G();B(4,()=>{V(),(null==t?void 0:t.getAttribute("id"))===e&&U(),F.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{i.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:C,inputId:I,labelId:D,listInnerRef:j}),[]);function q(e,t){var n,a;let i=null!=(a=null==(n=s.current)?void 0:n.filter)?a:v;return e?i(e,r.current.search,t):0}function H(){if(!r.current.search||!1===s.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=a.current.get(r),i=0;n.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([r,i])});let n=j.current;Z().sort((t,r)=>{var n,a;let i=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(n=e.get(o))?n:0)-(null!=(a=e.get(i))?a:0)}).forEach(e=>{let t=e.closest(m);t?t.appendChild(e.parentElement===t?e:e.closest(`${m} > *`)):n.appendChild(e.parentElement===n?e:e.closest(`${m} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=j.current)?void 0:t.querySelector(`${p}[${b}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function U(){let e=Z().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(b);F.setState("value",t||void 0)}function V(){var e,t,o,l;if(!r.current.search||!1===s.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let u=0;for(let a of n.current){let n=q(null!=(t=null==(e=i.current.get(a))?void 0:e.value)?t:"",null!=(l=null==(o=i.current.get(a))?void 0:o.keywords)?l:[]);r.current.filtered.items.set(a,n),n>0&&u++}for(let[e,t]of a.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=u}function Y(){var e,t,r;let n=G();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function G(){var e;return null==(e=j.current)?void 0:e.querySelector(`${f}[aria-selected="true"]`)}function Z(){var e;return Array.from((null==(e=j.current)?void 0:e.querySelectorAll(g))||[])}function J(e){let t=Z()[e];t&&F.setState("value",t.getAttribute(b))}function X(e){var t;let r=G(),n=Z(),a=n.findIndex(e=>e===r),i=n[a+e];null!=(t=s.current)&&t.loop&&(i=a+e<0?n[n.length-1]:a+e===n.length?n[0]:n[a+e]),i&&F.setState("value",i.getAttribute(b))}function K(e){let t=G(),r=null==t?void 0:t.closest(p),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(g);n?F.setState("value",n.getAttribute(b)):X(e)}let Q=()=>J(Z().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?K(1):X(1)},et=e=>
2{e.preventDefault(),e.metaKey?J(0):e.altKey?K(-1):X(-1)};return u.createElement(c.sG.div,{ref:t,tabIndex:-1,..._,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=_.onKeyDown)||t.call(_,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":E&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":E&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=G();if(t){let e=new Event(y);t.dispatchEvent(e)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:W.inputId,id:W.labelId,style:$},l),L(e,e=>u.createElement(x.Provider,{value:F},u.createElement(w.Provider,{value:W},e))))}),A=u.forwardRef((e,t)=>{var r,n;let a=(0,d.B)(),i=u.useRef(null),o=u.useContext(k),s=u.useContext(w),l=O(e),p=null!=(n=null==(r=l.current)?void 0:r.forceMount)?n:null==o?void 0:o.forceMount;N(()=>{if(!p)return s.item(a,null==o?void 0:o.id)},[p]);let m=I(a,i,[e.value,e.children,i],e.keywords),f=u.useContext(x),g=D(e=>e.value&&e.value===m.current),b=D(e=>!!p||!1===s.filter()||!e.search||e.filtered.items.get(a)>0);function v(){var e,t;S(),null==(t=(e=l.current).onSelect)||t.call(e,m.current)}function S(){f.setState("value",m.current,!0)}if(u.useEffect(()=>{let t=i.current;if(!(!t||e.disabled))return t.addEventListener(y,v),()=>t.removeEventListener(y,v)},[b,e.onSelect,e.disabled]),!b)return null;let{disabled:A,value:T,onSelect:M,forceMount:z,keywords:E,..._}=e;return u.createElement(c.sG.div,{ref:(0,h.t)(i,t),..._,id:a,"cmdk-item":"",role:"option","aria-disabled":!!A,"aria-selected":!!g,"data-disabled":!!A,"data-selected":!!g,onPointerMove:A||s.getDisablePointerSelection()?void 0:S,onClick:A?void 0:v},e.children)}),T=u.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:a,...i}=e,o=(0,d.B)(),s=u.useRef(null),l=u.useRef(null),p=(0,d.B)(),m=u.useContext(w),f=D(e=>!!a||!1===m.filter()||!e.search||e.filtered.groups.has(o));N(()=>m.group(o),[]),I(o,s,[e.value,e.heading,l]);let g=u.useMemo(()=>({id:o,forceMount:a}),[a]);return u.createElement(c.sG.div,{ref:(0,h.t)(s,t),...i,"cmdk-group":"",role:"presentation",hidden:!f||void 0},r&&u.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),L(e,e=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},u.createElement(k.Provider,{value:g},e))))}),M=u.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,a=u.useRef(null),i=D(e=>!e.search);return r||i?u.createElement(c.sG.div,{ref:(0,h.t)(a,t),...n,"cmdk-separator":"",role:"separator"}):null}),z=u.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,a=null!=e.value,i=u.useContext(x),o=D(e=>e.search),s=D(e=>e.selectedItemId),l=u.useContext(w);return u.useEffect(()=>{null!=e.value&&i.setState("search",e.value)},[e.value]),u.createElement(c.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":s,id:l.inputId,type:"text",value:a?e.value:o,onChange:e=>{a||i.setState("search",e.target.value),null==r||r(e.target.value)}})}),E=u.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...a}=e,i=u.useRef(null),o=u.useRef(null),s=D(e=>e.selectedItemId),l=u.useContext(w);return u.useEffect(()=>{if(o.current&&i.current){let e=o.current,t=i.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),u.createElement(c.sG.div,{ref:(0,h.t)(i,t),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":n,id:l.listId},L(e,e=>u.createElement("div",{ref:(0,h.t)(o,l.listInnerRef),"cmdk-list-sizer":""},e)))}),_=u.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:a,contentClassName:i,container:o,...s}=e;return u.createElement(l.bL,{open:r,onOpenChange:n},u.createElement(l.ZL,{container:o},u.createElement(l.hJ,{"cmdk-overlay":"",className:a}),u.createElement(l.UC,{"aria-label":e.label,"cmdk-dialog":"",className:i},u.createElement(S,{ref:t,...s}))))}),C=Object.assign(S,{List:E,Item:A,Input:z,Group:T,Separator:M,Dialog:_,Empty:u.forwardRef((e,t)=>
2D(e=>0===e.filtered.count)?u.createElement(c.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((e,t)=>{let{progress:r,children:n,label:a="Loading...",...i}=e;return u.createElement(c.sG.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},L(e,e=>u.createElement("div",{"aria-hidden":!0},e)))})});function O(e){let t=u.useRef(e);return N(()=>{t.current=e}),t}var N="u"<typeof window?u.useEffect:u.useLayoutEffect;function R(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function D(e){let t=u.useContext(x),r=()=>e(t.snapshot());return u.useSyncExternalStore(t.subscribe,r,r)}function I(e,t,r,n=[]){let a=u.useRef(),i=u.useContext(w);return N(()=>{var o;let s=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=n.map(e=>e.trim());i.value(e,s,l),null==(o=t.current)||o.setAttribute(b,s),a.current=s}),a}var P=()=>{let[e,t]=u.useState(),r=R(()=>new Map);return N(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function L({asChild:e,children:t},r){let n;return e&&u.isValidElement(t)?u.cloneElement("function"==typeof(n=t.type)?n(t.props):"render"in n?n.render(t.props):t,{ref:t.ref},r(t.props.children)):r(t)}var $={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},65781(e,t,r){"use strict";let n={};function a(){return n}r.d(t,{q:()=>a})},27112(e,t,r){"use strict";var n=r(51412);function a(e,...t){let r=n.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}r.d(t,{x:()=>a})},18784(e,t,r){"use strict";let n=Symbol.for("constructDateFrom");r.d(t,{},{_P:n,my:6048e5,w4:864e5})},51412(e,t,r){"use strict";var n=r(18784);function a(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}r.d(t,{w:()=>a})},80204(e,t,r){"use strict";r.d(t,{m:()=>l});var n=r(84728);function a(e){let t=(0,n.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}var i=r(27112),o=r(18784),s=r(75156);function l(e,t,r){let[n,l]=(0,i.x)(r?.in,e,t),u=(0,s.o)(n),c=(0,s.o)(l);return Math.round((u-a(u)-(c-a(c)))/o.w4)}},7360(e,t,r){"use strict";var n=r(27112);function a(e,t,r){let[a,i]=(0,n.x)(r?.in,e,t);return 12*(a.getFullYear()-i.getFullYear())+(a.getMonth()-i.getMonth())}r.d(t,{U:()=>a})},36250(e,t,r){"use strict";r.d(t,{GP:()=>C});var n=r(1867),a=r(65781),i=r(80204),o=r(87649),s=r(84728),l=r(18079),u=r(47909),c=r(181),d=r(2356);function h(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let p={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return h("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):h(r+1,2)},d:(e,t)=>h(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>h(e.getHours()%12||12,t.length),H:(e,t)=>h(e.getHours(),t.length),m:(e,t)=>h(e.getMinutes(),t.length),s:(e,t)=>h(e.getSeconds(),t.length),S(e,t){let r=t.length;return h(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},m={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return p.y(e,t)},Y:function(e,t,r,n){let a=(0,d.h)(e,n),i=a>0?a:1-a;return"YY"===t?h(i%100,2):"Yo"===t?r.ordinalNumber(i,{unit:"year"}):h(i,t.length)},R:function(e,t){return h((0,u.p)(e),t.length)},u:function(e,t){return h(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return h(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return h(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return p.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return h(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=(0,c.N)(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):h(a,t.length)},I:function(e,t,r){let n=(0,l.s)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):h(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):p.d(e,t)},D:function(e,t,r){let n,a=(n=(0,s.a)(e,void 0),(0,i.m)(n,(0,o.D)(n))+1);return"Do"===t?r.ordinalNumber(a,{unit:"dayOfYear"}):h(a,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return h(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return h(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return h(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,a=e.getHours();switch(n=12===a?"noon":0===a?"midnight":a/12>
2=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,a=e.getHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return p.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):p.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):h(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):h(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):p.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):p.s(e,t)},S:function(e,t){return p.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return g(n);case"XXXX":case"XX":return y(n);default:return y(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return g(n);case"xxxx":case"xx":return y(n);default:return y(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(n,":");default:return"GMT"+y(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(n,":");default:return"GMT"+y(n,":")}},t:function(e,t,r){return h(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return h(+e,t.length)}};function f(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return 0===i?r+String(a):r+String(a)+t+h(i,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):y(e,t)}function y(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+h(Math.trunc(r/60),2)+t+h(r%60,2)}let b=(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"})}},v=(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"})}},w={p:v,P:(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return b(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",b(a,t)).replace("{{time}}",v(i,t))}},x=/^D+$/,k=/^Y+$/,S=["D","DD","YY","YYYY"];var A=r(5669);let T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,E=/''/g,_=/[a-zA-Z]/;function C(e,t,r){let i=(0,a.q)(),o=r?.locale??i.locale??n.c,l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,u=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,c=(0,s.a)(e,r?.in);if(!(0,A.$)(c)&&"number"!=typeof c||isNaN(+(0,s.a)(c)))throw RangeError("Invalid time value");let d=t.match(M).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,w[t])(e,o.formatLong):e}).join("").match(T).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(z))?t[1].replace(E,"'"):r}}if(m[t])return{isToken:!0,value:e};if(t.match(_))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(d=o.localize.preprocessor(c,d));let h={firstWeekContainsDate:l,weekStartsOn:u,locale:o};return d.map(n=>{if(!n.isToken)return n.value;let a=n.value;return(!r?.useAdditionalWeekYearTokens&&k.test(a)||!r?.useAdditionalDayOfYearTokens&&x.test(a))&&function(e,t,r){var n,a,i;let o,s=(n=e,a=t,i=r,o="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),S.includes(e))throw RangeError(s)}(a,t,String(e)),(0,m[a[0]])(c,a,o.localize,h)}).join("")}},18079(e,t,r){"use strict";r.d(t,{s:()=>l});var n=r(18784),a=r(3227),i=r(51412),o=r(47909),s=r(84728);function l(e,t){let r,l,u=(0,s.a)(e,t?.in);return Math.round(((0,a.b)(u)-(r=(0,o.p)(u,void 0),(l=(0,i.w)(u,0)).setFullYear(r,0,4),l.setHours(0,0,0,0),(0,a.b)(l)))/n.my)+1}},47909(e,t,r){"use strict";
2var n=r(51412),a=r(3227),i=r(84728);function o(e,t){let r=(0,i.a)(e,t?.in),o=r.getFullYear(),s=(0,n.w)(r,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let l=(0,a.b)(s),u=(0,n.w)(r,0);u.setFullYear(o,0,4),u.setHours(0,0,0,0);let c=(0,a.b)(u);return r.getTime()>=l.getTime()?o+1:r.getTime()>=c.getTime()?o:o-1}r.d(t,{p:()=>o})},181(e,t,r){"use strict";r.d(t,{N:()=>u});var n=r(18784),a=r(77704),i=r(65781),o=r(51412),s=r(2356),l=r(84728);function u(e,t){let r,u,c,d,h=(0,l.a)(e,t?.in);return Math.round(((0,a.k)(h,t)-(r=(0,i.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,c=(0,s.h)(h,t),(d=(0,o.w)(t?.in||h,0)).setFullYear(c,0,u),d.setHours(0,0,0,0),(0,a.k)(d,t)))/n.my)+1}},2356(e,t,r){"use strict";var n=r(65781),a=r(51412),i=r(77704),o=r(84728);function s(e,t){let r=(0,o.a)(e,t?.in),s=r.getFullYear(),l=(0,n.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,a.w)(t?.in||e,0);c.setFullYear(s+1,0,u),c.setHours(0,0,0,0);let d=(0,i.k)(c,t),h=(0,a.w)(t?.in||e,0);h.setFullYear(s,0,u),h.setHours(0,0,0,0);let p=(0,i.k)(h,t);return+r>=+d?s+1:+r>=+p?s:s-1}r.d(t,{h:()=>s})},5669(e,t,r){"use strict";function n(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}r.d(t,{$:()=>n})},37587(e,t,r){"use strict";var n=r(27112),a=r(77704);function i(e,t,r){let[i,o]=(0,n.x)(r?.in,e,t);return+(0,a.k)(i,r)==+(0,a.k)(o,r)}r.d(t,{R:()=>i})},73388(e,t,r){"use strict";function n(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}r.d(t,{k:()=>n})},54570(e,t,r){"use strict";function n(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):t;n=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}r.d(t,{o:()=>n})},33168(e,t,r){"use strict";function n(e){return(t,r={})=>{let n,a=r.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let s=o[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}r.d(t,{A:()=>n})},26512(e,t,r){"use strict";function n(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:o=r.valueCallback?r.valueCallback(o):o,rest:t.slice(a.length)}}}r.d(t,{K:()=>n})},1867(e,t,r){"use strict";r.d(t,{c:()=>c});let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} 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"}};var a=r(73388);let i={date:(0,a.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.k)({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:(0,a.k)({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"};var s=r(54570);let l={ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,s.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({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:(0,s.o)({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","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({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"})};var u=r(33168);let c={code:"en-US",formatDistance:(e,t,r)=>{let a,i=n[e];if(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:i,formatRelative:(e,t,r,n)=>o[e],localize:l,match:{ordinalNumber:(0,r(26512).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({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:(0,u.A)({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:e=>e+1}),month:(0,u.A)({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:(0,u.A)({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:(0,u.A)({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}}},75156(e,t,r){"use strict";var n=r(84728);function a(e,t){let r=(0,n.a)(e,t?.in);return r.setHours(0,0,0,0),r}r.d(t,{o:()=>a})},3227(e,t,r){"use strict";var n=r(77704);function a(e,t){return(0,n.k)(e,{...t,weekStartsOn:1})}r.d(t,{b:()=>a})},77704(e,t,r){"use strict";var n=r(65781),a=r(84728);function i(e,t){let r=(0,n.q)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=(0,a.a)(e,t?.in),s=o.getDay();return o.setDate(o.getDate()-(7*(s<i)+s-i)),o.setHours(0,0,0,0),o}r.d(t,{k:()=>i})},87649(e,t,r){"use strict";var n=r(84728);function a(e,t){let r=(0,n.a)(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}r.d(t,{D:()=>a})},84728(e,t,r){"use strict";var n=r(51412);function a(e,t){return(0,n.w)(t||e,e)}r.d(t,{a:()=>a})},13557(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}
2let a=Object.entries,i=Object.setPrototypeOf,o=Object.isFrozen,s=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,u=Object.freeze,c=Object.seal,d=Object.create,h="u">typeof Reflect&&Reflect,p=h.apply,m=h.construct;u||(u=function(e){return e}),c||(c=function(e){return e}),p||(p=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return e.apply(t,n)}),m||(m=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});let f=I(Array.prototype.forEach),g=I(Array.prototype.lastIndexOf),y=I(Array.prototype.pop),b=I(Array.prototype.push),v=I(Array.prototype.splice),w=Array.isArray,x=I(String.prototype.toLowerCase),k=I(String.prototype.toString),S=I(String.prototype.match),A=I(String.prototype.replace),T=I(String.prototype.indexOf),M=I(String.prototype.trim),z=I(Number.prototype.toString),E=I(Boolean.prototype.toString),_="u"<typeof BigInt?null:I(BigInt.prototype.toString),C="u"<typeof Symbol?null:I(Symbol.prototype.toString),O=I(Object.prototype.hasOwnProperty),N=I(Object.prototype.toString),R=I(RegExp.prototype.test),D=(ep=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return m(ep,t)});function I(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return p(e,t,n)}}function P(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;if(i&&i(e,null),!w(t))return e;let n=t.length;for(;n--;){let a=t[n];if("string"==typeof a){let e=r(a);e!==a&&(o(t)||(t[n]=e),a=e)}e[a]=!0}return e}function L(e){let t=d(null);for(let i of a(e)){var r=function(e){if(Array.isArray(e))return e}(i)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,a,i,o=[],s=!0,l=!1;try{a=(t=t.call(e)).next,!1;for(;!(s=(r=a.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw n}}return o}}(i)||function(e){if(e){if("string"==typeof e)return n(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,2):void 0}}(i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let a=r[0],o=r[1];O(e,a)&&(w(o)?t[a]=function(e){for(let t=0;t<e.length;t++)O(e,t)||(e[t]=null);return e}(o):o&&"object"==typeof o&&o.constructor===Object?t[a]=L(o):t[a]=o)}return t}function $(e,t){for(;null!==e;){let r=l(e,t);if(r){if(r.get)return I(r.get);if("function"==typeof r.value)return I(r.value)}e=s(e)}return function(){return null}}let j=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=u(["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"]),W=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),q=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),H=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=u(["#text"]),V=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Y=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Z=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),J=c(/{{[\w\W]*|^[\w\W]*}}/g),X=c(/<%[\w\W]*|^[\w\W]*%>/g),K=c(/\${[\w\W]*/g),Q=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),ee=c(/^aria-[\-\w]+$/),et=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),er=c(/^(?:\w+script|data):/i),en=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ea=c(/^html$/i),ei=c(/^[a-z][.\w]*(-[.\w]+)+$/i),eo=c(/<[/\w!]/g),es=c(/<[/\w]/g),el=c(/<\/no(script|embed|frames)/i),eu=c(/\/>/i),ec=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},ed=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},eh=function(e,t,r,n){return O(e,t)&&w(e[t])?P(n.base?L(n.base):{},e[t],n.transform):r};var ep,em=function e(){let t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,i=t=>e(t);if(i.version="3.4.11",i.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return i.isSupported=!1,i;let o=n.document,s=o,l=s.currentScript;n.DocumentFragment;let h=n.HTMLTemplateElement,p=n.Node,m=n.Element,I=n.NodeFilter;void 0===n.NamedNodeMap&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let ep=n.DOMParser,em=n.trustedTypes,ef=m.prototype,eg=$(ef,"cloneNode"),ey=$(ef,"remove"),eb=$(ef,"nextSibling"),ev=$
2(ef,"childNodes"),ew=$(ef,"parentNode"),ex=$(ef,"shadowRoot"),ek=$(ef,"attributes"),eS=p&&p.prototype?$(p.prototype,"nodeType"):null,eA=p&&p.prototype?$(p.prototype,"nodeName"):null;if("function"==typeof h){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eT="",eM=!1,ez=0,eE=function(){if(ez>0)throw D('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},e_=function(e){eE(),ez++;try{return t.createHTML(e)}finally{ez--}},eC=function(e){eE(),ez++;try{return t.createScriptURL(e)}finally{ez--}},eO=o,eN=eO.implementation,eR=eO.createNodeIterator,eD=eO.createDocumentFragment,eI=eO.getElementsByTagName,eP=s.importNode,eL=ed();i.isSupported="function"==typeof a&&"function"==typeof ew&&eN&&void 0!==eN.createHTMLDocument;let e$=et,ej=null,eB=P({},[...j,...B,...F,...q,...U]),eF=null,eW=P({},[...V,...Y,...G,...Z]),eq=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eH=null,eU=null,eV=Object.seal(d(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eY=!0,eG=!0,eZ=!1,eJ=!0,eX=!1,eK=!0,eQ=!1,e0=!1,e1=null,e4=null,e5=!1,e6=!1,e3=!1,e2=!1,e7=!0,e8=!1,e9="user-content-",te=!0,tt=!1,tr={},tn=null,ta=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ti=null,to=P({},["audio","video","img","source","image","track"]),ts=null,tl=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tu="http://www.w3.org/1998/Math/MathML",tc="http://www.w3.org/2000/svg",td="http://www.w3.org/1999/xhtml",th=td,tp=!1,tm=null,tf=P({},[tu,tc,td],k),tg=u(["mi","mo","mn","ms","mtext"]),ty=P({},tg),tb=u(["annotation-xml"]),tv=P({},tb),tw=P({},["title","style","font","a","script"]),tx=null,tk=["application/xhtml+xml","text/html"],tS=null,tA=null,tT=o.createElement("form"),tM=function(e){return e instanceof RegExp||e instanceof Function},tz=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tA&&tA===e)return;e&&"object"==typeof e||(e={}),e=L(e),tS="application/xhtml+xml"===(tx=-1===tk.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?k:x,ej=eh(e,"ALLOWED_TAGS",eB,{transform:tS}),eF=eh(e,"ALLOWED_ATTR",eW,{transform:tS}),tm=eh(e,"ALLOWED_NAMESPACES",tf,{transform:k}),ts=eh(e,"ADD_URI_SAFE_ATTR",tl,{transform:tS,base:tl}),ti=eh(e,"ADD_DATA_URI_TAGS",to,{transform:tS,base:to}),tn=eh(e,"FORBID_CONTENTS",ta,{transform:tS}),eH=eh(e,"FORBID_TAGS",L({}),{transform:tS}),eU=eh(e,"FORBID_ATTR",L({}),{transform:tS}),tr=!!O(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?L(e.USE_PROFILES):e.USE_PROFILES),eY=!1!==e.ALLOW_ARIA_ATTR,eG=!1!==e.ALLOW_DATA_ATTR,eZ=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eJ=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eX=e.SAFE_FOR_TEMPLATES||!1,eK=!1!==e.SAFE_FOR_XML,eQ=e.WHOLE_DOCUMENT||!1,e6=e.RETURN_DOM||!1,e3=e.RETURN_DOM_FRAGMENT||!1,e2=e.RETURN_TRUSTED_TYPE||!1,e5=e.FORCE_BODY||!1,e7=!1!==e.SANITIZE_DOM,e8=e.SANITIZE_NAMED_PROPS||!1,te=!1!==e.KEEP_CONTENT,tt=e.IN_PLACE||!1,e$=!function(e){try{return R(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?et:e.ALLOWED_URI_REGEXP,th="string"==typeof e.NAMESPACE?e.NAMESPACE:td,ty=O(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?L(e.MATHML_TEXT_INTEGRATION_POINTS):P({},tg),tv=O(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?L(e.HTML_INTEGRATION_POINTS):P({},tb);let n=O(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?L(e.CUSTOM_ELEMENT_HANDLING):d(null);if(eq=d(null),O(n,"tagNameCheck")&&tM(n.tagNameCheck)&&(eq.tagNameCheck=n.tagNameCheck),O(n,"attributeNameCheck")&&tM(n.attributeNameCheck)&&(eq.attributeNameCheck=n.attributeNameCheck),O(n,"allowCustomizedBuiltInElements")&&"boolean"==typeof n.allowCustomizedBuiltInElements&&(eq.allowCustomizedBuiltInElements=n.allowCustomizedBuiltInElements),c(eq),eX&&(eG=!1),e3&&(e6=!0),tr&&(ej=P({},U),eF=d(null),!0===tr.html&&(P(ej,j),P(eF,V)),!0===tr.svg&&(P(ej,B),P(eF,Y),P(eF,Z)),!0===tr.svgFilters&&
2(P(ej,F),P(eF,Y),P(eF,Z)),!0===tr.mathMl&&(P(ej,q),P(eF,G),P(eF,Z))),eV.tagCheck=null,eV.attributeCheck=null,O(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eV.tagCheck=e.ADD_TAGS:w(e.ADD_TAGS)&&(ej===eB&&(ej=L(ej)),P(ej,e.ADD_TAGS,tS))),O(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eV.attributeCheck=e.ADD_ATTR:w(e.ADD_ATTR)&&(eF===eW&&(eF=L(eF)),P(eF,e.ADD_ATTR,tS))),O(e,"ADD_URI_SAFE_ATTR")&&w(e.ADD_URI_SAFE_ATTR)&&P(ts,e.ADD_URI_SAFE_ATTR,tS),O(e,"FORBID_CONTENTS")&&w(e.FORBID_CONTENTS)&&(tn===ta&&(tn=L(tn)),P(tn,e.FORBID_CONTENTS,tS)),O(e,"ADD_FORBID_CONTENTS")&&w(e.ADD_FORBID_CONTENTS)&&(tn===ta&&(tn=L(tn)),P(tn,e.ADD_FORBID_CONTENTS,tS)),te&&(ej["#text"]=!0),eQ&&P(ej,["html","head","body"]),ej.table&&(P(ej,["tbody"]),delete eH.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=t;t=e.TRUSTED_TYPES_POLICY;try{eT=e_("")}catch(e){throw t=r,e}}else null===e.TRUSTED_TYPES_POLICY?(t=void 0,eT=""):(void 0===t&&(eM||(r=ec(em,l),eM=!0),t=r),t&&"string"==typeof eT&&(eT=e_("")));u&&u(e),tA=e},tE=P({},[...B,...F,...W]),t_=P({},[...q,...H]),tC=function(e){var t,r,n;let a=ew(e);a&&a.tagName||(a={namespaceURI:th,tagName:"template"});let i=x(e.tagName),o=x(a.tagName);return!!tm[e.namespaceURI]&&(e.namespaceURI===tc?(t=a).namespaceURI===td?"svg"===i:t.namespaceURI===tu?"svg"===i&&("annotation-xml"===o||ty[o]):!!tE[i]:e.namespaceURI===tu?(r=a).namespaceURI===td?"math"===i:r.namespaceURI===tc?"math"===i&&tv[o]:!!t_[i]:e.namespaceURI===td?((n=a).namespaceURI!==tc||!!tv[o])&&(n.namespaceURI!==tu||!!ty[o])&&!t_[i]&&(tw[i]||!tE[i]):"application/xhtml+xml"===tx&&!!tm[e.namespaceURI])},tO=function(e){b(i.removed,{element:e});try{ew(e).removeChild(e)}catch(t){if(ey(e),!ew(e))throw D("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tN=function(e){let t=ev(e);if(t){let e=[];f(t,t=>{b(e,t)}),f(e,e=>{try{ey(e)}catch(e){}})}let r=ek(e);if(r)for(let t=r.length-1;t>=0;--t){let n=r[t],a=n&&n.name;if("string"==typeof a)try{e.removeAttribute(a)}catch(e){}}},tR=function(e,t){try{b(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e6||e3)try{tO(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tD=function(e){let t=ek(e);if(t)for(let r=t.length-1;r>=0;--r){let n=t[r],a=n&&n.name;if("string"==typeof a&&!eF[tS(a)])try{e.removeAttribute(a)}catch(e){}}},tI=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(eS?eS(e):e.nodeType)===1&&tD(e);let r=ev(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},tP=function(e){let r=null,n=null;if(e5)e="<remove></remove>"+e;else{let t=S(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===tx&&th===td&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let a=t?e_(e):e;if(th===td)try{r=new ep().parseFromString(a,tx)}catch(e){}if(!r||!r.documentElement){r=eN.createDocument(th,"template",null);try{r.documentElement.innerHTML=tp?eT:a}catch(e){}}let i=r.body||r.documentElement;return(e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),th===td)?eI.call(r,eQ?"html":"body")[0]:eQ?r.documentElement:i},tL=function(e){return eR.call(e.ownerDocument||e,e,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT|I.SHOW_PROCESSING_INSTRUCTION|I.SHOW_CDATA_SECTION,null)},t$=function(e){return e=A(e,J," "),e=A(e,X," "),e=A(e,K," ")},tj=function(e){var t;e.normalize();let r=eR.call(e.ownerDocument||e,e,I.SHOW_TEXT|I.SHOW_COMMENT|I.SHOW_CDATA_SECTION|I.SHOW_PROCESSING_INSTRUCTION,null),n=r.nextNode();for(;n;)n.data=t$(n.data),n=r.nextNode();let a=null==(t=e.querySelectorAll)?void 0:t.call(e,"template");a&&f(a,e=>{tF(e.content)&&tj(e.content)})},tB=function(e){let t=eA?eA(e):null;return"string"==typeof t&&"form"===tS(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==ek(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==eS(e)||e.childNodes!==ev(e))},tF=function(e){if(!eS||"object"!=typeof e||null===e)return!1;try{return 11===eS(e)}catch(e){return!1}},tW=function(e){if(!eS||"object"!=typeof e||null===e)return!1;try{return"number"==typeof eS(e)}catch(e){return!1}};function tq(e,t,r){0!==e.length&&f(e,e=>{e.call(i,t,r,tA)})}let tH=function(e,t){if(!eH[t]&&tG(t)&&(eq.tagNameCheck instanceof RegExp&&R(eq.tagNameCheck,t)||eq.tagNameCheck instanceof Function&&eq.tagNameCheck(t)))return!1;if(te&&!tn[t]){let t=ew(e),r=ev(e);
2if(r&&t){let n=r.length;for(let a=n-1;a>=0;--a){let n=tt?r[a]:eg(r[a],!0);t.insertBefore(n,eb(e))}}}return tO(e),!0},tU=function(e){if(tq(eL.beforeSanitizeElements,e,null),tB(e))return tO(e),!0;let t=tS(eA?eA(e):e.nodeName);if(tq(eL.uponSanitizeElement,e,{tagName:t,allowedTags:ej}),eK&&e.hasChildNodes()&&!tW(e.firstElementChild)&&R(eo,e.textContent)&&R(eo,e.innerHTML)||eK&&e.namespaceURI===td&&"style"===t&&tW(e.firstElementChild)||7===e.nodeType||eK&&8===e.nodeType&&R(es,e.data)||0)return tO(e),!0;if(eH[t]||!(eV.tagCheck instanceof Function&&eV.tagCheck(t))&&!ej[t])return tH(e,t);if((eS?eS(e):e.nodeType)===1&&!tC(e)||("noscript"===t||"noembed"===t||"noframes"===t)&&R(el,e.innerHTML))return tO(e),!0;if(eX&&3===e.nodeType){let t=t$(e.textContent);e.textContent!==t&&(b(i.removed,{element:e.cloneNode()}),e.textContent=t)}return tq(eL.afterSanitizeElements,e,null),!1},tV=function(e,t,r){if(eU[t]||e7&&("id"===t||"name"===t)&&(r in o||r in tT))return!1;let n=eF[t]||eV.attributeCheck instanceof Function&&eV.attributeCheck(t,e);if(eG&&R(Q,t));else if(eY&&R(ee,t));else if(n){if(ts[t]);else if(R(e$,A(r,en,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===T(r,"data:")&&ti[e]);else if(eZ&&!R(er,A(r,en,"")));else if(r)return!1}else if(!(tG(e)&&(eq.tagNameCheck instanceof RegExp&&R(eq.tagNameCheck,e)||eq.tagNameCheck instanceof Function&&eq.tagNameCheck(e))&&(eq.attributeNameCheck instanceof RegExp&&R(eq.attributeNameCheck,t)||eq.attributeNameCheck instanceof Function&&eq.attributeNameCheck(t,e))||"is"===t&&eq.allowCustomizedBuiltInElements&&(eq.tagNameCheck instanceof RegExp&&R(eq.tagNameCheck,r)||eq.tagNameCheck instanceof Function&&eq.tagNameCheck(r))))return!1;return!0},tY=P({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tG=function(e){return!tY[x(e)]&&R(ei,e)},tZ=function(e,r,n,a){if(t&&"object"==typeof em&&"function"==typeof em.getAttributeType&&!n)switch(em.getAttributeType(e,r)){case"TrustedHTML":return e_(a);case"TrustedScriptURL":return eC(a)}return a},tJ=function(e,t,r,n){try{r?e.setAttributeNS(r,t,n):e.setAttribute(t,n),tB(e)?tO(e):y(i.removed)}catch(r){tR(t,e)}},tX=function(e){tq(eL.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||tB(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eF,forceKeepAttr:void 0},n=t.length,a=tS(e.nodeName);for(;n--;){let i=t[n],o=i.name,s=i.namespaceURI,l=i.value,u=tS(o),c="value"===o?l:M(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,tq(eL.uponSanitizeAttribute,e,r),c=r.attrValue,e8&&("id"===u||"name"===u)&&0!==T(c,e9)&&(tR(o,e),c=e9+c),eK&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,c)||"attributename"===u&&S(c,"href")){tR(o,e);continue}if(!r.forceKeepAttr){if(!r.keepAttr||!eJ&&R(eu,c)||(eX&&(c=t$(c)),!tV(a,u,c))){tR(o,e);continue}(c=tZ(a,u,s,c))!==l&&tJ(e,o,s,c)}}tq(eL.afterSanitizeAttributes,e,null)},tK=function(e){let t=null,r=tL(e);for(tq(eL.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(tq(eL.uponSanitizeShadowNode,t,null),tU(t),tX(t),tF(t.content)&&tK(t.content),(eS?eS(t):t.nodeType)===1){let e=ex(t);tF(e)&&(tQ(e),tK(e))}tq(eL.afterSanitizeShadowDOM,e,null)},tQ=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){tK(e.shadow);continue}let r=e.node,n=(eS?eS(r):r.nodeType)===1,a=ev(r);if(a)for(let e=a.length-1;e>=0;--e)t.push({node:a[e],shadow:null});if(n){let e=eA?eA(r):null;if("string"==typeof e&&"template"===tS(e)){let e=r.content;tF(e)&&t.push({node:e,shadow:null})}}if(n){let e=ex(r);tF(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return i.sanitize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,o=null,l=null;if((tp=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tW(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return z(e);case"boolean":return E(e);case"bigint":return _?_(e):"0";case"symbol":return C?C(e):"Symbol()";case"undefined":default:return N(e);case"function":case"object":{if(null===e)return N(e);let t=$(e,"toString");if("function"==typeof t){let r=t(e);return"string"==typeof r?r:N(r)}return N(e)}}}(e)))throw D("dirty is not a string, aborting");if(!i.isSupported)return e;e0?(ej=e1,eF=e4):tz(r),(eL.uponSanitizeElement.length>0||eL.uponSanitizeAttribute.length>0)&&(ej=L(ej)),eL.uponSanitizeAttribute.length>0&&(eF=L(eF)),i.removed=[];let u=tt&&"string"!=typeof e&&tW(e);if(u){let t=eA?eA(e):e.nodeName;if("string"==typeof t){let e=tS(t);if(!ej[e]||eH[e])throw D("root node is forbidden and cannot be sanitized in-place")}if(tB(e))throw D("root node is clobbered and cannot be sanitized in-place");try{tQ(e)}catch(t){throw tN(e),t}}else if(tW(e))1===(a=(n=tP("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a),tQ(a);else{if(!e6&&!eX&&!eQ&&-1===e.indexOf("<"))return t&&e2?e_(e):e;if(!(n=tP(e)))return e6?null:e2?eT:""}n&&e5&&tO(n.firstChild);let c=tL(u?e:n);try{for(;o=c.nextNode();)tU(o),tX(o),tF(o.content)&&tK(o.content)}catch(t){throw u&&tN(e),t}if(u)return f(i.removed,e=>{e.element&&tI(e.element)}),eX&&tj(e),e;if(e6){if(eX&&tj(n),e3)for(l=eD.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(eF.shadowroot||eF.shadowrootmode)&&(l=eP.call(s,l,!0)),l}let d=eQ?n.outerHTML:n.innerHTML;return eQ&&ej["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(ea,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">
2\n"+d),eX&&(d=t$(d)),t&&e2?e_(d):d},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tz(e),e0=!0,e1=ej,e4=eF},i.clearConfig=function(){tA=null,e0=!1,e1=null,e4=null,t=r,eT=""},i.isValidAttribute=function(e,t,r){return tA||tz({}),tV(tS(e),tS(t),r)},i.addHook=function(e,t){"function"!=typeof t||O(eL,e)&&b(eL[e],t)},i.removeHook=function(e,t){if(O(eL,e)){if(void 0!==t){let r=g(eL[e],t);return -1===r?void 0:v(eL[e],r,1)[0]}return y(eL[e])}},i.removeHooks=function(e){O(eL,e)&&(eL[e]=[])},i.removeAllHooks=function(){eL=ed()},i}();r.d(t,{A:()=>em})},66900(e,t,r){"use strict";let{slice:n,forEach:a}=[],i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},n=encodeURIComponent(t),a=`${e}=${n}`;if(r.maxAge>0){let e=r.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(e)}`}if(r.domain){if(!i.test(r.domain))throw TypeError("option domain is invalid");a+=`; Domain=${r.domain}`}if(r.path){if(!i.test(r.path))throw TypeError("option path is invalid");a+=`; Path=${r.path}`}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invali
2d");a+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(a+="; HttpOnly"),r.secure&&(a+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"none":a+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return r.partitioned&&(a+="; Partitioned"),a},s={create(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*r*1e3)),n&&(a.domain=n),document.cookie=o(e,t,a)},read(e){let t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var l={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"u">typeof document)return s.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:a,cookieOptions:i}=t;r&&"u">typeof document&&s.create(r,e,n,a,i)}},u={name:"querystring",lookup(e){let t,{lookupQuerystring:r}=e;if("u">typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let n=e.substring(1).split("&");for(let e=0;e<n.length;e++){let a=n[e].indexOf("=");a>0&&n[e].substring(0,a)===r&&(t=n[e].substring(a+1))}}return t}},c={name:"hash",lookup(e){let t,{lookupHash:r,lookupFromHashIndex:n}=e;if("u">typeof window){let{hash:e}=window.location;if(e&&e.length>2){let a=e.substring(1);if(r){let e=a.split("&");for(let n=0;n<e.length;n++){let a=e[n].indexOf("=");a>0&&e[n].substring(0,a)===r&&(t=e[n].substring(a+1))}}if(t)return t;if(!t&&n>-1){let t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;return t["number"==typeof n?n:0]?.replace("/","")}}}return t}};let d=null,h=()=>{if(null!==d)return d;try{if(!(d="u">typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){d=!1}return d};var p={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&h())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&h()&&window.localStorage.setItem(r,e)}};let m=null,f=()=>{if(null!==m)return m;try{if(!(m="u">typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){m=!1}return m};var g={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&f())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&f()&&window.sessionStorage.setItem(r,e)}},y={name:"navigator",lookup(e){let t=[];if("u">typeof navigator){let{languages:e,userLanguage:r,language:n}=navigator;if(e)for(let r=0;r<e.length;r++)t.push(e[r]);r&&t.push(r),n&&t.push(n)}return t.length>0?t:void 0}},b={name:"htmlTag",lookup(e){let t,{htmlTag:r}=e,n=r||("u">typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},v={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("u"<typeof window)return;let r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(r))return r["number"==typeof t?t:0]?.replace("/","")}},w={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,r="u">typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r["number"==typeof t?t+1:1]}};let x=!1;try{document.cookie,x=!0}catch(e){}let k=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];x||k.splice(1,1);class S{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return a.call(n.call(arguments,1
2),t=>{if(t)for(let r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:k,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(l),this.addDetector(u),this.addDetector(p),this.addDetector(g),this.addDetector(y),this.addDetector(b),this.addDetector(v),this.addDetector(w),this.addDetector(c)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let r=this.detectors[e].lookup(this.options);r&&"string"==typeof r&&(r=[r]),r&&(t=t.concat(r))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;!t||this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)})}}S.type="languageDetector",r.d(t,{A:()=>S})},54958(e,t,r){"use strict";let n=e=>"string"==typeof e,a=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},i=e=>null==e?"":String(e),o=/###/g,s=e=>e&&e.includes("###")?e.replace(o,"."):e,l=e=>!e||n(e),u=(e,t,r)=>{let a=n(t)?t.split("."):t,i=0;for(;i<a.length-1;){if(l(e))return{};let t=s(a[i]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return l(e)?{}:{obj:e,k:s(a[i])}},c=(e,t,r)=>{let{obj:n,k:a}=u(e,t,Object);if(void 0!==n||1===t.length){n[a]=r;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=u(e,o,Object);for(;void 0===s.obj&&o.length;)i=`${o[o.length-1]}.${i}`,s=u(e,o=o.slice(0,o.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=r},d=(e,t)=>{let{obj:r,k:n}=u(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},h=(e,t,r)=>{for(let a in t)"__proto__"!==a&&"constructor"!==a&&(Object.prototype.hasOwnProperty.call(e,a)?n(e[a])||e[a]instanceof String||n(t[a])||t[a]instanceof String?r&&(e[a]=t[a]):h(e[a],t[a],r):e[a]=t[a]);return e},p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},m=e=>n(e)?e.replace(/[&<>"'\/]/g,e=>p[e]):e,f=[" ",",","?","!",";"],g=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),y=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),a=e;for(let e=0;e<n.length;){let t;if(!a||"object"!=typeof a)return;let i="";for(let o=e;o<n.length;++o)if(o!==e&&(i+=r),i+=n[o],void 0!==(t=a[i])){if(["string","number","boolean"].includes(typeof t)&&o<n.length-1)continue;e+=o-e+1;break}a=t}return a},b=e=>e?.replace(/_/g,"-"),v={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};var w=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||v,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,a){return a&&!this.debug?null:(e=e.map(e=>n(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g," "):e),n(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{...{prefix:`${this.prefix}:${t}:`},...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}};class x{constructor(){this.observers={}}
2on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}once(e,t){let r=(...n)=>{t(...n),this.off(e,r)};return this.on(e,r),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let a=0;a<n;a++)r(e,...t)})}}class k extends x{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,a={}){let i,o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,s=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;e.includes(".")?i=e.split("."):(i=[e,t],r&&(Array.isArray(r)?i.push(...r):n(r)&&o?i.push(...r.split(o)):i.push(r)));let l=d(this.data,i);return(!l&&!t&&!r&&e.includes(".")&&(e=i[0],t=i[1],r=i.slice(2).join(".")),!l&&s&&n(r))?y(this.data?.[e]?.[t],r,o):l}addResource(e,t,r,n,a={silent:!1}){let i=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,o=[e,t];r&&(o=o.concat(i?r.split(i):r)),e.includes(".")&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),c(this.data,o,n),a.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,a={silent:!1}){for(let a in r)(n(r[a])||Array.isArray(r[a]))&&this.addResource(e,t,a,r[a],{silent:!0});a.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,a,i={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(".")&&(o=e.split("."),n=r,r=t,t=o[1]),this.addNamespaces(t);let s=d(this.data,o)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?h(s,r,a):s={...s,...r},c(this.data,o,s),i.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,a)??t}),t}};let A=Symbol("i18next/PATH_KEY");function T(e,t){let r,n,a,{[A]:i}=e((n=[],(a=Object.create(null)).get=(e,t)=>(r?.revoke?.(),t===A)?n:(n.push(t),(r=Proxy.revocable(e,a)).proxy),Proxy.revocable(Object.create(null),a).proxy)),o=t?.keySeparator??".",s=t?.nsSeparator??":",l=t?.enableSelector==="strict";if(i.length>1&&s){let e=t?.ns,r=l?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(r&&(l?r:r.length>1?r.slice(1):[]).includes(i[0]))return`${i[0]}${s}${i.slice(1).join(o)}`}return i.join(o)}let M=e=>!n(e)&&"boolean"!=typeof e&&"number"!=typeof e;class z extends x{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
2i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.create("translator"),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let n=this.resolve(e,r);if(n?.res===void 0)return!1;let a=M(n.res);return!1!==r.returnObjects||!a}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=r&&e.includes(r),s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let n=f.filter(e=>!t.includes(e)&&!r.includes(e));if(0===n.length)return!0;let a=g.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),i=!a.test(e);if(!i){let t=e.indexOf(r);t>0&&!a.test(e.substring(0,t))&&(i=!0)}return i})(e,r,a);if(o&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n(i)?[i]:i};let o=e.split(r);(r!==a||r===a&&this.options.ns.includes(o[0]))&&(i=o.shift()),e=o.join(a)}return{key:e,namespaces:n(i)?[i]:i}}translate(e,t,r){let a="object"==typeof t?{...t}:t;if("object"!=typeof a&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof a&&(a={...a}),a||(a={}),null==e)return"";"function"==typeof e&&(e=T(e,{...this.options,...a})),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?T(e,{...this.options,...a}):String(e));let i=void 0!==a.returnDetails?a.returnDetails:this.options.returnDetails,o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],a),u=l[l.length-1],c=void 0!==a.nsSeparator?a.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");let d=a.lng||this.language,h=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return h?i?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:`${u}${c}${s}`:i?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:s;let p=this.resolve(e,a),m=p?.res,f=p?.usedKey||s,g=p?.exactUsedKey||s,y=void 0!==a.joinArrays?a.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==a.count&&!n(a.count),w=z.hasDefaultValue(a),x=v?this.pluralResolver.getSuffix(d,a.count,a):"",k=a.ordinal&&v?this.pluralResolver.getSuffix(d,a.count,{ordinal:!1}):"",S=v&&!a.ordinal&&0===a.count,A=S&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${x}`]||a[`defaultValue${k}`]||a.defaultValue,E=m;b&&!m&&w&&(E=A);let _=M(E),C=Object.prototype.toString.apply(E);if(b&&E&&_&&!["[object Number]","[object Function]","[object RegExp]"].includes(C)&&!(n(y)&&Array.isArray(E))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,E,{...a,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(p.res=e,p.usedParams=this.getUsedParamsDetails(a),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},r=e?g:f;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let n=`${r}${o}${e}`;w&&!m?t[e]=this.translate(n,{...a,defaultValue:M(A)?A[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(n,{...a,joinArrays:!1,ns:l}),t[e]===n&&(t[e]=E[e])}m=t}}else if(b&&n(y)&&Array.isArray(m))(m=m.join(y))&&(m=this.extendTranslation(m,e,a,r));else{let t=!1,n=!1;!this.isValidLookup(m)&&w&&(t=!0,m=A),this.isValidLookup(m)||(n=!0,m=s);let i=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,l=w&&A!==m&&this.options.updateMissing;if(n||t||l){if(this.logger.log(l?"updateKey":"missingKey",d,u,v&&!l?`${s}${this.pluralResolver.getSuffix(d,a.count,a)}`:s,l?A:m),o){let e=this.resolve(s,{...a,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(a.lng||this.language):e.push(a.lng||this.language);let r=(e,t,r)=>{let n=w&&r!==m?r:i;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,n,l,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,n,l,a),this.emit
2("missingKey",e,u,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,a);S&&a[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],s+t,a[`defaultValue${t}`]||A)})}):r(e,s,A))}m=this.extendTranslation(m,e,a,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${u}${c}${s}`),(n||t)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,t?m:void 0,a))}return i?(p.res=m,p.usedParams=this.getUsedParamsDetails(a),p):m}extendTranslation(e,t,r,a,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){let o;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let s=n(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let l=r.replace&&!n(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||a.usedLng,r),s){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let o=r.postProcess||this.options.postProcess,s=n(o)?[o]:o;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=S.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,a,i,o,s;return n(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?T(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(r))return;let l=this.extractFromKey(e,t),u=l.key;a=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=void 0!==t.count&&!n(t.count),h=d&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(n(t.context)||"number"==typeof t.context)&&""!==t.context,m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);
2c.forEach(e=>{this.isValidLookup(r)||(s=e,!this.checkedLoadedFor[`${m[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(this.checkedLoadedFor[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${a}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(n=>{let a;if(this.isValidLookup(r))return;o=n;let s=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,u,n,e,t);else{let e;d&&(e=this.pluralResolver.getSuffix(n,t.count,t));let r=`${this.options.pluralSeparator}zero`,a=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&e.startsWith(a)&&s.push(u+e.replace(a,this.options.pluralSeparator)),s.push(u+e),h&&s.push(u+r)),p){let n=`${u}${this.options.contextSeparator||"_"}${t.context}`;s.push(n),d&&(t.ordinal&&e.startsWith(a)&&s.push(n+e.replace(a,this.options.pluralSeparator)),s.push(n+e),h&&s.push(n+r))}}for(;a=s.pop();)this.isValidLookup(r)||(i=a,r=this.getResource(n,e,a,t))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){let t=e.replace&&!n(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith("defaultValue")&&void 0!==e[t])return!0;return!1}}class E{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}getScriptPartFromCode(e){if(!(e=b(e))||!e.includes("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=b(e))||!e.includes("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(n(e)&&e.includes("-")){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n||(!!e.includes("-")||!!n.includes("-"))&&!!(e.includes("-")&&!n.includes("-")&&e.slice(0,e.indexOf("-"))===n||e.startsWith(n)&&n.length>1))}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),n(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),a=[],i=e=>{e&&(this.isSupportedCode(e)?a.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return n(e)&&(e.includes("-")||e.includes("_"))?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):n(e)&&i(this.formatLanguageCode(e)),r.forEach(e
2=>{a.includes(e)||i(this.formatLanguageCode(e))}),a}}let _={zero:0,one:1,two:2,few:3,many:4,other:5},C={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class O{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,n=b("dev"===e?"en":e),a=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];try{r=new Intl.PluralRules(n,{type:a})}catch(a){if("u"<typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),C;if(!e.match(/-|_/))return C;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[i]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>_[e]-_[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let N=(e,t,r,a=".",i=!0)=>{let o,s=void 0!==(o=d(e,r))?o:d(t,r);return!s&&i&&n(r)&&void 0===(s=y(e,r,a))&&(s=y(t,r,a)),s};class R{constructor(e={}){this.logger=w.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:a,prefixEscaped:i,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:p,nestingSuffixEscaped:f,nestingOptionsSeparator:g,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:m,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):i||"{{",this.suffix=o?o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c?c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):"-",this.unescapeSuffix=this.unescapePrefix?"":u?u.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):h||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=p?p.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=g||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,r,a){let o,s,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let n=N(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,{...a,...t,interpolationkey:e}):n}let n=e.split(this.formatSeparator),i=n.shift().trim(),o=n.join(this.formatSeparator).trim();return this.format(N(t,u,i,this.options.keySeparator,this.options.ignoreJSONStructure),o,r,{...a,...t,interpolationkey:i})};this.resetRegExp(),!this.escapeValue&&"string"==typeof e&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.");let d=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,h=a?.interpolation?.ski
2pOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;o=t.regex.exec(e);){let r=o[1].trim();if(void 0===(s=c(r)))if("function"==typeof d){let t=d(e,o,a);s=n(t)?t:""}else if(a&&Object.prototype.hasOwnProperty.call(a,r))s="";else if(h){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),s="";else n(s)||this.useRawValueToEscape||(s=i(s));let u=t.safeValue(s);if(e=e.replace(o[0],u),h?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,r={}){let a,o,s,l=(e,t)=>{let r=this.nestingOptionsSeparator;if(!e.includes(r))return e;let n=e.split(RegExp(`${r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}[ ]*{`)),a=`{${n[1]}`;e=n[0];let i=(a=this.interpolate(a,s)).match(/'/g),o=a.match(/"/g);((i?.length??0)%2!=0||o)&&(o?.length??0)%2==0||(a=a.replace(/'/g,'"'));try{s=JSON.parse(a),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${a}`}return s.defaultValue&&s.defaultValue.includes(this.prefix)&&delete s.defaultValue,e};for(;a=this.nestingRegexp.exec(e);){let u=[];(s=(s={...r}).replace&&!n(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let c=/{.*}/.test(a[1])?a[1].lastIndexOf("}")+1:a[1].indexOf(this.formatSeparator);if(-1!==c&&(u=a[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),a[1]=a[1].slice(0,c)),(o=t(l.call(this,a[1].trim(),s),s))&&a[0]===e&&!n(o))return o;n(o)||(o=i(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`),o=""),u.length&&(o=u.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),e=e.replace(a[0],o),this.regexp.lastIndex=0}return e}}let D=e=>{let t={};return(r,n,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});let o=n+JSON.stringify(i),s=t[o];return s||(s=e(b(n),a),t[o]=s),s(r)}},I=e=>(t,r,n)=>e(b(r),n)(t);class P{constructor(e={}){this.logger=w.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?D:I;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=D(t)}format(e,t,r,n={}){if(!t||null==e)return e;let a=t.split(this.formatSeparator),i=[];for(let e=0;e<a.length;e++){let t=a[e];for(;t.indexOf("(")>-1&&!t.includes(")")&&e+1<a.length;)t=`${t}${this.formatSeparator}${a[++e]}`;i.push(t)}return i.reduce((e,t)=>{let{formatName:a,formatOptions:i}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.includes("(")){let n=e.split("(");t=n[0].toLowerCase().trim();let a=n[1].slice(0,-1);"currency"!==t||a.includes(":")?"relativetime"!==t||a.includes(":")?a.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),a=n.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();r[i]||(r[i]=a),"false"===a&&(r[i]=!1),"true"===a&&(r[i]=!0),isNaN(a)||(r[i]=parseInt(a,10))}}):r.range||(r.range=a.trim()):r.currency||(r.currency=a.trim())}return{formatName:t,formatOptions:r}})(t);if(this.formats[a]){let t=e;try{let o=n?.formatParams?.[n.interpolationkey]||{},s=o.locale||o.lng||n.locale||n.lng||r;t=this.formats[a](e,s,{...i,...n,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class L extends x{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let a={},i={},o={},s={};
2return e.forEach(e=>{let n=!0;t.forEach(t=>{let o=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===i[o]&&(i[o]=!0):(this.state[o]=1,n=!1,void 0===i[o]&&(i[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(o[e]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),a=n[0],i=n[1];t&&this.emit("failedLoading",a,i,t),!t&&r&&this.store.addResourceBundle(a,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let o={};this.queue.forEach(r=>{((e,t,r,n)=>{let{obj:a,k:i}=u(e,t,Object);a[i]=a[i]||[],a[i].push(r)})(r.loaded,[a],i),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{o[e]||(o[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,a=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:a,callback:i});this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&n<this.maxRetries?setTimeout(()=>{this.read(e,t,r,n+1,2*a,i)},a):i(o,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>o(null,e)).catch(o):o(null,r)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,r={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();n(e)&&(e=this.languageUtils.toResolveHierarchy(e)),n(t)&&(t=[t]);let i=this.queueLoad(e,t,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),n=r[0],a=r[1];this.read(n,a,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,r),!r&&i&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,i),this.loaded(e,r,i)})}saveMissing(e,t,r,n,a,i={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend?.create){let s={...i,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;(a=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof a.then?a.then(e=>o(null,e)).catch(o):o(null,a)}catch(e){o(e)}else l(e,t,r,n,o,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let $=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),n(e[1])&&(t.defaultValue=e[1]),n(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];
2Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),j=e=>(n(e.ns)&&(e.ns=[e.ns]),n(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),n(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),B=()=>{};class F extends x{constructor(e={},t){if(super(),this.options=j(e),this.services={},this.logger=w,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(n(e.ns)?e.defaultNS=e.ns:e.ns.includes("translation")||(e.defaultNS=e.ns[0]));let r=$();this.options={...r,...this.options,...j(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation}
2,void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);let i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?w.init(i(this.modules.logger),this.options):w.init(null,this.options),e=this.modules.formatter?this.modules.formatter:P;let t=new E(this.options);this.store=new k(this.options.resources,this.options);let r=this.services;r.logger=w,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new O(t,{prepend:this.options.pluralSeparator}),e&&(r.formatter=i(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new R(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new L(i(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=i(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=i(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new z(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=B),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let o=a(),s=()=>{let e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(r),t(e,r)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),o}loadResources(e,t=B){let r=t,a=n(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&(e.includes(t)||e.push(t))})};a?t(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=a();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=B),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!["cimode","dev"].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!["cimode","dev"].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=a();
2this.emit("languageChanging",e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(n,a)=>{a?this.isLanguageChangingTo===e&&(i(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(n,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);let r=n(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(n(t)?[t]:t);a&&(this.language||i(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{o(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}getFixedT(e,t,r,a){let i=a?.scopeNs,o=(e,t,...n)=>{let a,s;(a="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(n)):{...t}).lng=a.lng||o.lng,a.lngs=a.lngs||o.lngs;let l=void 0!==a.ns&&null!==a.ns;a.ns=a.ns||o.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||r||o.keyPrefix);let u={...this.options,...a};Array.isArray(i)&&!l&&(u.ns=i),"function"==typeof a.keyPrefix&&(a.keyPrefix=T(a.keyPrefix,u));let c=this.options.keySeparator||".";return a.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=T(e,u)),`${a.keyPrefix}${c}${e}`)):("function"==typeof e&&(e=T(e,u)),s=a.keyPrefix?`${a.keyPrefix}${c}${e}`:e),this.t(s,a)};return n(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
2if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let i=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,i);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!n||i(a,e)))}loadNamespaces(e,t){let r=a();return this.options.ns?(n(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=a();n(e)&&(e=[e]);let i=this.options.preload||[],o=e.filter(e=>!i.includes(e)&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=i.concat(o),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new E($());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].includes(t.getLanguagePartFromCode(e))||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let r=new F(e,t);return r.createInstance=F.createInstance,r}cloneInstance(e={},t=B){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},a=new F(n);if((void 0!==e.debug||void 0!==e.prefix)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new k(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{}),n),a.services.resourceStore=a.store),e.interpolation){let t={...$().interpolation,...this.options.interpolation,...e.interpolation},r={...n,interpolation:t};a.services.interpolator=new R(r)}return a.translator=new z(a.services,n),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(n,t),a.translator.options=n,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let W=F.createInstance();W.createInstance,W.dir,W.init,W.loadResources,W.reloadResources,W.use,W.changeLanguage,W.getFixedT;let q=W.t;W.exists,W.setDefaultNamespace,W.hasLoadedNamespace,W.loadNamespaces,W.loadLanguages,r.d(t,{},{Ay:W,t:q})},85569(e,t,r){"use strict";class n extends Error{constructor(e,t){var r="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var i,o,s=a.lexer.input;i=a.start,o=a.end,i===s.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=s.slice(i,o).replace(/[^]/g,"$&̲");r+=(i>15?"…"+s.slice(i-15,i):s.slice(0,i))+l+(o+15<s.length?s.slice(o,o+15)+"…":s.slice(o))}super(r),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,n.prototype),this.position=i,null!=i&&null!=o&&(this.length=o-i),this.rawMessage=e}}var a,i,o,s=/([A-Z])/g,l=e=>e.replace(s,"-$1").toLowerCase(),u={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},c=/[&><"']/g,d=e=>String(e).replace(c,e=>u[e]),h=e=>{if("ordgroup"===e.type||"color"===e.type)if(1===e.body.length)return h(e.body[0]);else return e;return"font"===e.type?h(e.body):e},p=new Set(["mathord","textord","atom"]),m=e=>p.has(h(e).type),f={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>
2(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};class g{constructor(e){for(var t of(void 0===e&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},Object.keys(f))){var r=f[t];r&&function(e,t,r,n){var a=r[t];e[t]=void 0!==a?n.processor?n.processor(a):a:function(e){if(void 0!==e.default)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;if("string"!=typeof t)return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw Error("Unexpected schema type; settings must declare an explicit default.")}}(n)}(this,t,e,r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new n("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" [")+e+"]",r);"warn"===a?"u">typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" [")+e+"]"):"u">typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" [")+e+"]")}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!!n&&"ignore"!==n&&(!0===n||"error"===n||("warn"===n?("u">typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" [")+e+"]"),!1):("u">typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" [")+e+"]"),!1)))}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t,r,n=(t=e.url,(r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t))?":"===r[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?r[1].toLowerCase():null:"_relative");if(null==n)return!1;e.protocol=n}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class y{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return b[v[this.id]]}sub(){return b[w[this.id]]}fracNum(){return b[x[this.id]]}fracDen(){return b[k[this.id]]}cramp(){return b[S[this.id]]}text(){return b[A[this.id]]}isTight(){return this.size>=2}}var b=[new y(0,0,!1),new y(1,0,!0),new y(2,1,!1),new y(3,1,!0),new y(4,2,!1),new y(5,2,!0),new y(6,3,!1),new y(7,3,!0)],v=[4,5,4,5,6,7,6,7],w=[5,5,5,5,7,7,7,7],x=[2,3,4,5,6,7,6,7],k=[3,3,5,5,7,7,7,7],S=[1,1,3,3,5,5,7,7],A=[0,1,2,3,2,3,2,3],T={DISPLAY:b[0],TEXT:b[2],SCRIPT:b[4],SCRIPTSCRIPT:b[6]},M=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],z=[];function E(e){for(var t=0;t<z.length;t+=2)if(e>
2=z[t]&&e<=z[t+1])return!0;return!1}M.forEach(e=>e.blocks.forEach(e=>z.push(...e)));var _=function(e,t,r){t*=1e3;var n,a,i,o,s,l,u="";switch(e){case"sqrtMain":u="M95,"+(622+(n=t)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+n/2.075+" -"+n+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+n)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+n)+" 80h400000v"+(40+n)+"h-400000z";break;case"sqrtSize1":u="M263,"+(601+(a=t)+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+a/2.084+" -"+a+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+a)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+a)+" 80h400000v"+(40+a)+"h-400000z";break;case"sqrtSize2":u="M983 "+(10+(i=t)+80)+"\nl"+i/3.13+" -"+i+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+i)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+i)+" 80h400000v"+(40+i)+"h-400000z";break;case"sqrtSize3":u="M424,"+(2398+(o=t)+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+o/4.223+" -"+o+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+o)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+o)+" 80\nh400000v"+(40+o)+"h-400000z";break;case"sqrtSize4":u="M473,"+(2713+(s=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+s/5.298+" -"+s+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+s)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+s)+" 80h400000v"+(40+s)+"H1017.7z";break;case"sqrtTall":u="M702 "+((l=t)+80)+"H400000"+(40+l)+"\nH742v"+(r-54-80-l)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+l)+"H742z"}return u},C=function(e,t){switch(e){case"⎜":let r;return(r="M291 0 H417 V"+t+" H291z")+" "+r;case"∣":let n;return(n="M145 0 H188 V"+t+" H145z")+" "+n;case"∥":let a,i;return(a="M145 0 H188 V"+t+" H145z")+" "+a+((i="M367 0 H410 V"+t+" H367z")+" ")+i;case"⎟":let o;return(o="M457 0 H583 V"+t+" H457z")+" "+o;case"⎢":let s;return(s="M319 0 H403 V"+t+" H319z")+" "+s;case"⎥":let l;return(l="M263 0 H347 V"+t+" H263z")+" "+l;case"⎪":let u;return(u="M384 0 H504 V"+t+" H384z")+" "+u;case"⏐":let c;return(c="M312 0 H355 V"+t+" H312z")+" "+c;case"‖":let d,h;return(d="M257 0 H300 V"+t+" H257z")+" "+d+((h="M478 0 H521 V"+t+" H478z")+" ")+h;default:return""}},O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 
211s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z",leftbracketunder:"M0 0 h120 V290 H399995 v120 H0z M0 0 h120 V290 H399995 v120 H0z",leftbracketover:"M0 440 h120 V150 H399995 v-120 H0z M0 440 h120 V150 H399995 v-120 H0z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 
21.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightbracketunder:"M399995 0 h-120 V290 H0 v120 H400000z M399995 0 h-120 V290 H0 v120 H400000z",rightbracketover:"M399995 440 h-120 V150 H0 v-120 H399995z M399995 440 h-120 V150 H0 v-120 H399995
vendor: 6,649 bytes, line 2
2z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},
2N=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 v84 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw Error("Unknown stretchy delimiter.")}};class R{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if("toText"in e)return e.toText();throw Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var D={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},I={ex:!0,em:!0,mu:!0},P=function(e){return"string"!=typeof e&&(e=e.unit),e in D||e in I||"ex"===e},L=function(e,t){var r,a;if(e.unit in D)r=D[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else if("em"===e.unit)r=a.fontMetrics().quad;else throw new n("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},$=function(e){return+e.toFixed(4)+"em"},j=function(e){return e.filter(e=>e).join(" ")},B=function(e){var t="";for(var r of Object.keys(e)){var n=e[r];void 0!==n&&(t+=l(r)+":"+n+";")}return t},F=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},W=function(e){var t=document.createElement(e);for(var r of(t.className=j(this.classes),Object.assign(t.style,this.style),Object.keys(this.attributes)))t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},q=/[\s"'>/=\x00-\x1f]/,H=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+d(j(this.classes))+'"');var r=B(this.style);for(var a of(r&&(t+=' style="'+d(r)+'"'),Object.keys(this.attributes))){if(q.test(a))throw new n("Invalid attribute name '"+a+"'");t+=" "+a+'="'+d(this.attributes[a])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+("</"+e+">")};class U{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,F.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return W.call(this,"span")}toMarkup(){return H.call(this,"span")}}class V{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,F.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return W.call(this,"a")}toMarkup(){return H.call(this,"a")}}class Y{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");return e.src=this.src,e.alt=this.alt,e.className="mord",Object.assign(e.style,this.style),e}toMarkup(){var e='<img src="'+d(this.src)+'" alt="'+d(this.alt)+'"',t=B(this.style);return t&&(e+=' style="'+d(t)+'"'),e+="'/>"}}var G={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Z{constructor(e,t,r,n,a,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||
20,this.skew=a||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<M.length;t++)for(var r=M[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=G[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return(this.italic>0&&((t=document.createElement("span")).style.marginRight=$(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=j(this.classes)),Object.keys(this.style).length>0&&Object.assign((t=t||document.createElement("span")).style,this.style),t)?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=d(j(this.classes)),t+='"');var r="";this.italic>0&&(r+="margin-right:"+$(this.italic)+";"),(r+=B(this.style))&&(e=!0,t+=' style="'+d(r)+'"');var n=d(this.text);return e?(t+=">",t+=n,t+="</span>"):n}}class J{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+d(this.attributes[t])+'"';e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+"</svg>"}}class X{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",O[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+d(this.alternate)+'"/>':'<path d="'+d(O[this.pathName])+'"/>'}}class K{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+d(this.attributes[t])+'"';return e+"/>"}}var Q
vendor: 57,629 bytes, line 2
2={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},
2ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},et={Å:"A",Ð:"D",Þ:"o",Ã¥:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Ð¥:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function er(e,t,r){if(!Q[t])throw Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=Q[t][n];if(!a&&e[0]in et&&(n=et[e[0]].charCodeAt(0),a=Q[t][n]),!a&&"text"===r&&E(n)&&(a=Q[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var en={},ea={math:{},text:{}};function ei(e,t,r,n,a,i){ea[e][a]={font:t,group:r,replace:n},i&&n&&(ea[e][n]=ea[e][a])}var eo="math",es="text",el="main",eu="accent-token",ec="close",ed="inner",eh="mathord",ep="op-token",em="open",ef="punct",eg="spacing",ey="textord";ei(eo,el,"rel","≡","\\equiv",!0),ei(eo,el,"rel","≺","\\prec",!0),ei(eo,el,"rel","≻","\\succ",!0),ei(eo,el,"rel","∼","\\sim",!0),ei(eo,el,"rel","⊥","\\perp"),ei(eo,el,"rel","⪯","\\preceq",!0),ei(eo,el,"rel","⪰","\\succeq",!0),ei(eo,el,"rel","≃","\\simeq",!0),ei(eo,el,"rel","∣","\\mid",!0),ei(eo,el,"rel","≪","\\ll",!0),ei(eo,el,"rel","≫","\\gg",!0),ei(eo,el,"rel","≍","\\asymp",!0),ei(eo,el,"rel","∥","\\parallel"),ei(eo,el,"rel","⋈","\\bowtie",!0),ei(eo,el,"rel","⌣","\\smile",!0),ei(eo,el,"rel","⊑","\\sqsubseteq",!0),ei(eo,el,"rel","⊒","\\sqsupseteq",!0),ei(eo,el,"rel","≐","\\doteq",!0),ei(eo,el,"rel","⌢","\\frown",!0),ei(eo,el,"rel","∋","\\ni",!0),ei(eo,el,"rel","∝","\\propto",!0),ei(eo,el,"rel","⊢","\\vdash",!0),ei(eo,el,"rel","⊣","\\dashv",!0),ei(eo,el,"rel","∋","\\owns"),ei(eo,el,ef,".","\\ldotp"),ei(eo,el,ef,"⋅","\\cdotp"),ei(eo,el,ef,"⋅","·"),ei(es,el,ey,"⋅","·"),ei(eo,el,ey,"#","\\#"),ei(es,el,ey,"#","\\#"),ei(eo,el,ey,"&","\\&"),ei(es,el,ey,"&","\\&"),ei(eo,el,ey,"ℵ","\\aleph",!0),ei(eo,el,ey,"∀","\\forall",!0),ei(eo,el,ey,"ℏ","\\hbar",!0),ei(eo,el,ey,"∃","\\exists",!0),ei(eo,el,ey,"∇","\\nabla",!0),ei(eo,el,ey,"♭","\\flat",!0),ei(eo,el,ey,"ℓ","\\ell",!0),ei(eo,el,ey,"♮","\\natural",!0),ei(eo,el,ey,"♣","\\clubsuit",!0),ei(eo,el,ey,"℘","\\wp",!0),ei(eo,el,ey,"♯","\\sharp",!0),ei(eo,el,ey,"♢","\\diamondsuit",!0),ei(eo,el,ey,"ℜ","\\Re",!0),ei(eo,el,ey,"♡","\\heartsuit",!0),ei(eo,el,ey,"ℑ","\\Im",!0),ei(eo,el,ey,"♠","\\spadesuit",!0),ei(eo,el,ey,"§","\\S",!0),ei(es,el,ey,"§","\\S"),ei(eo,el,ey,"¶","\\P",!0),ei(es,el,ey,"¶","\\P"),ei(eo,el,ey,"†","\\dag"),ei(es,el,ey,"†","\\dag"),ei(es,el,ey,"†","\\textdagger"),ei(eo,el,ey,"‡","\\ddag"),ei(es,el,ey,"‡","\\ddag"),ei(es,el,ey,"‡","\\textdaggerdbl"),ei(eo,el,ec,"⎱","\\rmoustache",!0),ei(eo,el,em,"⎰","\\lmoustache",!0),ei(eo,el,ec,"⟯","\\rgroup",!0),ei(eo,el,em,"⟮","\\lgroup",!0),ei(eo,el,"bin","∓","\\mp",!0),ei(eo,el,"bin","⊖","\\ominus",!0),ei(eo,el,"bin","⊎","\\uplus",!0),ei(eo,el,"bin","⊓","\\sqcap",!0),ei(eo,el,"bin","∗","\\ast"),ei(eo,el,"bin","⊔","\\sqcup",!0),ei(eo,el,"bin","◯","\\bigcirc",!0),ei(eo,el,"bin","∙","\\bullet",!0),ei(eo,el,"bin","‡","\\ddagger"),ei(eo,el,"bin","≀","\\wr",!0),ei(eo,el,"bin","⨿","\\amalg"),ei(eo,el,"bin","&","\\And"),ei(eo,el,"rel","⟵","\\longleftarrow",!0),ei(eo,el,"rel","⇐","\\Leftarrow",!0),ei(eo,el,"rel","⟸","\\Longleftarrow",!0),ei(eo,el,"rel","⟶","\\longrightarrow",!0),ei(eo,el,"rel","⇒","\\Rightarrow",!0),ei(eo,el,"rel","⟹","\\Longrightarrow",!0),ei(eo,el,"rel","↔","\\leftrightarrow",!0),ei(eo,el,"rel","⟷","\\longleftrightarrow",!0),ei(eo,el,"rel","⇔","\\Leftrightarrow",!0),ei(eo,el,"rel","⟺","\\Longleftrightarrow",!0),ei(eo,el,"rel","↦","\\mapsto",!0),ei(eo,el,"rel","⟼","\\longmapsto",!0),ei(eo,el,"rel","↗","\\nearrow",!0),ei(eo,el,"rel","↩","\\hookleftarrow",!0),ei(eo,el,"rel","↪","\\hookrightarrow",!0),ei(eo,el,"rel","↘","\\searrow",!0),ei(eo,el,"rel","↼","\\leftharpoonup",!0),ei(eo,el,"rel","⇀","\\rightharpoonup",!0),ei(eo,el,"rel","↙","\\swarrow",!0),ei(eo,el,"rel","↽","\\leftharpoondown",!0),ei(eo,el,"rel","⇁","\\rightharpoondown",!0),ei(eo,el,"rel","↖","\\nwarrow",!0),ei(eo,el,"rel","⇌","\\rightleftharpoons",!0),ei(eo,"ams","rel","≮","\\nless",!0),ei(eo,"ams","rel","","\\@nleqslant"),ei(eo,"ams","rel","","\\@nleqq"),ei(eo,"ams","rel","⪇","\\lneq",!0),ei(eo,"ams","rel","≨","\\lneqq",!0),ei(eo,"ams","rel","î€
2Œ","\\@lvertneqq"),ei(eo,"ams","rel","⋦","\\lnsim",!0),ei(eo,"ams","rel","⪉","\\lnapprox",!0),ei(eo,"ams","rel","⊀","\\nprec",!0),ei(eo,"ams","rel","⋠","\\npreceq",!0),ei(eo,"ams","rel","⋨","\\precnsim",!0),ei(eo,"ams","rel","⪹","\\precnapprox",!0),ei(eo,"ams","rel","≁","\\nsim",!0),ei(eo,"ams","rel","","\\@nshortmid"),ei(eo,"ams","rel","∤","\\nmid",!0),ei(eo,"ams","rel","⊬","\\nvdash",!0),ei(eo,"ams","rel","⊭","\\nvDash",!0),ei(eo,"ams","rel","⋪","\\ntriangleleft"),ei(eo,"ams","rel","⋬","\\ntrianglelefteq",!0),ei(eo,"ams","rel","⊊","\\subsetneq",!0),ei(eo,"ams","rel","","\\@varsubsetneq"),ei(eo,"ams","rel","⫋","\\subsetneqq",!0),ei(eo,"ams","rel","","\\@varsubsetneqq"),ei(eo,"ams","rel","≯","\\ngtr",!0),ei(eo,"ams","rel","","\\@ngeqslant"),ei(eo,"ams","rel","","\\@ngeqq"),ei(eo,"ams","rel","⪈","\\gneq",!0),ei(eo,"ams","rel","≩","\\gneqq",!0),ei(eo,"ams","rel","","\\@gvertneqq"),ei(eo,"ams","rel","⋧","\\gnsim",!0),ei(eo,"ams","rel","⪊","\\gnapprox",!0),ei(eo,"ams","rel","⊁","\\nsucc",!0),ei(eo,"ams","rel","⋡","\\nsucceq",!0),ei(eo,"ams","rel","⋩","\\succnsim",!0),ei(eo,"ams","rel","⪺","\\succnapprox",!0),ei(eo,"ams","rel","≆","\\ncong",!0),ei(eo,"ams","rel","","\\@nshortparallel"),ei(eo,"ams","rel","∦","\\nparallel",!0),ei(eo,"ams","rel","⊯","\\nVDash",!0),ei(eo,"ams","rel","⋫","\\ntriangleright"),ei(eo,"ams","rel","⋭","\\ntrianglerighteq",!0),ei(eo,"ams","rel","","\\@nsupseteqq"),ei(eo,"ams","rel","⊋","\\supsetneq",!0),ei(eo,"ams","rel","","\\@varsupsetneq"),ei(eo,"ams","rel","⫌","\\supsetneqq",!0),ei(eo,"ams","rel","","\\@varsupsetneqq"),ei(eo,"ams","rel","⊮","\\nVdash",!0),ei(eo,"ams","rel","⪵","\\precneqq",!0),ei(eo,"ams","rel","⪶","\\succneqq",!0),ei(eo,"ams","rel","","\\@nsubseteqq"),ei(eo,"ams","bin","⊴","\\unlhd"),ei(eo,"ams","bin","⊵","\\unrhd"),ei(eo,"ams","rel","↚","\\nleftarrow",!0),ei(eo,"ams","rel","↛","\\nrightarrow",!0),ei(eo,"ams","rel","⇍","\\nLeftarrow",!0),ei(eo,"ams","rel","⇏","\\nRightarrow",!0),ei(eo,"ams","rel","↮","\\nleftrightarrow",!0),ei(eo,"ams","rel","⇎","\\nLeftrightarrow",!0),ei(eo,"ams","rel","△","\\vartriangle"),ei(eo,"ams",ey,"ℏ","\\hslash"),ei(eo,"ams",ey,"▽","\\triangledown"),ei(eo,"ams",ey,"◊","\\lozenge"),ei(eo,"ams",ey,"Ⓢ","\\circledS"),ei(eo,"ams",ey,"®","\\circledR"),ei(es,"ams",ey,"®","\\circledR"),ei(eo,"ams",ey,"∡","\\measuredangle",!0),ei(eo,"ams",ey,"∄","\\nexists"),ei(eo,"ams",ey,"℧","\\mho"),ei(eo,"ams",ey,"Ⅎ","\\Finv",!0),ei(eo,"ams",ey,"⅁","\\Game",!0),ei(eo,"ams",ey,"‵","\\backprime"),ei(eo,"ams",ey,"▲","\\blacktriangle"),ei(eo,"ams",ey,"▼","\\blacktriangledown"),ei(eo,"ams",ey,"■","\\blacksquare"),ei(eo,"ams",ey,"â§«","\\blacklozenge"),ei(eo,"ams",ey,"★","\\bigstar"),ei(eo,"ams",ey,"∢","\\sphericalangle",!0),ei(eo,"ams",ey,"∁","\\complement",!0),ei(eo,"ams",ey,"ð","\\eth",!0),ei(es,el,ey,"ð","ð"),ei(eo,"ams",ey,"╱","\\diagup"),ei(eo,"ams",ey,"╲","\\diagdown"),ei(eo,"ams",ey,"□","\\square"),ei(eo,"ams",ey,"□","\\Box"),ei(eo,"ams",ey,"◊","\\Diamond"),ei(eo,"ams",ey,"Â¥","\\yen",!0),ei(es,"ams",ey,"Â¥","\\yen",!0),ei(eo,"ams",ey,"✓","\\checkmark",!0),ei(es,"ams",ey,"✓","\\checkmark"),ei(eo,"ams",ey,"ℶ","\\beth",!0),ei(eo,"ams",ey,"ℸ","\\daleth",!0),ei(eo,"ams",ey,"ℷ","\\gimel",!0),ei(eo,"ams",ey,"ϝ","\\digamma",!0),ei(eo,"ams",ey,"ϰ","\\varkappa"),ei(eo,"ams",em,"┌","\\@ulcorner",!0),ei(eo,"ams",ec,"┐","\\@urcorner",!0),ei(eo,"ams",em,"└","\\@llcorner",!0),ei(eo,"ams",ec,"┘","\\@lrcorner",!0),ei(eo,"ams","rel","≦","\\leqq",!0),ei(eo,"ams","rel","⩽","\\leqslant",!0),ei(eo,"ams","rel","⪕","\\eqslantless",!0),ei(eo,"ams","rel","≲","\\lesssim",!0),ei(eo,"ams","rel","⪅","\\lessapprox",!0),ei(eo,"ams","rel","≊","\\approxeq",!0),ei(eo,"ams","bin","⋖","\\lessdot"),ei(eo,"ams","rel","⋘","\\lll",!0),ei(eo,"ams","rel","≶","\\lessgtr",!0),ei(eo,"ams","rel","⋚","\\lesseqgtr",!0),ei(eo,"ams","rel","⪋","\\lesseqqgtr",!0),ei(eo,"ams","rel","≑","\\doteqdot"),ei(eo,"ams","rel","≓","\\risingdotseq",!0),ei(eo,"ams","rel","≒","\\fallingdotseq",!0),ei(eo,"ams","rel","∽","\\backsim",!0),ei(eo,"ams","rel","⋍","\\backsimeq",!0),ei(eo,"ams","rel","⫅","\\subseteqq",!0),ei(eo,"ams","rel","⋐","\\Subset",!0),ei(eo,"ams","rel","⊏","\\sqsubset",!0),ei(eo,"ams","rel","≼","\\preccurlyeq",!0),ei(eo,"ams","rel","⋞","\\curlyeqprec",!0),ei(eo,"ams","rel","≾","\\precsim",!0),ei(eo,"ams","rel","⪷","\\precapprox",!0),ei(eo,"ams","rel","⊲","\\vartriangleleft"),ei(eo,"ams","rel","⊴","\\trianglelefteq"),ei(eo,"ams","rel","⊨","\\vDash",!0),ei(eo,"ams","rel","⊪","\\Vvdash",!0),ei(eo,"ams","rel","⌣","\\smallsmile"),ei(eo,"ams","rel","⌢","\\smallfrown"),ei(eo,"ams","rel","≏","\\bumpeq",!0),ei(eo,"ams","rel","≎","\\Bumpeq",!0),ei(eo,"ams","rel","≧","\\geqq",!0),ei(eo,"ams","rel","⩾","\\geqslant",!0),ei(eo,"ams","rel","⪖","\\eqslantgtr",!0),ei(eo,"ams","rel","≳","\\gtrsim",!0),ei(eo,"ams","rel","⪆","\\gtrapprox",!0),ei(eo,"ams","bin","⋗","\\gtrdot"),ei(eo,"ams","rel","⋙","\\ggg",!0),ei(eo,"ams","rel","≷","\\gtrless",!0),ei(eo,"ams","rel","⋛","\\gtreqless",!0),ei(eo,"ams","rel","⪌","\\gtreqqless",!0),ei(eo,"ams","rel","≖","\\eqcirc",!0),ei(eo,"ams","rel","≗","\\circeq",!0),ei(eo,"ams","rel","≜","\\triangleq",!0),ei(eo,"ams","rel","∼","\\thicksim"),ei(eo,"ams","rel","≈","\\thickapprox"),ei(eo,"ams","rel","⫆","\\supseteqq",!0),ei(eo,"ams","rel","⋑","\\Supset",!0),ei(eo,"ams","rel","⊐","\\sqsupset",!0),ei(eo,"ams","rel","≽","\\succcurlyeq",!0),ei(eo,"ams","rel","⋟","\\curlyeqsucc",!0),ei(eo,"ams","rel","≿","\\succsim",!0),ei(eo,"ams","rel","⪸","\\succapprox",!0),ei(eo,"ams","rel","⊳","\\vartriangleright"),ei(eo,"ams","rel","⊵","\\trianglerighteq"),ei(eo,"ams","rel","⊩","\\Vdash",!0),ei(eo,"ams","rel","∣","\\shortmid"),ei(eo,"ams","rel","∥","\\shortparallel"),ei(eo,"ams","rel","≬","\\between",!0),ei(eo,"ams","rel","⋔","\\pitchfork",!0),ei(eo,"ams","rel","∝","\\varpropto"),ei(eo,"ams","rel","◀","\\blacktriangleleft"),ei(eo,"ams","rel","∴","\\therefore",!0),ei(eo,"ams","rel","∍","\\backepsilon"),ei(eo,"ams","rel","▶","\\blacktriangleright"),ei(eo,"ams","rel","∵","\\because",!0),ei(eo,"ams","rel","⋘","\\llless"),ei(eo,"ams","rel","⋙","\\gggtr"),ei(eo,"ams","bin","⊲","\\lhd"),ei(eo,"ams","bin","⊳","\\rhd"),ei(eo,"ams","rel","≂","\\eqsim",!0),ei(eo,el,"rel","⋈","\\Join"),ei(eo,"ams","rel","≑","\\Doteq",!0),ei(eo,"ams","bin","∔","\\dotplus",!0),ei(eo,"ams","bin","∖","\\smallsetminus"),ei(eo,"ams","bin","⋒","\\Cap",!0),ei(eo,"ams","bin","⋓","\\Cup",!0),ei(eo,"ams","bin","⩞","\\doublebarwedge",!0),ei(eo,"ams","bin","⊟","\\boxminus",!0),ei(eo,"ams","bin","⊞","\\boxplus",!0),ei(eo,"ams","bin","⋇","\\divi
2deontimes",!0),ei(eo,"ams","bin","⋉","\\ltimes",!0),ei(eo,"ams","bin","⋊","\\rtimes",!0),ei(eo,"ams","bin","⋋","\\leftthreetimes",!0),ei(eo,"ams","bin","⋌","\\rightthreetimes",!0),ei(eo,"ams","bin","⋏","\\curlywedge",!0),ei(eo,"ams","bin","⋎","\\curlyvee",!0),ei(eo,"ams","bin","⊝","\\circleddash",!0),ei(eo,"ams","bin","⊛","\\circledast",!0),ei(eo,"ams","bin","⋅","\\centerdot"),ei(eo,"ams","bin","⊺","\\intercal",!0),ei(eo,"ams","bin","⋒","\\doublecap"),ei(eo,"ams","bin","⋓","\\doublecup"),ei(eo,"ams","bin","⊠","\\boxtimes",!0),ei(eo,"ams","rel","⇢","\\dashrightarrow",!0),ei(eo,"ams","rel","⇠","\\dashleftarrow",!0),ei(eo,"ams","rel","⇇","\\leftleftarrows",!0),ei(eo,"ams","rel","⇆","\\leftrightarrows",!0),ei(eo,"ams","rel","⇚","\\Lleftarrow",!0),ei(eo,"ams","rel","↞","\\twoheadleftarrow",!0),ei(eo,"ams","rel","↢","\\leftarrowtail",!0),ei(eo,"ams","rel","↫","\\looparrowleft",!0),ei(eo,"ams","rel","⇋","\\leftrightharpoons",!0),ei(eo,"ams","rel","↶","\\curvearrowleft",!0),ei(eo,"ams","rel","↺","\\circlearrowleft",!0),ei(eo,"ams","rel","↰","\\Lsh",!0),ei(eo,"ams","rel","⇈","\\upuparrows",!0),ei(eo,"ams","rel","↿","\\upharpoonleft",!0),ei(eo,"ams","rel","⇃","\\downharpoonleft",!0),ei(eo,el,"rel","⊶","\\origof",!0),ei(eo,el,"rel","⊷","\\imageof",!0),ei(eo,"ams","rel","⊸","\\multimap",!0),ei(eo,"ams","rel","↭","\\leftrightsquigarrow",!0),ei(eo,"ams","rel","⇉","\\rightrightarrows",!0),ei(eo,"ams","rel","⇄","\\rightleftarrows",!0),ei(eo,"ams","rel","↠","\\twoheadrightarrow",!0),ei(eo,"ams","rel","↣","\\rightarrowtail",!0),ei(eo,"ams","rel","↬","\\looparrowright",!0),ei(eo,"ams","rel","↷","\\curvearrowright",!0),ei(eo,"ams","rel","↻","\\circlearrowright",!0),ei(eo,"ams","rel","↱","\\Rsh",!0),ei(eo,"ams","rel","⇊","\\downdownarrows",!0),ei(eo,"ams","rel","↾","\\upharpoonright",!0),ei(eo,"ams","rel","⇂","\\downharpoonright",!0),ei(eo,"ams","rel","⇝","\\rightsquigarrow",!0),ei(eo,"ams","rel","⇝","\\leadsto"),ei(eo,"ams","rel","⇛","\\Rrightarrow",!0),ei(eo,"ams","rel","↾","\\restriction"),ei(eo,el,ey,"‘","`"),ei(eo,el,ey,"$","\\$"),ei(es,el,ey,"$","\\$"),ei(es,el,ey,"$","\\textdollar"),ei(eo,el,ey,"%","\\%"),ei(es,el,ey,"%","\\%"),ei(eo,el,ey,"_","\\_"),ei(es,el,ey,"_","\\_"),ei(es,el,ey,"_","\\textunderscore"),ei(eo,el,ey,"∠","\\angle",!0),ei(eo,el,ey,"∞","\\infty",!0),ei(eo,el,ey,"′","\\prime"),ei(eo,el,ey,"△","\\triangle"),ei(eo,el,ey,"Γ","\\Gamma",!0),ei(eo,el,ey,"Δ","\\Delta",!0),ei(eo,el,ey,"Θ","\\Theta",!0),ei(eo,el,ey,"Λ","\\Lambda",!0),ei(eo,el,ey,"Ξ","\\Xi",!0),ei(eo,el,ey,"Π","\\Pi",!0),ei(eo,el,ey,"Σ","\\Sigma",!0),ei(eo,el,ey,"Υ","\\Upsilon",!0),ei(eo,el,ey,"Φ","\\Phi",!0),ei(eo,el,ey,"Ψ","\\Psi",!0),ei(eo,el,ey,"Ω","\\Omega",!0),ei(eo,el,ey,"A","Α"),ei(eo,el,ey,"B","Β"),ei(eo,el,ey,"E","Ε"),ei(eo,el,ey,"Z","Ζ"),ei(eo,el,ey,"H","Η"),ei(eo,el,ey,"I","Ι"),ei(eo,el,ey,"K","Κ"),ei(eo,el,ey,"M","Μ"),ei(eo,el,ey,"N","Ν"),ei(eo,el,ey,"O","Ο"),ei(eo,el,ey,"P","Ρ"),ei(eo,el,ey,"T","Τ"),ei(eo,el,ey,"X","Χ"),ei(eo,el,ey,"¬","\\neg",!0),ei(eo,el,ey,"¬","\\lnot"),ei(eo,el,ey,"⊤","\\top"),ei(eo,el,ey,"⊥","\\bot"),ei(eo,el,ey,"∅","\\emptyset"),ei(eo,"ams",ey,"∅","\\varnothing"),ei(eo,el,eh,"α","\\alpha",!0),ei(eo,el,eh,"β","\\beta",!0),ei(eo,el,eh,"γ","\\gamma",!0),ei(eo,el,eh,"δ","\\delta",!0),ei(eo,el,eh,"ϵ","\\epsilon",!0),ei(eo,el,eh,"ζ","\\zeta",!0),ei(eo,el,eh,"η","\\eta",!0),ei(eo,el,eh,"θ","\\theta",!0),ei(eo,el,eh,"ι","\\iota",!0),ei(eo,el,eh,"κ","\\kappa",!0),ei(eo,el,eh,"λ","\\lambda",!0),ei(eo,el,eh,"μ","\\mu",!0),ei(eo,el,eh,"ν","\\nu",!0),ei(eo,el,eh,"ξ","\\xi",!0),ei(eo,el,eh,"ο","\\omicron",!0),ei(eo,el,eh,"π","\\pi",!0),ei(eo,el,eh,"ρ","\\rho",!0),ei(eo,el,eh,"σ","\\sigma",!0),ei(eo,el,eh,"τ","\\tau",!0),ei(eo,el,eh,"υ","\\upsilon",!0),ei(eo,el,eh,"ϕ","\\phi",!0),ei(eo,el,eh,"χ","\\chi",!0),ei(eo,el,eh,"ψ","\\psi",!0),ei(eo,el,eh,"ω","\\omega",!0),ei(eo,el,eh,"ε","\\varepsilon",!0),ei(eo,el,eh,"ϑ","\\vartheta",!0),ei(eo,el,eh,"ϖ","\\varpi",!0),ei(eo,el,eh,"ϱ","\\varrho",!0),ei(eo,el,eh,"ς","\\varsigma",!0),ei(eo,el,eh,"φ","\\varphi",!0),ei(eo,el,"bin","∗","*",!0),ei(eo,el,"bin","+","+"),ei(eo,el,"bin","−","-",!0),ei(eo,el,"bin","⋅","\\cdot",!0),ei(eo,el,"bin","∘","\\circ",!0),ei(eo,el,"bin","÷","\\div",!0),ei(eo,el,"bin","±","\\pm",!0),ei(eo,el,"bin","×","\\times",!0),ei(eo,el,"bin","∩","\\cap",!0),ei(eo,el,"bin","∪","\\cup",!0),ei(eo,el,"bin","∖","\\setminus",!0),ei(eo,el,"bin","∧","\\land"),ei(eo,el,"bin","∨","\\lor"),ei(eo,el,"bin","∧","\\wedge",!0),ei(eo,el,"bin","∨","\\vee",!0),ei(eo,el,ey,"√","\\surd"),ei(eo,el,em,"⟨","\\langle",!0),ei(eo,el,em,"∣","\\lvert"),ei(eo,el,em,"∥","\\lVert"),ei(eo,el,ec,"?","?"),ei(eo,el,ec,"!","!"),ei(eo,el,ec,"⟩","\\rangle",!0),ei(eo,el,ec,"∣","\\rvert"),ei(eo,el,ec,"∥","\\rVert"),ei(eo,el,"rel","=","="),ei(eo,el,"rel",":",":"),ei(eo,el,"rel","≈","\\approx",!0),ei(eo,el,"rel","≅","\\cong",!0),ei(eo,el,"rel","≥","\\ge"),ei(eo,el,"rel","≥","\\geq",!0),ei(eo,el,"rel","←","\\gets"),ei(eo,el,"rel",">","\\gt",!0),ei(eo,el,"rel","∈","\\in",!0),ei(eo,el,"rel","","\\@not"),ei(eo,el,"rel","⊂","\\subset",!0),ei(eo,el,"rel","⊃","\\supset",!0),ei(eo,el,"rel","⊆","\\subseteq",!0),ei(eo,el,"rel","⊇","\\supseteq",!0),ei(eo,"ams","rel","⊈","\\nsubseteq",!0),ei(eo,"ams","rel","⊉","\\nsupseteq",!0),ei(eo,el,"rel","⊨","\\models"),ei(eo,el,"rel","←","\\leftarrow",!0),ei(eo,el,"rel","≤","\\le"),ei(eo,el,"rel","≤","\\leq",!0),ei(eo,el,"rel","<","\\lt",!0),ei(eo,el,"rel","→","\\rightarrow",!0),ei(eo,el,"rel","→","\\to"),ei(eo,"ams","rel","≱","\\ngeq",!0),ei(eo,"ams","rel","≰","\\nleq",!0),ei(eo,el,eg," ","\\ "),ei(eo,el,eg," ","\\space"),ei(eo,el,eg," ","\\nobreakspace"),ei(es,el,eg," ","\\ "),ei(es,el,eg," "," "),ei(es,el,eg," ","\\space"),ei(es,el,eg," ","\\nobreakspace"),ei(eo,el,eg,"","\\n
2obreak"),ei(eo,el,eg,"","\\allowbreak"),ei(eo,el,ef,",",","),ei(eo,el,ef,";",";"),ei(eo,"ams","bin","⊼","\\barwedge",!0),ei(eo,"ams","bin","⊻","\\veebar",!0),ei(eo,el,"bin","⊙","\\odot",!0),ei(eo,el,"bin","⊕","\\oplus",!0),ei(eo,el,"bin","⊗","\\otimes",!0),ei(eo,el,ey,"∂","\\partial",!0),ei(eo,el,"bin","⊘","\\oslash",!0),ei(eo,"ams","bin","⊚","\\circledcirc",!0),ei(eo,"ams","bin","⊡","\\boxdot",!0),ei(eo,el,"bin","△","\\bigtriangleup"),ei(eo,el,"bin","▽","\\bigtriangledown"),ei(eo,el,"bin","†","\\dagger"),ei(eo,el,"bin","⋄","\\diamond"),ei(eo,el,"bin","⋆","\\star"),ei(eo,el,"bin","◃","\\triangleleft"),ei(eo,el,"bin","▹","\\triangleright"),ei(eo,el,em,"{","\\{"),ei(es,el,ey,"{","\\{"),ei(es,el,ey,"{","\\textbraceleft"),ei(eo,el,ec,"}","\\}"),ei(es,el,ey,"}","\\}"),ei(es,el,ey,"}","\\textbraceright"),ei(eo,el,em,"{","\\lbrace"),ei(eo,el,ec,"}","\\rbrace"),ei(eo,el,em,"[","\\lbrack",!0),ei(es,el,ey,"[","\\lbrack",!0),ei(eo,el,ec,"]","\\rbrack",!0),ei(es,el,ey,"]","\\rbrack",!0),ei(eo,el,em,"(","\\lparen",!0),ei(eo,el,ec,")","\\rparen",!0),ei(es,el,ey,"<","\\textless",!0),ei(es,el,ey,">","\\textgreater",!0),ei(eo,el,em,"⌊","\\lfloor",!0),ei(eo,el,ec,"⌋","\\rfloor",!0),ei(eo,el,em,"⌈","\\lceil",!0),ei(eo,el,ec,"⌉","\\rceil",!0),ei(eo,el,ey,"\\","\\backslash"),ei(eo,el,ey,"∣","|"),ei(eo,el,ey,"∣","\\vert"),ei(es,el,ey,"|","\\textbar",!0),ei(eo,el,ey,"∥","\\|"),ei(eo,el,ey,"∥","\\Vert"),ei(es,el,ey,"∥","\\textbardbl"),ei(es,el,ey,"~","\\textasciitilde"),ei(es,el,ey,"\\","\\textbackslash"),ei(es,el,ey,"^","\\textasciicircum"),ei(eo,el,"rel","↑","\\uparrow",!0),ei(eo,el,"rel","⇑","\\Uparrow",!0),ei(eo,el,"rel","↓","\\downarrow",!0),ei(eo,el,"rel","⇓","\\Downarrow",!0),ei(eo,el,"rel","↕","\\updownarrow",!0),ei(eo,el,"rel","⇕","\\Updownarrow",!0),ei(eo,el,ep,"∐","\\coprod"),ei(eo,el,ep,"⋁","\\bigvee"),ei(eo,el,ep,"⋀","\\bigwedge"),ei(eo,el,ep,"⨄","\\biguplus"),ei(eo,el,ep,"⋂","\\bigcap"),ei(eo,el,ep,"⋃","\\bigcup"),ei(eo,el,ep,"∫","\\int"),ei(eo,el,ep,"∫","\\intop"),ei(eo,el,ep,"∬","\\iint"),ei(eo,el,ep,"∭","\\iiint"),ei(eo,el,ep,"∏","\\prod"),ei(eo,el,ep,"∑","\\sum"),ei(eo,el,ep,"⨂","\\bigotimes"),ei(eo,el,ep,"⨁","\\bigoplus"),ei(eo,el,ep,"⨀","\\bigodot"),ei(eo,el,ep,"∮","\\oint"),ei(eo,el,ep,"∯","\\oiint"),ei(eo,el,ep,"∰","\\oiiint"),ei(eo,el,ep,"⨆","\\bigsqcup"),ei(eo,el,ep,"∫","\\smallint"),ei(es,el,ed,"…","\\textellipsis"),ei(eo,el,ed,"…","\\mathellipsis"),ei(es,el,ed,"…","\\ldots",!0),ei(eo,el,ed,"…","\\ldots",!0),ei(eo,el,ed,"⋯","\\@cdots",!0),ei(eo,el,ed,"⋱","\\ddots",!0),ei(eo,el,ey,"⋮","\\varvdots"),ei(es,el,ey,"⋮","\\varvdots"),ei(eo,el,eu,"ˊ","\\acute"),ei(eo,el,eu,"ˋ","\\grave"),ei(eo,el,eu,"¨","\\ddot"),ei(eo,el,eu,"~","\\tilde"),ei(eo,el,eu,"ˉ","\\bar"),ei(eo,el,eu,"˘","\\breve"),ei(eo,el,eu,"ˇ","\\check"),ei(eo,el,eu,"^","\\hat"),ei(eo,el,eu,"⃗","\\vec"),ei(eo,el,eu,"˙","\\dot"),ei(eo,el,eu,"˚","\\mathring"),ei(eo,el,eh,"","\\@imath"),ei(eo,el,eh,"","\\@jmath"),ei(eo,el,ey,"ı","ı"),ei(eo,el,ey,"ȷ","ȷ"),ei(es,el,ey,"ı","\\i",!0),ei(es,el,ey,"ȷ","\\j",!0),ei(es,el,ey,"ß","\\ss",!0),ei(es,el,ey,"æ","\\ae",!0),ei(es,el,ey,"œ","\\oe",!0),ei(es,el,ey,"ø","\\o",!0),ei(es,el,ey,"Æ","\\AE",!0),ei(es,el,ey,"Œ","\\OE",!0),ei(es,el,ey,"Ø","\\O",!0),ei(es,el,eu,"ˊ","\\'"),ei(es,el,eu,"ˋ","\\`"),ei(es,el,eu,"ˆ","\\^"),ei(es,el,eu,"˜","\\~"),ei(es,el,eu,"ˉ","\\="),ei(es,el,eu,"˘","\\u"),ei(es,el,eu,"˙","\\."),ei(es,el,eu,"¸","\\c"),ei(es,el,eu,"˚","\\r"),ei(es,el,eu,"ˇ","\\v"),ei(es,el,eu,"¨",'\\"'),ei(es,el,eu,"˝","\\H"),ei(es,el,eu,"◯","\\textcircled");var eb={"--":!0,"---":!0,"``":!0,"''":!0};ei(es,el,ey,"–","--",!0),ei(es,el,ey,"–","\\textendash"),ei(es,el,ey,"—","---",!0),ei(es,el,ey,"—","\\textemdash"),ei(es,el,ey,"‘","`",!0),ei(es,el,ey,"‘","\\textquoteleft"),ei(es,el,ey,"’","'",!0),ei(es,el,ey,"’","\\textquoteright"),ei(es,el,ey,"“","``",!0),ei(es,el,ey,"“","\\textquotedblleft"),ei(es,el,ey,"”","''",!0),ei(es,el,ey,"”","\\textquotedblright"),ei(eo,el,ey,"°","\\degree",!0),ei(es,el,ey,"°","\\degree"),ei(es,el,ey,"°","\\textdegree",!0),ei(eo,el,ey,"£","\\pounds"),ei(eo,el,ey,"£","\\mathsterling",!0),ei(es,el,ey,"£","\\pounds"),ei(es,el,ey,"£","\\textsterling",!0),ei(eo,"ams",ey,"✠","\\maltese"),ei(es,"ams",ey,"✠","\\maltese");for(var ev='0123456789/@."',ew=0;ew<ev.length;ew++){var ex=ev.charAt(ew);ei(eo,el,ey,ex,ex)}for(var ek='0123456789!@*()-=+";:?/.,',eS=0;eS<ek.length;eS++){var eA=ek.charAt(eS);ei(es,el,ey,eA,eA)}for(var eT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",eM=0;eM<eT.length;eM++){var ez=eT.charAt(eM);ei(eo,el,eh,ez,ez),ei(es,el,ey,ez,ez)}ei(eo,"ams",ey,"C","ℂ"),ei(es,"ams",ey,"C","ℂ"),ei(eo,"ams",ey,"H","ℍ"),ei(es,"ams",ey,"H","ℍ"),ei(eo,"ams",ey,"N","ℕ"),ei(es,"ams",ey,"N","ℕ"),ei(eo,"ams",ey,"P","ℙ"),ei(es,"ams",ey,"P","ℙ"),ei(eo,"ams",ey,"Q","ℚ"),ei(es,"ams",ey,"Q","ℚ"),ei(eo,"ams",ey,"R","ℝ"),ei(es,"ams",ey,"R","ℝ"),ei(eo,"ams",ey,"Z","ℤ"),ei(es,"ams",ey,"Z","ℤ"),ei(eo,el,eh,"h","ℎ"),ei(es,el,eh,"h","ℎ");for(var eE=0;eE<eT.length;eE++){var e_=eT.charAt(eE);ei(eo,el,eh,e_,o=String.fromCharCode(55349,56320+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56372+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56424+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56580+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56684+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56736+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56788+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56840+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56944+eE)),ei(es,el,ey,e_,o),eE<26&&(ei(eo,el,eh,e_,o=String.fromCharCode(55349,56632+eE)),ei(es,el,ey,e_,o),ei(eo,el,eh,e_,o=String.fromCharCode(55349,56476+eE)),ei(es,el,ey,e_,o))}ei(eo,el,eh,"k",o=String.fromCharCode(55349,56668)),ei(es,el,ey,"k",o);for(var eC=0;eC<10;eC++){var eO=eC.toString();ei(eo,el,eh,eO,o=String.fromCharCode(55349,57294+eC)),ei(es,el,ey,eO,o),ei(eo,el,eh,eO,o=String.fromCharCode(55349,57314+eC)),ei(es,el,ey,eO,o),ei(eo,el,eh,eO,o=String.fromCharCode(55349,57324+eC)),ei(es,el,ey,eO,o),ei(eo,el,eh,eO,o=String.fromCharCode(55349,57334+eC)),ei(es,el,ey,eO,o)}for(var eN="ÐÞþ",eR=0;eR<eN.length;eR++){var eD=eN.charAt(eR);ei(eo,el,eh,eD,eD),ei(es,el,ey,eD,eD)}var eI={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},eP={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},eL={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},e$={mathClass:"",textClass:"",font:""},ej={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},eB={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},eF={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},eW={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},eq={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},eH={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},eU={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},eV=[eI,eI,eP,eP,eL,eL,{mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},e$,e$,e$,ej,ej,eB,eB,eF,eF,eW,eW,eq,eq,eH,eH,e$,e$,eU,eU],eY=[eI,e$,eW,eq,eU],eG=function(e,t,r){if(ea[r][e]){var n=ea[r][e].replace;n&&(e=n)}return{value:e,metrics:er(e,t,r)}},eZ=function(e,t,r,n,a){var i,o=eG(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new Z(e,s.height,s.depth,l,s.skew,s.width,a)}else"u">typeof console&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '")+r+"'"),i=new Z(e,0,0,0,0,0,a);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var u=n.getColor();u&&(i.style.color=u)}return i},eJ=function(e,t,r,n){return(void 0===n&&(n=[]),"boldsymbol"===r.font&&eG(e,"Main-Bold",t).metrics)?eZ(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===ea[t][e].font?eZ(e,"Main-Regular",t,r,n):eZ(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},eX=function(e,t){var r="mathord"===e.type?"mathord":"textord",a=e.mode,i=e.text,o=["mord"],{font:s,fontFamily:l,fontWeight:u,fontShape:c}=t,d="math"===a||"text"===a&&!!s,h=d?s:l,p="",m="";if(55349===i.charCodeAt(0)){var f=(e=>{var t=(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320)+65536;if(119808<=t&&t<120484)return eV[Math.floor((t-119808)/26)];if(120782<=t&&t<=120831)return eY[Math.floor((t-120782)/10)];if(120485===t||120486===t)return eV[0];if(120486<t&&t<120782)return e$;throw new n("Unsupported character: "+e)})(i);p=f.font,m=f[a+"Class"]}if(p)return eZ(i,p,a,t,o.concat(m));if(h){if("boldsymbol"===h){var g,y,b="textord"!==r&&eG(i,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"};g=b.fontName,y=[b.fontClass]}else d?(g=tt[s].fontName,y=[s]):(g=te(l,u,c),y=[l,u,c]);if(eG(i,g,a).metrics)return eZ(i,g,a,t,o.concat(y));if(eb.hasOwnProperty(i)&&"Typewriter"===g.slice(0,10)){for(var v=[],w=0;w<i.length;
2w++)v.push(eZ(i[w],g,a,t,o.concat(y)));return e3(v)}}if("mathord"===r)return eZ(i,"Math-Italic",a,t,o.concat(["mathnormal"]));if("textord"===r){var x=ea[a][i]&&ea[a][i].font;if("ams"===x)return eZ(i,te("amsrm",u,c),a,t,o.concat("amsrm",u,c));if("main"===x||!x)return eZ(i,te("textrm",u,c),a,t,o.concat(u,c));var k=te(x,u,c);return eZ(i,k,a,t,o.concat(k,u,c))}throw Error("unexpected type: "+r+" in makeOrd")},eK=(e,t)=>{if(j(e.classes)!==j(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||0!==e.italic&&e.hasClass("mathnormal"))return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},eQ=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Z&&n instanceof Z&&eK(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},e0=function(e){for(var t=0,r=0,n=0,a=0;a<e.children.length;a++){var i=e.children[a];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},e1=function(e,t,r,n){var a=new U(e,t,r,n);return e0(a),a},e4=(e,t,r,n)=>new U(e,t,r,n),e5=function(e,t,r){var n=e1([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=$(n.height),n.maxFontSize=1,n},e6=function(e,t,r,n){var a=new V(e,t,r,n);return e0(a),a},e3=function(e){var t=new R(e);return e0(t),t},e2=function(e,t){return e instanceof R?e1([],[e],t):e},e7=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,o=1;o<r.length;o++){var s=-r[o].shift-i-r[o].elem.depth,l=s-(r[o-1].elem.height+r[o-1].elem.depth);i+=s,n.push({type:"kern",size:l}),n.push(r[o])}return{children:n,depth:a}}if("top"===e.positionType){for(var u=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];u-="kern"===d.type?d.size:d.elem.height+d.elem.depth}t=u}else if("bottom"===e.positionType)t=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw Error('First child must have type "elem".');if("shift"===e.positionType)t=-h.elem.depth-e.positionData;else if("firstBaseline"===e.positionType)t=-h.elem.depth;else throw Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:t}},e8=function(e,t){for(var r,{children:n,depth:a}=e7(e),i=0,o=0;o<n.length;o++){var s=n[o];if("elem"===s.type){var l=s.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var u=e1(["pstrut"],[]);u.style.height=$(i);for(var c=[],d=a,h=a,p=a,m=0;m<n.length;m++){var f=n[m];if("kern"===f.type)p+=f.size;else{var g=f.elem,y=e1(f.wrapperClasses||[],[u,g],void 0,f.wrapperStyle||{});y.style.top=$(-i-p-g.depth),f.marginLeft&&(y.style.marginLeft=f.marginLeft),f.marginRight&&(y.style.marginRight=f.marginRight),c.push(y),p+=g.height+g.depth}d=Math.min(d,p),h=Math.max(h,p)}var b=e1(["vlist"],c);if(b.style.height=$(h),d<0){var v=e1([],[]),w=e1(["vlist"],[v]);w.style.height=$(-d);var x=e1(["vlist-s"],[new Z("​")]);r=[e1(["vlist-r"],[b,x]),e1(["vlist-r"],[w])]}else r=[e1(["vlist-r"],[b])];var k=e1(["vlist-t"],r);return 2===r.length&&k.classes.push("vlist-t2"),k.height=h,k.depth=-d,k},e9=(e,t)=>{var r=e1(["mspace"],[],t),n=L(e,t);return r.style.marginRight=$(n),r},te=(e,t,r)=>{var n;switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===r?"Italic":"Regular")},tt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},tr={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},tn=function(e,t){var[r,n,a]=tr[e],i=e4(["overlay"],[new J([new X(r)],{width:$(n),height:$(a),style:"width:"+$(n),viewB
2ox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"})],t);return i.height=a,i.style.height=$(a),i.style.width=$(n),i},ta={number:3,unit:"mu"},ti={number:4,unit:"mu"},to={number:5,unit:"mu"},ts={mord:{mop:ta,mbin:ti,mrel:to,minner:ta},mop:{mord:ta,mop:ta,mrel:to,minner:ta},mbin:{mord:ti,mop:ti,mopen:ti,minner:ti},mrel:{mord:to,mop:to,mopen:to,minner:to},mopen:{},mclose:{mop:ta,mbin:ti,mrel:to,minner:ta},mpunct:{mord:ta,mop:ta,mrel:to,mopen:ta,mclose:ta,mpunct:ta,minner:ta},minner:{mord:ta,mop:ta,mbin:ti,mrel:to,mopen:ta,mpunct:ta,minner:ta}},tl={mord:{mop:ta},mop:{mord:ta,mop:ta},mbin:{},mrel:{},mopen:{},mclose:{mop:ta},mpunct:{},minner:{mop:ta}},tu={},tc={},td={};function th(e){for(var{type:t,names:r,htmlBuilder:n,mathmlBuilder:a}=e,i=0;i<r.length;++i)tu[r[i]]=e;t&&(n&&(tc[t]=n),a&&(td[t]=a))}function tp(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;r&&(tc[t]=r),n&&(td[t]=n)}var tm=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},tf=function(e){return"ordgroup"===e.type?e.body:[e]},tg=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),ty=new Set(["rightmost","mrel","mclose","mpunct"]),tb={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT},tv={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},tw=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var a=[],i=0;i<e.length;i++){var o=tM(e[i],t);
2if(o instanceof R){var s=o.children;a.push(...s)}else a.push(o)}if(eQ(a),!r)return a;var l=t;if(1===e.length){var u=e[0];"sizing"===u.type?l=t.havingSize(u.size):"styling"===u.type&&(l=t.havingStyle(tb[u.style]))}var c=e1([n[0]||"leftmost"],[],t),d=e1([n[1]||"rightmost"],[],t),h="root"===r;return tx(a,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&ty.has(n)?t.classes[0]="mord":"mbin"===n&&tg.has(r)&&(e.classes[0]="mord")},{node:c},d,h),tx(a,(e,t)=>{var r,n,a=tA(t),i=tA(e),o=a&&i?e.hasClass("mtight")?null==(r=tl[a])?void 0:r[i]:null==(n=ts[a])?void 0:n[i]:null;if(o)return e9(o,l)},{node:c},d,h),a},tx=function(e,t,r,n,a){n&&e.push(n);for(var i=0;i<e.length;i++){let n;var o=e[i],s=tk(o);if(s){tx(s.children,t,r,null,a);continue}var l=!o.hasClass("mspace");if(l){var u=t(o,r.node);u&&(r.insertAfter?r.insertAfter(u):(e.unshift(u),i++))}l?r.node=o:a&&o.hasClass("newline")&&(r.node=e1(["leftmost"])),n=i,r.insertAfter=t=>{e.splice(n+1,0,t),i++}}n&&e.pop()},tk=function(e){return e instanceof R||e instanceof V||e instanceof U&&e.hasClass("enclosing")?e:null},tS=function(e,t){var r=tk(e);if(r){var n=r.children;if(n.length){if("right"===t)return tS(n[n.length-1],"right");else if("left"===t)return tS(n[0],"left")}}return e},tA=function(e,t){return e?(t&&(e=tS(e,t)),tv[e.classes[0]]||null):null},tT=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return e1(t.concat(r))},tM=function(e,t,r){if(!e)return e1();if(tc[e.type]){var a=tc[e.type](e,t);if(r&&t.size!==r.size){a=e1(t.sizingClasses(r),[a],t);var i=t.sizeMultiplier/r.sizeMultiplier;a.height*=i,a.depth*=i}return a}throw new n("Got group of unknown type: '"+e.type+"'")};function tz(e,t){var r=e1(["base"],e,t),n=e1(["strut"]);return n.style.height=$(r.height+r.depth),r.depth&&(n.style.verticalAlign=$(-r.depth)),r.children.unshift(n),r}function tE(e,t){var r,n,a=null;1===e.length&&"tag"===e[0].type&&(a=e[0].tag,e=e[0].body);var i=tw(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(r=i.pop());for(var o=[],s=[],l=0;l<i.length;l++)if(s.push(i[l]),i[l].hasClass("mbin")||i[l].hasClass("mrel")||i[l].hasClass("allowbreak")){for(var u=!1;l<i.length-1&&i[l+1].hasClass("mspace")&&!i[l+1].hasClass("newline");)l++,s.push(i[l]),i[l].hasClass("nobreak")&&(u=!0);u||(o.push(tz(s,t)),s=[])}else i[l].hasClass("newline")&&(s.pop(),s.length>0&&(o.push(tz(s,t)),s=[]),o.push(i[l]));s.length>0&&o.push(tz(s,t)),a?((n=tz(tw(a,t,!0),t)).classes=["tag"],o.push(n)):r&&o.push(r);var c=e1(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),n){var d=n.children[0];d.style.height=$(c.height+c.depth),c.depth&&(d.style.verticalAlign=$(-c.depth))}return c}class t_{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=j(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof tC&&this.children[r+1]instanceof tC){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof tC;)n+=this.children[++r].toText();e.appendChild(new tC(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=d(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+d(j(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+("</"+this.type+">")}toText(){return this.children.map(e=>e.toText()).join("")}}class tC{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return d(this.toText())}toText(){return this.text}}class tO{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",$(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+$(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var tN=new Set(["\\imath","\\jmath"]),tR=new Set(["mrow","mtable"]),tD=function(e,t,r){return ea[t][e]&&ea[t][e].replace&&55349!==e.charCodeAt(0)&&!(eb.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)
2))&&(e=ea[t][e].replace),new tC(e)},tI=function(e){return 1===e.length?e[0]:new t_("mrow",e)},tP={mathit:"italic",boldsymbol:e=>"textord"===e.type?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},tL=(e,t)=>{if("text"===e.mode){if("texttt"===t.fontFamily)return"monospace";else if("textsf"===t.fontFamily)if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";else if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif";else if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold"}var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode,a=tP[r];if(a)return"function"==typeof a?a(e):a;var i=e.text;if(tN.has(i))return null;if(ea[n][i]){var o=ea[n][i].replace;o&&(i=o)}return er(i,tt[r].fontName,n)?tt[r].variant:null};function t$(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof tC&&"."===t.text}if("mo"!==e.type||1!==e.children.length||"true"!==e.getAttribute("separator")||"0em"!==e.getAttribute("lspace")||"0em"!==e.getAttribute("rspace"))return!1;var r=e.children[0];return r instanceof tC&&","===r.text}var tj=function(e,t,r){if(1===e.length){var n,a=tF(e[0],t);return r&&a instanceof t_&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],o=0;o<e.length;o++){var s=tF(e[o],t);if(s instanceof t_&&n instanceof t_){if("mtext"===s.type&&"mtext"===n.type&&s.getAttribute("mathvariant")===n.getAttribute("mathvariant")){n.children.push(...s.children);continue}else if("mn"===s.type&&"mn"===n.type){n.children.push(...s.children);continue}else if(t$(s)&&"mn"===n.type){n.children.push(...s.children);continue}else if("mn"===s.type&&t$(n))s.children=[...n.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===n.type||t$(n))){var l=s.children[0];l instanceof t_&&"mn"===l.type&&(l.children=[...n.children,...l.children],i.pop())}else if("mi"===n.type&&1===n.children.length){var u=n.children[0];if(u instanceof tC&&"̸"===u.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof tC&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),n=s}return i},tB=function(e,t,r){return tI(tj(e,t,r))},tF=function(e,t){if(!e)return new t_("mrow");if(td[e.type])return td[e.type](e,t);throw new n("Got group of unknown type: '"+e.type+"'")};function tW(e,t,r,n,a){var i,o=tj(e,r);i=1===o.length&&o[0]instanceof t_&&tR.has(o[0].type)?o[0]:new t_("mrow",o);var s=new t_("annotation",[new tC(t)]);s.setAttribute("encoding","application/x-tex");var l=new t_("semantics",[i,s]),u=new t_("math",[l]);return u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block"),e1([a?"katex":"katex-mathml"],[u])}var tq=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],tH=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],tU=function(e,t){return t.size<2?e:tq[e-1][t.size-1]};class tV{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||tV.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=tH[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(t,e),new tV(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:tU(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:tH[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=tU(tV.BASESIZE,e);return this.size===t&&this.textSize===tV.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==tV.BASESIZE?["sizing","reset-size"+this.size,"size"+tV.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!en[t=e>=5?0:e>=3?1:2]){var r=en[t]={cssEmPerMu:ee.quad[t]/18};for(var n in ee)ee.hasOwnProperty(n)&&(r[n]=ee[n][t])}return en[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}tV.BASESIZE=6;var tY=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=e1(r,[e])}return e},tG=function(e,t,r){var n=new tV({style:r.displayMode?T.DISPLAY:T.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness});return"mathml"===r.output?tW(e,t,n,r.displayMode,!0):tY("html"===r.output?e1(["katex"],[tE(e,n)]):e1(["katex"],[tW(e,t,n,r.displayMode,!1),tE(e,n)]),r)},tZ={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xma
2psto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},tJ=function(e){var t=new t_("mo",[new tC(tZ[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},tX={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},tK=new Set(["widehat","widecheck","widetilde","utilde"]),tQ=function(e,t){var{span:r,minWidth:n,height:a}=function(){var r=4e5,n=e.label.slice(1);if(tK.has(n)&&"base"in e){var a,i,o,s="ordgroup"===e.base.type?e.base.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(a=420,r=2364,o=.42,i=n+"4"):(a=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],a=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=n+l):(r=[0,600,1033,2339,2340][l],a=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}return{span:e4([],[new J([new X(i)],{width:"100%",height:$(o),viewBox:"0 0 "+r+" "+a,preserveAspectRatio:"none"})],t),minWidth:0,height:o}}var u,c,d=[],h=tX[n];if(!h)throw Error('No SVG data for "'+n+'".');var[p,m,f]=h,g=f/1e3,y=p.length;if(1===y){if(4!==h.length)throw Error('Expected 4-tuple for single-path SVG data "'+n+'".');u=["hide-tail"],c=[h[3]]}else if(2===y)u=["halfarrow-left","halfarrow-right"],c=["xMinYMin","xMaxYMin"];else if(3===y)u=["brace-left","brace-center","brace-right"],c=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n                    "+y+" children.");for(var b=0;b<y;b++){var v=new J([new X(p[b])],{width:"400em",height:$(g),viewBox:"0 0 "+r+" "+f,preserveAspectRatio:c[b]+" slice"}),w=e4([u[b]],[v],t);if(1===y)return{span:w,minWidth:m,height:g};w.style.height=$(g),d.push(w)}return{span:e1(["stretchy"],d,t),minWidth:m,height:g}}();return r.height=a,r.style.height=$(a),n>0&&(r.style.minWidth=$(n)),r},t0=function(e,t,r,n,a){var i,o=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=e1(["stretchy",t],[],a),"fbox"===t){var s=a.color&&a.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new K({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new K({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"})),i=e4([],[new J(l,{width:"100%",height:$(o)})],a)}return i.height=o,i.style.height=$(o),i},t1={bin:1,close:1,inner:1,open:1,punct:1,rel:1},t4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function t5(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t6(e){var t=t3(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t3(e){return e&&("atom"===e.type||t4.hasOwnProperty(e.type))?e:null}var t2=e=>e instanceof Z?e:(e instanceof U||e instanceof V||e instanceof R)&&1===e.children.length?t2(e.children[0]):void 0,t7=(e,t)=>{e&&"supsub"===e.type?(s=(l=t5(e.base,"accent")).base,e.base=s,u=function(e){if(e instanceof U)return e;throw Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(tM(e,t)),e.base=l):s=(l=t5(e,"accent")).base;var r=tM(s,t.havingCrampedStyle()),n=l.isShifty&&m(s),a=0;n&&(a=null!=(c=null==(d=t2(r))?void 0:d.skew)?c:0);var i="\\c"===l.label,o=i?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)f=e8({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:f=tQ(l,t),wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+$(2*a)+")",marginLeft:$(2*a)}:void 0}]});else{"\\vec"===l.label?(h=tn("vec",t),p=tr.vec[1]):((h=function(e){if(e instanceof Z)return e;throw Error("Expected symbolNode but got "+String(e)+".")}(h=eX({type:"textord",mode:l.mode,text:l.label},t))).italic=0,p=h.width,i&&(o+=h.depth));var s,l,u,c,d,h,p,f=e1(["accent-body"],[h]),g="\\textcircled"===l.label;g&&(f.classes.push("accent-full"),o=r.height);var y=a;
2g||(y-=p/2),f.style.left=$(y),"\\textcircled"===l.label&&(f.style.top=".2em"),f=e8({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-o},{type:"elem",elem:f}]})}var b=e1(["mord","accent"],[f],t);return u?(u.children[0]=b,u.height=Math.max(b.height,u.height),u.classes[0]="mord",u):b},t8=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));th({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],numArgs:1,handler:(e,t)=>{var r=tm(t[0]),n=!t8.test(e.funcName),a=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:t7,mathmlBuilder:(e,t)=>{var r=e.isStretchy?tJ(e.label):new t_("mo",[tD(e.label,e.mode)]),n=new t_("mover",[tF(e.base,t),r]);return n.setAttribute("accent","true"),n}}),th({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(e,t)=>{var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}}}),th({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=tM(e.base,t),n=tQ(e,t),a=.12*("\\utilde"===e.label);return e1(["mord","accentunder"],[e8({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]})],t)},mathmlBuilder:(e,t)=>{var r=tJ(e.label),n=new t_("munder",[tF(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var t9=e=>{var t=new t_("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};th({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],numArgs:1,numOptionalArgs:1,handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n,a=t.style,i=t.havingStyle(a.sup()),o=e2(tM(e.body,i,t),t),s="\\x"===e.label.slice(0,2)?"x":"cd";o.classes.push(s+"-arrow-pad"),e.below&&(i=t.havingStyle(a.sub()),(r=e2(tM(e.below,i,t),t)).classes.push(s+"-arrow-pad"));var l=tQ(e,t),u=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=o.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;n=e8({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:l,shift:u,wrapperClasses:["svg-align"]},{type:"elem",elem:r,shift:d}]})}else n=e8({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:l,shift:u,wrapperClasses:["svg-align"]}]});return e1(["mrel","x-arrow"],[n],t)},mathmlBuilder(e,t){var r,n=tJ(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var a=t9(tF(e.body,t));r=e.below?new t_("munderover",[n,t9(tF(e.below,t)),a]):new t_("mover",[n,a])}else r=e.below?new t_("munder",[n,t9(tF(e.below,t))]):new t_("mover",[n,r=t9()]);return r}}),th({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:tf(a),isCharacterBox:m(a)}},htmlBuilder:function(e,t){var r=tw(e.body,t,!0);return e1([e.mclass],r,t)},mathmlBuilder:function(e,t){var r,n=tj(e.body,t);return"minner"===e.mclass?r=new t_("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new t_("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new t_("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):("mopen"===e.mclass||"mclose"===e.mclass)&&(r.attributes.lspace="0em",r.attributes.rspace="0em")),r}});var re=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;
2return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};th({type:"mclass",names:["\\@binrel"],numArgs:2,handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:re(t[0]),body:tf(t[1]),isCharacterBox:m(t[1])}}}),th({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(e,t){var r,{parser:n,funcName:a}=e,i=t[1],o=t[0];r="\\stackrel"!==a?re(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==a,body:tf(i)},l="\\underset"===a?{type:"supsub",mode:o.mode,base:s,sub:o}:{type:"supsub",mode:o.mode,base:s,sup:o};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:m(l)}}}),th({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:re(t[0]),body:tf(t[0])}},htmlBuilder(e,t){var r=tw(e.body,t,!0),n=e1([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=new t_("mstyle",tj(e.body,t));return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var rt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},rr=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),rn=e=>"textord"===e.type&&"@"===e.text,ra=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;th({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=e2(tM(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=$(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new t_("mrow",[tF(e.label,t)]);return(r=new t_("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new t_("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),th({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=e2(tM(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new t_("mrow",[tF(e.fragment,t)])}),th({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(e,t){for(var r,{parser:a}=e,i=t5(t[0],"ordgroup").body,o="",s=0;s<i.length;s++)o+=t5(i[s],"textord").text;var l=parseInt(o);if(isNaN(l))throw new n("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new n("\\@char with invalid code point "+o);return l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320)),{type:"textord",mode:a.mode,text:r}}}),th({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(e,t){var{parser:r}=e,n=t5(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:tf(a)}},htmlBuilder:(e,t)=>e3(tw(e.body,t.withColor(e.color),!1)),mathmlBuilder:(e,t)=>{var r=new t_("mstyle",tj(e.body,t.withColor(e.color)));return r.setAttribute("mathcolor",e.color),r}}),th({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=t5(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}}}),th({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e,t,r){var{parser:n}=e,a="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&t5(a,"size").value}},htmlBuilder(e,t){var r=e1(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=$(L(e.size,t)))),r},mathmlBuilder(e,t){var r=new t_("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",$(L(e.size,t)))),r}});var ri={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef"
2:"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ro=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new n("Expected a control sequence",e);return t},rs=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);null==a&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};th({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(ri[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=ri[a.text]),t5(t.parseFunction(),"internal");throw new n("Invalid token after macro prefix",a)}}),th({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t,{parser:r,funcName:a}=e,i=r.gullet.popToken(),o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new n("Expected a control sequence",i);for(var s=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(i=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[s].push("{");break}if(i=r.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new n('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new n('Argument number "'+i.text+'" out of order');s++,l.push([])}else if("EOF"===i.text)throw new n("Expected a macro definition");else l[s].push(i.text);var{tokens:u}=r.gullet.consumeArg();return t&&u.unshift(t),("\\edef"===a||"\\xdef"===a)&&(u=r.gullet.expandTokens(u)).reverse(),r.gullet.macros.set(o,{tokens:u,numArgs:s,delimiters:l},a===ri[a]),{type:"internal",mode:r.mode}}}),th({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t,{parser:r,funcName:n}=e,a=ro(r.gullet.popToken());r.gullet.consumeSpaces();var i=("="===(t=r.gullet.popToken()).text&&" "===(t=r.gullet.popToken()).text&&(t=r.gullet.popToken()),t);return rs(r,a,i,"\\\\globallet"===n),{type:"internal",mode:r.mode}}}),th({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:r}=e,n=ro(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return rs(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var rl=function(e,t,r){var n=er(ea.math[e]&&ea.math[e].replace||e,t,r);if(!n)throw Error("Unsupported symbol "+e+" and font size "+t+".");return n},ru=function(e,t,r,n){var a=r.havingBaseStyle(t),i=e1(n.concat(a.sizingClasses(r)),[e],r),o=a.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},rc=function(e,t,r){var n=t.havingBaseStyle(r),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=$(a),e.height-=a,e.depth+=a},rd=function(e,t,r,n,a,i){var o=ru(eZ(e,"Main-Regular",a,n),t,n,i);return r&&rc(o,n,t),o},rh=function(e,t,r,n,a,i){var o=eZ(e,"Size"+t+"-Regular",a,n),s=ru(e1(["delimsizing","size"+t],[o],n),T.TEXT,n,i);return r&&rc(s,n,T.TEXT),s},rp=function(e,t,r){return{type:"elem",elem:e1(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[e1([],[eZ(e,t,r)])])}},rm=function(e,t,r){var n=Q["Size4-Regular"][e.charCodeAt(0)]?Q["Size4-Regular"][e.charCodeAt(0)][4]:Q["Size1-Regular"][e.charCodeAt(0)][4],a=e4([],[new J([new X("inner",C(e,Math.round(1e3*t)))],{width:$(n),height:$(t),style:"width:"+$(n),viewB
2ox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"})],r);return a.height=t,a.style.height=$(t),a.style.width=$(n),{type:"elem",elem:a}},rf={type:"kern",size:-.008},rg=new Set(["|","\\lvert","\\rvert","\\vert"]),ry=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),rb=function(e,t,r,n,a,i){var o,s,l,u,c="",d=0;o=l=u=e,s=null;var h="Size1-Regular";"\\uparrow"===e?l=u="⏐":"\\Uparrow"===e?l=u="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",u="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",u="\\Downarrow"):rg.has(e)?(l="∣",c="vert",d=333):ry.has(e)?(l="∥",c="doublevert",d=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",u="⎣",h="Size4-Regular",c="lbrack",d=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",u="⎦",h="Size4-Regular",c="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",u="⎣",h="Size4-Regular",c="lfloor",d=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=u="⎢",h="Size4-Regular",c="lceil",d=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",u="⎦",h="Size4-Regular",c="rfloor",d=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=u="⎥",h="Size4-Regular",c="rceil",d=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",u="⎝",h="Size4-Regular",c="lparen",d=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",u="⎠",h="Size4-Regular",c="rparen",d=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",u="⎩",l="⎪",h="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",u="⎭",l="⎪",h="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",u="⎩",l="⎪",h="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",u="⎭",l="⎪",h="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",u="⎭",l="⎪",h="Size4-Regular"):("\\rmoustache"===e||"⎱"===e)&&(o="⎫",u="⎩",l="⎪",h="Size4-Regular");var p=rl(o,h,a),m=p.height+p.depth,f=rl(l,h,a),g=f.height+f.depth,y=rl(u,h,a),b=y.height+y.depth,v=0,w=1;if(null!==s){var x=rl(s,h,a);v=x.height+x.depth,w=2}var k=m+b+v,S=Math.max(0,Math.ceil((t-k)/(w*g))),A=k+S*w*g,M=n.fontMetrics().axisHeight;r&&(M*=n.sizeMultiplier);var z=A/2-M,E=[];if(c.length>0){var _=Math.round(1e3*A),C=N(c,Math.round(1e3*(A-m-b))),O=new X(c,C),R=$(d/1e3),D=$(_/1e3),I=e4([],[new J([O],{width:R,height:D,viewBox:"0 0 "+d+" "+_})],n);I.height=_/1e3,I.style.width=R,I.style.height=D,E.push({type:"elem",elem:I})}else{if(E.push(rp(u,h,a)),E.push(rf),null===s)E.push(rm(l,A-m-b+.016,n));else{var P=(A-m-b-v)/2+.016;E.push(rm(l,P,n)),E.push(rf),E.push(rp(s,h,a)),E.push(rf),E.push(rm(l,P,n))}E.push(rf),E.push(rp(o,h,a))}var L=n.havingBaseStyle(T.TEXT);return ru(e1(["delimsizing","mult"],[e8({positionType:"bottom",positionData:z,children:E})],L),T.TEXT,n,i)},rv=function(e,t,r,n,a){var i=_(e,n,r);return e4(["hide-tail"],[new J([new X(e,i)],{width:"400em",height:$(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"})],a)},rw=function(e,t){var r,n,a,i,o,s=t.havingBaseSizing(),l=rC("\\surd",e*s.sizeMultiplier,rE,s),u=s.sizeMultiplier,c=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);return"small"===l.type?(i=1e3+1e3*c+80,e<1?u=1:e<1.4&&(u=.7),n=(1+c+.08)/u,a=(1+c)/u,(r=rv("sqrtMain",n,i,c,t)).style.minWidth="0.853em",o=.833/u):"large"===l.type?(i=1080*rA[l.size],a=(rA[l.size]+c)/u,n=(rA[l.size]+c+.08)/u,(r=rv("sqrtSize"+l.size,n,i,c,t)).style.minWidth="1.02em",o=1/u):(n=e+c+.08,a=e+c,(r=rv("sqrtTall",n,i=Math.floor(1e3*e+c)+80,c,t)).style.minWidth="0.742em",o=1.056),r.height=a,r.style.height=$(n),{span:r,advanceWidth:o,ruleWidth:(t.fontMetrics().sqrtRuleThickness+c)*u}},rx=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),rk=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),rS=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),rA=[0,1.2,1.8,2.4,3],rT=function(e,t,r,a,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),rx.has(e)||rS.has(e))return rh(e,t,!1,r,a,i);if(rk.has(e))return rb(e,rA[t],!1,r,a,i);throw new n("Illegal delimiter: '"+e+"'")},rM=[{type:"small",style:T.SCRIPTSCRIPT},{type:"small",style:T.SCRIPT},{type:"small",style:T.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rz=[{type:"small",style:T.SCRIPTSCRIPT},{type:"small",style:T.SCRIPT},{type:"small",style:T.TEXT},{type:"stack"}],rE=[{type:"small",style:T.SCRIPTSCRIPT},{type:"small",style:T.SCRIPT},{type:"small",style:T.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],r_=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw Error("Add support for delim type '"+e.type+"' here.")},rC=function(e,t,r,n){for(var a=Math.min(2,3-n.style.size),i=a;i<r.length;i++){var o=r[i];if("stack"===o.type)break;var s=rl(e,r_(o),"math"),l=s.height+s.depth;if("small"===o.type&&(l*=n.havingBaseStyle(o.style).sizeMultiplier),l>t)return o}return r[r.length-1]},rO=function(e,t,r,n,a,i){"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle");var o=rS.has(e)?rM:rx.has(e)?rE:rz,s=rC(e,t,o,n);return"small"===s.type?rd(e,s.style,r,n,a,i):"large"===s.type?rh(e,s.size,r,n,a,i):rb(e,t,r,n,a,i)},rN=function(e,t,r,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o);return rO(e,Math.max(l/500*901,2*l-s),!0,n,a,i)},rR={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rD=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function rI(e){return"isMiddle"in e}function rP(e,t){var r=t3(e);if(r&&rD.has(r.text))return r;
2if(r)throw new n("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new n("Invalid delimiter type '"+e.type+"'",e)}function rL(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}th({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(e,t)=>{var r=rP(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rR[e.funcName].size,mclass:rR[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?e1([e.mclass]):rT(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tD(e.delim,e.mode));var r=new t_("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=$(rA[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),th({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");
2if(r&&"string"!=typeof r)throw new n("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rP(t[0],e).text,color:r}}}),th({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=rP(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=t5(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rL(e);for(var r,n,a=tw(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l<a.length;l++)rI(a[l])?s=!0:(i=Math.max(a[l].height,i),o=Math.max(a[l].depth,o));if(i*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?tT(t,["mopen"]):rN(e.left,i,o,t,e.mode,["mopen"]),a.unshift(r),s)for(var u=1;u<a.length;u++){var c=a[u];if(rI(c)){var d=c.isMiddle;a[u]=rN(d.delim,i,o,d.options,e.mode,[])}}if("."===e.right)n=tT(t,["mclose"]);else{var h=e.rightColor?t.withColor(e.rightColor):t;n=rN(e.right,i,o,h,e.mode,["mclose"])}return a.push(n),e1(["minner"],a,t)},mathmlBuilder:(e,t)=>{rL(e);var r=tj(e.body,t);if("."!==e.left){var n=new t_("mo",[tD(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var a=new t_("mo",[tD(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return tI(r)}}),th({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=rP(t[0],e);if(!e.parser.leftrightDepth)throw new n("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;return"."===e.delim?r=tT(t,[]):(r=rT(e.delim,1,t,e.mode,[])).isMiddle={delim:e.delim,options:t},r},mathmlBuilder:(e,t)=>{var r=new t_("mo",["\\vert"===e.delim||"|"===e.delim?tD("|","text"):tD(e.delim,e.mode)]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}}),th({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(e,t,r){var{parser:n,funcName:a}=e,i=t5(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:(e,t)=>{var r,n=e2(tM(e.body,t),t),a=e.label.slice(1),i=t.sizeMultiplier,o=m(e.body);if("sout"===a)(d=e1(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/i,h=-.5*t.fontMetrics().xHeight;else if("phase"===a){var s=L({number:.6,unit:"pt"},t),l=L({number:.35,unit:"ex"},t);i/=t.havingBaseSizing().sizeMultiplier;var u=n.height+n.depth+s+l;n.style.paddingLeft=$(u/2+s);var c=Math.floor(1e3*u*i);(d=e4(["hide-tail"],[new J([new X("phase","M400000 "+c+" H0 L"+c/2+" 0 l65 45 L145 "+(c-80)+" H400000z")],{width:"400em",height:$(c/1e3),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"})],t)).style.height=$(u),h=n.depth+s+l}else{/cancel/.test(a)?o||n.classes.push("cancel-pad"):"angl"===a?n.classes.push("anglpad"):n.classes.push("boxpad");var d,h,p,f,g=0;/box/.test(a)?(g=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=p=t.fontMetrics().fboxsep+("colorbox"===a?0:g)):"angl"===a?(p=4*(g=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-n.depth)):f=p=.2*!!o,d=t0(n,a,p,f,t),/fbox|boxed|fcolorbox/.test(a)?(d.style.borderStyle="solid",d.style.borderWidth=$(g)):"angl"===a&&.049!==g&&(d.style.borderTopWidth=$(g),d.style.borderRightWidth=$(g)),h=n.depth+f,e.backgroundColor&&(d.style.backgroundColor=e.backgroundColor,e.borderColor&&(d.style.borderColor=e.borderColor))}return(r=e.backgroundColor?e8({positionType:"individualShift",children:[{type:"elem",elem:d,shift:h},{type:"elem",elem:n,shift:0}]}):e8({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:d,shift:h,wrapperClasses:/cancel|phase/.test(a)?["svg-align"]:[]}]}),/cancel/.test(a)&&(r.height=n.height,r.depth=n.depth),/cancel/.test(a)&&!o)?e1(["mord","cancel-lap"],[r],t):e1(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r,n=new t_(e.label.includes("colorbox")?"mpadded":"menclose",[tF(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+$(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n}}),th({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(e,t,r){var{parser:n,funcName:a}=e,i=t5(t[0],"color-token").color,o=t5(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}}}),th({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),th({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}}}),th({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(e,t){var{parser:r,funcName:n}=e;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}}}),th({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var r$={};function rj(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)r$[r[l]]=s;i&&(tc[t]=i),o&&(td[t]=o)}var rB={};class rF{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new rF(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class rW{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new rW(t,rF.range(this,e))}}function rq(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var rH=e=>{if(!e.parser.settings.displayMode)throw new n("{"+e.envName+"} can be used only in display mode.")},rU=new Set(["gather","gather*"]);function rV(e){if(!e.includes("ed"))return!e.includes("*")}function rY(e,t,r){var{hskipBeforeAndAfter:a,addJot:i,cols:o,arraystretch:s,colSeparationType:l,autoTag:u,singleRow:c,emptySingleRow:d,maxNumCols:h,leqno:p}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(null==m)s=1;else if(!(s=parseFloat(m))||s<0)throw new n("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var f=[],g=[f],y=[],b=[],v=null!=u?[]:void 0;function w(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){v&&(e.gullet.macros.get("\\df@tag")?(v.push(e.subparse([new rW("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):v.push(!!u&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),b.push(rq(e));;){var k=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var S={type:"ordgroup",mode:e.mode,body:k};r&&(S={type:"styling",mode:e.mode,style:r,resetFont:!0,body:[S]}),f.push(S);var A=e.fetch().text;
2if("&"===A){if(h&&f.length===h)if(c||l)throw new n("Too many tab characters: &",e.nextToken);else e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.");e.consume()}else if("\\end"===A){x(),1===f.length&&"styling"===S.type&&1===S.body.length&&"ordgroup"===S.body[0].type&&0===S.body[0].body.length&&(g.length>1||!d)&&g.pop(),b.length<g.length+1&&b.push([]);break}else if("\\\\"===A){e.consume();var T=void 0;" "!==e.gullet.future().text&&(T=e.parseSizeGroup(!0)),y.push(T?T.value:null),x(),b.push(rq(e)),f=[],g.push(f),w()}else throw new n("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:g,cols:o,rowGaps:y,hskipBeforeAndAfter:a,hLinesBeforeRow:b,colSeparationType:l,tags:v,leqno:p}}function rG(e){return"d"===e.slice(0,1)?"display":"text"}var rZ=function(e,t){var r=e.body.length,a=e.hLinesBeforeRow,i=0,o=Array(r),s=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,c=5*u;e.colSeparationType&&"small"===e.colSeparationType&&(c=.2778*(t.havingStyle(T.SCRIPT).sizeMultiplier/t.sizeMultiplier));var d="CD"===e.colSeparationType?L({number:3,unit:"ex"},t):12*u,h=3*u,p=e.arraystretch*d,m=.7*p,f=.3*p,g=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(g+=.25),s.push({pos:g,isDashed:e[t]})}for(y(a[0]),D=0;D<e.body.length;++D){var b=e.body[D],v=m,w=f;i<b.length&&(i=b.length);var x={cells:Array(b.length),height:0,depth:0,pos:0};for(I=0;I<b.length;++I){var k=tM(b[I],t);w<k.depth&&(w=k.depth),v<k.height&&(v=k.height),x.cells[I]=k}var S=e.rowGaps[D],A=0;S&&(A=L(S,t))>0&&(w<(A+=f)&&(w=A),A=0),e.addJot&&D<e.body.length-1&&(w+=h),x.height=v,x.depth=w,x.pos=g+=v,g+=w+A,o[D]=x,y(a[D+1])}var M=g/2+t.fontMetrics().axisHeight,z=e.cols||[],E=[],_=[];if(e.tags&&e.tags.some(e=>e))for(D=0;D<r;++D){var C=o[D],O=C.pos-M,N=e.tags[D],R=void 0;(R=!0===N?e1(["eqn-num"],[],t):!1===N?e1([],[],t):e1([],tw(N,t,!0),t)).depth=C.depth,R.height=C.height,_.push({type:"elem",elem:R,shift:O})}for(I=0,j=0;I<i||j<z.length;++I,++j){for(var D,I,P,j,B,F,W,q,H,U,V=z[j],Y=!0;(null==(F=V)?void 0:F.type)==="separator";){if(Y||((P=e1(["arraycolsep"],[])).style.width=$(t.fontMetrics().doubleRuleSep),E.push(P)),"|"===V.separator||":"===V.separator){var G="|"===V.separator?"solid":"dashed",Z=e1(["vertical-separator"],[],t);Z.style.height=$(g),Z.style.borderRightWidth=$(l),Z.style.borderRightStyle=G,Z.style.margin="0 "+$(-l/2);var J=g-M;J&&(Z.style.verticalAlign=$(-J)),E.push(Z)}else throw new n("Invalid separator type: "+V.separator);V=z[++j],Y=!1}if(!(I>=i)){var X=void 0;(I>0||e.hskipBeforeAndAfter)&&0!==(X=null!=(W=null==(q=V)?void 0:q.pregap)?W:c)&&((P=e1(["arraycolsep"],[])).style.width=$(X),E.push(P));var K=[];for(D=0;D<r;++D){var Q=o[D],ee=Q.cells[I];if(ee){var et=Q.pos-M;ee.depth=Q.depth,ee.height=Q.height,K.push({type:"elem",elem:ee,shift:et})}}var er=e8({positionType:"individualShift",children:K}),en=e1(["col-align-"+((null==(B=V)?void 0:B.align)||"c")],[er]);E.push(en),(I<i-1||e.hskipBeforeAndAfter)&&0!==(X=null!=(H=null==(U=V)?void 0:U.postgap)?H:c)&&((P=e1(["arraycolsep"],[])).style.width=$(X),E.push(P))}}var ea=e1(["mtable"],E);if(s.length>0){for(var ei=e5("hline",t,l),eo=e5("hdashline",t,l),es=[{type:"elem",elem:ea,shift:0}];s.length>0;){var el=s.pop(),eu=el.pos-M;el.isDashed?es.push({type:"elem",elem:eo,shift:eu}):es.push({type:"elem",elem:ei,shift:eu})}ea=e8({positionType:"individualShift",children:es})}return 0===_.length?e1(["mord"],[ea],t):e3([ea,e1(["tag"],[e8({positionType:"individualShift",children:_})],t)])},rJ={c:"center ",l:"left ",r:"right "},rX=function(e,t){for(var r=[],n=new t_("mtd",[],["mtr-glue"]),a=new t_("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var o=e.body[i],s=[],l=0;l<o.length;l++)s.push(new t_("mtd",[tF(o[l],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(a):s.push(a)),r.push(new t_("mtr",s))}var u=new t_("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+.09*!!e.addJot;u.setAttribute("rowspacing",$(c));var d="",h="";if(e.cols&&e.cols.length>0){var p=e.cols,m="",f=!1,g=0,y=p.length;"separator"===p[0].type&&(d+="top ",g=1),"separator"===p[p.length-1].type&&(d+="bottom ",y-=1);for(var b=g;b<y;b++){var v=p[b];"align"===v.type?(h+=rJ[v.align],f&&(m+="none "),f=!0):"separator"===v.type&&f&&(m+="|"===v.separator?"solid ":"dashed ",f=!1)}u.setAttribute("columnalign",h.trim()),/[sd]/.test(m)&&u.setAttribute("columnlines",m.trim())}if("align"===e.colSeparationType){for(var w=e.cols||[],x="",k=1;k<w.length;k++)x+=k%2?"0em ":"1em ";u.setAttribute("columnspacing",x.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?u.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?u.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var S="",A=e.hLinesBeforeRow;d+=(A[0].length>0?"left ":"")+(A[A.length-1].length>0?"right ":"");for(var T=1;T<A.length-1;T++)S+=0===A[T].length?"none ":A[T][0]?"dashed ":"solid ";return/[sd]/.test(S)&&u.setAttribute("rowlines",S.trim()),""!==d&&(u=new t_("menclose",[u])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(u=new t_("mstyle",[u])).setAttribute("scriptlevel","1"),u},rK=function(e,t){e.envName.includes("ed")||rH(e);var r=[],a="split"===e.envName,i=rY(e.parser,{cols:r,addJot:!0,autoTag:a?void 0:rV(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes("at")?"alignat":"align",maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",c=0;c<t[0].body.length;c++)u+=t5(t[0].body[c],"textord").text;s=2*(o=Number(u))}var d=!s;i.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var r=t5(e[t],"styling");t5(r.body[0],"ordgroup").body.unshift(l)}if(d)s<e.length&&(s=e.length);else{var a=e.length/2;if(o<a)throw new n("Too many math in a row: expected "+o+", but got "+a,e[0])}});for(var h=0;h<s;++h){var p="r",m=0;h%2==1?p="l":h>0&&d&&(m=1),r[h]={type:"align",align:p,pregap:m,postgap:0}}return i.colSeparationType=d?"align":"alignat",i};rj({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t3(t[0])?[t[0]]:t5(t[0],"ordgroup").body).map(function(e){var t=t6(e).text;if("lcr".includes(t))return{type:"align",align:t};
2if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new n("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rY(e.parser,a,rG(e.envName))},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,!"lcr".includes(r))throw new n("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),a.cols=[{type:"align",align:r}]}}var o=rY(e.parser,a,rG(e.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rY(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t3(t[0])?[t[0]]:t5(t[0],"ordgroup").body).map(function(e){var t=t6(e).text;if("lc".includes(t))return{type:"align",align:t};throw new n("Unknown column alignment: "+t,e)});if(r.length>1)throw new n("{subarray} can contain only one column");var a=rY(e.parser,{cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},"script");if(a.body.length>0&&a.body[0].length>1)throw new n("{subarray} can contain only one column");return a},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rY(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},rG(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rK,htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){rU.has(e.envName)&&rH(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:rV(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rY(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rK,htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rH(e);var t={autoTag:rV(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rY(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rX}),rj({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rH(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new n("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],i=[a],o=0;o<t.length;o++){for(var s=t[o],l=rr(),u=0;u<s.length;u++)if(rn(s[u])){a.push(l);var c=t6(s[u+=1]).text,d=[,,];if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},"=|.".includes(c));else if("<>AV".includes(c))for(var h=0;h<2;h++){for(var p=!0,m=u+1;m<s.length;m++){if(ra(s[m],c)){p=!1,u=m;break}if(rn(s[m]))throw new n("Missing a "+c+" character to complete a CD arrow.",s[m]);d[h].body.push(s[m])}if(p)throw new n("Missing a "+c+" character to complete a CD arrow.",s[u])}else throw new n('Expected one of "<>AV=|." after @',s[u]);var f={type:"styling",body:[function(e,t,r){var n=rt[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var a=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:n,mode:"math",family:"rel"}],[]),o=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[a,i,o]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);
2case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(c,d,e)],mode:"math",style:"display",resetFont:!0};a.push(f),l=rr()}else l.body.push(s[u]);o%2==0?a.push(l):a.shift(),a=[],i.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var g=Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:g,colSeparationType:"CD",hLinesBeforeRow:Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:rZ,mathmlBuilder:rX}),rB["\\nonumber"]="\\gdef\\@eqnsw{0}",rB["\\notag"]="\\nonumber",th({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new n(e.funcName+" valid only within array environment")}}),th({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(e,t){var{parser:r,funcName:a}=e,i=t[0];if("ordgroup"!==i.type)throw new n("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=t5(i.body[s],"textord").text;if("\\begin"===a){if(!r$.hasOwnProperty(o))throw new n("No such environment: "+o,i);var l=r$[o],{args:u,optArgs:c}=r.parseArguments("\\begin{"+o+"}",l),d={mode:r.mode,envName:o,parser:r},h=l.handler(d,u,c);r.expect("\\end",!1);var p=r.nextToken,m=t5(r.parseFunction(),"environment");if(m.name!==o)throw new n("Mismatch: \\begin{"+o+"} matched by \\end{"+m.name+"}",p);return h}return{type:"environment",mode:r.mode,name:o,nameGroup:i}}});var rQ={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};th({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(e,t)=>{var{parser:r,funcName:n}=e,a=tm(t[0]),i=n in rQ?rQ[n]:n;return{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:(e,t)=>{var r=e.font,n=t.withFont(r);return tM(e.body,n)},mathmlBuilder:(e,t)=>{var r=e.font,n=t.withFont(r);return tF(e.body,n)}}),th({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:re(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:m(n)}}}),th({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,o=r.parseExpression(!0,a);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}}});var r0=(e,t)=>t?{type:"styling",mode:e.mode,style:t,body:[e]}:e;th({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var r,{parser:n,funcName:a}=e,i=t[0],o=t[1],s=null,l=null;switch(a){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw Error("Unrecognized genfrac command")}var u="\\cfrac"===a,c=null;return u||a.startsWith("\\d")?c="display":a.startsWith("\\t")&&(c="text"),r0({type:"genfrac",mode:n.mode,numer:i,denom:o,continued:u,hasBarLine:r,leftDelim:s,rightDelim:l,barSize:null},c)},htmlBuilder:(e,t)=>{var r,n,a,i,o,s,l,u,c,d,h,p=t.style,m=p.fracNum(),f=p.fracDen();r=t.havingStyle(m);var g=tM(e.numer,r,t);if(e.continued){var y=8.5/t.fontMetrics().ptPerEm,b=3.5/t.fontMetrics().ptPerEm;g.height=g.height<y?y:g.height,g.depth=g.depth<b?b:g.depth}r=t.havingStyle(f);var v=tM(e.denom,r,t);if(e.hasBarLine?(e.barSize?(a=L(e.barSize,t),n=e5("frac-line",t,a)):n=e5("frac-line",t),a=n.height,i=n.height):(n=null,a=0,i=t.fontMetrics().defaultRuleThickness),p.size===T.DISPLAY.size?(o=t.fontMetrics().num1,s=a>0?3*i:7*i,l=t.fontMetrics().denom1):(a>0?(o=t.fontMetrics().num2,s=i):(o=t.fontMetrics().num3,s=3*i),l=t.fontMetrics().denom2),n){var w=t.fontMetrics().axisHeight;o-g.depth-(w+.5*a)<s&&(o+=s-(o-g.depth-(w+.5*a))),w-.5*a-(v.height-l)<s&&(l+=s-(w-.5*a-(v.height-l))),u=e8({positionType:"individualShift",children:[{type:"elem",elem:v,shift:l},{type:"elem",elem:n,shift:-(w-.5*a)},{type:"elem",elem:g,shift:-o}]})}else{var x=o-g.depth-(v.height-l);x<s&&(o+=.5*(s-x),l+=.5*(s-x)),u=e8({positionType:"individualShift",children:[{type:"elem",elem:v,shift:l},{type:"elem",elem:g,shift:-o}]})}return r=t.havingStyle(p),u.height*=r.sizeMultiplier/t.sizeMultiplier,u.depth*=r.sizeMultiplier/t.sizeMultiplier,c=p.size===T.DISPLAY.size?t.fontMetrics().delim1:p.size===T.SCRIPTSCRIPT.size?t.havingStyle(T.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,d=null==e.leftDelim?tT(t,["mopen"]):rO(e.leftDelim,c,!0,t.havingStyle(p),e.mode,["mopen"]),h=e.continued?e1([]):null==e.rightDelim?tT(t,["mclose"]):rO(e.rightDelim,c,!0,t.havingStyle(p),e.mode,["mclose"]),e1(["mord"].concat(r.sizingClasses(t)),[d,e1(["mfrac"],[u]),h],t)},mathmlBuilder:(e,t)=>{var r=new t_("mfrac",[tF(e.numer,t),tF(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=L(e.barSize,t);r.setAttribute("linethickness",$(n))}}else r.setAttribute("linethickness","0px");if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var i=new t_("mo",[new tC(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}
2if(a.push(r),null!=e.rightDelim){var o=new t_("mo",[new tC(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}return tI(a)}return r}}),th({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(e){var t,{parser:r,funcName:n,token:a}=e;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:a}}});var r1=["display","text","script","scriptscript"],r4=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};th({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(e,t){var r,{parser:n}=e,a=t[4],i=t[5],o=tm(t[0]),s="atom"===o.type&&"open"===o.family?r4(o.text):null,l=tm(t[1]),u="atom"===l.type&&"close"===l.family?r4(l.text):null,c=t5(t[2],"size"),d=null;r=!!c.isBlank||(d=c.value).number>0;var h=null,p=t[3];return"ordgroup"===p.type?p.body.length>0&&(h=r1[Number(t5(p.body[0],"textord").text)]):h=r1[Number((p=t5(p,"textord")).text)],r0({type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:u},h)}}),th({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t5(t[0],"size").value,token:a}}}),th({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t5(t[1],"infix").size;if(!i)throw Error("\\\\abovefrac expected size, but got "+String(i));var o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null}}});var r5=(e,t)=>{var r,n,a,i=t.style;"supsub"===e.type?(r=e.sup?tM(e.sup,t.havingStyle(i.sup()),t):tM(e.sub,t.havingStyle(i.sub()),t),n=t5(e.base,"horizBrace")):n=t5(e,"horizBrace");var o=tM(n.base,t.havingBaseStyle(T.DISPLAY)),s=tQ(n,t);if(a=n.isOver?e8({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s,wrapperClasses:["svg-align"]}]}):e8({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:o}]}),r){var l=e1(["minner",n.isOver?"mover":"munder"],[a],t);a=n.isOver?e8({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]}):e8({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]})}return e1(["minner",n.isOver?"mover":"munder"],[a],t)};th({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:r5,mathmlBuilder:(e,t)=>{var r=tJ(e.label);return new t_(e.isOver?"mover":"munder",[tF(e.base,t),r])}}),th({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(e,t)=>{var{parser:r}=e,n=t[1],a=t5(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:tf(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tw(e.body,t,!1);return e6(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tB(e.body,t);return r instanceof t_||(r=new t_("mrow",[r])),r.setAttribute("href",e.href),r}}),th({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(e,t)=>{var{parser:r}=e,n=t5(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var o=n[i];"~"===o&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:tf(s)}}}),th({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:tf(t[0])}},htmlBuilder:(e,t)=>e3(tw(e.body,t.withFont(""),!1)),mathmlBuilder:(e,t)=>new t_("mrow",tj(e.body,t.withFont("")))}),th({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(e,t)=>{var r,{parser:a,funcName:i,token:o}=e,s=t5(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u={};switch(i){case"\\htmlClass":u.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":u.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":u.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var c=s.split(","),d=0;d<c.length;d++){var h=c[d],p=h.indexOf("=");if(p<0)throw new n("\\htmlData key/value '"+h+"' missing equals sign");var m=h.slice(0,p),f=h.slice(p+1);u["data-"+m.trim()]=f}r={command:"\\htmlData",attributes:u};break;default:throw Error("Unrecognized html command")}return a.settings.isTrusted(r)?{type:"html",mode:a.mode,attributes:u,body:tf(l)}:a.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var r=tw(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=e1(n,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>tB(e.body,t)}),th({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tf(t[0]),mathml:tf(t[1])}},htmlBuilder:(e,t)=>e3(tw(e.html,t,!1)),mathmlBuilder:(e,t)=>tB(e.mathml,t)});var r6=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new n("Invalid size: '"+e+"' in \\includegraphics");
2var r={number:+(t[1]+t[2]),unit:t[3]};if(!P(r))throw new n("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};th({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(e,t,r)=>{var{parser:a}=e,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var u=t5(r[0],"raw").string.split(","),c=0;c<u.length;c++){var d=u[c].split("=");if(2===d.length){var h=d[1].trim();switch(d[0].trim()){case"alt":l=h;break;case"width":i=r6(h);break;case"height":o=r6(h);break;case"totalheight":s=r6(h);break;default:throw new n("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var p=t5(t[0],"url").url;return(""===l&&(l=(l=(l=p).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:p}))?{type:"includegraphics",mode:a.mode,alt:l,width:i,height:o,totalheight:s,src:p}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=L(e.height,t),n=0;e.totalheight.number>0&&(n=L(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=L(e.width,t));var i={height:$(r+n)};a>0&&(i.width=$(a)),n>0&&(i.verticalAlign=$(-n));var o=new Y(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new t_("mglyph",[]);r.setAttribute("alt",e.alt);
2var n=L(e.height,t),a=0;if(e.totalheight.number>0&&(a=L(e.totalheight,t)-n,r.setAttribute("valign",$(-a))),r.setAttribute("height",$(n+a)),e.width.number>0){var i=L(e.width,t);r.setAttribute("width",$(i))}return r.setAttribute("src",e.src),r}}),th({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(e,t){var{parser:r,funcName:n}=e,a=t5(t[0],"size");if(r.settings.strict){var i="m"===n[1],o="mu"===a.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+a.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder:(e,t)=>e9(e.dimension,t),mathmlBuilder:(e,t)=>new tO(L(e.dimension,t))}),th({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=e1([],[tM(e.body,t)]),r=e1(["inner"],[r],t)):r=e1(["inner"],[tM(e.body,t)]);var r,n=e1(["fix"],[]),a=e1([e.alignment],[r,n],t),i=e1(["strut"]);return i.style.height=$(a.height+a.depth),a.depth&&(i.style.verticalAlign=$(-a.depth)),a.children.unshift(i),a=e1(["thinbox"],[a],t),e1(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new t_("mpadded",[tF(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),th({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:o}}}),th({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new n("Mismatched "+e.funcName)}});var r3=(e,t)=>{switch(t.style.size){case T.DISPLAY.size:return e.display;case T.TEXT.size:return e.text;case T.SCRIPT.size:return e.script;case T.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};th({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tf(t[0]),text:tf(t[1]),script:tf(t[2]),scriptscript:tf(t[3])}},htmlBuilder:(e,t)=>e3(tw(r3(e,t),t,!1)),mathmlBuilder:(e,t)=>tB(r3(e,t),t)});var r2=(e,t,r,n,a,i,o)=>{e=e1([],[e]);var s,l,u,c=r&&m(r);if(t){var d=tM(t,n.havingStyle(a.sup()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var h=tM(r,n.havingStyle(a.sub()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}if(l&&s)u=e8({positionType:"bottom",positionData:n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:$(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:$(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]});else if(s)u=e8({positionType:"top",positionData:e.height-o,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:$(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]});else{if(!l)return e;u=e8({positionType:"bottom",positionData:e.depth+o,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:$(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}var p=[u];if(s&&0!==i&&!c){var f=e1(["mspace"],[],n);f.style.marginRight=$(i),p.unshift(f)}return e1(["mop","op-limits"],p,n)},r7=new Set(["\\smallint"]),r8=(e,t)=>{var r,n,a,i,o,s,l=!1;"supsub"===e.type?(r=e.sup,n=e.sub,a=t5(e.base,"op"),l=!0):a=t5(e,"op");var u=t.style,c=!1;if(u.size===T.DISPLAY.size&&a.symbol&&!r7.has(a.name)&&(c=!0),a.symbol){var d=c?"Size2-Regular":"Size1-Regular",h="";("\\oiint"===a.name||"\\oiiint"===a.name)&&(h=a.name.slice(1),a.name="oiint"===h?"\\iint":"\\iiint"),o=(i=eZ(a.name,d,"math",t,["mop","op-symbol",c?"large-op":"small-op"])).italic,h.length>0&&(i=e8({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:tn(h+"Size"+(c?"2":"1"),t),shift:.08*!!c}]}),a.name="\\"+h,i.classes.unshift("mop"),i.italic=o)}else if(a.body){var p=tw(a.body,t,!0);1===p.length&&p[0]instanceof Z?(i=p[0]).classes[0]="mop":i=e1(["mop"],p,t)}else{for(var m=[],f=1;f<a.name.length;f++)m.push(eJ(a.name[f],a.mode,t));i=e1(["mop"],m,t)}var g=0,y=0;return((i instanceof Z||"\\oiint"===a.name||"\\oiiint"===a.name)&&!a.suppressBaseShift&&(g=(i.height-i.depth)/2-t.fontMetrics().axisHeight,y=null!=(s=i.italic)?s:0),l)?r2(i,r,n,t,u,y,g):(g&&(i.style.position="relative",i.style.top=$(g)),i)},r9={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};th({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return 1===a.length&&(a=r9[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:r8,mathmlBuilder:(e,t)=>{var r;if(e.symbol)r=new t_("mo",[tD(e.name,e.mode)]),r7.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new t_("mo",tj(e.body,t));else{r=new t_("mi",[new tC(e.name.slice(1))]);var n=new t_("mo",[tD("⁡","text")]);r=e.parentIsSupSub?new t_("mrow",[r,n]):new R([r,n])}return r}}),th({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tf(n)}}});var ne={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};th({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],numArgs:0,handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}}}),th({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}}}),th({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=ne[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}}});var nt=(e,t)=>
2{var r,n,a,i,o=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,a=t5(e.base,"operatorname"),o=!0):a=t5(e,"operatorname"),a.body.length>0){for(var s=tw(a.body.map(e=>{var t="text"in e?e.text:void 0;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l<s.length;l++){var u=s[l];u instanceof Z&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=e1(["mop"],s,t)}else i=e1(["mop"],[],t);return o?r2(i,r,n,t,t.style,0,0):i};function nr(e,t,r){for(var n=tw(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var o=n[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[o+1]==="reset-size"+t.size&&(n[i].classes[o+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return e3(n)}th({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:tf(a),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:nt,mathmlBuilder:(e,t)=>{for(var r=tj(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(i instanceof tO);else if(i instanceof t_)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":var o=i.children[0];1===i.children.length&&o instanceof tC?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}n&&(r=[new tC(r.map(e=>e.toText()).join(""))]);var s=new t_("mi",r);s.setAttribute("mathvariant","normal");var l=new t_("mo",[tD("⁡","text")]);return e.parentIsSupSub?new t_("mrow",[s,l]):new R([s,l])}}),rB["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tp({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?e3(tw(e.body,t,!1)):e1(["mord"],tw(e.body,t,!0),t),mathmlBuilder:(e,t)=>tB(e.body,t,!0)}),th({type:"overline",names:["\\overline"],numArgs:1,handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=tM(e.body,t.havingCrampedStyle()),n=e5("overline-line",t),a=t.fontMetrics().defaultRuleThickness;return e1(["mord","overline"],[e8({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]})],t)},mathmlBuilder(e,t){var r=new t_("mo",[new tC("‾")]);r.setAttribute("stretchy","true");var n=new t_("mover",[tF(e.body,t),r]);return n.setAttribute("accent","true"),n}}),th({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:tf(n)}},htmlBuilder:(e,t)=>e3(tw(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new t_("mphantom",tj(e.body,t))}),rB["\\hphantom"]="\\smash{\\phantom{#1}}",th({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=e1(["inner"],[tM(e.body,t.withPhantom())]),n=e1(["fix"],[]);return e1(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=new t_("mphantom",tj(tf(e.body),t)),n=new t_("mpadded",[r]);return n.setAttribute("width","0px"),n}}),th({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(e,t){var{parser:r}=e,n=t5(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=tM(e.body,t);return e8({positionType:"shift",positionData:-L(e.dy,t),children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new t_("mpadded",[tF(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),th({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),th({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(e,t,r){var{parser:n}=e,a=r[0],i=t5(t[0],"size"),o=t5(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&t5(a,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=e1(["mord","rule"],[],t),n=L(e.width,t),a=L(e.height,t),i=e.shift?L(e.shift,t):0;return r.style.borderRightWidth=$(n),r.style.borderTopWidth=$(a),r.style.bottom=$(i),r.width=n,r.he
2ight=a+i,r.depth=-i,r.maxFontSize=1.125*a*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=L(e.width,t),n=L(e.height,t),a=e.shift?L(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new t_("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",$(r)),o.setAttribute("height",$(n));var s=new t_("mpadded",[o]);return a>=0?s.setAttribute("height",$(a)):(s.setAttribute("height",$(a)),s.setAttribute("depth",$(-a))),s.setAttribute("voffset",$(a)),s}});var nn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];th({type:"sizing",names:nn,numArgs:0,allowedInText:!0,handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:nn.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return nr(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=new t_("mstyle",tj(e.body,r));return n.setAttribute("mathsize",$(r.sizeMultiplier)),n}}),th({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,r)=>{var n,{parser:a}=e,i=!1,o=!1,s=r[0]&&t5(r[0],"ordgroup");if(s)for(var l=0;l<s.body.length;++l)if("t"===(n=t6(s.body[l]).text))i=!0;else if("b"===n)o=!0;else{i=!1,o=!1;break}else i=!0,o=!0;var u=t[0];return{type:"smash",mode:a.mode,body:u,smashHeight:i,smashDepth:o}},htmlBuilder:(e,t)=>{var r=e1([],[tM(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return e1(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);return e1(["mord"],[e8({positionType:"firstBaseline",children:[{type:"elem",elem:r}]})],t)},mathmlBuilder:(e,t)=>{var r=new t_("mpadded",[tF(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),th({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=tM(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=e2(r,t);var n=t.fontMetrics().defaultRuleThickness,a=n;t.style.id<T.TEXT.id&&(a=t.fontMetrics().xHeight);var i=n+a/4,{span:o,ruleWidth:s,advanceWidth:l}=rw(r.height+r.depth+i+n,t),u=o.height-s;u>r.height+r.depth+i&&(i=(i+u-r.height-r.depth)/2);var c=o.height-r.height-i-s;r.style.paddingLeft=$(l);var d=e8({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:o},{type:"kern",size:s}]});if(!e.index)return e1(["mord","sqrt"],[d],t);var h=t.havingStyle(T.SCRIPTSCRIPT),p=tM(e.index,h,t),m=e1(["root"],[e8({positionType:"shift",positionData:-(.6*(d.height-d.depth)),children:[{type:"elem",elem:p}]})]);return e1(["mord","sqrt"],[m,d],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new t_("mroot",[tF(r,t),tF(n,t)]):new t_("msqrt",[tF(r,t)])}});var na={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT};th({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);if(!(o in na))throw Error("Unknown style: "+o);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder(e,t){var r=na[e.style],n=t.havingStyle(r);return e.resetFont&&(n=n.withFont("")),nr(e.body,n,t)},mathmlBuilder(e,t){var r=na[e.style],n=t.havingStyle(r);e.resetFont&&(n=n.withFont(""));var a=new t_("mstyle",tj(e.body,n)),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return a.setAttribute("scriptlevel",i[0]),a.setAttribute("displaystyle",i[1]),a}});var ni=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===T.DISPLAY.size||r.alwaysHandleSupSub)?r8:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===T.DISPLAY.size||r.limits)?nt:null;if("accent"===r.type)return m(r.base)?t7:null;if("horizBrace"===r.type)return!e.sub===r.isOver?r5:null;else return null};tp({type:"supsub",htmlBuilder(e,t){var r,n=ni(e,t);if(n)return n(e,t);var{base:a,sup:i,sub:o}=e,s=tM(a,t),l=t.fontMetrics(),u=0,c=0,d=a&&m(a);if(i){var h=t.havingStyle(t.style.sup());b=tM(i,h,t),d||(u=s.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(o){var p=t.havingStyle(t.style.sub());v=tM(o,p,t),d||(c=s.depth+p.fontMetrics().subDrop*p.sizeMultiplier/t.sizeMultiplier)}w=t.style===T.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2;
2var f=t.sizeMultiplier,g=$(.5/l.ptPerEm/f),y=null;if(v){var b,v,w,x,k=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof Z||k)&&(y=$(-(null!=(x=s.italic)?x:0)))}if(b&&v){u=Math.max(u,w,b.depth+.25*l.xHeight),c=Math.max(c,l.sub2);var S=4*l.defaultRuleThickness;if(u-b.depth-(v.height-c)<S){c=S-(u-b.depth)+v.height;var A=.8*l.xHeight-(u-b.depth);A>0&&(u+=A,c-=A)}r=e8({positionType:"individualShift",children:[{type:"elem",elem:v,shift:c,marginRight:g,marginLeft:y},{type:"elem",elem:b,shift:-u,marginRight:g}]})}else if(v)r=e8({positionType:"shift",positionData:c=Math.max(c,l.sub1,v.height-.8*l.xHeight),children:[{type:"elem",elem:v,marginLeft:y,marginRight:g}]});else if(b)r=e8({positionType:"shift",positionData:-(u=Math.max(u,w,b.depth+.25*l.xHeight)),children:[{type:"elem",elem:b,marginRight:g}]});else throw Error("supsub must have either sup or sub.");return e1([tA(s,"right")||"mord"],[s,e1(["msupsub"],[r])],t)},mathmlBuilder(e,t){var r,n,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var i=[tF(e.base,t)];if(e.sub&&i.push(tF(e.sub,t)),e.sup&&i.push(tF(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===T.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===T.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===T.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===T.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===T.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===T.DISPLAY)?"mover":"msup"}return new t_(n,i)}}),tp({type:"atom",htmlBuilder:(e,t)=>eJ(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new t_("mo",[tD(e.text,e.mode)]);if("bin"===e.family){var n=tL(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var no={mi:"italic",mn:"normal",mtext:"normal"};tp({type:"mathord",htmlBuilder:(e,t)=>eX(e,t),mathmlBuilder(e,t){var r=new t_("mi",[tD(e.text,e.mode,t)]),n=tL(e,t)||"italic";return n!==no[r.type]&&r.setAttribute("mathvariant",n),r}}),tp({type:"textord",htmlBuilder:(e,t)=>eX(e,t),mathmlBuilder(e,t){var r,n=tD(e.text,e.mode,t),a=tL(e,t)||"normal";return a!==no[(r="text"===e.mode?new t_("mtext",[n]):/[0-9]/.test(e.text)?new t_("mn",[n]):"\\prime"===e.text?new t_("mo",[n]):new t_("mi",[n])).type]&&r.setAttribute("mathvariant",a),r}});var ns={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},nl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tp({type:"spacing",htmlBuilder(e,t){if(nl.hasOwnProperty(e.text)){var r=nl[e.text].className||"";if("text"!==e.mode)return e1(["mspace",r],[eJ(e.text,e.mode,t)],t);var a=eX(e,t);return a.classes.push(r),a}if(ns.hasOwnProperty(e.text))return e1(["mspace",ns[e.text]],[],t);throw new n('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(nl.hasOwnProperty(e.text))r=new t_("mtext",[new tC(" ")]);else if(ns.hasOwnProperty(e.text))return new t_("mspace");else throw new n('Unknown type of space "'+e.text+'"');return r}});var nu=()=>{var e=new t_("mtd",[]);return e.setAttribute("width","50%"),e};tp({type:"tag",mathmlBuilder(e,t){var r=new t_("mtable",[new t_("mtr",[nu(),new t_("mtd",[tB(e.body,t)]),nu(),new t_("mtd",[tB(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var nc={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},nd={"\\textbf":"textbf","\\textmd":"textmd"},nh={"\\textit":"textit","\\textup":"textup"},np=(e,t)=>{var r=e.font;return r?nc[r]?t.withTextFontFamily(nc[r]):nd[r]?t.withTextFontWeight(nd[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(nh[r]):t};th({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:tf(a),font:n}},htmlBuilder(e,t){var r=np(e,t);return e1(["mord","text"],tw(e.body,r,!0),r)},mathmlBuilder(e,t){var r=np(e,t);return tB(e.body,r)}}),th({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tM(e.body,t),n=e5("underline-line",t),a=t.fontMetrics().defaultRuleThickness;return e1(["mord","underline"],[e8({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a}
2,{type:"elem",elem:r}]})],t)},mathmlBuilder(e,t){var r=new t_("mo",[new tC("‾")]);r.setAttribute("stretchy","true");var n=new t_("munder",[tF(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),th({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tM(e.body,t),n=t.fontMetrics().axisHeight;return e8({positionType:"shift",positionData:.5*(r.height-n-(r.depth+n)),children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new t_("mpadded",[tF(e.body,t)],["vcenter"]);return new t_("mrow",[r])}}),th({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(e,t,r){throw new n("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=nm(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var o=r[i];"~"===o&&(o="\\textasciitilde"),n.push(eZ(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return e1(["mord","text"].concat(a.sizingClasses(t)),eQ(n),a)},mathmlBuilder(e,t){var r=new t_("mtext",[new tC(nm(e))]);return r.setAttribute("mathvariant","monospace"),r}});var nm=e=>e.body.replace(/ /g,e.star?"␣":" "),nf="[ \r\n	]",ng="[̀-ͯ]",ny=RegExp(ng+"+$"),nb="("+nf+"+)|\\\\(\n|[ \r	]+\n?)[ \r	]*|([!-\\[\\]-‧‪-퟿豈-￿]"+ng+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+ng+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|(\\\\[a-zA-Z@]+)"+nf+"*|\\\\[^\uD800-\uDFFF])";class nv{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(nb,"g"),this.catcodes={"%":14,"~":13}}
2setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new rW("EOF",new rF(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new n("Unexpected character: '"+e[t]+"'",new rW(e[t],new rF(this,t,t+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[a]){var i=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===i?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new rW(a,new rF(this,t,this.tokenRegex.lastIndex))}}class nw{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new n("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}rB["\\noexpand"]=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rB["\\expandafter"]=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rB["\\@firstoftwo"]=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rB["\\@secondoftwo"]=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rB["\\@ifnextchar"]=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},rB["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",rB["\\TextOrMath"]=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}};var nx={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};rB["\\char"]=function(e){var t,r,a=e.popToken(),i=0;if("'"===a.text)t=8,a=e.popToken();else if('"'===a.text)t=16,a=e.popToken();else if("`"===a.text)if("\\"===(a=e.popToken()).text[0])i=a.text.charCodeAt(1);else if("EOF"===a.text)throw new n("\\char` missing argument");else i=a.text.charCodeAt(0);else t=10;if(t){if(null==(i=nx[a.text])||i>=t)throw new n("Invalid base-"+t+" digit "+a.text);for(;null!=(r=nx[e.future().text])&&r<t;)i*=t,i+=r,e.popToken()}return"\\@char{"+i+"}"};var nk=(e,t,r,a)=>{var i=e.consumeArg().tokens;if(1!==i.length)throw new n("\\newcommand's first argument must be a macro name");var o=i[0].text,s=e.isDefined(o);if(s&&!t)throw new n("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!r)throw new n("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var l=0;if(1===(i=e.consumeArg().tokens).length&&"["===i[0].text){for(var u="",c=e.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)u+=c.text,c=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new n("Invalid number of arguments: "+u);l=parseInt(u),i=e.consumeArg().tokens}return s&&a||e.macros.set(o,{tokens:i,numArgs:l}),""};rB["\\newcommand"]=e=>nk(e,!1,!0,!1),rB["\\renewcommand"]=e=>nk(e,!0,!1,!1),rB["\\providecommand"]=e=>nk(e,!0,!0,!0),rB["\\message"]=e=>(e.consumeArgs(1)[0].reverse().map(e=>e.text).join(""),""),rB["\\errmessage"]=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rB["\\show"]=e=>{var t=e.popToken().text;return e.macros.get(t),tu[t],ea.math[t],ea.text[t],""},rB["\\bgroup"]="{",rB["\\egroup"]="}",rB["~"]="\\nobreakspace",rB["\\lq"]="`",rB["\\rq"]="'",rB["\\aa"]="\\r a",rB["\\AA"]="\\r A",rB["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`©}",rB["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rB["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}",rB["ℬ"]="\\mathscr{B}",rB["ℰ"]="\\mathscr{E}",rB["ℱ"]="\\mathscr{F}",rB["ℋ"]="\\mathscr{H}",rB["ℐ"]="\\mathscr{I}",rB["ℒ"]="\\mathscr{L}",rB["ℳ"]="\\mathscr{M}",rB["ℛ"]="\\mathscr{R}",rB["ℭ"]="\\mathfrak{C}",rB["ℌ"]="\\mathfrak{H}",rB["ℨ"]="\\mathfrak{Z}",rB["\\Bbbk"]="\\Bbb{k}",rB["\\llap"]="\\mathllap{\\textrm{#1}}",rB["\\rlap"]="\\mathrlap{\\textrm{#1}}",rB["\\clap"]="\\mathclap{\\textrm{#1}}",rB["\\mathstrut"]="\\vphantom{(}",rB["\\underbar"]="\\underline{\\text{#1}}",rB["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}',rB["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}",rB["\\ne"]="\\neq",rB["≠"]="\\neq",rB["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}",rB["∉"]="\\notin",rB["≘"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}",rB["≙"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}",rB["≚"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}",rB["≛"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}",rB["≝"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}",rB["≞"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}",rB["≟"]="\\html@mathml{\\stackrel{\\tiny?}{=}}
2{\\mathrel{\\char`≟}}",rB["⟂"]="\\perp",rB["‼"]="\\mathclose{!\\mkern-0.8mu!}",rB["∌"]="\\notni",rB["⌜"]="\\ulcorner",rB["⌝"]="\\urcorner",rB["⌞"]="\\llcorner",rB["⌟"]="\\lrcorner",rB["©"]="\\copyright",rB["®"]="\\textregistered",rB["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rB["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rB["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rB["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rB["\\vdots"]="{\\varvdots\\rule{0pt}{15pt}}",rB["⋮"]="\\vdots",rB["\\varGamma"]="\\mathit{\\Gamma}",rB["\\varDelta"]="\\mathit{\\Delta}",rB["\\varTheta"]="\\mathit{\\Theta}",rB["\\varLambda"]="\\mathit{\\Lambda}",rB["\\varXi"]="\\mathit{\\Xi}",rB["\\varPi"]="\\mathit{\\Pi}",rB["\\varSigma"]="\\mathit{\\Sigma}",rB["\\varUpsilon"]="\\mathit{\\Upsilon}",rB["\\varPhi"]="\\mathit{\\Phi}",rB["\\varPsi"]="\\mathit{\\Psi}",rB["\\varOmega"]="\\mathit{\\Omega}",rB["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rB["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rB["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rB["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rB["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rB["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;",rB["\\dddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}",rB["\\ddddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}";var nS={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},nA=new Set(["bin","rel"]);rB["\\dots"]=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in nS?t=nS[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in ea.math&&nA.has(ea.math[r].group)&&(t="\\dotsb"),t};var nT={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};rB["\\dotso"]=function(e){return e.future().text in nT?"\\ldots\\,":"\\ldots"},rB["\\dotsc"]=function(e){var t=e.future().text;return t in nT&&","!==t?"\\ldots\\,":"\\ldots"},rB["\\cdots"]=function(e){return e.future().text in nT?"\\@cdots\\,":"\\@cdots"},rB["\\dotsb"]="\\cdots",rB["\\dotsm"]="\\cdots",rB["\\dotsi"]="\\!\\cdots",rB["\\dotsx"]="\\ldots\\,",rB["\\DOTSI"]="\\relax",rB["\\DOTSB"]="\\relax",rB["\\DOTSX"]="\\relax",rB["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rB["\\,"]="\\tmspace+{3mu}{.1667em}",rB["\\thinspace"]="\\,",rB["\\>"]="\\mskip{4mu}",rB["\\:"]="\\tmspace+{4mu}{.2222em}",rB["\\medspace"]="\\:",rB["\\;"]="\\tmspace+{5mu}{.2777em}",rB["\\thickspace"]="\\;",rB["\\!"]="\\tmspace-{3mu}{.1667em}",rB["\\negthinspace"]="\\!",rB["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rB["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rB["\\enspace"]="\\kern.5em ",rB["\\enskip"]="\\hskip.5em\\relax",rB["\\quad"]="\\hskip1em\\relax",rB["\\qquad"]="\\hskip2em\\relax",rB["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rB["\\tag@paren"]="\\tag@literal{({#1})}",rB["\\tag@literal"]=e=>{if(e.macros.get("\\df@tag"))throw new n("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rB["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rB["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rB["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rB["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rB["\\newline"]="\\\\\\relax",rB["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var nM=$(Q["Main-Regular"][84][1]-.7*Q["Main-Regular"][65][1]);rB["\\LaTeX"]="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+nM+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rB["\\KaTeX"]="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+nM+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rB["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rB["\\@hspace"]="\\hskip #1\\relax",rB["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rB["\\ordinarycolon"]=":",rB["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rB["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rB["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rB["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rB["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rB["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rB["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rB["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rB["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rB["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rB["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rB["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rB["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rB["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rB["∷"]="\\dblcolon",rB["∹"]="\\eqcolon",rB["≔"]="\\coloneqq",rB["≕"]="\\eqqcolon",rB["⩴"]="\\Coloneqq",rB["\\ratio"]="\\vcentcolon",rB["\\coloncolon"]="\\dblcolon",rB["\\colonequals"]="\\coloneqq",rB["\\coloncolonequals"]="\\Coloneqq",rB["\\equalscolon"]="\\eqqcolon",rB["\\equalscoloncolon"]="\\Eqqcolon",rB["\\colonminus"]="\\coloneq",rB["\\coloncolonminus"]="\\Coloneq",rB["\\minuscolon"]="\\eqcolon",rB["\\minuscoloncolon"]="\\Eqcolon",rB["\\coloncolonapprox"]="\\Colonapprox",rB["\\coloncolonsim"]="\\Colonsim",rB["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rB["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rB["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rB["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rB["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}",rB["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rB["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rB["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rB["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rB["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rB["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rB["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rB["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rB["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{≩}",rB["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{≨}",rB["\\ngeqq"]="\\html@mathml{\\@ngeqq}{≱}",rB["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{≱}",rB["\\nleqq"]="\\html@mathml{\\@nleqq}{≰}",rB["\\nleqslant"]="\\html@mathml{\\@nleqslant}{≰}",rB["\\nshortmid"]="\\html@mathml{\\@nshortmid}{∤}",rB["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{∦}",rB["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{⊈}",rB["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{⊉}",rB["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{⊊}",rB["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{⫋}",rB["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{⊋}",rB["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{⫌}",rB["\\imath"]="\\html@mathml{\\@imath}{ı}",rB["\\jmath"]="\\html@mathml{\\@jmath}{ȷ}",rB["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}
2{\\mathopen{\\char`⟦}}",rB["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}",rB["⟦"]="\\llbracket",rB["⟧"]="\\rrbracket",rB["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}",rB["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}",rB["⦃"]="\\lBrace",rB["⦄"]="\\rBrace",rB["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}",rB["⦵"]="\\minuso",rB["\\darr"]="\\downarrow",rB["\\dArr"]="\\Downarrow",rB["\\Darr"]="\\Downarrow",rB["\\lang"]="\\langle",rB["\\rang"]="\\rangle",rB["\\uarr"]="\\uparrow",rB["\\uArr"]="\\Uparrow",rB["\\Uarr"]="\\Uparrow",rB["\\N"]="\\mathbb{N}",rB["\\R"]="\\mathbb{R}",rB["\\Z"]="\\mathbb{Z}",rB["\\alef"]="\\aleph",rB["\\alefsym"]="\\aleph",rB["\\Alpha"]="\\mathrm{A}",rB["\\Beta"]="\\mathrm{B}",rB["\\bull"]="\\bullet",rB["\\Chi"]="\\mathrm{X}",rB["\\clubs"]="\\clubsuit",rB["\\cnums"]="\\mathbb{C}",rB["\\Complex"]="\\mathbb{C}",rB["\\Dagger"]="\\ddagger",rB["\\diamonds"]="\\diamondsuit",rB["\\empty"]="\\emptyset",rB["\\Epsilon"]="\\mathrm{E}",rB["\\Eta"]="\\mathrm{H}",rB["\\exist"]="\\exists",rB["\\harr"]="\\leftrightarrow",rB["\\hArr"]="\\Leftrightarrow",rB["\\Harr"]="\\Leftrightarrow",rB["\\hearts"]="\\heartsuit",rB["\\image"]="\\Im",rB["\\infin"]="\\infty",rB["\\Iota"]="\\mathrm{I}",rB["\\isin"]="\\in",rB["\\Kappa"]="\\mathrm{K}",rB["\\larr"]="\\leftarrow",rB["\\lArr"]="\\Leftarrow",rB["\\Larr"]="\\Leftarrow",rB["\\lrarr"]="\\leftrightarrow",rB["\\lrArr"]="\\Leftrightarrow",rB["\\Lrarr"]="\\Leftrightarrow",rB["\\Mu"]="\\mathrm{M}",rB["\\natnums"]="\\mathbb{N}",rB["\\Nu"]="\\mathrm{N}",rB["\\Omicron"]="\\mathrm{O}",rB["\\plusmn"]="\\pm",rB["\\rarr"]="\\rightarrow",rB["\\rArr"]="\\Rightarrow",rB["\\Rarr"]="\\Rightarrow",rB["\\real"]="\\Re",rB["\\reals"]="\\mathbb{R}",rB["\\Reals"]="\\mathbb{R}",rB["\\Rho"]="\\mathrm{P}",rB["\\sdot"]="\\cdot",rB["\\sect"]="\\S",rB["\\spades"]="\\spadesuit",rB["\\sub"]="\\subset",rB["\\sube"]="\\subseteq",rB["\\supe"]="\\supseteq",rB["\\Tau"]="\\mathrm{T}",rB["\\thetasym"]="\\vartheta",rB["\\weierp"]="\\wp",rB["\\Zeta"]="\\mathrm{Z}",rB["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rB["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rB["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rB["\\bra"]="\\mathinner{\\langle{#1}|}",rB["\\ket"]="\\mathinner{|{#1}\\rangle}",rB["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rB["\\Bra"]="\\left\\langle#1\\right|",rB["\\Ket"]="\\left|#1\\right\\rangle";var nz=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),a.length&&r.macros.set("\\|",s));var i=t;return!t&&a.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...i,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};a=nz(!1),rB["\\bra@ket"]=a,i=nz(!0),rB["\\bra@set"]=i,rB["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rB["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rB["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rB["\\angln"]="{\\angl n}",rB["\\blue"]="\\textcolor{##6495ed}{#1}",rB["\\orange"]="\\textcolor{##ffa500}{#1}",rB["\\pink"]="\\textcolor{##ff00af}{#1}",rB["\\red"]="\\textcolor{##df0030}{#1}",rB["\\green"]="\\textcolor{##28ae7b}{#1}",rB["\\gray"]="\\textcolor{gray}{#1}",rB["\\purple"]="\\textcolor{##9d38bd}{#1}",rB["\\blueA"]="\\textcolor{##ccfaff}{#1}",rB["\\blueB"]="\\textcolor{##80f6ff}{#1}",rB["\\blueC"]="\\textcolor{##63d9ea}{#1}",rB["\\blueD"]="\\textcolor{##11accd}{#1}",rB["\\blueE"]="\\textcolor{##0c7f99}{#1}",rB["\\tealA"]="\\textcolor{##94fff5}{#1}",rB["\\tealB"]="\\textcolor{##26edd5}{#1}",rB["\\tealC"]="\\textcolor{##01d1c1}{#1}",rB["\\tealD"]="\\textcolor{##01a995}{#1}",rB["\\tealE"]="\\textcolor{##208170}{#1}",rB["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rB["\\greenB"]="\\textcolor{##8af281}{#1}",rB["\\greenC"]="\\textcolor{##74cf70}{#1}",rB["\\greenD"]="\\textcolor{##1fab54}{#1}",rB["\\greenE"]="\\textcolor{##0d923f}{#1}",rB["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rB["\\goldB"]="\\textcolor{##ffbb71}{#1}",rB["\\goldC"]="\\textcolor{##ff9c39}{#1}",rB["\\goldD"]="\\textcolor{##e07d10}{#1}",rB["\\goldE"]="\\textcolor{##a75a05}{#1}",rB["\\redA"]="\\textcolor{##fca9a9}{#1}",rB["\\redB"]="\\textcolor{##ff8482}{#1}",rB["\\redC"]="\\textcolor{##f9685d}{#1}",rB["\\redD"]="\\textcolor{##e84d39}{#1}
2",rB["\\redE"]="\\textcolor{##bc2612}{#1}",rB["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rB["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rB["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rB["\\maroonD"]="\\textcolor{##ca337c}{#1}",rB["\\maroonE"]="\\textcolor{##9e034e}{#1}",rB["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rB["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rB["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rB["\\purpleD"]="\\textcolor{##7854ab}{#1}",rB["\\purpleE"]="\\textcolor{##543b78}{#1}",rB["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rB["\\mintB"]="\\textcolor{##edf2df}{#1}",rB["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rB["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rB["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rB["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rB["\\grayD"]="\\textcolor{##d6d8da}{#1}",rB["\\grayE"]="\\textcolor{##babec2}{#1}",rB["\\grayF"]="\\textcolor{##888d93}{#1}",rB["\\grayG"]="\\textcolor{##626569}{#1}",rB["\\grayH"]="\\textcolor{##3b3e40}{#1}",rB["\\grayI"]="\\textcolor{##21242c}{#1}",rB["\\kaBlue"]="\\textcolor{##314453}{#1}",rB["\\kaGreen"]="\\textcolor{##71B307}{#1}";var nE={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class n_{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new nw(rB,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new nv(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:n,end:r}=this.consumeArg(["]"])}else({tokens:n,start:t,end:r}=this.consumeArg());return this.pushToken(new rW("EOF",r.loc)),this.pushTokens(n),new rW("",rF.range(t,r))}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],a=e&&e.length>0;a||this.consumeSpaces();var i=this.future(),o=0,s=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++o;else if("}"===t.text){if(-1==--o)throw new n("Extra }",t)}else if("EOF"===t.text)throw new n("Unexpected end of input in a macro argument, expected '"+(e&&a?e[s]:"}")+"'",t);
2if(e&&a)if((0===o||1===o&&"{"===e[s])&&t.text===e[s]){if(++s===e.length){r.splice(-s,s);break}}else s=0}while(0!==o||a)return"{"===i.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new n("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;a<r.length;a++){var i=this.popToken();if(r[a]!==i.text)throw new n("Use of the macro doesn't match its definition",i)}}for(var o=[],s=0;s<e;s++)o.push(this.consumeArg(t&&t[s+1]).tokens);return o}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new n("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new n("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if("#"===l.text){if(0===s)throw new n("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--s]).text)i.splice(s+1,1);else if(/^[1-9]$/.test(l.text))i.splice(s,2,...o[l.text-1]);else throw new n("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new rW(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var a=0;if(n.includes("#"))for(var i=n.replace(/##/g,"");i.includes("#"+(a+1));)++a;for(var o=new nv(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:a}}return n}isDefined(e){return this.macros.has(e)||tu.hasOwnProperty(e)||ea.math.hasOwnProperty(e)||ea.text.hasOwnProperty(e)||nE.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tu.hasOwnProperty(e)&&!tu[e].primitive}}var nC=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,nO=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",áµ¢:"i",â±¼:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",áµ£:"r",ₛ:"s",ₜ:"t",ᵤ:"u",áµ¥:"v",ₓ:"x",ᵦ:"β",áµ§:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",á´¬:"A",á´®:"B",á´°:"D",á´±:"E",á´³:"G",á´´:"H",á´µ:"I",á´¶:"J",á´·:"K",á´¸:"L",á´¹:"M",á´º:"N",á´¼:"O",á´¾:"P",á´¿:"R",ᵀ:"T",ᵁ:"U",â±½:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",á¶ :"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",Ë¡:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",Ë¢:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",Ê·:"w",Ë£:"x",ʸ:"y",á¶»:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",áµ :"ϕ",ᵡ:"χ",á¶¿:"θ"}),nN={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},nR={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",Ç¡:"ǡ",Ã¥:"å",Ç»:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"eÌ
2§Ì†",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",È©:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",Ä¡:"ġ",Ä£:"ģ",ḧ:"ḧ",ȟ:"ȟ",Ä¥:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",Ä©:"ĩ",Ä«:"ī",Ä­:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",Ç©:"ǩ",Ä·:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",È«:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",È­:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",á¹¥:"ṥ",Å¡:"š",á¹§:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",Å¥:"ť",ṫ:"ṫ",Å£:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",Å©:"ũ",á¹¹:"ṹ",Å«:"ū",á¹»:"ṻ",Å­:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",á¹½:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",Å·:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ç :"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ç´:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ä :"Ġ",Ä¢:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ä´:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ä»:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",È®:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Å :"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",á¹ :"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Å¢:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Å®:"Ů",Ű:"Ű",á¹¼:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Å´:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Å»:"Ż",ά:"ά",á½°:"ὰ",á¾±:"ᾱ",á¾°:"ᾰ",έ:"έ",á½²:"ὲ",ή:"ή",á½´:"ὴ",ί:"ί",á½¶:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",á¿¢:"ῢ",á¿¡:"ῡ",á¿ :"ῠ",ώ:"ώ",á½¼:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",á¿©:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class nD{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new n_(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new n("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new rW("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var n=this.fetch();if(nD.endOfExpression.has(n.text)||t&&n.text===t||e&&tu[n.text]&&tu[n.text].infix)break;var a=this.parseAtom(t);if(a){if("internal"===a.type)continue}else break;r.push(a)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r<e.length;r++){var a=e[r];if("infix"===a.type){if(-1!==t)throw new n("only one infix operator per group",a.token);t=r,i=a.replaceWith}}if(-1===t||!i)return e;var i,o,s,l=e.slice(0,t),u=e.slice(t+1);return o=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},s=1===u.length&&"ordgroup"===u[0].type?u[0]:{type:"ordgroup",mode:this.mode,body:u},["\\\\abovefrac"===i?this.callFunction(i,[o,e[t],s],[]):this.callFunction(i,[o,s],[])]}handleSupSubscript(e){var t,r=this.fetch(),a=r.text;this.consume(),this.consumeSpaces();do t=this.parseGroup(e);while((null==t?void 0:t.type)==="internal")if(!t)throw new n("Expected group after '"+a+"'",r);return t}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){var t,r,a=this.parseGroup("atom",e);if((null==a?void 0:a.type)==="internal"||"text"===this.mode)return a;for(;;){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){if(a&&"op"===a.type)a.limits="\\limits"===i.text,a.alwaysHandleSupSub=!0;else if(a&&"operatorname"===a.type)a.alwaysHandleSupSub&&(a.limits="\\limits"===i.text);else throw new n("Limit controls must follow a math operator",i);this.consume()}else if("^"===i.text){if(t)throw new n("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new n("Double subscript",i);r=this.handleSupSubscript("subscript")}else if("'"===i.text){if(t)throw new n("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();"'"===this.fetch().text;)s.push(o),this.consume();"^"===this.fetch().text&&s.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:s}}else if(nO[i.text]){var l=nC.test(i.text),u=[];for(u.push(new rW(nO[i.text])),this.consume();;){var c=this.fetch().text;if(!nO[c]||nC.test(c)!==l)break;u.unshift(new rW(nO[c])),this.consume()}var d=this.subparse(u);l?r={type:"ordgroup",mode:"math",body:d}:t={type:"ordgroup",mode:"math",body:d}}else break}return t&&r?{type:"supsub",mode:this.mode,base:a,sup:t,sub:r}:t?{type:"supsub",mode:this.mode,base:a,sup:t}:r?{type:"supsub",mode:this.mode,base:a,sub:r}:a}parseFunction(e,t){var r=this.fetch(),a=r.text,i=tu[a];if(!i)return null;if(this.consume(),t&&"atom"!==t&&!i.allowedInArgument)throw new n("Got function '"+a+"' with no arguments"+(t?" as "+t:""),r);if("text"!==this.mode||i.allowedInText){if("math"===this.mode&&!1===i.allowedInMath)throw new n("Can't use function '"+a+"' in math mode",r)}else throw new n("Can't use function '"+a+"' in text mode",r);var{args:o,optArgs:s}=this.parseArguments(a,i);return this.callFunction(a,o,s,r,e)}callFunction(e,t,r,a,i){var o=tu[e];if(o&&o.handler)return o.handler({funcName:e,parser:this,token:a,breakOnTokenText:i},t,r);throw new n("No function handler for "+e)}parseArguments(e,t){var r=null!=(l=t.numOptionalArgs)?l:0,a=t.numArgs+r;if(0===a)return{args:[],optArgs:[]};for(var i=[],o=[],s=0;s<a;s++){var l,u,c=null==(u=t.argTypes)?void 0:u[s],d=s<r;("primitive"in t&&t.primitive&&null==c||"sqrt"===t.type&&1===s&&null==o[0])&&(c="primitive");var h=this.parseGroupOfType("argument to '"+e+"'",c,d);if(d)o.push(h);else if(null!=h)i.push(h);else throw new n("Null argument, please report this as a bug")}return{args:i,optArgs:o}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var a=this.parseArgumentGroup(r,"text");return null!=a?{type:"styling",mode:a.mode,body:[a],style:"text",resetFont:!0}:null;case"raw":var i=this.parseStringGroup(r);return null!=i?{type:"raw",mode:"text",string:i.text}:null;case"primitive":if(r)throw new n("A primitive argument cannot be optional");var o=this.parseGroup(e);if(null==o)throw new n("Expected group as "+e,this.fetch());return o;case"original":case void 0:return this.parseArgumentGroup(r);default:throw new n("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e){var t,r=this.gullet.scanArgument(e);
2if(null==r)return null;for(var n="";"EOF"!==(t=this.fetch()).text;)n+=t.text,this.consume();return this.consume(),r.text=n,r}parseRegexGroup(e,t){for(var r,a=this.fetch(),i=a,o="";"EOF"!==(r=this.fetch()).text&&e.test(o+r.text);)o+=(i=r).text,this.consume();if(""===o)throw new n("Invalid "+t+": '"+a.text+"'",a);return a.range(i,o)}parseColorGroup(e){var t=this.parseStringGroup(e);if(null==t)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new n("Invalid color: '"+t.text+"'",t);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup(e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!a)throw new n("Invalid size: '"+t.text+"'",t);var i={number:+(a[1]+a[2]),unit:a[3]};if(!P(i))throw new n("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup(e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:a};return t&&this.switchMode(n),i}parseGroup(e,t){var r,a=this.fetch(),i=a.text;if("{"===i||"\\begingroup"===i){this.consume();var o="{"===i?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,o),l=this.fetch();this.expect(o),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:rF.range(a,l),body:s,semisimple:"\\begingroup"===i||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===i[0]&&!nE.hasOwnProperty(i)){if(this.settings.throwOnError)throw new n("Undefined control sequence: "+i,a);r=this.formatUnsupportedCmd(i),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r];if("textord"===n.type){var a=n.text,i=e[r+1];if(i&&"textord"===i.type){if("-"===a&&"-"===i.text){var o=e[r+2];r+1<t&&o&&"textord"===o.type&&"-"===o.text?(e.splice(r,3,{type:"textord",mode:"text",loc:rF.range(n,o),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:rF.range(n,i),text:"--"}),t-=1)}("'"===a||"`"===a)&&i.text===a&&(e.splice(r,2,{type:"textord",mode:"text",loc:rF.range(n,i),text:a+a}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),a="*"===r.charAt(0);if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new n("\\verb assertion failed --\n                    please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:a}}nR.hasOwnProperty(t[0])&&!ea[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=nR[t[0]]+t.slice(1));var i=ny.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),ea[this.mode][t]){this.settings.strict&&"math"===this.mode&&eN.includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,s,l=ea[this.mode][t].group,u=rF.range(e);o=s=l in t1?{type:"atom",mode:this.mode,family:l,loc:u,text:t}:{type:l,mode:this.mode,loc:u,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(E(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:rF.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var d=i[0][c];if(!nN[d])throw new n("Unknown accent ' "+d+"'",e);var h=nN[d][this.mode]||nN[d].text;if(!h)throw new n("Accent "+d+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:rF.range(e),label:h,isStretchy:!1,isShifty:!0,base:o}}return o}}nD.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var nI=function(e,t){if(!("string"==typeof e||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new nD(e,t);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new n("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new rW("\\df@tag")])}]}return a};"u">typeof document&&"CSS1Compat"!==document.compatMode&&"u">typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.");var nP=function(e,t){return n$(e,t).toMarkup()},nL=function(e,t,r){if(r.throwOnError||!(e instanceof n))throw e;var a=e1(["katex-error"],[new Z(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+r.errorColor),a},n$=function(e,t){var r=new g(t);try{var n=nI(e,r);return tG(n,e,r)}catch(t){return nL(t,e,r)}};r.d(t,{F0:()=>nP})},40946(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(65311);let a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,n.createContext)({}),l=(0,n.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:i,className:l="",children:u,iconNode:c,...d},h)=>
2{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:f=!1,color:g="currentColor",className:y=""}=(0,n.useContext)(s)??{},b=i??f?24*Number(r??m)/Number(t??p):r??m;return(0,n.createElement)("svg",{ref:h,...o,width:t??p??o.width,height:t??p??o.height,stroke:e??g,strokeWidth:b,className:a("lucide",y,l),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(u)?u:[u]])}),u=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...o},s)=>(0,n.createElement)(l,{ref:s,iconNode:t,className:a(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...o}));return r.displayName=i(e),r}},10200(e,t,r){"use strict";let n=(0,r(40946).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);r.d(t,{},{A:n})},36363(e,t,r){"use strict";let n=(0,r(40946).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);r.d(t,{},{A:n})},66260(e,t,r){"use strict";let n=(0,r(40946).A)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);r.d(t,{},{A:n})},70556(e,t,r){"use strict";let n=(0,r(40946).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);r.d(t,{},{A:n})},53926(e,t,r){"use strict";let n=(0,r(40946).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);r.d(t,{},{A:n})},48345(e,t,r){"use strict";let n=(0,r(40946).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);r.d(t,{},{A:n})},52300(e,t,r){"use strict";let n=(0,r(40946).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);r.d(t,{},{A:n})},13093(e,t,r){"use strict";let n=(0,r(40946).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);r.d(t,{},{A:n})},92090(e,t,r){"use strict";let n=(0,r(40946).A)("chevrons-left",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);r.d(t,{},{A:n})},90229(e,t,r){"use strict";let n=(0,r(40946).A)("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);r.d(t,{},{A:n})},81211(e,t,r){"use strict";let n=(0,r(40946).A)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);r.d(t,{},{A:n})},48537(e,t,r){"use strict";let n=(0,r(40946).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);r.d(t,{},{A:n})},89039(e,t,r){"use strict";let n=(0,r(40946).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);r.d(t,{},{A:n})},78285(e,t,r){"use strict";let n=(0,r(40946).A)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);r.d(t,{},{A:n})},92265(e,t,r){"use strict";let n=(0,r(40946).A)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);r.d(t,{},{A:n})},32887(e,t,r){"use strict";let n=(0,r(40946).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);r.d(t,{},{A:n})},12011(e,t,r){"use strict";let n=(0,r(40946).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);r.d(t,{},{A:n})},70367(e,t,r){"use strict";let n=(0,r(40946).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);r.d(t,{},{A:n})},77871(e,t,r){"use strict";let n=(0,r(40946).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);r.d(t,{},{A:n})},60061(e,t,r){"use strict";let n=(0,r(40946).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);r.d(t,{},{A:n})},5238(e,t,r){"use strict";let n=(0,r(40946).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);r.d(t,{},{A:n})},6487(e,t,r){"use strict";let n=(0,r(40946).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);r.d(t,{},{A:n})},71451(e,t,r){"use strict";let n=(0,r(40946).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);r.d(t,{},{A:n})},14398(e,t,r){"use strict";let n=(0,r(40946).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);r.d(t,{},{A:n})},34895(e,t,r){"use strict";let n=(0,r(40946).A)("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);r.d(t,{},{A:n})},21711(e,t,r){"use strict";let n=(0,r(40946).A)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);r.d(t,{},{A:n})},62348(e,t,r){"use strict";let n=(0,r(40946).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);r.d(t,{},{A:n})},7693(e,t,r){"use strict";let n=(0,r(40946).A)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);r.d(t,{},{A:n})},70326(e,t,r){"use strict";let n=(0,r(40946).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);r.d(t,{},{A:n})},64949(e,t,r){"use strict";let n=(0,r(40946).A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);r.d(t,{},{A:n})},9079(e,t,r){"use strict";let n=(0,r(40946).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);r.d(t,{},{A:n})},57736(e,t,r){"use strict";let n=(0,r(40946).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);r.d(t,{},{A:n})},44639(e,t,r){"use strict";let n=(0,r(40946).A)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);r.d(t,{},{A:n})},79736(e,t,r){"use strict";let n=(0,r(40946).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);r.d(t,{},{A:n})},62711(e,t,r){"use strict";let n=(0,r(40946).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);r.d(t,{},{A:n})},88743(e,t,r){"use strict";let n=(0,r(40946).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);r.d(t,{},{A:n})},50460(e,t,r){"use strict";let n=(0,r(40946).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);r.d(t,{},{A:n})},37902(e,t,r){"use strict";let n=(0,r(40946).A)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
2y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);r.d(t,{},{A:n})},20283(e,t,r){"use strict";let n=(0,r(40946).A)("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);r.d(t,{},{A:n})},60991(e,t,r){"use strict";let n=(0,r(40946).A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);r.d(t,{},{A:n})},43041(e,t,r){"use strict";let n=(0,r(40946).A)("table-2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]]);r.d(t,{},{A:n})},30935(e,t,r){"use strict";let n=(0,r(40946).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);r.d(t,{},{A:n})},60033(e,t,r){"use strict";let n=(0,r(40946).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);r.d(t,{},{A:n})},73704(e,t,r){"use strict";let n=(0,r(40946).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);r.d(t,{},{A:n})},82764(e,t,r){"use strict";function n(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var a=n(),i={exec:()=>null};function o(e){let t=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=t[n];return a||(a=e(n),t[n]=a),a}}function s(e,t=""){let r="string"==typeof e?e:e.source,n={replace:(e,t)=>{let a="string"==typeof t?t:t.source;return a=a.replace(u.caret,"$1"),r=r.replace(e,a),n},getRegex:()=>new RegExp(r,t)};return n}var l=((e="")=>{try{return!!RegExp("(?<=1)(?<!1)"+e)}catch{return!1}})(),u={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:o(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`)),hrRegex:o(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:o(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:o(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:o(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:o(e=>RegExp(`^ {0,${e}}>`))},c=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,d=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,h=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,p=s(h).replace(/bull/g,d).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),m=s(h).replace(/bull/g,d).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),f=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,g=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,y=s(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",g).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),b=s(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,d).getRegex(),v="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",w=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,x=s("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
2)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",w).replace("tag",v).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),k=s(f).replace("hr",c).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v).getRegex(),S={blockquote:s(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",k).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:y,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:c,html:x,lheading:p,list:b,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:k,table:i,text:/^[^\n]+/},A=s("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",c).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v).getRegex(),T={...S,lheading:m,table:A,paragraph:s(f).replace("hr",c).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",A).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v).getRegex()},M={...S,html:s("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",w).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:i,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:s(f).replace("hr",c).replace("heading",` *#{1,6} *[^
3]`).replace("lheading",p).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^( {2,}|\\)\n(?!\s*$)/,E=/[\p{P}\p{S}]/u,_=/[\s\p{P}\p{S}]/u,C=/[^\s\p{P}\p{S}]/u,O=s(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,_).getRegex(),N=/(?!~)[\p{P}\p{S}]/u,R=s(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",l?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),D=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,I=s(D,"u").replace(/punct/g,E).getRegex(),P=s(D,"u").replace(/punct/g,N).getRegex(),L="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",$=s(L,"gu").replace(/notPunctSpace/g,C).replace(/punctSpace/g,_).replace(/punct/g,E).getRegex(),j=s(L,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,N).getRegex(),B=s("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,C).replace(/punctSpace/g,_).replace(/punct/g,E).getRegex(),F=s(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,E).getRegex(),W=s("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,C).replace(/punctSpace/g,_).replace(/punct/g,E).getRegex(),q=s(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),H=s(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),U=s(w).replace("(?:--\x3e|$)","--\x3e").getRegex(),V=s("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",U).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Y=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,G=s(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Y).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Z=s(/^!?\[(label)\]\[(ref)\]/).replace("label",Y).replace("ref",g).getRegex(),J=s(/^!?\[(ref)\](?:\[\])?/).replace("ref",g).getRegex(),X=s("reflink|nolink(?!\\()","g").replace("reflink",Z).replace("nolink",J).getRegex(),K=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Q={_backpedal:i,anyPunctuation:q,autolink:H,blockSkip:R,br:z,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:i,delLDelim:i,delRDelim:i,emStrongLDelim:I,emStrongRDelimAst:$,emStrongRDelimUnd:B,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:G,nolink:J,punctuation:O,reflink:Z,reflinkSearch:X,tag:V,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:i},ee={...Q,link:s(/^!?\[(label)\]\((.*?)\)/).replace("label",Y).getRegex(),reflink:s(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y).getRegex()},et={...Q,emStrongRDelimAst:j,emStrongLDelim:P,delLDelim:F,delRDelim:W,url:s(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",K).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:s(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",K).getRegex()},er={...et,br:s(z).replace("{2,}","*").getRegex(),text:s(et.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},en={normal:S,gfm:T,pedantic:M},ea={normal:Q,gfm:et,breaks:er,pedantic:ee},ei={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},eo=e=>ei[e];function es(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,eo)}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,eo);return e}function el(e){try{e=encodeURI(e).replace(u.percentDecode,"%")}catch{return null}return e}function eu(e,t){let r=e.replace(u.findPipe,(e,t,r)=>{let n=!1,a=t;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"}).split(u.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(u.slashPipe,"|");return r}function ec(e,t,r){let n=e.length;if(0===n)return"";let a=0;for(;a<n;){let i=e.charAt(n-a-1);if(i!==t||r)if(i!==t&&r)a++;else break;else a++}return e.slice(0,n-a)}function ed(e){let t=e.split(`
4`),r=t.length-1;for(;r>=0&&u.blankLine.test(t[r]);)r--;return t.length-r<=2?e:t.slice(0,r+1).join(`
5`)}function eh(e,t,r,n,a){let i=t.href,o=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var ep=class{options;rules;lexer;constructor(e){this.options=e||a}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:ed(t[0]),r=e.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e,codeBlockStyle:"indented",text:r}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(null===n)return t;let a=n[1];return t.split(`
6`).map(e=>{let t=e.match(r.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=a.length?e.slice(a.length):e}).join(`
7`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=ec(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:ec(t[0],`
8`),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ec(t[0],`
9`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=ec(t[0],`
10`).split(`
11`),r="",n="",a=[];for(;e.length>0;){let t=!1,i=[],o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))i.push(e[o]),t=!0;else if(t)break;else i.push(e[o]);e=e.slice(o);let s=i.join(`
12`),l=s.replace(this.rules.other.blockquoteSetextReplace,`
13    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
14${s}`:s,n=n?`${n}
15${l}`:l;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,a,!0),this.lexer.state.top=u,0===e.length)break;let c=a.at(-1);if(c?.type==="code")break;if(c?.type==="blockquote"){let t=c.raw+`
16`+e.join(`
17`),i=this.blockquote(t);a[a.length-1]=i,r=r.substring(0,r.length-c.raw.length)+i.raw,n=n.substring(0,n.length-c.text.length)+i.text;break}if(c?.type==="list"){let t=c.raw+`
18`+e.join(`
19`),i=this.list(t);a[a.length-1]=i,r=r.substring(0,r.length-c.raw.length)+i.raw,n=n.substring(0,n.length-c.raw.length)+i.raw,e=t.substring(a.at(-1).raw.length).split(`
20`);continue}}return{type:"blockquote",raw:r,tokens:a,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),o=!1;for(;e;){let r=!1,n="",s="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=function(e,t=0){let r=t,n="";for(let t of e)if("	"===t){let e=4-r%4;n+=" ".repeat(e),r+=e}else n+=t,r++;return n}(t[2].split(`
21`,1)[0],t[1].length),u=e.split(`
22`,1)[0],c=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):c?d=t[1].length+1:(d=(d=l.search(this.rules.other.nonSpaceChar))>4?1:d,s=l.slice(d),d+=t[1].length),c&&this.rules.other.blankLine.test(u)&&(n+=u+`
23`,e=e.substring(u.length+1),r=!0),!r){let t=this.rules.other.nextBulletRegex(d),r=this.rules.other.hrRegex(d),a=this.rules.other.fencesBeginRegex(d),i=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d),h=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(`
24`,1)[0],m;if(u=p,m=this.options.pedantic?u=u.replace(this.rules.other.listReplaceNesting,"  "):u.replace(this.rules.other.tabCharGlobal,"    "),a.test(u)||i.test(u)||o.test(u)||h.test(u)||t.test(u)||r.test(u))break;if(m.search(this.rules.other.nonSpaceChar)>=d||!u.trim())s+=`
25`+m.slice(d);else{if(c||l.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||a.test(l)||i.test(l)||r.test(l))break;s+=`
26`+u}
26c=!u.trim(),n+=p+`
27`,e=e.substring(p.length+1),l=m.slice(d)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(o=!0)),a.items.push({type:"list_item",raw:n,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),a.raw+=n}let s=a.items.at(-1);if(!s)return;for(let e of(s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),a.raw=a.raw.trimEnd(),a.items)){this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]);let t=e.tokens[0];if(e.task&&(t?.type==="text"||t?.type==="paragraph")){e.text=e.text.replace(this.rules.other.listReplaceTask,""),t.raw=t.raw.replace(this.rules.other.listReplaceTask,""),t.text=t.text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}let r=this.rules.other.listTaskCheckbox.exec(e.raw);if(r){let t={type:"checkbox",raw:r[0]+" ",checked:"[ ]"!==r[0]};e.checked=t.checked,a.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&(e.task=!1);if(!a.loose){let t=e.tokens.filter(e=>"space"===e.type);a.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(a.loose)for(let e of a.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return a}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=ed(t[0]);return{type:"html",block:!0,raw:e,pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:ec(t[0],`
28`),href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=eu(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
29`):[],i={type:"table",raw:ec(t[0],`
30`),header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<r.length;e++)i.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:i.align[e]});for(let e of a)i.rows.push(eu(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:ec(t[0],`
31`),depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
32`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=ec(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if("("===e[r])t++;else if(")"===e[r]&&--t<0)return r;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),eh(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return eh(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||!n[1]&&!n[2]&&!n[3]&&!n[4]||n[4]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[3])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,a,i,o=r,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!==(n=l.exec(t));){if(!(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(i=[...a].length,n[3]||n[4]){o+=i;continue}if((n[5]||n[6])&&r%3&&!((r+i)%3)){s+=i;continue}if((o-=i)>0)continue;i=Math.min(i,i+o+s);let t=[...n[0]][0].length,l=e.slice(0,r+n.index+t+i);if(Math.min(r,i)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,r=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,a,i,o=r,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+r);null!==(n=s.exec(t));){if(!(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])||(i=[...a].length)!==r)continue;if(n[3]||n[4]){o+=i;continue}if((o-=i)>0)continue;i=Math.min(i,i+o);let t=[...n[0]][0].length,s=e.slice(0,r+n.index+t+i),l=s.slice(r,-r);return{type:"del",raw:s,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=t[0]);else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0])e=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},em=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||a,this.options.tokenizer=this.options.tokenizer||new ep,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:u,block:en.normal,inline:ea.normal};this.options.pedantic?(t.block=en.pedantic,t.inline=ea.pedantic):this.options.gfm&&(t.block=en.gfm,this.options.breaks?t.inline=ea.breaks:t.inline=ea.gfm),this.tokenizer.rules=t}static get rules(){return{block:en,inline:ea}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(u.carriageReturn,`
33`),this.blockTokens(e,this.tokens);for(let e=0;
33e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(u.tabCharGlobal,"    ").replace(u.spaceLine,""));let n=1/0;for(;e;){let a;if(e.length<n)n=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(this.options.extensions?.block?.some(r=>!!(a=r.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let r=t.at(-1);1===a.raw.length&&void 0!==r?r.raw+=`
34`:t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
35`)?"":`
36`)+a.raw,r.text+=`
37`+a.text,this.inlineQueue.at(-1).src=r.text):t.push(a);continue}if((a=this.tokenizer.fences(e))||(a=this.tokenizer.heading(e))||(a=this.tokenizer.hr(e))||(a=this.tokenizer.blockquote(e))||(a=this.tokenizer.list(e))||(a=this.tokenizer.html(e))){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
38`)?"":`
39`)+a.raw,r.text+=`
40`+a.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},t.push(a));continue}if((a=this.tokenizer.table(e))||(a=this.tokenizer.lheading(e))){e=e.substring(a.raw.length),t.push(a);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,r=e.slice(1),n;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){let n=t.at(-1);r&&n?.type==="paragraph"?(n.raw+=(n.raw.endsWith(`
41`)?"":`
42`)+a.raw,n.text+=`
43`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a),r=i.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let r=t.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(`
44`)?"":`
45`)+a.raw,r.text+=`
46`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(a);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r;this.tokenizer.lexer=this;let n=e,a=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(a=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(a=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(a=this.tokenizer.rules.inline.blockSkip.exec(n));)r=a[2]?a[2].length:0,n=n.slice(0,a.index+r)+"["+"a".repeat(a[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let i=!1,o="",s=1/0;for(;e;){let r;if(e.length<s)s=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(i||(o=""),i=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if((r=this.tokenizer.escape(e))||(r=this.tokenizer.tag(e))||(r=this.tokenizer.link(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);"text"===r.type&&n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,n,o))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e,n,o))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let a=e;if(this.options.extensions?.startInline){let t=1/0,r=e.slice(1),n;
46this.options.extensions.startInline.forEach(e=>{"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(a)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),i=!0;let n=t.at(-1);n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return t}infiniteLoopError(e){let t="Infinite loop on byte: "+e;if(this.options.silent)console.error(t);else throw Error(t)}},ef=class{options;parser;constructor(e){this.options=e||a}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(u.notSpaceStart)?.[0],a=e.replace(u.endingNewline,"")+`
47`;return n?'<pre><code class="language-'+es(n)+'">'+(r?a:es(a,!0))+`</code></pre>
48`:"<pre><code>"+(r?a:es(a,!0))+`</code></pre>
49`}blockquote({tokens:e}){return`<blockquote>
50${this.parser.parse(e)}</blockquote>
51`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
52`}hr(e){return`<hr>
53`}list(e){let t=e.ordered,r=e.start,n="";for(let t=0;t<e.items.length;t++){let r=e.items[t];n+=this.listitem(r)}let a=t?"ol":"ul";return"<"+a+(t&&1!==r?' start="'+r+'"':"")+`>
54`+n+"</"+a+`>
55`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
56`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
57`}table(e){let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.tablecell(e.header[t]);t+=this.tablerow({text:r});let n="";for(let t=0;t<e.rows.length;t++){let a=e.rows[t];r="";for(let e=0;e<a.length;e++)r+=this.tablecell(a[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
58<thead>
59`+t+`</thead>
60`+n+`</table>
61`}tablerow({text:e}){return`<tr>
62${e}</tr>
63`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>
64`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${es(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),a=el(e);if(null===a)return n;let i='<a href="'+(e=a)+'"';return t&&(i+=' title="'+es(t)+'"'),i+=">"+n+"</a>"}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=el(e);if(null===a)return es(r);e=a;let i=`<img src="${e}" alt="${es(r)}"`;return t&&(i+=` title="${es(t)}"`),i+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:es(e.text)}},eg=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},ey=class e{options;renderer;textRenderer;constructor(e){this.options=e||a,this.options.renderer=this.options.renderer||new ef,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new eg}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let r=0;r<e.length;r++){let n=e[r];if(this.options.extensions?.renderers?.[n.type]){let e=this.options.extensions.renderers[n.type].call({parser:this},n);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(n.type)){t+=e||"";continue}}switch(n.type){case"space":t+=this.renderer.space(n);break;case"hr":t+=this.renderer.hr(n);break;case"heading":t+=this.renderer.heading(n);break;case"code":t+=this.renderer.code(n);break;case"table":t+=this.renderer.table(n);break;case"blockquote":t+=this.renderer.blockquote(n);break;case"list":t+=this.renderer.list(n);break;case"checkbox":t+=this.renderer.checkbox(n);break;case"html":t+=this.renderer.html(n);break;case"def":t+=this.renderer.def(n);break;case"paragraph":t+=this.renderer.paragraph(n);break;case"text":t+=this.renderer.text(n);break;default:{let e='Token with "'+n.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<e.length;n++){let a=e[n];if(this.options.extensions?.renderers?.[a.type]){let e=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=e||"";continue}}switch(a.type){case"escape":case"text":r+=t.text(a);break;case"html":r+=t.html(a);break;case"link":r+=t.link(a);break;case"image":r+=t.image(a);break;case"checkbox":r+=t.checkbox(a);break;case"strong":r+=t.strong(a);break;case"em":r+=t.em(a);break;case"codespan":r+=t.codespan(a);break;case"br":r+=t.br(a);break;case"del":r+=t.del(a);break;default:{let e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}},eb=class{options;block;constructor(e){this.options=e||a}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?em.lex:em.lexInline}provideParser(e=this.block){return e?ey.parse:ey.parseInline}},ev=class{defaults=n();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ey;Renderer=ef;TextRenderer=eg;Lexer=em;Tokenizer=ep;Hooks=eb;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":for(let e of n.header)r=r.concat(this.walkTokens(e.tokens,t));for(let e of n.rows)for(let n of e)r=r.concat(this.walkTokens(n.tokens,t));break;case"list":r=r.concat(this.walkTokens(n.items,t));break;default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let a=e[n].flat(1/0);r=r.concat(this.walkTokens(a,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};
64return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new ef(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=e.renderer[r],a=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=a.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ep(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new eb;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=e.hooks[r],a=t[r];eb.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async&&eb.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(t,e);return a.call(t,r)})();let i=n.call(t,e);return a.call(t,i)}:t[r]=(...e)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(t,e);return!1===r&&(r=await a.apply(t,e)),r})();let r=n.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return em.lex(e,t??this.defaults)}parser(e,t){return ey.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(!0===this.defaults.async&&!1===n.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let r=a.hooks?await a.hooks.preprocess(t):t,n=await (a.hooks?await a.hooks.provideLexer(e):e?em.lex:em.lexInline)(r,a),i=a.hooks?await a.hooks.processAllTokens(n):n;a.walkTokens&&await Promise.all(this.walkTokens(i,a.walkTokens));let o=await (a.hooks?await a.hooks.provideParser(e):e?ey.parse:ey.parseInline)(i,a);return a.hooks?await a.hooks.postprocess(o):o})().catch(i);try{a.hooks&&(t=a.hooks.preprocess(t));let r=(a.hooks?a.hooks.provideLexer(e):e?em.lex:em.lexInline)(t,a);a.hooks&&(r=a.hooks.processAllTokens(r)),a.walkTokens&&this.walkTokens(r,a.walkTokens);let n=(a.hooks?a.hooks.provideParser(e):e?ey.parse:ey.parseInline)(r,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(e){return i(e)}}}onError(e,t){return r=>{if(r.message+=`
65Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+es(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}},ew=new ev;function ex(e,t){return ew.parse(e,t)}ex.options=ex.setOptions=function(e){return ew.setOptions(e),ex.defaults=ew.defaults,a=ex.defaults,ex},ex.getDefaults=n,ex.defaults=a,ex.use=function(...e){return ew.use(...e),ex.defaults=ew.defaults,a=ex.defaults,ex},ex.walkTokens=function(e,t){return ew.walkTokens(e,t)},ex.parseInline=ew.parseInline,ex.Parser=ey,ex.parser=ey.parse,ex.Renderer=ef,ex.TextRenderer=eg,ex.Lexer=em,ex.lexer=em.lex,ex.Tokenizer=ep,ex.Hooks=eb,ex.parse=ex,ex.options,ex.setOptions,ex.use,ex.walkTokens,ex.parseInline,ey.parse,em.lex,r.d(t,{A4:()=>ef,Dz:()=>ev})},50488(e,t,r){"use strict";r.d(t,{h:()=>eR});var n,a,i={};r.r(i),r.d(i,{CaptionLabel:()=>w,Chevron:()=>x,Day:()=>k,DayButton:()=>S,Dropdown:()=>M,DropdownNav:()=>z,Footer:()=>E,Month:()=>_,MonthCaption:()=>C,MonthGrid:()=>O,Months:()=>N,MonthsDropdown:()=>R,Nav:()=>D,NextMonthButton:()=>I,Option:()=>P,PreviousMonthButton:()=>L,Root:()=>$,Select:()=>j,Week:()=>B,WeekNumber:()=>q,WeekNumberHeader:()=>H,Weekday:()=>F,Weekdays:()=>W,Weeks:()=>U,YearsDropdown:()=>V});var o={};r.r(o),r.d(o,{formatCaption:()=>G,formatDay:()=>Z,formatMonthDropdown:()=>J,formatWeekNumber:()=>K,formatWeekNumberHeader:()=>Q,formatWeekdayName:()=>X,formatYearDropdown:()=>ee});var s={};r.r(s),r.d(s,{labelDayButton:()=>et,labelGrid:()=>er,labelGridcell:()=>en,labelMonthDropdown:()=>ea,labelNav:()=>ei,labelNext:()=>eo,labelPrevious:()=>es,labelWeekNumber:()=>eu,labelWeekNumberHeader:()=>ec,labelWeekday:()=>el,labelYearDropdown:()=>ed});var l=r(65311),u=r(50950),c=r(67759),d=r(18371);
65function h(e,t,r=!1,n=c.VA){let{from:a,to:i}=e,{differenceInCalendarDays:o,isSameDay:s}=n;return a&&i?(0>o(i,a)&&([a,i]=[i,a]),o(t,a)>=+!!r&&o(i,t)>=+!!r):!r&&i?s(i,t):!r&&!!a&&s(a,t)}function p(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function m(e){return!!(e&&"object"==typeof e&&"from"in e)}function f(e){return!!(e&&"object"==typeof e&&"after"in e)}function g(e){return!!(e&&"object"==typeof e&&"before"in e)}function y(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function b(e,t){return Array.isArray(e)&&e.every(t.isDate)}function v(e,t,r=c.VA){let n=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:i,isAfter:o}=r;return n.some(t=>{if("boolean"==typeof t)return t;if(r.isDate(t))return a(e,t);if(b(t,r))return t.some(t=>a(e,t));if(m(t))return h(t,e,!1,r);if(y(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(p(t)){let r=i(t.before,e),n=i(t.after,e),a=r>0,s=n<0;return o(t.before,t.after)?s&&a:a||s}return f(t)?i(e,t.after)>0:g(t)?i(t.before,e)>0:"function"==typeof t&&t(e)})}function w(e){return l.createElement("span",{...e})}function x(e){let{size:t=24,orientation:r="left",className:n,style:a}=e;return l.createElement("svg",{className:n,style:a,width:t,height:t,viewBox:"0 0 24 24"},"up"===r&&l.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===r&&l.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===r&&l.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===r&&l.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function k(e){let{day:t,modifiers:r,...n}=e;return l.createElement("td",{...n})}function S(e){let{day:t,modifiers:r,...n}=e,a=l.useRef(null);return l.useEffect(()=>{r.focused&&a.current?.focus()},[r.focused]),l.createElement("button",{ref:a,...n})}let A=(0,l.createContext)(void 0);function T(){let e=(0,l.useContext)(A);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function M(e){let{options:t,className:r,...n}=e,{classNames:a,components:i,styles:o}=T(),s=[a[d.UI.Dropdown],r].join(" "),u=t?.find(({value:e})=>e===n.value);return l.createElement("span",{"data-disabled":n.disabled,className:a[d.UI.DropdownRoot],style:o?.[d.UI.DropdownRoot]},l.createElement(i.Select,{className:s,...n},t?.map(({value:e,label:t,disabled:r})=>l.createElement(i.Option,{key:e,value:e,disabled:r},t))),l.createElement("span",{className:a[d.UI.CaptionLabel],style:o?.[d.UI.CaptionLabel],"aria-hidden":!0},u?.label,l.createElement(i.Chevron,{orientation:"down",size:18,className:a[d.UI.Chevron],style:o?.[d.UI.Chevron]})))}function z(e){return l.createElement("div",{...e})}function E(e){return l.createElement("div",{...e})}function _(e){let{calendarMonth:t,displayIndex:r,...n}=e;return l.createElement("div",{...n},e.children)}function C(e){let{calendarMonth:t,displayIndex:r,...n}=e;return l.createElement("div",{...n})}function O(e){return l.createElement("table",{...e})}function N(e){return l.createElement("div",{...e})}function R(e){let{components:t}=T();return l.createElement(t.Dropdown,{...e})}function D(e){let{onPreviousClick:t,onNextClick:r,previousMonth:n,nextMonth:a,...i}=e,{components:o,classNames:s,styles:u,labels:{labelPrevious:c,labelNext:h}}=T(),p=(0,l.useCallback)(e=>{a&&r?.(e)},[a,r]),m=(0,l.useCallback)(e=>{n&&t?.(e)},[n,t]);return l.createElement("nav",{...i},l.createElement(o.PreviousMonthButton,{type:"button",className:s[d.UI.PreviousMonthButton],style:u?.[d.UI.PreviousMonthButton],tabIndex:n?void 0:-1,"aria-disabled":!n||void 0,"aria-label":c(n),onClick:m},l.createElement(o.Chevron,{disabled:!n||void 0,className:s[d.UI.Chevron],style:u?.[d.UI.Chevron],orientation:"left"})),l.createElement(o.NextMonthButton,{type:"button",className:s[d.UI.NextMonthButton],style:u?.[d.UI.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":!a||void 0,"aria-label":h(a),onClick:p},l.createElement(o.Chevron,{disabled:!a||void 0,orientation:"right",className:s[d.UI.Chevron],style:u?.[d.UI.Chevron]}
65)))}function I(e){return l.createElement("button",{...e})}function P(e){return l.createElement("option",{...e})}function L(e){return l.createElement("button",{...e})}function $(e){let{rootRef:t,...r}=e;return l.createElement("div",{...r,ref:t})}function j(e){return l.createElement("select",{...e})}function B(e){let{week:t,...r}=e;return l.createElement("tr",{...r})}function F(e){return l.createElement("th",{...e})}function W(e){return l.createElement("thead",{"aria-hidden":!0},l.createElement("tr",{...e}))}function q(e){let{week:t,...r}=e;return l.createElement("th",{...r})}function H(e){return l.createElement("th",{...e})}function U(e){return l.createElement("tbody",{...e})}function V(e){let{components:t}=T();return l.createElement(t.Dropdown,{...e})}var Y=r(4794);function G(e,t,r){return(r??new c.i0(t)).formatMonthYear(e)}function Z(e,t,r){return(r??new c.i0(t)).format(e,"d")}function J(e,t=c.VA){return t.format(e,"LLLL")}function X(e,t,r){return(r??new c.i0(t)).format(e,"cccccc")}function K(e,t=c.VA){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function Q(){return""}function ee(e,t=c.VA){return t.format(e,"yyyy")}function et(e,t,r,n){let a=(n??new c.i0(r)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}function er(e,t,r){return(r??new c.i0(t)).formatMonthYear(e)}function en(e,t,r,n){let a=(n??new c.i0(r)).format(e,"PPPP");return t?.today&&(a=`Today, ${a}`),a}function ea(e){return"Choose the Month"}function ei(){return""}function eo(e,t){return"Go to the Next Month"}function es(e){return"Go to the Previous Month"}function el(e,t,r){return(r??new c.i0(t)).format(e,"cccc")}function eu(e,t){return`Week ${e}`}function ec(e){return"Week Number"}function ed(e){return"Choose the Year"}let eh=(e,t,r)=>t||(r?"function"==typeof r?r:(...e)=>r:e);var ep=r(16561),em=r(181),ef=r(18079),eg=r(80204),ey=r(7360);let eb=e=>e instanceof HTMLElement?e:null,ev=e=>[...e.querySelectorAll("[data-animated-month]")??[]],ew=e=>eb(e.querySelector("[data-animated-caption]")),ex=e=>eb(e.querySelector("[data-animated-weeks]"));function ek(e,t,r,n){let{month:a,defaultMonth:i,today:o=n.today(),numberOfMonths:s=1}=e,l=a||i||o,{differenceInCalendarMonths:u,addMonths:c,startOfMonth:d}=n;return r&&u(r,l)<s-1&&(l=c(r,-1*(s-1))),t&&0>u(l,t)&&(l=t),d(l)}class eS{constructor(e,t,r=c.VA){this.date=e,this.displayMonth=t,this.outside=!!(t&&!r.isSameMonth(e,t)),this.dateLib=r,this.isoDate=r.format(e,"yyyy-MM-dd"),this.displayMonthId=r.format(t,"yyyy-MM"),this.dateMonthId=r.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class eA{constructor(e,t){this.days=t,this.weekNumber=e}}class eT{constructor(e,t){this.date=e,this.weeks=t}}function eM(e,t){let[r,n]=(0,l.useState)(e);return[void 0===t?r:t,n]}function ez(e){return!e[d.pL.disabled]&&!e[d.pL.hidden]&&!e[d.pL.outside]}function eE(e,t,r=c.VA){return h(e,t.from,!1,r)||h(e,t.to,!1,r)||h(t,e.from,!1,r)||h(t,e.to,!1,r)}function e_(e,t){return e instanceof ep.BB&&e.timeZone===t?e:new ep.BB(e,t)}function eC(e,t,r){if(!r)return e_(e,t);let n=e_(e,t);return new Date(new ep.BB(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,t).getTime())}function eO(e,t,r){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?eC(e,t,r):Array.isArray(e)?e.map(e=>e instanceof Date?eC(e,t,r):e):m(e)?{...e,from:e.from?e_(e.from,t):e.from,to:e.to?e_(e.to,t):e.to}:p(e)?{before:eC(e.before,t,r),after:eC(e.after,t,r)}:f(e)?{after:eC(e.after,t,r)}:g(e)?{before:eC(e.before,t,r)}:e}function eN(e,t,r){return e?Array.isArray(e)?e.map(e=>eO(e,t,r)):eO(e,t,r):e}function eR(e){var t;let r,n=e,w=n.timeZone;if(w&&((n={...e,timeZone:w}).today&&(n.today=e_(n.today,w)),n.month&&(n.month=e_(n.month,w)),n.defaultMonth&&(n.defaultMonth=e_(n.defaultMonth,w)),n.startMonth&&(n.startMonth=e_(n.startMonth,w)),n.endMonth&&(n.endMonth=e_(n.endMonth,w)),"single"===n.mode&&n.selected?n.selected=e_(n.selected,w):"multiple"===n.mode&&n.selected?n.selected=n.selected?.map(e=>e_(e,w)):"range"===n.mode&&n.selected&&(n.selected={from:n.selected.from?e_(n.selected.from,w):n.selected.from,to:n.selected.to?e_(n.selected.to,w):n.selected.to}),void 0!==n.disabled&&(n.disabled=eN(n.disabled,w)),void 0!==n.hidden&&(n.hidden=eN(n.hidden,w)),n.modifiers)){let e={};
65Object.keys(n.modifiers).forEach(t=>{e[t]=eN(n.modifiers?.[t],w)}),n.modifiers=e}let{components:x,formatters:k,labels:S,dateLib:T,locale:M,classNames:z}=(0,l.useMemo)(()=>{var e,t,r,a;let l,d={...u.c,...n.locale},h=n.broadcastCalendar?1:n.weekStartsOn,p=n.noonSafe&&n.timeZone?function(e,t={}){let{weekStartsOn:r,locale:n}=t,a=r??n?.options?.weekStartsOn??0,i=t=>{let r="number"==typeof t||"string"==typeof t?new Date(t):t;return new ep.BB(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,e)},o=e=>{let t=i(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>i(ep.BB.tz(e)),newDate:(t,r,n)=>new ep.BB(t,r,n,12,0,0,e),startOfDay:e=>i(e),startOfWeek:(e,t)=>{let r=i(e),n=t?.weekStartsOn??a,o=(r.getDay()-n+7)%7;return r.setDate(r.getDate()-o),r},startOfISOWeek:e=>{let t=i(e),r=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-r),t},startOfMonth:e=>{let t=i(e);return t.setDate(1),t},startOfYear:e=>{let t=i(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{let r=i(e),n=(((t?.weekStartsOn??a)+6)%7-r.getDay()+7)%7;return r.setDate(r.getDate()+n),r},endOfISOWeek:e=>{let t=i(e),r=(7-t.getDay())%7;return t.setDate(t.getDate()+r),t},endOfMonth:e=>{let t=i(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{let t=i(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{let r=i(t.start),n=i(t.end),a=[],o=new ep.BB(r.getFullYear(),r.getMonth(),1,12,0,0,e),s=12*n.getFullYear()+n.getMonth();for(;12*o.getFullYear()+o.getMonth()<=s;)a.push(new ep.BB(o,e)),o.setMonth(o.getMonth()+1,1);return a},addDays:(e,t)=>{let r=i(e);return r.setDate(r.getDate()+t),r},addWeeks:(e,t)=>{let r=i(e);return r.setDate(r.getDate()+7*t),r},addMonths:(e,t)=>{let r=i(e);return r.setMonth(r.getMonth()+t),r},addYears:(e,t)=>{let r=i(e);return r.setFullYear(r.getFullYear()+t),r},eachYearOfInterval:t=>{let r=i(t.start),n=i(t.end),a=[],o=new ep.BB(r.getFullYear(),0,1,12,0,0,e);for(;o.getFullYear()<=n.getFullYear();)a.push(new ep.BB(o,e)),o.setFullYear(o.getFullYear()+1,0,1);return a},getWeek:(e,t)=>{let r=o(e);return(0,em.N)(r,{weekStartsOn:t?.weekStartsOn??a,firstWeekContainsDate:t?.firstWeekContainsDate??n?.options?.firstWeekContainsDate??1})},getISOWeek:e=>{let t=o(e);return(0,ef.s)(t)},differenceInCalendarDays:(e,t)=>{let r=o(e),n=o(t);return(0,eg.m)(r,n)},differenceInCalendarMonths:(e,t)=>{let r=o(e),n=o(t);return(0,ey.U)(r,n)}}}(n.timeZone,{weekStartsOn:h,locale:d}):void 0,m=n.dateLib&&p?{...p,...n.dateLib}:n.dateLib??p,f=new c.i0({locale:d,weekStartsOn:h,firstWeekContainsDate:n.firstWeekContainsDate,useAdditionalWeekYearTokens:n.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:n.useAdditionalDayOfYearTokens,timeZone:n.timeZone,numerals:n.numerals},m);return{dateLib:f,components:(e=n.components,{...i,...e}),formatters:(t=n.formatters,{...o,...t}),labels:(r=n.labels,a=f.options,l=a.locale?.labels??{},{...s,...r??{},labelDayButton:eh(et,r?.labelDayButton,l.labelDayButton),labelMonthDropdown:eh(ea,r?.labelMonthDropdown,l.labelMonthDropdown),labelNext:eh(eo,r?.labelNext,l.labelNext),labelPrevious:eh(es,r?.labelPrevious,l.labelPrevious),labelWeekNumber:eh(eu,r?.labelWeekNumber,l.labelWeekNumber),labelYearDropdown:eh(ed,r?.labelYearDropdown,l.labelYearDropdown),labelGrid:eh(er,r?.labelGrid,l.labelGrid),labelGridcell:eh(en,r?.labelGridcell,l.labelGridcell),labelNav:eh(ei,r?.labelNav,l.labelNav),labelWeekNumberHeader:eh(ec,r?.labelWeekNumberHeader,l.labelWeekNumberHeader),labelWeekday:eh(el,r?.labelWeekday,l.labelWeekday)}),locale:d,classNames:{...(0,Y.a)(),...n.classNames}}},[n.locale,n.broadcastCalendar,n.weekStartsOn,n.firstWeekContainsDate,n.useAdditionalWeekYearTokens,n.useAdditionalDayOfYearTokens,n.timeZone,n.numerals,n.dateLib,n.noonSafe,n.components,n.formatters,n.labels,n.classNames]);n.today||(n={...n,today:T.today()});let{captionLayout:E,mode:_,navLayout:C,numberOfMonths:O=1,onDayBlur:N,onDayClick:R,onDayFocus:D,onDayKeyDown:I,onDayMouseEnter:P,onDayMouseLeave:L,onNextClick:$,onPrevClick:j,showWeekNumber:B,styles:F}=n,{formatCaption:W,formatDay:q,formatMonthDropdown:H,formatWeekNumber:U,formatWeekNumberHeader:V,formatWeekdayName:G,formatYearDropdown:Z}=k,J=function(e,t){let[r,n]=function(e,t){let{startMonth:r,endMonth:n}=e,{startOfYear:a,startOfDay:i,startOfMonth:o,endOfMonth:s,addYears:l,endOfYear:u,today:c}=t,d="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return r?r=o(r):!r&&d&&(r=a(l(e.today??c(),-100))),n?n=s(n):!n&&d&&(n=u(e.today??c())),[r?i(r):r,n?i(n):n]}(e,t),{startOfMonth:a,endOfMonth:i}=t,o=ek(e,r,n,t),[s,u]=eM(o,e.month?o:void 0);(0,l.useEffect)(()=>{u(ek(e,r,n,t))},[e.timeZone]);let{months:c,weeks:d,days:h,previousMonth:p,nextMonth:m}=(0,l.useMemo)(()=>{let a,o=function(e,t,r,n){let{numberOfMonths:a=1}=r,i=[];for(let r=0;r<a;r++){let a=n.addMonths(e,r);if(t&&a>t)break;
65i.push(a)}return i}(s,n,{numberOfMonths:e.numberOfMonths},t),l=function(e,t,r,n){let a=e[0],i=e[e.length-1],{ISOWeek:o,fixedWeeks:s,broadcastCalendar:l}=r??{},{addDays:u,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:p,endOfMonth:m,endOfWeek:f,isAfter:g,startOfBroadcastWeek:y,startOfISOWeek:b,startOfWeek:v}=n,w=l?y(a,n):o?b(a):v(a),x=l?h(i):o?p(m(i)):f(m(i)),k=t&&(l?h(t):o?p(t):f(t)),S=c(k&&g(x,k)?k:x,w),A=d(i,a)+1,T=[];for(let e=0;e<=S;e++){let t=u(w,e);T.push(t)}let M=(l?35:42)*A;if(s&&T.length<M){let e=M-T.length;for(let t=0;t<e;t++){let e=u(T[T.length-1],1);T.push(e)}}return T}(o,e.endMonth?i(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),u=function(e,t,r,n){let{addDays:a,endOfBroadcastWeek:i,endOfISOWeek:o,endOfMonth:s,endOfWeek:l,getISOWeek:u,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:p}=n,m=e.reduce((e,m)=>{let f=r.broadcastCalendar?d(m,n):r.ISOWeek?h(m):p(m),g=r.broadcastCalendar?i(m):r.ISOWeek?o(s(m)):l(s(m)),y=t.filter(e=>e>=f&&e<=g),b=r.broadcastCalendar?35:42;if(r.fixedWeeks&&y.length<b){let e=t.filter(e=>{let t=b-y.length;return e>g&&e<=a(g,t)});y.push(...e)}let v=y.reduce((e,t)=>{let a=r.ISOWeek?u(t):c(t),i=e.find(e=>e.weekNumber===a),o=new eS(t,m,n);return i?i.days.push(o):e.push(new eA(a,[o])),e},[]),w=new eT(m,v);return e.push(w),e},[]);return r.reverseMonths?m.reverse():m}(o,l,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),c=u.reduce((e,t)=>e.concat(t.weeks.slice()),[]),d=(a=[],u.reduce((e,t)=>{let r=t.weeks.reduce((e,t)=>e.concat(t.days.slice()),a.slice());return e.concat(r.slice())},a.slice()));return{months:u,weeks:c,days:d,previousMonth:function(e,t,r,n){if(r.disableNavigation)return;let{pagedNavigation:a,numberOfMonths:i}=r,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=n,u=o(e);if(!t||!(0>=l(u,t)))return s(u,-(a?i??1:1))}(s,r,e,t),nextMonth:function(e,t,r,n){if(r.disableNavigation)return;let{pagedNavigation:a,numberOfMonths:i=1}=r,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=n,u=o(e);if(!t||!(l(t,e)<i))return s(u,a?i:1)}(s,n,e,t)}},[t,s.getTime(),n?.getTime(),r?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:f,onMonthChange:g}=e,y=e=>{if(f)return;let t=a(e);r&&t<a(r)&&(t=a(r)),n&&t>a(n)&&(t=a(n)),u(t),g?.(t)};return{months:c,weeks:d,days:h,navStart:r,navEnd:n,previousMonth:p,nextMonth:m,goToMonth:y,goToDay:e=>{d.some(t=>t.days.some(t=>t.isEqualTo(e)))||y(e.date)}}}(n,T),{days:X,months:K,navStart:Q,navEnd:ee,previousMonth:eC,nextMonth:eO,goToMonth:eR}=J,eD=function(e,t,r,n,a){let{disabled:i,hidden:o,modifiers:s,showOutsideDays:l,broadcastCalendar:u,today:c=a.today()}=t,{isSameDay:h,isSameMonth:p,startOfMonth:m,isBefore:f,endOfMonth:g,isAfter:y}=a,b=r&&m(r),w=n&&g(n),x={[d.pL.focused]:[],[d.pL.outside]:[],[d.pL.disabled]:[],[d.pL.hidden]:[],[d.pL.today]:[]},k={};for(let t of e){let{date:e,displayMonth:r}=t,n=!!(r&&!p(e,r)),d=!!(b&&f(e,b)),m=!!(w&&y(e,w)),g=!!(i&&v(e,i,a)),S=!!(o&&v(e,o,a))||d||m||!u&&!l&&n||u&&!1===l&&n,A=h(e,c);n&&x.outside.push(t),g&&x.disabled.push(t),S&&x.hidden.push(t),A&&x.today.push(t),s&&Object.keys(s).forEach(r=>{let n=s?.[r];n&&v(e,n,a)&&(k[r]?k[r].push(t):k[r]=[t])})}return e=>{let t={[d.pL.focused]:!1,[d.pL.disabled]:!1,[d.pL.hidden]:!1,[d.pL.outside]:!1,[d.pL.today]:!1},r={};for(let r in x){let n=x[r];t[r]=n.some(t=>t===e)}for(let t in k)r[t]=k[t].some(t=>t===e);return{...t,...r}}}(X,n,Q,ee,T),{isSelected:eI,select:eP,selected:eL}=function(e,t){let r=function(e,t){let{selected:r,required:n,onSelect:a}=e,[i,o]=eM(r,a?r:void 0),s=a?r:i,{isSameDay:l}=t;return{selected:s,select:(e,t,r)=>{let i=e;return!n&&s&&s&&l(e,s)&&(i=void 0),a||o(i),a?.(i,e,t,r),i},isSelected:e=>!!s&&l(s,e)}}(e,t),n=function(e,t){let{selected:r,required:n,onSelect:a}=e,[i,o]=eM(r,a?r:void 0),s=a?r:i,{isSameDay:l}=t,u=e=>s?.some(t=>l(t,e))??!1,{min:c,max:d}=e;return{selected:s,select:(e,t,r)=>{let i=[...s??[]];if(u(e)){if(s?.length===c||n&&s?.length===1)return;i=s?.filter(t=>!l(t,e))}else i=s?.length===d?[e]:[...i,e];return a||o(i),a?.(i,e,t,r),i},isSelected:u}}(e,t),a=function(e,t){let{disabled:r,excludeDisabled:n,resetOnSelect:a,selected:i,required:o,onSelect:s}=e,[l,u]=eM(i,s?i:void 0),d=s?i:l;return{selected:d,select:(i,l,w)=>{let x,{min:k,max:S}=e;if(i){let e=d?.from,r=d?.to,n=!!e&&!!r&&t.isSameDay(e,r)&&t.isSameDay(i,e);x=a&&(e&&r||!d?.from)?!o&&n?void 0:{from:i,to:void 0}:function(e,t,r=0,n=0,a=!1,i=c.VA){let o,{from:s,to:l}=t||{},{isSameDay:u,isAfter:d,isBefore:h}=i;if(s||l){if(s&&!l)o=u(s,e)?0===r?{from:s,to:e}:a?{from:s,to:void 0}:void 0:h(e,s)?{from:e,to:s}:{from:s,to:e};else if(s&&l)if(u(s,e)&&u(l,e))o=a?{from:s,to:l}:void 0;else if(u(s,e))o={from:s,to:r>0?void 0:e};else if(u(l,e))o={from:e,to:r>0?void 0:e};else if(h(e,s))o={from:e,to:l};else if(d(e,s))o={from:s,to:e};else if(d(e,l))o={from:s,to:e};else throw Error("Invalid range")}else o={from:e,to:r>0?void 0:e};if(o?.from&&o?.to){let t=i.differenceInCalendarDays(o.to,o.from);n>0&&t>n?o={from:e,to:void 0}:r>1&&t<r&&(o={from:e,to:void 0})}return o}(i,d,k,S,o,t)}return n&&r&&x?.from&&x.to&&function(e,t,r=c.VA){let n=Array.isArray(t)?t:[t];if(n.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:r.isDate(t)?h(e,t,!1,r):b(t,r)?t.some(t=>h(e,t,!1,r)):m(t)?!!t.from&&!!t.to&&eE(e,{from:t.from,to:t.to},r):y(t)?function(e,t,r=c.VA){let n=Array.isArray(t)?t:[t],a=e.from,i=Math.min(r.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=i;e++){if(n.includes(a.getDay()))return!0;
65a=r.addDays(a,1)}return!1}(e,t.dayOfWeek,r):p(t)?r.isAfter(t.before,t.after)?eE(e,{from:r.addDays(t.after,1),to:r.addDays(t.before,-1)},r):v(e.from,t,r)||v(e.to,t,r):!!(f(t)||g(t))&&(v(e.from,t,r)||v(e.to,t,r))))return!0;let a=n.filter(e=>"function"==typeof e);if(a.length){let t=e.from,n=r.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=n;e++){if(a.some(e=>e(t)))return!0;t=r.addDays(t,1)}}return!1}({from:x.from,to:x.to},r,t)&&(x.from=i,x.to=void 0),s||u(x),s?.(x,i,l,w),x},isSelected:e=>d&&h(d,e,!1,t)}}(e,t);switch(e.mode){case"single":return r;case"multiple":return n;case"range":return a;default:return}}(n,T)??{},{blur:e$,focused:ej,isFocusTarget:eB,moveFocus:eF,setFocused:eW}=function(e,t,r,n,i){let{autoFocus:o}=e,[s,u]=(0,l.useState)(),c=function(e,t,r,n){let i,o=-1;for(let s of e){let e=t(s);ez(e)&&(e[d.pL.focused]&&o<a.FocusedModifier?(i=s,o=a.FocusedModifier):n?.isEqualTo(s)&&o<a.LastFocused?(i=s,o=a.LastFocused):r(s.date)&&o<a.Selected?(i=s,o=a.Selected):e[d.pL.today]&&o<a.Today&&(i=s,o=a.Today))}return i||(i=e.find(e=>ez(t(e)))),i}(t.days,r,n||(()=>!1),s),[h,p]=(0,l.useState)(o?c:void 0);return{isFocusTarget:e=>!!c?.isEqualTo(e),setFocused:p,focused:h,blur:()=>{u(h),p(void 0)},moveFocus:(r,n)=>{if(!h)return;let a=function e(t,r,n,a,i,o,s,l=0){if(l>365)return;let u=function(e,t,r,n,a,i,o){let{ISOWeek:s,broadcastCalendar:l}=i,{addDays:u,addMonths:c,addWeeks:d,addYears:h,endOfBroadcastWeek:p,endOfISOWeek:m,endOfWeek:f,max:g,min:y,startOfBroadcastWeek:b,startOfISOWeek:v,startOfWeek:w}=o,x=({day:u,week:d,month:c,year:h,startOfWeek:e=>l?b(e,o):s?v(e):w(e),endOfWeek:e=>l?p(e):s?m(e):f(e)})[e](r,"after"===t?1:-1);return"before"===t&&n?x=g([n,x]):"after"===t&&a&&(x=y([a,x])),x}(t,r,n.date,a,i,o,s),c=!!(o.disabled&&v(u,o.disabled,s)),d=!!(o.hidden&&v(u,o.hidden,s)),h=new eS(u,u,s);return c||d?e(t,r,h,a,i,o,s,l+1):h}(r,n,h,t.navStart,t.navEnd,e,i);if(a){if(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(a)))return;t.goToDay(a),p(a)}}}}(n,J,eD,eI??(()=>!1),T),{labelDayButton:eq,labelGridcell:eH,labelGrid:eU,labelMonthDropdown:eV,labelNav:eY,labelPrevious:eG,labelNext:eZ,labelWeekday:eJ,labelWeekNumber:eX,labelWeekNumberHeader:eK,labelYearDropdown:eQ}=S,e0=(0,l.useMemo)(()=>(function(e,t,r,n){let a=n??e.today(),i=r?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),o=[];for(let t=0;t<7;t++){let r=e.addDays(i,t);o.push(r)}return o})(T,n.ISOWeek,n.broadcastCalendar,n.today),[T,n.ISOWeek,n.broadcastCalendar,n.today]),e1=void 0!==_||void 0!==R,e4=(0,l.useCallback)(()=>{eC&&(eR(eC),j?.(eC))},[eC,eR,j]),e5=(0,l.useCallback)(()=>{eO&&(eR(eO),$?.(eO))},[eR,eO,$]),e6=(0,l.useCallback)((e,t)=>r=>{r.preventDefault(),r.stopPropagation(),eW(e),t.disabled||(eP?.(e.date,t,r),R?.(e.date,t,r))},[eP,R,eW]),e3=(0,l.useCallback)((e,t)=>r=>{eW(e),D?.(e.date,t,r)},[D,eW]),e2=(0,l.useCallback)((e,t)=>r=>{e$(),N?.(e.date,t,r)},[e$,N]),e7=(0,l.useCallback)((e,t)=>r=>{let a={ArrowLeft:[r.shiftKey?"month":"day","rtl"===n.dir?"after":"before"],ArrowRight:[r.shiftKey?"month":"day","rtl"===n.dir?"before":"after"],ArrowDown:[r.shiftKey?"year":"week","after"],ArrowUp:[r.shiftKey?"year":"week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(a[r.key]){r.preventDefault(),r.stopPropagation();let[e,t]=a[r.key];eF(e,t)}I?.(e.date,t,r)},[eF,I,n.dir]),e8=(0,l.useCallback)((e,t)=>r=>{P?.(e.date,t,r)},[P]),e9=(0,l.useCallback)((e,t)=>r=>{L?.(e.date,t,r)},[L]),te=(0,l.useCallback)((e,t)=>r=>{let n=Number(r.target.value),a=T.setMonth(T.startOfMonth(e),n);eR(T.addMonths(a,-t))},[T,eR]),tt=(0,l.useCallback)((e,t)=>r=>{let n=Number(r.target.value),a=T.setYear(T.startOfMonth(e),n);eR(T.addMonths(a,-t))},[T,eR]),{className:tr,style:tn}=(0,l.useMemo)(()=>({className:[z[d.UI.Root],n.className].filter(Boolean).join(" "),style:{...F?.[d.UI.Root],...n.style}}),[z,n.className,n.style,F]),ta=(r={"data-mode":(t=n).mode??void 0,"data-required":"required"in t?t.required:void 0,"data-multiple-months":t.numberOfMonths&&t.numberOfMonths>1||void 0,"data-week-numbers":t.showWeekNumber||void 0,"data-broadcast-calendar":t.broadcastCalendar||void 0,"data-nav-layout":t.navLayout||void 0},Object.entries(t).forEach(([e,t])=>{e.startsWith("data-")&&(r[e]=t)}),r),ti=e=>
65{let t=F?.[d.UI.Dropdown],r=F?.[e];if(t||r)return{...t,...r}},to=(0,l.useRef)(null);!function(e,t,{classNames:r,months:n,focused:a,dateLib:i}){let o=(0,l.useRef)(null),s=(0,l.useRef)(n),u=(0,l.useRef)(!1);(0,l.useLayoutEffect)(()=>{let l=s.current;if(s.current=n,!t||!e.current||!(e.current instanceof HTMLElement)||0===n.length||0===l.length||n.length!==l.length)return;let c=i.isSameMonth(n[0].date,l[0].date),h=i.isAfter(n[0].date,l[0].date),p=h?r[d.X5.caption_after_enter]:r[d.X5.caption_before_enter],m=h?r[d.X5.weeks_after_enter]:r[d.X5.weeks_before_enter],f=o.current,g=e.current.cloneNode(!0);if(g instanceof HTMLElement?(ev(g).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=eb(e.querySelector("[data-animated-month]"));t&&e.contains(t)&&e.removeChild(t);let r=ew(e);r&&r.classList.remove(p);let n=ex(e);n&&n.classList.remove(m)}),o.current=g):o.current=null,u.current||c||a)return;let y=f instanceof HTMLElement?ev(f):[],b=ev(e.current);if(b?.every(e=>e instanceof HTMLElement)&&y?.every(e=>e instanceof HTMLElement)){u.current=!0;let t=[];e.current.style.isolation="isolate";let n=eb(e.current.querySelector("[data-animated-nav]"));n&&(n.style.zIndex="1"),b.forEach((a,i)=>{let o=y[i];if(!o)return;a.style.position="relative",a.style.overflow="hidden";let s=ew(a);s&&s.classList.add(p);let l=ex(a);l&&l.classList.add(m);let c=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),n&&(n.style.zIndex=""),s&&s.classList.remove(p),l&&l.classList.remove(m),a.style.position="",a.style.overflow="",a.contains(o)&&a.removeChild(o)};t.push(c),o.style.pointerEvents="none",o.style.position="absolute",o.style.overflow="hidden",o.setAttribute("aria-hidden","true");let f=eb(o.querySelector("[data-animated-weekdays]"));f&&(f.style.opacity="0");let g=ew(o);g&&(g.classList.add(h?r[d.X5.caption_before_exit]:r[d.X5.caption_after_exit]),g.addEventListener("animationend",c));let b=ex(o);b&&b.classList.add(h?r[d.X5.weeks_before_exit]:r[d.X5.weeks_after_exit]),a.insertBefore(o,a.firstChild)})}})}(to,!!n.animate,{classNames:z,months:K,focused:ej,dateLib:T});let ts={dayPickerProps:n,selected:eL,select:eP,isSelected:eI,months:K,nextMonth:eO,previousMonth:eC,goToMonth:eR,getModifiers:eD,components:x,classNames:z,styles:F,labels:S,formatters:k};return l.createElement(A.Provider,{value:ts},l.createElement(x.Root,{rootRef:n.animate?to:void 0,className:tr,style:tn,dir:n.dir,id:n.id,lang:n.lang??M.code,nonce:n.nonce,title:n.title,role:n.role,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],...ta},l.createElement(x.Months,{className:z[d.UI.Months],style:F?.[d.UI.Months]},!n.hideNavigation&&!C&&l.createElement(x.Nav,{"data-animated-nav":n.animate?"true":void 0,className:z[d.UI.Nav],style:F?.[d.UI.Nav],"aria-label":eY(),onPreviousClick:e4,onNextClick:e5,previousMonth:eC,nextMonth:eO}),K.map((e,t)=>{let r,a,i=n.reverseMonths?K.length-1-t:t;return l.createElement(x.Month,{"data-animated-month":n.animate?"true":void 0,className:z[d.UI.Month],style:F?.[d.UI.Month],key:t,displayIndex:t,calendarMonth:e},"around"===C&&!n.hideNavigation&&0===t&&l.createElement(x.PreviousMonthButton,{type:"button",className:z[d.UI.PreviousMonthButton],style:F?.[d.UI.PreviousMonthButton],tabIndex:eC?void 0:-1,"aria-disabled":!eC||void 0,"aria-label":eG(eC),onClick:e4,"data-animated-button":n.animate?"true":void 0},l.createElement(x.Chevron,{disabled:!eC||void 0,className:z[d.UI.Chevron],style:F?.[d.UI.Chevron],orientation:"rtl"===n.dir?"right":"left"})),l.createElement(x.MonthCaption,{"data-animated-caption":n.animate?"true":void 0,className:z[d.UI.MonthCaption],style:F?.[d.UI.MonthCaption],calendarMonth:e,displayIndex:t},E?.startsWith("dropdown")?l.createElement(x.DropdownNav,{className:z[d.UI.Dropdowns],style:F?.[d.UI.Dropdowns]},(r="dropdown"===E||"dropdown-months"===E?l.createElement(x.MonthsDropdown,{key:"month",className:z[d.UI.MonthsDropdown],"aria-label":eV(),disabled:!!n.disableNavigation,onChange:te(e.date,i),options:function(e,t,r,n,a){let{startOfMonth:i,startOfYear:o,endOfYear:s,eachMonthOfInterval:l,getMonth:u}=a;return l({start:o(e),end:s(e)}).map(e=>{let o=n.formatMonthDropdown(e,a);return{value:u(e),label:o,disabled:t&&e<i(t)||r&&e>i(r)||!1}})}(e.date,Q,ee,k,T),style:ti(d.UI.MonthsDropdown),value:T.getMonth(e.date)}):l.createElement("span",{key:"month"},H(e.date,T)),a="dropdown"===E||"dropdown-years"===E?l.createElement(x.YearsDropdown,{key:"year",className:z[d.UI.YearsDropdown],"aria-label":eQ(T.options),disabled:!!n.disableNavigation,onChange:tt(e.date,i),options:function(e,t,r,n,a=!1){if(!e||!t)return;let{startOfYear:i,endOfYear:o,eachYearOfInterval:s,getYear:l}=n,u=s({start:i(e),end:o(t)});return a&&u.reverse(),u.map(e=>{let t=r.formatYearDropdown(e,n);return{value:l(e),label:t,disabled:!1}})}(Q,ee,k,T,!!n.reverseYears),style:ti(d.UI.YearsDropdown),value:T.getYear(e.date)}):l.createElement("span",{key:"year"},Z(e.date,T)),"year-first"===T.getMonthYearOrder()?[a,r]:[r,a]),l.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},W(e.date,T.options,T))):l.createElement(x.CaptionLabel,{className:z[d.UI.CaptionLabel],style:F?.[d.U
65I.CaptionLabel],role:"status","aria-live":"polite"},W(e.date,T.options,T))),"around"===C&&!n.hideNavigation&&t===O-1&&l.createElement(x.NextMonthButton,{type:"button",className:z[d.UI.NextMonthButton],style:F?.[d.UI.NextMonthButton],tabIndex:eO?void 0:-1,"aria-disabled":!eO||void 0,"aria-label":eZ(eO),onClick:e5,"data-animated-button":n.animate?"true":void 0},l.createElement(x.Chevron,{disabled:!eO||void 0,className:z[d.UI.Chevron],style:F?.[d.UI.Chevron],orientation:"rtl"===n.dir?"left":"right"})),t===O-1&&"after"===C&&!n.hideNavigation&&l.createElement(x.Nav,{"data-animated-nav":n.animate?"true":void 0,className:z[d.UI.Nav],style:F?.[d.UI.Nav],"aria-label":eY(),onPreviousClick:e4,onNextClick:e5,previousMonth:eC,nextMonth:eO}),l.createElement(x.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===_||"range"===_,"aria-label":eU(e.date,T.options,T)||void 0,className:z[d.UI.MonthGrid],style:F?.[d.UI.MonthGrid]},!n.hideWeekdays&&l.createElement(x.Weekdays,{"data-animated-weekdays":n.animate?"true":void 0,className:z[d.UI.Weekdays],style:F?.[d.UI.Weekdays]},B&&l.createElement(x.WeekNumberHeader,{"aria-label":eK(T.options),className:z[d.UI.WeekNumberHeader],style:F?.[d.UI.WeekNumberHeader],scope:"col"},V()),e0.map(e=>l.createElement(x.Weekday,{"aria-label":eJ(e,T.options,T),className:z[d.UI.Weekday],key:String(e),style:F?.[d.UI.Weekday],scope:"col"},G(e,T.options,T)))),l.createElement(x.Weeks,{"data-animated-weeks":n.animate?"true":void 0,className:z[d.UI.Weeks],style:F?.[d.UI.Weeks]},e.weeks.map(e=>l.createElement(x.Week,{className:z[d.UI.Week],key:e.weekNumber,style:F?.[d.UI.Week],week:e},B&&l.createElement(x.WeekNumber,{week:e,style:F?.[d.UI.WeekNumber],"aria-label":eX(e.weekNumber,{locale:M}),className:z[d.UI.WeekNumber],scope:"row",role:"rowheader"},U(e.weekNumber,T)),e.days.map(e=>{let{date:t}=e,r=eD(e);if(r[d.pL.focused]=!r.hidden&&!!ej?.isEqualTo(e),r[d.wc.selected]=eI?.(t)||r.selected,m(eL)){let{from:e,to:n}=eL;r[d.wc.range_start]=!!(e&&n&&T.isSameDay(t,e)),r[d.wc.range_end]=!!(e&&n&&T.isSameDay(t,n)),r[d.wc.range_middle]=h(eL,t,!0,T)}let a=function(e,t={},r={}){let n={...t?.[d.UI.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{n={...n,...r?.[e]}}),n}(r,F,n.modifiersStyles),i=function(e,t,r={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[n])=>(r[n]?e.push(r[n]):t[d.pL[n]]?e.push(t[d.pL[n]]):t[d.wc[n]]&&e.push(t[d.wc[n]]),e),[t[d.UI.Day]])}(r,z,n.modifiersClassNames),o=e1||r.hidden?void 0:eH(t,r,T.options,T);return l.createElement(x.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:r,className:i.join(" "),style:a,role:"gridcell","aria-selected":r.selected||void 0,"aria-label":o,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":r.selected||void 0,"data-disabled":r.disabled||void 0,"data-hidden":r.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":r.focused||void 0,"data-today":r.today||void 0},!r.hidden&&e1?l.createElement(x.DayButton,{className:z[d.UI.DayButton],style:F?.[d.UI.DayButton],type:"button",day:e,modifiers:r,disabled:!r.focused&&r.disabled||void 0,"aria-disabled":r.focused&&r.disabled||void 0,tabIndex:eB(e)?0:-1,"aria-label":eq(t,r,T.options,T),onClick:e6(e,r),onBlur:e2(e,r),onFocus:e3(e,r),onKeyDown:e7(e,r),onMouseEnter:e8(e,r),onMouseLeave:e9(e,r)},q(t,T.options,T)):!r.hidden&&q(e.date,T.options,T))}))))))})),n.footer&&l.createElement(x.Footer,{className:z[d.UI.Footer],style:F?.[d.UI.Footer],role:"status","aria-live":"polite"},n.footer)))}(n=a||(a={}))[n.Today=0]="Today",n[n.Selected=1]="Selected",n[n.LastFocused=2]="LastFocused",n[n.FocusedModifier=3]="FocusedModifier"},18371(e,t,r){"use strict";var n,a,i,o,s,l,u,c;(s=n||(n={})).Root="root",s.Chevron="chevron",s.Day="day",s.DayButton="day_button",s.CaptionLabel="caption_label",s.Dropdowns="dropdowns",s.Dropdown="dropdown",s.DropdownRoot="dropdown_root",s.Footer="footer",s.MonthGrid="month_grid",s.MonthCaption="month_caption",s.MonthsDropdown="months_dropdown",s.Month="month",s.Months="months",s.Nav="nav",s.NextMonthButton="button_next",s.PreviousMonthButton="button_previous",s.Week="week",s.Weeks="weeks",s.Weekday="weekday",s.Weekdays="weekdays",s.WeekNumber="week_number",s.WeekNumberHeader="week_number_header",s.YearsDropdown="years_dropdown",(l=a||(a={})).disabled="disabled",l.hidden="hidden",l.outside="outside",l.focused="focused",l.today="today",(u=i||(i={})).range_end="range_end",u.range_middle="range_middle",u.range_start="range_start",u.selected="selected",(c=o||(o={})).weeks_before_enter="weeks_before_enter",c.weeks_before_exit="weeks_before_exit",c.weeks_after_enter="weeks_after_enter",c.weeks_after_exit="weeks_after_exit",c.caption_after_enter="caption_after_enter",c.caption_after_exit="caption_after_exit",c.caption_before_enter="caption_before_enter",c.caption_before_exit="caption_before_exit",r.d(t,{UI:()=>n,X5:()=>o,pL:()=>a,wc:()=>i})},67759(e,t,r){"use strict";r.d(t,{i0:()=>A,VA:()=>T});var n=r(16561),a=r(51412),i=r(84728);function o(e,t,r){let n=(0,i.a)(e,r?.in);return isNaN(t)?(0,a.w)(r?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function s(e,t,r){let n=(0,i.a)(e,r?.in);if(isNaN(t))return(0,a.w)(r?.in||e,NaN);if(!t)return n;let o=n.getDate(),s=(0,a.w)(r?.in||e,n.getTime());return(s.setMonth(n.getMonth()+t+1,0),o>=s.getDate())?s:(n.setFullYear(s.getFullYear(),s.getMonth(),o),n)}var l=r(80204),u=r(7360),c=r(27112);function d(e,t){let[r,n]=(0,c.x)(e,t.start,t.end);return{start:r,end:n}}var h=r(65781);function p(e,t){let r=(0,h.q)(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=(0,i.a)(e,t?.in),o=a.getDay();return a.setDate(a.getDate()+((o<n?-7:0)+6-(o-n))),a.setHours(23,59,59,999),a}var m=r(36250),f=r(18079),g=r(181),y=r(5669),b=r(75156),v=r(3227),w=r(77704),x=r(87649);function k(e,t){let r=t.startOfMonth(e),n=r.getDay();return 1===n?r:0===n?t.addDays(r,-6):t.addDays(r,-1*(n-1))}var S=r(50950);class A{constructor(e,t){this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?n.BB.tz(this.options.timeZone):new(this.options.Date??Date),this.newDate=(e,t,r)=>this.overrides?.newDate?this.overrides.newDate(e,t,r):this.options.timeZone?new n.BB(e,t,r,this.options.timeZone):new Date(e,t,r),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):o(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):s(e,t),this.addWeeks=(e,t)=>
65this.overrides?.addWeeks?this.overrides.addWeeks(e,t):o(e,7*t,void 0),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):s(e,12*t,void 0),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):(0,l.m)(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):(0,u.U)(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e){let{start:t,end:r}=d(void 0,e),n=+t>+r,i=n?+t:+r,o=n?r:t;o.setHours(0,0,0,0),o.setDate(1);let s=(void 0)??1;if(!s)return[];s<0&&(s=-s,n=!n);let l=[];for(;+o<=i;)l.push((0,a.w)(t,o)),o.setMonth(o.getMonth()+s);return n?l.reverse():l}(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):function(e){let{start:t,end:r}=d(void 0,e),n=+t>+r,i=n?+t:+r,o=n?r:t;o.setHours(0,0,0,0),o.setMonth(0,1);let s=(void 0)??1;if(!s)return[];s<0&&(s=-s,n=!n);let l=[];for(;+o<=i;)l.push((0,a.w)(t,o)),o.setFullYear(o.getFullYear()+s);return n?l.reverse():l}(e),r=new Set(t.map(e=>this.getYear(e)));if(r.size===t.length)return t;let n=[];return r.forEach(e=>{n.push(new Date(e,0,1))}),n},this.endOfBroadcastWeek=e=>{let t,r,n,a,i,o;return this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):(t=k(e,this),n=(r=this.startOfMonth(e)).getDay()>0?r.getDay():7,a=this.addDays(e,-n+1),i=this.addDays(a,34),o=this.getMonth(e)===this.getMonth(i)?5:4,this.addDays(t,7*o-1))},this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):p(e,{...void 0,weekStartsOn:1}),this.endOfMonth=e=>{let t,r;return this.overrides?.endOfMonth?this.overrides.endOfMonth(e):(r=(t=(0,i.a)(e,void 0)).getMonth(),t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t)},this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):p(e,this.options),this.endOfYear=e=>{let t,r;return this.overrides?.endOfYear?this.overrides.endOfYear(e):(r=(t=(0,i.a)(e,void 0)).getFullYear(),t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t)},this.format=(e,t,r)=>{let n=this.overrides?.format?this.overrides.format(e,t,this.options):(0,m.GP)(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(n):n},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):(0,f.s)(e),this.getMonth=(e,t)=>{var r;return this.overrides?.getMonth?this.overrides.getMonth(e,this.options):(r=this.options,(0,i.a)(e,r?.in).getMonth())},this.getYear=(e,t)=>{var r;return this.overrides?.getYear?this.overrides.getYear(e,this.options):(r=this.options,(0,i.a)(e,r?.in).getFullYear())},this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):(0,g.N)(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):+(0,i.a)(e)>+(0,i.a)(t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):+(0,i.a)(e)<+(0,i.a)(t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):(0,y.$)(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):function(e,t){let[r,n]=(0,c.x)(void 0,e,t);return+(0,b.o)(r)==+(0,b.o)(n)}(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t){let[r,n]=(0,c.x)(void 0,e,t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):function(e,t){let[r,n]=(0,c.x)(void 0,e,t);return r.getFullYear()===n.getFullYear()}(e,t),this.max=e=>{let t,r;return this.overrides?.max?this.overrides.max(e):(r=void 0,e.forEach(e=>{r||"object"!=typeof e||(r=a.w.bind(null,e));let n=(0,i.a)(e,r);(!t||t<n||isNaN(+n))&&(t=n)}),(0,a.w)(r,t||NaN))},this.min=e=>{let t,r;return this.overrides?.min?this.overrides.min(e):(r=void 0,e.forEach(e=>{r||"object"!=typeof e||(r=a.w.bind(null,e));let n=(0,i.a)(e,r);(!t||t>n||isNaN(+n))&&(t=n)}),(0,a.w)(r,t||NaN))},this.setMonth=(e,t)=>{let r,n,o,s,l,u,c,d,h;return this.overrides?.setMonth?this.overrides.setMonth(e,t):(n=(r=(0,i.a)(e,void 0)).getFullYear(),o=r.getDate(),(s=(0,a.w)(e,0)).setFullYear(n,t,15),s.setHours(0,0,0,0),u=(l=(0,i.a)(s,void 0)).getFullYear(),c=l.getMonth(),(d=(0,a.w)(l,0)).setFullYear(u,c+1,0),d.setHours(0,0,0,0),h=d.getDate(),r.setMonth(t,Math.min(o,h)),r)},this.setYear=(e,t)=>
65{let r;return this.overrides?.setYear?this.overrides.setYear(e,t):isNaN(+(r=(0,i.a)(e,void 0)))?(0,a.w)(e,NaN):(r.setFullYear(t),r)},this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):k(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):(0,b.o)(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):(0,v.b)(e),this.startOfMonth=e=>{let t;return this.overrides?.startOfMonth?this.overrides.startOfMonth(e):((t=(0,i.a)(e,void 0)).setDate(1),t.setHours(0,0,0,0),t)},this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):(0,w.k)(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):(0,x.D)(e),this.options={locale:S.c,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),r={};for(let e=0;e<10;e++)r[e.toString()]=t.format(e);return r}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;return e&&A.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:r,numerals:n}=this.options,a=t?.code;if(a&&A.yearFirstLocales.has(a))try{return new Intl.DateTimeFormat(a,{month:"long",year:"numeric",timeZone:r,numberingSystem:n}).format(e)}catch{}let i="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,i)}}A.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let T=new A},4794(e,t,r){"use strict";var n=r(18371);function a(){let e={};for(let t in n.UI)e[n.UI[t]]=`rdp-${n.UI[t]}`;for(let t in n.pL)e[n.pL[t]]=`rdp-${n.pL[t]}`;for(let t in n.wc)e[n.wc[t]]=`rdp-${n.wc[t]}`;for(let t in n.X5)e[n.X5[t]]=`rdp-${n.X5[t]}`;return e}r.d(t,{a:()=>a})},50950(e,t,r){"use strict";var n=r(36250),a=r(1867);let i={...a.c,labels:{labelDayButton:(e,t,r,i)=>{let o=(i&&"function"==typeof i.format?i.format.bind(i):(e,t)=>(0,n.GP)(e,t,{locale:a.c,...r}))(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,r)=>(r&&"function"==typeof r.format?r.format.bind(r):(e,r)=>(0,n.GP)(e,r,{locale:a.c,...t}))(e,"LLLL yyyy"),labelGridcell:(e,t,r,i)=>{let o=(i&&"function"==typeof i.format?i.format.bind(i):(e,t)=>(0,n.GP)(e,t,{locale:a.c,...r}))(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,r)=>(r&&"function"==typeof r.format?r.format.bind(r):(e,r)=>(0,n.GP)(e,r,{locale:a.c,...t}))(e,"cccc")}};r.d(t,{},{c:i})},86322(e,t,r){"use strict";r.d(t,{fr:()=>p});let n={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};var a=r(73388);let i={date:(0,a.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'proch
65ain à' p",other:"P"};var s=r(54570);let l=["MMM","MMMM"],u={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&l.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let r,n=Number(e),a=t?.unit;return 0===n?"0":(r=1===n?a&&["year","week","hour","minute","second"].includes(a)?"ère":"er":"ème",n+r)},era:(0,s.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};var c=r(33168);let d={ordinalNumber:(0,r(26512).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,c.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/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,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})};var h=r(67759);let p={code:"fr",formatDistance:(e,t,r)=>{let a,i=n[e];if(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),r?.addSuffix)if(r.comparison&&r.comparison>0)return"dans "+a;else return"il y a "+a;return a},formatLong:i,formatRelative:(e,t,r,n)=>o[e],localize:u,match:d,options:{weekStartsOn:1,firstWeekContainsDate:4},labels:{labelDayButton:(e,t,r,n)=>{let a=(n??new h.i0(r)).format(e,"PPPP");return t.today&&(a=`Aujourd'hui, ${a}`),t.selected&&(a=`${a}, s\xe9lectionn\xe9`),a},labelMonthDropdown:"Choisir le mois",labelNext:"Aller au mois suivant",labelPrevious:"Aller au mois précédent",labelWeekNumber:e=>`Semaine ${e}`,labelYearDropdown:"Choisir l'année",labelGrid:(e,t,r)=>(r??new h.i0(t)).formatMonthYear(e),labelGridcell:(e,t,r,n)=>{let a=(n??new h.i0(r)).format(e,"PPPP");return t?.today&&(a=`Aujourd'hui, ${a}`),a},labelNav:"Barre de navigation",labelWeekNumberHeader:"Numéro de semaine",labelWeekday:(e,t,r)=>(r??new h.i0(t)).format(e,"cccc")}}},5488(e,t,r){"use strict";r.d(t,{ja:()=>p});let n={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}};var a=r(73388);let i={date:(0,a.k)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},o={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"};var s=r(54570);let l={ordinalNumber:(e,t)=>{let r=Number(e);switch(String(t?.unit)){case"year":return`${r}年`;case"quarter":return`第${r}四半期`;case"month":return`${r}月`;case"week":return`第${r}週`;case"date":return`${r}日`;case"hour":return`${r}時`;case"minute":return`${r}分`;case"second":return`${r}秒`;default:return`${r}`}},era:(0,s.o)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})};var u=r(26512),c=r(33168);let d={code:"ja",formatDistance:(e,t,r)=>{let a;r=r||{};let i=n[e];if(a="string"==typeof i?i:1===t?r.addSuffix&&i.oneWithSuffix?i.oneWithSuffix:i.one:r.addSuffix&&i.otherWithSuffix?i.otherWithSuffix.replace("{{count}}",String(t)):i.other.replace("{{count}}",String(t)),r.addSuffix)if(r.comparison&&r.comparison>0)return a+"後";else return a+"前";return a},formatLong:i,formatRelative:(e,t,r,n)=>o[e],localize:l,match:{ordinalNumber:(0,u.K)({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.A)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var h=r(67759);let p={...d,labels:{labelDayButton:(e,t,r,n)=>{let a=(n??new h.i0(r)).format(e,"PPPP");return t.today&&(a=`今日、${a}`),t.selected&&(a=`${a}、選択済み`),a},labelMonthDropdown:"月を選択",labelNext:"次の月へ",labelPrevious:"前の月へ",labelWeekNumber:e=>`第${e}週`,labelYearDropdown:"年を選択",labelGrid:(e,t,r)=>(r??new h.i0(t)).formatMonthYear(e),labelGridcell:(e,t,r,n)=>{let a=(n??new h.i0(r)).format(e,"PPPP");return t?.today&&(a=`今日、${a}`),a},labelNav:"ナビゲーションバー",labelWeekNumberHeader:"週番号",labelWeekday:(e,t,r)=>(r??new h.i0(t)).format(e,"cccc")}}},16612(e,t,r){"use strict";function n(e,t){if(void 0!==e.one&&1===t)return e.one;let r=t%10,n=t%100;return 1===r&&11!==n?e.singularNominative.replace("{{count}}",String(t)):r>=2&&r<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function a(e){return(t,r)=>{if(!r?.addSuffix)return n(e.regular,t);if(r.comparison&&r.comparison>0)if(e.future)return n(e.future,t);else return"через "+n(e.regular,t);return e.past?n(e.past,t):n(e.regular,t)+" назад"}}r.d(t,{ru:()=>y});let i={lessThanXSeconds:a({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:a({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>
65{if(t?.addSuffix)if(t.comparison&&t.comparison>0)return"через полминуты";else return"полминуты назад";return"полминуты"},lessThanXMinutes:a({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:a({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:a({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:a({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:a({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:a({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:a({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:a({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:a({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:a({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:a({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:a({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:a({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}}
65)};var o=r(73388);let s={date:(0,o.k)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var l=r(37587);let u=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function c(e){let t=u[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}let d={lastWeek:(e,t,r)=>{let n=e.getDay();if((0,l.R)(e,t,r))return c(n);let a=u[n];switch(n){case 0:return"'в прошлое "+a+" в' p";case 1:case 2:case 4:return"'в прошлый "+a+" в' p";case 3:case 5:case 6:return"'в прошлую "+a+" в' p"}},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,r)=>{let n=e.getDay();if((0,l.R)(e,t,r))return c(n);let a=u[n];switch(n){case 0:return"'в следующее "+a+" в' p";case 1:case 2:case 4:return"'в следующий "+a+" в' p";case 3:case 5:case 6:return"'в следующую "+a+" в' p"}},other:"P"};var h=r(54570);let p={ordinalNumber:(e,t)=>{let r=Number(e),n=t?.unit;return r+("date"===n?"-е":"week"===n||"minute"===n||"second"===n?"-я":"-й")},era:(0,h.o)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,h.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,h.o)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,h.o)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,h.o)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})};var m=r(33168);let f={ordinalNumber:(0,r(26512).K)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,m.A)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,m.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,m.A)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|оÐ
65ºÑ‚|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,m.A)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,m.A)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})};var g=r(67759);let y={code:"ru",formatDistance:(e,t,r)=>i[e](t,r),formatLong:s,formatRelative:(e,t,r,n)=>{let a=d[e];return"function"==typeof a?a(t,r,n):a},localize:p,match:f,options:{weekStartsOn:1,firstWeekContainsDate:1},labels:{labelDayButton:(e,t,r,n)=>{let a=(n??new g.i0(r)).format(e,"PPPP");return t.today&&(a=`Сегодня, ${a}`),t.selected&&(a=`${a}, выбрано`),a},labelMonthDropdown:"Выберите месяц",labelNext:"Перейти к следующему месяцу",labelPrevious:"Перейти к предыдущему месяцу",labelWeekNumber:e=>`Неделя ${e}`,labelYearDropdown:"Выберите год",labelGrid:(e,t,r)=>(r??new g.i0(t)).formatMonthYear(e),labelGridcell:(e,t,r,n)=>{let a=(n??new g.i0(r)).format(e,"PPPP");return t?.today&&(a=`Сегодня, ${a}`),a},labelNav:"Панель навигации",labelWeekNumberHeader:"Номер недели",labelWeekday:(e,t,r)=>(r??new g.i0(t)).format(e,"cccc")}}},19276(e,t,r){"use strict";r.d(t,{vi:()=>h});let n={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"ná»­a phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hÆ¡n 1 năm",other:"hÆ¡n {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}};var a=r(73388);let i={date:(0,a.k)({formats:{full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},o={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"};var s=r(54570);let l={ordinalNumber:(e,t)=>{let r=Number(e),n=t?.unit;if("quarter"===n)switch(r){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===n)switch(r){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chá»§ nhật"}else if("week"===n)if(1===r)return"thứ nhất";else return"thứ "+r;else if("dayOfYear"===n)if(1===r)return"đầu tiên";else return"thứ "+r;return String(r)},era:(0,s.o)({values:{narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chá»
65§ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"am",pm:"pm",midnight:"ná»­a đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"ná»­a đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"ná»­a đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},defaultFormattingWidth:"wide"})};var u=r(33168);let c={ordinalNumber:(0,r(26512).K)({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},defaultParseWidth:"wide"}),day:(0,u.A)({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chá»§ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chá»§|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},defaultParseWidth:"wide"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/ná»­a đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},defaultParseWidth:"any"})};var d=r(67759);let h={code:"vi",formatDistance:(e,t,r)=>{let a,i=n[e];if(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),r?.addSuffix)if(r.comparison&&r.comparison>0)return a+" nữa";else return a+" trước";return a},formatLong:i,formatRelative:(e,t,r,n)=>o[e],localize:l,match:c,options:{weekStartsOn:1,firstWeekContainsDate:1},labels:{labelDayButton:(e,t,r,n)=>{let a=(n??new d.i0(r)).format(e,"PPPP");return t.today&&(a=`H\xf4m nay, ${a}`),t.selected&&(a=`${a}, đ\xe3 chọn`),a},labelMonthDropdown:"Chọn tháng",labelNext:"Đến tháng tiếp theo",labelPrevious:"Đến tháng trước",labelWeekNumber:e=>`Tuần ${e}`,labelYearDropdown:"Chọn năm",labelGrid:(e,t,r)=>(r??new d.i0(t)).formatMonthYear(e),labelGridcell:(e,t,r,n)=>{let a=(n??new d.i0(r)).format(e,"PPPP");return t?.today&&(a=`H\xf4m nay, ${a}`),a},labelNav:"Thanh điều hướng",labelWeekNumberHeader:"Số tuần",labelWeekday:(e,t,r)=>(r??new d.i0(t)).format(e,"cccc")}}},19474(e,t,r){"use strict";r.d(t,{g:()=>m});let n={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 å¹´",other:"大约 {{count}} å¹´"},xYears:{one:"1 å¹´",other:"{{count}} å¹´"},overXYears:{one:"超过 1 å¹´",other:"超过 {{count}} å¹´"},almostXYears:{one:"将近 1 å¹´",other:"将近 {{count}} å¹´"}};var a=r(73388);let i={date:(0,a.k)({formats:{full:"y'å¹´'M'月'd'日' EEEE",long:"y'å¹´'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var o=r(37587);function s(e,t,r){let n="eeee p";return(0,o.R)(e,t,r)?n:e.getTime()>t.getTime()?"'下个'"+n:"'上个'"+n}let l={lastWeek:s,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:s,other:"PP p"};var u=r(54570);let c={ordinalNumber:(e,t)=>{let r=Number(e);switch(t?.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},era:(0,u.o)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})};
65var d=r(33168);let h={ordinalNumber:(0,r(26512).K)({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一]?)/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]?|\d|1[0-2])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一]?)月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^(一|1(?!\d))/i,/^(二|2)/i,/^(三|3)/i,/^(四|4)/i,/^(五|5)/i,/^(六|6)/i,/^(七|7)/i,/^(八|8)/i,/^(九|9)/i,/^(十(?!(一|二))|10)/i,/^(十一|11)/i,/^(十二|12)/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})};var p=r(67759);let m={code:"zh-CN",formatDistance:(e,t,r)=>{let a,i=n[e];if(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),r?.addSuffix)if(r.comparison&&r.comparison>0)return a+"内";else return a+"前";return a},formatLong:i,formatRelative:(e,t,r,n)=>{let a=l[e];return"function"==typeof a?a(t,r,n):a},localize:c,match:h,options:{weekStartsOn:1,firstWeekContainsDate:4},labels:{labelDayButton:(e,t,r,n)=>{let a=(n??new p.i0(r)).format(e,"PPPP");return t.today&&(a=`今天,${a}`),t.selected&&(a=`${a},已选择`),a},labelMonthDropdown:"选择月份",labelNext:"前往下个月",labelPrevious:"前往上个月",labelWeekNumber:e=>`第 ${e} 周`,labelYearDropdown:"选择年份",labelGrid:(e,t,r)=>(r??new p.i0(t)).formatMonthYear(e),labelGridcell:(e,t,r,n)=>{let a=(n??new p.i0(r)).format(e,"PPPP");return t?.today&&(a=`今天,${a}`),a},labelNav:"导航栏",labelWeekNumberHeader:"周数",labelWeekday:(e,t,r)=>(r??new p.i0(t)).format(e,"cccc")}}},27606(e,t,r){"use strict";var n=r(65311),a=e=>e instanceof Date,i=e=>null==e,o=e=>!i(e)&&!Array.isArray(e)&&"object"==typeof e&&!a(e),s=e=>o(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,l=(e,t)=>t.split(".").some((t,r,n)=>!isNaN(Number(t))&&e.has(n.slice(0,r).join("."))),u=e=>{let t=e.constructor&&e.constructor.prototype;return o(t)&&t.hasOwnProperty("isPrototypeOf")},c="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function d(e){if(e instanceof Date)return new Date(e);let t="u">typeof FileList&&e instanceof FileList;if(c&&(e instanceof Blob||t))return e;let r=Array.isArray(e);if(!r&&!(o(e)&&u(e)))return e;let n=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=d(e[t]));return n}let h="blur",p="trigger",m="onChange",f="onSubmit",g="maxLength",y="minLength",b="pattern",v="required",w="validate",x="root",k=["__proto__","constructor","prototype"],S=/^\w*$/;var A=e=>void 0===e;let T=/[.[\]'"]/;var M=e=>e.split(T).filter(Boolean),z=(e,t,r)=>{if(!t||!o(e))return r;let n=S.test(t)?[t]:M(t);if(n.some(e=>k.includes(e)))return r;let a=n.reduce((e,t)=>i(e)?void 0:e[t],e);return A(a)||a===e?A(e[t])?r:e[t]:a},E=e=>"function"==typeof e,_=(e,t,r)=>{let n=-1,a=S.test(t)?[t]:M(t),i=a.length,s=i-1;for(;++n<i;){let t=a[n],i=r;if(n!==s){let r=e[t];i=o(r)||Array.isArray(r)?r:isNaN(+a[n+1])?{}:[]}if(k.includes(t))return;e[t]=i,e=e[t]}};let C=n.createContext(null);C.displayName="HookFormControlContext";var O=(e,t,r,n=!0)=>{let a={};for(let i in e)Object.defineProperty(a,i,{get:()=>("all"!==t._proxyFormState[i]&&(t._proxyFormState[i]=!n||"all"),r&&(r[i]=!0),e[i])});return a};let N=c?n.useLayoutEffect:n.useEffect;function R(e){let t=n.useContext(C),{control:r=t,disabled:a,name:i,exact:o}=e||{},[s,l]=n.useState(()=>({...r._formState,defaultValues:r._defaultValues})),u=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return N(()=>r._subscribe({name:i,formState:u.current,exact:o,callback:e=>{a||l({...r._formState,...e,defaultValues:r._defaultValues})}}),[i,a,o]),n.useEffect(()=>{u.current.isValid&&r._setValid(!0)},[r]),n.useMemo(()=>O(s,r,u.current,!1),[s,r])}var D=e=>"string"==typeof e,I=(e,t,r,n,a)=>D(e)?(n&&t.watch.add(e),z(r,e,a)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),z(r,e))):(n&&(t.watchAll=!0),r),P=e=>i(e)||"object"!=typeof e;let L=(e,t)=>0===t.length&&!Array.isArray(e)&&!u(e);
65function $(e,t,r=new WeakMap){if(e===t)return!0;if(P(e)||P(t))return Object.is(e,t);if(a(e)&&a(t))return Object.is(e.getTime(),t.getTime());let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;if(L(e,n)||L(t,i))return Object.is(e,t);if(!n.length&&Array.isArray(e)!==Array.isArray(t))return!1;let s=r.get(e);if(s&&s.has(t))return!0;if(s)s.add(t);else{let n=new WeakSet;n.add(t),r.set(e,n)}for(let i of n){let n=e[i];if(!(i in t))return!1;if("ref"!==i){let e=t[i];if(a(n)&&a(e)||(o(n)||Array.isArray(n))&&(o(e)||Array.isArray(e))?!$(n,e,r):!Object.is(n,e))return!1}}return!0}function j(e){let t=n.useContext(C),{control:r=t,name:a,defaultValue:i,disabled:o,exact:s,compute:l}=e||{},u=n.useRef(i),c=n.useRef(l),d=n.useRef(void 0),h=n.useRef(r),p=n.useRef(a);c.current=l;let[m,f]=n.useState(()=>{let e=r._getWatch(a,u.current);return c.current?c.current(e):e}),g=n.useCallback(e=>{let t=I(a,r._names,e||r._formValues,!1,u.current);return c.current?c.current(t):t},[r._formValues,r._names,a]),y=n.useCallback(e=>{if(!o){let t=I(a,r._names,e||r._formValues,!1,u.current);if(c.current){let e=c.current(t);$(e,d.current)||(f(e),d.current=e)}else f(t)}},[r._formValues,r._names,o,a]);N(()=>(h.current===r&&$(p.current,a)||(h.current=r,p.current=a,y()),r._subscribe({name:a,formState:{values:!0},exact:s,callback:e=>{y(e.values)}})),[r,s,a,y]),n.useEffect(()=>r._removeUnmounted());let b=h.current!==r,v=p.current,w=n.useMemo(()=>{if(o)return null;let e=!b&&!$(v,a);return b||e?g():null},[o,b,a,v,g]);return null!==w?w:m}let B=n.createContext(null);B.displayName="HookFormContext";var F=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},W=e=>Array.isArray(e)?e.filter(Boolean):[],q=e=>Array.isArray(e)?e:[e],H=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},U=e=>o(e)&&!Object.keys(e).length,V=e=>{if(!c)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Y=e=>V(e)&&e.isConnected;function G(e,t){if(D(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let r=Array.isArray(t)?t:S.test(t)?[t]:M(t),n=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n<r;){if(i(e)){e=void 0;break}e=e[t[n]],n++}return e}(e,r),a=r.length-1,s=r[a];return n&&delete n[s],0!==a&&(o(n)&&U(n)||Array.isArray(n)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!A(e[t]))return!1;return!0}(n))&&G(e,r.slice(0,-1)),e}function Z(e){return Array.isArray(e)||o(e)&&!(e=>{for(let t in e)if(E(e[t]))return!0;return!1})(e)}function J(e,t={}){for(let r in e){let n=e[r];Z(n)?(t[r]=Array.isArray(n)?[]:{},J(n,t[r])):A(n)||(t[r]=!0)}return t}function X(e,t,r){for(let n in r||(r=J(t)),e){let a=e[n];if(Z(a))A(t)||P(r[n])?r[n]=J(a,Array.isArray(a)?[]:{}):X(a,i(t)?{}:t[n],r[n]);else{let e=t[n];r[n]=!$(a,e)}}return function e(t){if(!1!==t){if(!0===t)return!0;if(Array.isArray(t)){let r=t.map(t=>e(t));return r.some(e=>void 0!==e)?r:void 0}if(o(t)){let r={};for(let n in t){let a=e(t[n]);A(a)||(r[n]=a)}return Object.keys(r).length?r:void 0}}}(r)||{}}let K={value:!1,isValid:!1},Q={value:!0,isValid:!0};var ee=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&&!A(e[0].attributes.value)?A(e[0].value)||""===e[0].value?Q:{value:e[0].value,isValid:!0}:Q:K}return K},et=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>A(e)?e:t?""===e?NaN:e?+e:e:r&&D(e)?new Date(e):n?n(e):e;let er={isValid:!1,value:null};var en=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"file"===t.type?t.files:"radio"===t.type?en(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?ee(e.refs).value:et(A(t.value)?e.ref.value:t.value,e)}var ei=e=>A(e)?e:e instanceof RegExp?e.source:o(e)?e.value instanceof RegExp?e.value.source:e.value:e,eo=e=>({isOnSubmit:!e||e===f,isOnBlur:"onBlur"===e,isOnChange:e===m,isOnAll:"all"===e,isOnTouch:"onTouched"===e});let es="AsyncFunction";var el=e=>{if(!e||!e.validate)return!1;if(E(e.validate))return e.validate.constructor.name===es;if(o(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===es)return!0}return!1},eu=(e,t,r)=>{if(r)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};let ec=(e,t,r,n)=>{for(let a of r||Object.keys(e)){let r=z(e,a);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],a)&&!n)return!0;else if(e.ref&&t(e.ref,e.name)&&!n)return!0;else if(ec(i,t))break}else if(o(i)&&ec(i,t))break}}};function ed(e,t,r){let n=z(e,r);if(n||S.test(r))return{error:n,name:r};let a=r.split(".");for(;a.length;){let n=a.join("."),i=z(t,n),o=z(e,n);if(i&&!Array.isArray(i)&&r!==n)break;if(o&&o.type)return{name:n,error:o};if(o&&o.root&&o.root.type)return{name:`${n}.root`,error:o.root};a.pop()}return{name:r}}var eh=(e,t,r)=>{let n=z(e,r),a=Array.isArray(n)?n:[];return _(a,x,t[r]),_(e,r,a),e};function ep(e,t,r="validate"){if(D(e)||Array.isArray(e)&&e.every(D)||"boolean"==typeof e&&!e)return{type:r,message:D(e)?e:"",ref:t}}var em=e=>!o(e)||e instanceof RegExp?{value:e,message:""}:e,ef=async(e,t,r,n,a,s)=>{let{ref:l,refs:u,required:c,maxLength:d,minLength:h,min:p,max:m,pattern:f,validate:x,name:k,valueAsNumber:S,mount:T}=e._f,M=z(r,k);if(!T||t.has(k))return{};let _=u?u[0]:l,C=e=>{if(a&&_.reportValidity){let t="boolean"==typeof e?"":e||"";
65u?u.forEach(e=>e.setCustomValidity(t)):_.setCustomValidity(t),_.reportValidity()}},O={},N="radio"===l.type,R="checkbox"===l.type,I=(S||"file"===l.type)&&A(l.value)&&A(M)||V(l)&&""===l.value||""===M||Array.isArray(M)&&!M.length,P=F.bind(null,k,n,O),L=(e,t,r,n=g,a=y)=>{let i=e?t:r;O[k]={type:e?n:a,message:i,ref:l,...P(e?n:a,i)}};if(s?!Array.isArray(M)||!M.length:c&&(!(N||R)&&(I||i(M))||"boolean"==typeof M&&!M||R&&!ee(u).isValid||N&&!en(u).isValid)){let{value:e,message:t}=D(c)?{value:!!c,message:c}:em(c);if(e&&(O[k]={type:v,message:t,ref:_,...P(v,t)},!n))return C(t),O}if(!I&&(!i(p)||!i(m))){let e,t,r=em(m),a=em(p);if(i(M)||isNaN(M)){let n=l.valueAsDate||new Date(M),i=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,s="week"==l.type;D(r.value)&&M&&(e=o?i(M)>i(r.value):s?M>r.value:n>new Date(r.value)),D(a.value)&&M&&(t=o?i(M)<i(a.value):s?M<a.value:n<new Date(a.value))}else{let n=l.valueAsNumber||(M?+M:M);i(r.value)||(e=n>r.value),i(a.value)||(t=n<a.value)}if((e||t)&&(L(!!e,r.message,a.message,"max","min"),!n))return C(O[k].message),O}if((d||h)&&!I&&(D(M)||s&&Array.isArray(M))){let e=em(d),t=em(h),r=!i(e.value)&&M.length>+e.value,a=!i(t.value)&&M.length<+t.value;if((r||a)&&(L(r,e.message,t.message),!n))return C(O[k].message),O}if(f&&!I&&D(M)){let{value:e,message:t}=em(f);if(e instanceof RegExp&&!M.match(e)&&(O[k]={type:b,message:t,ref:l,...P(b,t)},!n))return C(t),O}if(x){if(E(x)){let e=ep(await x(M,r),_);if(e&&(O[k]={...e,...P(w,e.message)},!n))return C(e.message),O}else if(o(x)){let e={};for(let t in x){if(!U(e)&&!n)break;let a=ep(await x[t](M,r),_,t);a&&(e={...a,...P(t,a.message)},C(a.message),n&&(O[k]=e))}if(!U(e)&&(O[k]={ref:_,...e},!n))return O}}return C(!0),O};let eg={mode:f,reValidateMode:m,shouldFocusError:!0},ey="form",eb={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function ev(e={}){let t=n.useRef(void 0),r=n.useRef(void 0),u=n.useRef(e.formControl),[m,f]=n.useState(()=>({...d(eb),isLoading:E(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:E(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&u.current!==e.formControl)if(u.current=e.formControl,e.formControl)t.current={...e.formControl,formState:m},e.defaultValues&&!E(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=function(e={}){let t,r={...eg,...e},n={...d(eb),isLoading:E(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},u={},m=(o(r.defaultValues)||o(r.values))&&d(r.defaultValues||r.values)||{},f=r.shouldUnregister?{}:d(m),g={action:!1,mount:!1,watch:!1,keepIsValid:!1},y={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},b=0,v=0,k=eo(r.mode),T=eo(r.reValidateMode),C={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},O={...C},N={...O},R={array:H(),state:H()},P="all"===r.criteriaMode,L=async e=>{if(!g.keepIsValid&&!r.disabled&&(O.isValid||N.isValid||e)){let e;r.resolver?(e=U((await J()).errors),j()):e=await ee({fields:u,onlyCheckValid:!0,eventType:"valid"}),e!==n.isValid&&R.state.next({isValid:e})}},j=(e,t)=>{!r.disabled&&(O.isValidating||O.validatingFields||N.isValidating||N.validatingFields)&&((e||Array.from(y.mount)).forEach(e=>{e&&(t?_(n.validatingFields,e,t):G(n.validatingFields,e))}),R.state.next({validatingFields:n.validatingFields,isValidating:!U(n.validatingFields)}))},B=()=>{n.dirtyFields=X(m,f)},F=(t,r,a,o)=>{let s=z(u,t);if(s){if((e=>{let t=S.test(e)?[e]:M(e),r=f,n=m;for(let e=0;e<t.length-1;e++){let a=t[e];if(r=i(r)?r:r[a],n=i(n)?n:n[a],null===r&&null!==n)return!0}return!1})(t))return;let l=A(z(f,t)),u=z(f,t,A(a)?z(m,t):a);A(u)||o&&o.defaultChecked||r?_(f,t,r?u:ea(s._f)):es(t,u),g.mount&&!g.action&&(L(),l&&n.isDirty&&(O.isDirty||N.isDirty)&&(er()||(n.isDirty=!1,R.state.next({...n}))),e.shouldUnregister&&l&&!A(z(f,t))&&eu(t,y)&&(g.watch=!0))}},Z=(e,t,a,i,o)=>{let s=!1,l=!1,u={name:e};if(!r.disabled){if(!a||i){let r=$(z(m,e),t);
65(O.isDirty||N.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=!r||er(),s=l!==u.isDirty),l=!!z(n.dirtyFields,e),r!==n.isDirty?n.dirtyFields=X(m,f):r?G(n.dirtyFields,e):_(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,s=s||(O.dirtyFields||N.dirtyFields)&&!r!==l}if(a){let t=z(n.touchedFields,e);t||(_(n.touchedFields,e,a),u.touchedFields=n.touchedFields,s=s||(O.touchedFields||N.touchedFields)&&t!==a)}s&&o&&R.state.next(u)}return s?u:{}},J=async e=>(j(e,!0),await r.resolver(f,r.context,((e,t,r,n)=>{let a={};for(let r of e){let e=z(t,r);e&&_(a,r,e._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}})(e||y.mount,u,r.criteriaMode,r.shouldUseNativeValidation))),K=async e=>{let{errors:t}=await J(e);if(j(e),e){for(let r of e){let e=z(t,r);e?y.array.has(r)&&o(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?eh(n.errors,{[r]:e},r):_(n.errors,r,e):G(n.errors,r)}n.errors={...n.errors}}else n.errors=t;return t},Q=async({name:t,eventType:r})=>{if(e.validate){let a=await e.validate({formValues:f,formState:n,name:t,eventType:r});if(o(a))for(let e in a){let t=a[e];t&&eT(`${ey}.${e}`,{message:D(t.message)?t.message:"",type:t.type||w})}else D(a)||!a?eT(ey,{message:a||"",type:w}):eA(ey);return a}return!0},ee=async({fields:t,onlyCheckValid:a,name:i,eventType:o,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await Q({name:i,eventType:o}))&&(s.valid=!1,a))return s.valid;for(let i in t){let l=t[i];if(l){let{_f:t,...u}=l;if(t){let i=y.array.has(t.name),o=l._f&&el(l._f),u=O.validatingFields||O.isValidating||N.validatingFields||N.isValidating;o&&u&&j([t.name],!0);let c=await ef(l,y.disabled,f,P,r.shouldUseNativeValidation&&!a,i);if(o&&u&&j([t.name]),c[t.name]&&(s.valid=!1,a)||(a||(z(c,t.name)?i?eh(n.errors,c,t.name):_(n.errors,t.name,c[t.name]):G(n.errors,t.name)),e.shouldUseNativeValidation&&c[t.name]))break}U(u)||await ee({context:s,onlyCheckValid:a,fields:u,name:i,eventType:o})}}return s.valid},er=(e,t)=>!r.disabled&&(e&&t&&_(f,e,t),!$(g.mount?f:m,m)),en=(e,t,r)=>I(e,y,{...g.mount?f:A(t)?m:D(e)?{[e]:t}:t},r,t),es=(e,t,r={},n=!1,a=!1)=>{let o=z(u,e),s=t;if(o){let r=o._f;r&&(r.disabled||_(f,e,et(t,r)),s=V(r.ref)&&i(t)?"":t,"select-multiple"===r.ref.type?[...r.ref.options].forEach(e=>e.selected=s.includes(e.value)):r.refs?"checkbox"===r.ref.type?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(s)?e.checked=!!s.find(t=>t===e.value):e.checked=s===e.value||!!s)}):r.refs.forEach(e=>e.checked=e.value===s):"file"===r.ref.type?r.ref.value="":(r.ref.value=s,r.ref.type||a||R.state.next({name:e,values:n?f:d(f)})))}(r.shouldDirty||r.shouldTouch)&&Z(e,s,r.shouldTouch,r.shouldDirty,!a),r.shouldValidate&&ek(e)},ep=(e,t,r,n=!1,i=!1)=>{for(let s in t){if(!t.hasOwnProperty(s))return;let l=t[s],c=e+"."+s,d=z(u,c);(y.array.has(e)||o(l)||d&&!d._f)&&!a(l)?ep(c,l,r,n,i):es(c,l,r,n,i)}},em=(e,t,r,a,o=!1)=>{let s=z(u,e),l=y.array.has(e),c=a?t:d(t),h=$(z(f,e),c);if(h||_(f,e,c),l)R.array.next({name:e,values:a?f:d(f)}),(O.isDirty||O.dirtyFields||N.isDirty||N.dirtyFields)&&r.shouldDirty&&(B(),o||R.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:er(e,c)}));else{let t=Array.isArray(c)&&!c.length||U(c);!s||s._f||i(c)||t?es(e,c,r,a,o):ep(e,c,r,a,o)}if(!h&&!o){let t=eu(e,y),r=a?f:d(f);R.state.next({...t&&n,name:g.mount||t?e:void 0,values:r})}},ev=(e,t,r={})=>em(e,t,r,!1),ew=async i=>{g.mount=!0;let o=i.target,l=o.name,c=!0,p=z(u,l),m=e=>{c=Number.isNaN(e)||a(e)&&isNaN(e.getTime())||$(e,z(f,l,e))};if(p){var w,x,S,A,M;let a,g,I,B=o.type?ea(p._f):s(i),F=i.type===h||"focusout"===i.type,W=!((I=p._f).mount&&(I.required||I.min||I.max||I.maxLength||I.minLength||I.pattern||I.validate))&&!e.validate&&!r.resolver&&!z(n.errors,l)&&!p._f.deps,q=W||(w=F,x=z(n.touchedFields,l),S=n.isSubmitted,A=T,!(M=k).isOnAll&&(!S&&M.isOnTouch?!(x||w):(S?A.isOnBlur:M.isOnBlur)?!w:(S?!A.isOnChange:!M.isOnChange)||w)),H=eu(l,y,F);_(f,l,B),F?o&&o.readOnly||(p._f.onBlur&&p._f.onBlur(i),t&&t(0)):p._f.onChange&&p._f.onChange(i);let V=Z(l,B,F),Y=!U(V)||H;if(F||R.state.next({name:l,type:i.type,...v?{values:d(f)}:{}}),q)return(!W||!n.isValid)&&(O.isValid||N.isValid)&&("onBlur"===r.mode?F&&L():F||L()),Y&&R.state.next({name:l,...H?{}:V});if(!r.resolver&&e.validate&&await Q({name:l,eventType:i.type}),!F&&H&&R.state.next({...n}),r.resolver){let{errors:e}=await J([l]);if(j([l]),m(B),!c){U(V)||R.state.next(V);return}let t=ed(n.errors,u,l),r=ed(e,u,t.name||l);a=r.error,l=r.name,g=U(e)}else j([l],!0),a=(await ef(p,y.disabled,f,P,r.shouldUseNativeValidation))[l],j([l]),m(B),c&&(a?g=!1:(O.isValid||N.isValid)&&(g=await ee({fields:u,onlyCheckValid:!0,name:l,eventType:i.type})));if(c){p._f.deps&&(!Array.isArray(p._f.deps)||p._f.deps.length>0)&&ek(p._f.deps);var E=l,C=g,D=a;let e=z(n.errors,E),i=(O.isValid||N.isValid)&&"boolean"==typeof C&&n.isValid!==C;if(r.delayError&&D){let e;e=()=>{_(n.errors,E,D),n.errors={...n.errors},R.state.next({errors:n.errors})},(t=t=>{clearTimeout(b),b=setTimeout(e,t)})(r.delayError)}else clearTimeout(b),t=null,D?_(n.errors,E,D):G(n.errors,E),n.errors={...n.errors};if((D?!$(e,D):e)||!U(V)||i){let e={...V,...i&&"boolean"==typeof C?{isValid:C}:{},errors:n.errors,name:E};n={...n,...e},R.state.next(e)}}}},ex=(e,t)=>{if(z(n.errors,t)&&e.focus)return e.focus(),1},ek=async(e,t={})=>{let a,i,o=q(e);if(r.resolver){let t=await K(A(e)?e:o);a=U(t),i=e?!o.some(e=>z(t,e)):a}else e?((i=(await Promise.all(o.map(async e=>{let t=z(u,e);return await ee({fields:t&&t._f?{[e]:t}:t,eventType:p})}))).every(Boolean))||n.isValid)&&L():i=a=await ee({fields:u,name:e,eventType:p});return R.state.next({...!D(e)||(O.isValid||N.isValid)&&a!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:a}:{},errors:n.errors}),t.shouldFocus&&!i&&ec(u,ex,e?o:y.mount),i},eS=(e,t)=>({invalid:!!z((t||n).errors,e),isDirty:!!z((t||n).dirtyFields,e),error:z((t||n).errors,e),isValidating:!!z(n.validatingFields,e),isTouched:!!z((t||n).touchedFields,e)}),eA=e=>{let t=e?q(e):void 0;
65null==t||t.forEach(e=>G(n.errors,e)),t?t.forEach(e=>{R.state.next({name:e,errors:n.errors})}):R.state.next({errors:{}})},eT=(e,t,r)=>{let a=(z(u,e,{_f:{}})._f||{}).ref,{ref:i,message:o,type:s,...l}=z(n.errors,e)||{};_(n.errors,e,{...l,...t,ref:a}),R.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},eM=e=>{var t;let r=!!(null==(t=e.formState)?void 0:t.values);r&&v++;let{unsubscribe:a}=R.state.subscribe({next:t=>{let r,a,i;if(r=e.name,a=t.name,i=e.exact,(!r||!a||r===a||q(r).some(e=>e&&(i?e===a:e.startsWith(a)||a.startsWith(e))))&&((e,t,r,n)=>{r(e);let{name:a,...i}=e,o=Object.keys(i);return!o.length||n&&o.length>=Object.keys(t).length||o.find(e=>t[e]===(!n||"all"))})(t,e.formState||O,eD,e.reRenderRoot)){let r={...f};e.callback({values:r,...n,...t,defaultValues:m})}}});if(!r)return a;let i=!1;return()=>{i||(i=!0,v--,a())}},ez=(e,t={})=>{for(let a of e?q(e):y.mount)y.mount.delete(a),y.array.delete(a),t.keepValue||(G(u,a),G(f,a)),t.keepError||G(n.errors,a),t.keepDirty||G(n.dirtyFields,a),t.keepTouched||G(n.touchedFields,a),t.keepIsValidating||G(n.validatingFields,a),r.shouldUnregister||t.keepDefaultValue||G(m,a);R.state.next({values:d(f)}),R.state.next({...n,...!t.keepDirty?{}:{isDirty:er()}}),t.keepIsValid||L()},eE=({disabled:e,name:t})=>{if("boolean"==typeof e&&g.mount||e||y.disabled.has(t)){let r=y.disabled.has(t);e?y.disabled.add(t):y.disabled.delete(t),!!e!==r&&g.mount&&!g.action&&L()}},e_=(e,t={})=>{let n=z(u,e),a="boolean"==typeof t.disabled||"boolean"==typeof r.disabled,i=!y.registerName.has(e)&&n&&n._f&&!n._f.mount;return(_(u,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),y.mount.add(e),n&&!i)?eE({disabled:"boolean"==typeof t.disabled?t.disabled:r.disabled,name:e}):F(e,!0,t.value),{...a?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:ei(t.min),max:ei(t.max),minLength:ei(t.minLength),maxLength:ei(t.maxLength),pattern:ei(t.pattern)}:{},name:e,onChange:ew,onBlur:ew,ref:a=>{if(a){let r;y.registerName.add(e),e_(e,t),y.registerName.delete(e),n=z(u,e);let i=A(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,o="radio"===(r=i).type||"checkbox"===r.type,s=n._f.refs||[];(o?s.find(e=>e===i):i===n._f.ref)||(_(u,e,{_f:{...n._f,...o?{refs:[...s.filter(Y),i,...Array.isArray(z(m,e))?[{}]:[]],ref:{type:i.type,name:e}}:{ref:i}}}),F(e,!1,void 0,i))}else(n=z(u,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(l(y.array,e)&&g.action)&&y.unMount.add(e)}}},eC=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&ec(u,ex,y.mount),eO=(e,t)=>async a=>{let i;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let o=d(f);if(R.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await J();j(),n.errors=e,o=d(t)}else await ee({fields:u,eventType:"submit"});if(y.disabled.size)for(let e of y.disabled)G(o,e);if(G(n.errors,x),U(n.errors)){R.state.next({errors:{}});try{await e(o,a)}catch(e){i=e}}else t&&await t({...n.errors},a),eC(),setTimeout(eC);if(R.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:U(n.errors)&&!i,submitCount:n.submitCount+1,errors:n.errors}),i)throw i},eN=(e,t={})=>{let a=e?d(e):m,i=d(a),o=U(e);if(t.keepDefaultValues||(m=a),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...y.mount,...Object.keys(X(m,f))]))){let t=z(n.dirtyFields,e),r=z(f,e),a=z(i,e);t&&!A(r)?_(i,e,r):t||A(a)||ev(e,a)}else{if(c&&A(e))for(let e of y.mount){let t=z(u,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 y.mount)ev(e,z(i,e));else u={}}if(r.shouldUnregister){if(f=t.keepDefaultValues?d(m):{},t.keepFieldsRef)for(let e of y.mount)_(f,e,z(i,e))}else f=d(i);R.array.next({values:{...i}}),R.state.next({values:{...i}})}y={mount:t.keepDirtyValues?y.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},g.mount=!O.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!r.shouldUnregister&&!U(i),g.watch=!!r.shouldUnregister,g.keepIsValid=!!t.keepIsValid,g.action=!1,t.keepErrors||(n.errors={}),R.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!o&&(t.keepDirty?n.isDirty:t.keepValues?er():!!(t.keepDefaultValues&&!$(e,m))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&f?X(m,f):n.dirtyFields:t.keepDefaultValues&&e?X(m,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1,defaultValues:m})},eR=(e,t)=>eN(E(e)?e(f):e,{...r.resetOptions,...t}),eD=e=>{n={...n,...e}},eI={control:{register:e_,unregister:ez,getFieldState:eS,handleSubmit:eO,setError:eT,_subscribe:eM,_runSchema:J,_updateIsValidating:j,_focusError:eC,_getWatch:en,_getDirty:er,_setValid:L,_setFieldArray:(e,t=[],a,i,o=!0,s=!0)=>
65{if(i&&a&&!r.disabled){if(g.action=!0,s&&Array.isArray(z(u,e))){let t=a(z(u,e),i.argA,i.argB);o&&_(u,e,t)}if(s&&Array.isArray(z(n.errors,e))){let t,r=a(z(n.errors,e),i.argA,i.argB);o&&_(n.errors,e,r),W(z(t=n.errors,e)).length||G(t,e)}if((O.touchedFields||N.touchedFields)&&s&&Array.isArray(z(n.touchedFields,e))){let t=a(z(n.touchedFields,e),i.argA,i.argB);o&&_(n.touchedFields,e,t)}(O.dirtyFields||N.dirtyFields)&&B(),R.state.next({name:e,isDirty:er(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else _(f,e,t)},_setDisabledField:eE,_setErrors:e=>{n.errors=e,R.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>W(z(g.mount?f:m,e,r.shouldUnregister?z(m,e,[]):[])),_reset:eN,_resetDefaultValues:()=>E(r.defaultValues)&&r.defaultValues().then(e=>{eR(e,r.resetOptions),R.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of y.unMount){let t=z(u,e);t&&(t._f.refs?t._f.refs.every(e=>!Y(e)):!Y(t._f.ref))&&ez(e)}y.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(R.state.next({disabled:e}),ec(u,(t,r)=>{let n=z(u,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEach(t=>{t.disabled=n._f.disabled||e}))},0,!1))},_subjects:R,_proxyFormState:O,get _fields(){return u},get _formValues(){return f},get _state(){return g},set _state(value){g=value},get _defaultValues(){return m},get _names(){return y},set _names(value){y=value},get _formState(){return n},get _options(){return r},set _options(value){k=eo((r={...r,...value}).mode),T=eo(r.reValidateMode)}},subscribe:e=>(g.mount=!0,N={...N,...e.formState},eM({...e,formState:{...C,...e.formState}})),trigger:ek,register:e_,handleSubmit:eO,watch:(e,t)=>{if(E(e)){v++;let{unsubscribe:r}=R.state.subscribe({next:r=>"values"in r&&e(r.values||en(void 0,t),r)}),n=!1;return{unsubscribe:()=>{n||(n=!0,v--,r())}}}return en(e,t,!0)},setValue:ev,setValues:(e,t={})=>{let r=E(e)?e(f):e;if(!$(f,r)){for(let e of(f={...f,...r},y.mount))em(e,z(r,e),t,!0,!0);R.state.next({...n,name:void 0,type:void 0,...v?{values:f}:{}}),t.shouldValidate&&L()}},getValues:(e,t)=>{let r={...g.mount?f:m};return t&&(r=function e(t,r){let n={};for(let a in t)if(t.hasOwnProperty(a)){let i=t[a],s=r[a];if(i&&o(i)&&s){let t=e(i,s);o(t)&&(n[a]=t)}else t[a]&&(n[a]=s)}return n}(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),A(e)?r:D(e)?z(r,e):e.map(e=>z(r,e))},reset:eR,resetField:(e,t={})=>{z(u,e)&&(A(t.defaultValue)?ev(e,d(z(m,e))):(ev(e,t.defaultValue),_(m,e,d(t.defaultValue))),t.keepTouched||G(n.touchedFields,e),t.keepDirty||(G(n.dirtyFields,e),n.isDirty=t.defaultValue?er(e,d(z(m,e))):er()),!t.keepError&&(G(n.errors,e),O.isValid&&L()),R.state.next({...n}))},resetDefaultValues:(e,t={})=>{if(m=d(e),!t.keepDirty){let e=X(m,f);n.dirtyFields=e,n.isDirty=!U(e)}t.keepIsValid||L(),R.state.next({...n,defaultValues:m})},clearErrors:eA,unregister:ez,setError:eT,setFocus:(e,t={})=>{let r=z(u,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&E(e.select)&&e.select()})}},getFieldState:eS};return{...eI,formControl:eI}}(e);t.current={...n,formState:m}}let g=t.current.control;return g._options=e,N(()=>{let e=g._subscribe({formState:g._proxyFormState,callback:()=>f({...g._formState,defaultValues:g._defaultValues}),reRenderRoot:!0});return f(e=>({...e,isReady:!0})),g._formState.isReady=!0,e},[g]),n.useEffect(()=>g._disableForm(e.disabled),[g,e.disabled]),n.useEffect(()=>{e.mode&&(g._options.mode=e.mode),e.reValidateMode&&(g._options.reValidateMode=e.reValidateMode)},[g,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(g._setErrors(e.errors),g._focusError())},[g,e.errors]),n.useEffect(()=>{e.shouldUnregister&&g._subjects.state.next({values:g._getWatch()})},[g,e.shouldUnregister]),n.useEffect(()=>{if(g._proxyFormState.isDirty){let e=g._getDirty();e!==m.isDirty&&g._subjects.state.next({isDirty:e})}},[g,m.isDirty]),n.useEffect(()=>{var t;e.values&&!$(e.values,r.current)?(g._reset(e.values,{keepFieldsRef:!0,...g._options.resetOptions}),(null==(t=g._options.resetOptions)?void 0:t.keepIsValid)||g._setValid(),r.current=e.values,f(e=>({...e}))):g._resetDefaultValues()},[g,e.values]),n.useEffect(()=>{g._state.mount||(g._setValid(),g._state.mount=!0),g._state.watch&&(g._state.watch=!1,g._subjects.state.next({...g._formState})),g._removeUnmounted()}),t.current.formState=n.useMemo(()=>O(m,g),[g,m]),t.current}r.d(t,{FH:()=>j,Gb:()=>F,Jt:()=>z,hZ:()=>_,lN:()=>R,mN:()=>ev},{Op:({children:e,watch:t,getValues:r,getFieldState:a,setError:i,clearErrors:o,setValue:s,setValues:l,trigger:u,formState:c,resetField:d,reset:h,handleSubmit:p,unregister:m,control:f,register:g,setFocus:y,subscribe:b})=>{let v=n.useMemo(()=>({watch:t,getValues:r,getFieldState:a,setError:i,clearErrors:o,setValue:s,setValues:l,trigger:u,formState:c,resetField:d,reset:h,handleSubmit:p,unregister:m,control:f,register:g,setFocus:y,subscribe:b}),[o,f,c,a,r,p,g,h,d,i,y,s,l,b,u,m,t]);return n.createElement(B.Provider,{value:v},n.createElement(C.Provider,{value:v.control},e))},xI:e=>e.render(function(e){let t=n.useContext(C),{name:r,disabled:a,control:i=t,shouldUnregister:o,defaultValue:u,exact:c=!0}=e,p=l(i._names.array,r),m=n.useMemo(()=>z(i._formValues,r,z(i._defaultValues,r,u)),[i,r,u]),f=j({control:i,name:r,defaultValue:m,exact:c}),g=R({control:i,name:r,exact:c}),y=n.useRef(e),b=n.useRef(null),v=n.useRef(i.register(r,{...e.rules,value:f,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));y.current=e;let w=n.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!z(g.errors,r)},isDirty:{enumerable:!0,get:()=>!!z(g.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!z(g.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!z(g.validatingFields,r)},error:{enumerable:!0,get:()=>z(g.errors,r)}}),[g,r]),x=n.useCallback(e=>{let t=s(e);return z(i._fields,r)||(v.current=i.register(r,{...y.current.rules,value:t})),v.current.onChange({target:{value:s(e),name:r},type:"change"})},[r,i]),k=n.useCallback(()=>v.current.onBlur({target:{value:z(i._formValues,r),name:r},type:h}),[r,i._formValues]),S=n.useCallback(e=>{e&&(b.current={focus:()=>E(e.focus)&&e.focus(),select:()=>E(e.select)&&e.select(),setCustomValidity:t=>E(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>E(e.reportValidity)&&e.reportValidity()});let t=z(i._fields,r);t&&t._f&&e&&(t._f.ref=b.current)},[i._fields,r]),T=n.useMemo(()=>({name:r,value:f,..."boolean"==typeof a||g.disabled?{disabled:g.disabled||a}:{},onChange:x,onBlur:k,ref:S}),[r,a,g.disabled,x,k,S,f]);return n.useEffect(()=>{let e=i._options.shouldUnregister||o;
65i.register(r,{...y.current.rules,..."boolean"==typeof y.current.disabled?{disabled:y.current.disabled}:{}});let t=(e,t)=>{let r=z(i._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=d(z(o?i._defaultValues:i._options.values||i._defaultValues,r,z(i._options.defaultValues,r,y.current.defaultValue)));_(i._defaultValues,r,e),A(z(i._formValues,r))&&_(i._formValues,r,e)}if(p||i.register(r),b.current){let e=z(i._fields,r);e&&e._f&&(e._f.ref=b.current)}return()=>{(p?e&&!i._state.action:e)?i.unregister(r):t(r,!1)}},[r,i,p,o]),n.useEffect(()=>{i._setDisabledField({disabled:a,name:r})},[a,r,i]),n.useMemo(()=>({field:T,formState:g,fieldState:w}),[T,g,w])}(e)),xW:()=>n.useContext(B)})},89077(e,t,r){"use strict";let n;r.d(t,{r9:()=>A,Bd:()=>S});var a=r(65311);r(54958),r(36952),Object.create(null);let i=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,o={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},s=e=>o[e],l={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(i,s),transDefaultProps:void 0},u=(0,a.createContext)();class c{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let d=(e,t,r,n)=>{let a=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);y(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},h={},p=(e,t,r,n)=>{y(r)&&h[r]||(y(r)&&(h[r]=new Date),d(e,t,r,n))},m=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},f=(e,t,r)=>{e.loadNamespaces(t,m(e,r))},g=(e,t,r,n)=>{if(y(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return f(e,r,n);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,m(e,n))},y=e=>"string"==typeof e,b={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"©","&reg;":"®","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"§","&para;":"¶","&middot;":"·","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"£","&yen;":"¥","&cent;":"¢","&curren;":"¤","&times;":"×","&divide;":"÷","&minus;":"−","&plusmn;":"±","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"°","&micro;":"µ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;
65":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&iexcl;":"¡","&iquest;":"¿","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"ª","&ordm;":"º","&macr;":"¯","&acute;":"´","&cedil;":"¸","&sup1;":"¹","&sup2;":"²","&sup3;":"³","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"},v=RegExp(Object.keys(b).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var w=r(3801);let x={t:(e,t)=>{if(y(t))return t;if("object"==typeof t&&null!==t&&y(t.defaultValue))return t.defaultValue;if("function"==typeof e)return"";if(Array.isArray(e)){let t=e[e.length-1];return"function"==typeof t?"":t}return e},ready:!1},k=()=>()=>{},S=(e,t={})=>{let{i18n:r}=t,{i18n:i,defaultNS:o}=(0,a.useContext)(u)||{},s=r||i||n;s&&!s.reportNamespaces&&(s.reportNamespaces=new c),s||p(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let d=(0,a.useMemo)(()=>({...l,...s?.options?.react,...t}),[s,t]),{useSuspense:h,keyPrefix:m}=d,b=e||o||s?.options?.defaultNS,v=y(b)?[b]:b||["translation"],S=(0,a.useMemo)(()=>v,v);s?.reportNamespaces?.addUsedNamespaces?.(S);let A=(0,a.useRef)(0),T=(0,a.useCallback)(e=>{if(!s)return k;let{bindI18n:t,bindI18nStore:r}=d,n=()=>{A.current+=1,e()};return t&&s.on(t,n),r&&s.store.on(r,n),()=>{t&&t.split(" ").forEach(e=>s.off(e,n)),r&&r.split(" ").forEach(e=>s.store.off(e,n))}},[s,d]),M=(0,a.useRef)(),z=(0,a.useCallback)(()=>{if(!s)return x;let e=!!(s.isInitialized||s.initializedStoreOnce)&&S.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.
65isLanguageChangingTo,e))return!1}}):(p(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,s,d)),r=t.lng||s.language,n=A.current,a=M.current;if(a&&a.ready===e&&a.lng===r&&a.keyPrefix===m&&a.revision===n)return a;let i={t:s.getFixedT(r,"fallback"===d.nsMode?S:S[0],m,{scopeNs:S}),ready:e,lng:r,keyPrefix:m,revision:n};return M.current=i,i},[s,S,m,d,t.lng]),[E,_]=(0,a.useState)(0),{t:C,ready:O}=(0,w.useSyncExternalStore)(T,z,z);(0,a.useEffect)(()=>{if(s&&!O&&!h){let e=()=>_(e=>e+1);t.lng?g(s,t.lng,S,e):f(s,S,e)}},[s,t.lng,S,O,h,E]);let N=s||{},R=(0,a.useRef)(null),D=(0,a.useRef)(),I=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let r=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(r,"__original"))try{Object.defineProperty(r,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return r},P=(0,a.useMemo)(()=>{let e=N?.language,t=N;N&&(R.current&&R.current.__original===N?D.current!==e?(R.current=t=I(N),D.current=e):t=R.current:(R.current=t=I(N),D.current=e));let r=O||h?C:(...e)=>(p(s,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),C(...e)),n=[r,t,O];return n.t=r,n.i18n=t,n.ready=O,n},[C,N,O,N.resolvedLanguage,N.language,N.languages]);if(s&&h&&!O)throw new Promise(e=>{let r=()=>e();t.lng?g(s,t.lng,S,r):f(s,S,r)});return P},A={type:"3rdParty",init(e){((e={})=>{l={...l,...e}})(e.options.react),n=e}}},72163(e,t,r){"use strict";var n=r(65311),a=()=>{};function i(e,t){return Math.random()*(t-e+1)+e}function o(e,t){return Math.floor(i(e,t))}var s=(0,n.forwardRef)(({progress:e,height:t=2,className:r="",color:s="red",background:l="transparent",onLoaderFinished:u,transitionTime:c=300,loaderSpeed:d=500,waitingTime:h=1e3,shadow:p=!0,containerStyle:m={},style:f={},shadowStyle:g={},containerClassName:y=""},b)=>{var v,w;
65let x,k=(0,n.useRef)(!1),[S,A]=(0,n.useState)(0),T=(0,n.useRef)({active:!1,refreshRate:1e3}),[M,z]=(0,n.useState)({active:!1,value:60}),E={height:"100%",background:s,transition:`all ${d}ms ease`,width:"0%"},_={boxShadow:`0 0 10px ${s}, 0 0 10px ${s}`,width:"5%",opacity:1,position:"absolute",height:"100%",transition:`all ${d}ms ease`,transform:"rotate(2deg) translate(0px, -2px)",left:"-10rem"},[C,O]=(0,n.useState)(E),[N,R]=(0,n.useState)(_);(0,n.useEffect)(()=>(k.current=!0,()=>{k.current=!1}),[]),(0,n.useImperativeHandle)(b,()=>({continuousStart(t,r=1e3){if(M.active)return;if(void 0!==e)return void console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");let n=t||o(10,20);T.current={active:!0,refreshRate:r},A(n),D(n)},staticStart(t){if(T.current.active)return;if(void 0!==e)return void console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");let r=t||o(30,60);z({active:!0,value:r}),A(r),D(r)},start(t="continuous",r,n){if(void 0!==e)return void console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");"continuous"===t?T.current={active:!0,refreshRate:n||1e3}:z({active:!0,value:r||20});let a=o(10,20),i=o(30,70),s=r||("continuous"===t?a:i);A(s),D(s)},complete(){void 0!==e?console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!"):(A(100),D(100))},increase(t){void 0!==e?console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!"):A(e=>{let r=e+t;return D(r),r})},decrease(t){void 0!==e?console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!"):A(e=>{let r=e-t;return D(r),r})},getProgress:()=>S})),(0,n.useEffect)(()=>{O({...C,background:s}),R({...N,boxShadow:`0 0 10px ${s}, 0 0 5px ${s}`})},[s]),(0,n.useEffect)(()=>{if(b){if(b&&void 0!==e)return void console.warn('react-top-loading-bar: You can\'t use both controlling by props and ref methods to control the bar! Please use only props or only ref methods! Ref methods will override props if "ref" property is available.');D(S)}else e&&D(e)},[e]);let D=e=>{e>=100?(O({...C,width:"100%"}),p&&R({...N,left:e-10+"%"}),setTimeout(()=>{k.current&&(O({...C,opacity:0,width:"100%",transition:`all ${c}ms ease-out`,color:s}),setTimeout(()=>{k.current&&(T.current.active&&(T.current={...T.current,active:!1},A(0),D(0)),M.active&&(z({...M,active:!1}),A(0),D(0)),u&&u(),A(0),D(0))},c))},h)):(O(t=>({...t,width:e+"%",opacity:1,transition:e>0?`all ${d}ms ease`:""})),p&&R({...N,left:e-5.5+"%",transition:e>0?`all ${d}ms ease`:""}))};return v=()=>{let e=i(Math.min(10,(100-S)/5),Math.min(20,(100-S)/3));S+e<95&&(A(S+e),D(S+e))},w=T.current.active?T.current.refreshRate:null,x=(0,n.useRef)(a),(0,n.useEffect)(()=>{x.current=v}),(0,n.useEffect)(()=>{},[void 0]),(0,n.useEffect)(()=>{if(null===w||!1===w)return;let e=setInterval(()=>x.current(),w);return()=>clearInterval(e)},[w]),n.createElement("div",{className:y,style:{position:"fixed",top:0,left:0,height:t,background:l,zIndex:0x174876e7ff,width:"100%",...m}},n.createElement("div",{className:r,style:{...C,...f}},p?n.createElement("div",{style:{...N,...g}}):null))});n.createContext(void 0),r.d(t,{Ay:()=>s})},26028(e,t,r){"use strict";var n=r(65311),a=r(3690);let i=Array(12).fill(0),o=({visible:e,className:t})=>n.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},n.createElement("div",{className:"sonner-spinner"},i.map((e,t)=>n.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),s=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
65currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),u=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),c=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),h=1,p=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,a="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:h++,i=this.toasts.find(e=>e.id===a),o=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),i?this.toasts=this.toasts.map(t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:o,title:r}):t):this.addToast({title:r,...n,dismissible:o,id:a}),a},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
65this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let r,a;if(!t)return;void 0!==t.loading&&(a=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let i=Promise.resolve(e instanceof Function?e():e),o=void 0!==a,s=i.then(async e=>{if(r=["resolve",e],n.isValidElement(e))o=!1,this.create({id:a,type:"default",message:e});else if(m(e)&&!e.ok){o=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:a,type:"error",description:i,...s})}else if(e instanceof Error){o=!1;let r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:a,type:"error",description:i,...s})}else if(void 0!==t.success){o=!1;let r="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:a,type:"success",description:i,...s})}}).catch(async e=>{if(r=["reject",e],void 0!==t.error){o=!1;let r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:a,type:"error",description:i,...s})}}).finally(()=>{o&&(this.dismiss(a),a=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===r[0]?t(r[1]):e(r[1])).catch(t));return"string"!=typeof a&&"number"!=typeof a?{unwrap:l}:Object.assign(a,{unwrap:l})},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||h++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},m=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,f=Object.assign((e,t)=>{let r=(null==t?void 0:t.id)||h++;return p.addToast({title:e,...t,id:r}),r},{success:p.success,info:p.info,warning:p.warning,error:p.error,custom:p.custom,message:p.message,promise:p.promise,dismiss:p.dismiss,loading:p.loading},{getHistory:()=>p.toasts,getToasts:()=>p.getActiveToasts()});function g(e){return void 0!==e.label}function y(...e){return e.filter(Boolean).join(" ")}!function(e){if(!e||"u"<typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 65
65("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
65let b=e=>{var t,r,a,i,h,p,m,f,b,v,w,x,k;let{invert:S,toast:A,unstyled:T,interacting:M,setHeights:z,visibleToasts:E,heights:_,index:C,toasts:O,expanded:N,removeToast:R,defaultRichColors:D,closeButton:I,style:P,cancelButtonStyle:L,actionButtonStyle:$,className:j="",descriptionClassName:B="",duration:F,position:W,gap:q,expandByDefault:H,classNames:U,icons:V,
65closeButtonAriaLabel:Y="Close toast"}=e,[G,Z]=n.useState(null),[J,X]=n.useState(null),[K,Q]=n.useState(!1),[ee,et]=n.useState(!1),[er,en]=n.useState(!1),[ea,ei]=n.useState(!1),[eo,es]=n.useState(!1),[el,eu]=n.useState(0),[ec,ed]=n.useState(0),eh=n.useRef(A.duration||F||4e3),ep=n.useRef(null),em=n.useRef(null),ef=0===C,eg=C+1<=E,ey=A.type,eb=!1!==A.dismissible,ev=A.className||"",ew=A.descriptionClassName||"",ex=n.useMemo(()=>_.findIndex(e=>e.toastId===A.id)||0,[_,A.id]),ek=n.useMemo(()=>{var e;return null!=(e=A.closeButton)?e:I},[A.closeButton,I]),eS=n.useMemo(()=>A.duration||F||4e3,[A.duration,F]),eA=n.useRef(0),eT=n.useRef(0),eM=n.useRef(0),ez=n.useRef(null),[eE,e_]=W.split("-"),eC=n.useMemo(()=>_.reduce((e,t,r)=>r>=ex?e:e+t.height,0),[_,ex]),eO=(()=>{let[e,t]=n.useState(document.hidden);return n.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),eN=A.invert||S,eR="loading"===ey;eT.current=n.useMemo(()=>ex*q+eC,[ex,eC]),n.useEffect(()=>{eh.current=eS},[eS]),n.useEffect(()=>{Q(!0)},[]),n.useEffect(()=>{let e=em.current;if(e){let t=e.getBoundingClientRect().height;return ed(t),z(e=>[{toastId:A.id,height:t,position:A.position},...e]),()=>z(e=>e.filter(e=>e.toastId!==A.id))}},[z,A.id]),n.useLayoutEffect(()=>{if(!K)return;let e=em.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,ed(r),z(e=>e.find(e=>e.toastId===A.id)?e.map(e=>e.toastId===A.id?{...e,height:r}:e):[{toastId:A.id,height:r,position:A.position},...e])},[K,A.title,A.description,z,A.id,A.jsx,A.action,A.cancel]);let eD=n.useCallback(()=>{et(!0),eu(eT.current),z(e=>e.filter(e=>e.toastId!==A.id)),setTimeout(()=>{R(A)},200)},[A,R,z,eT]);n.useEffect(()=>{let e;if((!A.promise||"loading"!==ey)&&A.duration!==1/0&&"loading"!==A.type){if(N||M||eO){if(eM.current<eA.current){let e=new Date().getTime()-eA.current;eh.current=eh.current-e}eM.current=new Date().getTime()}else eh.current!==1/0&&(eA.current=new Date().getTime(),e=setTimeout(()=>{null==A.onAutoClose||A.onAutoClose.call(A,A),eD()},eh.current));return()=>clearTimeout(e)}},[N,M,A,ey,eO,eD]),n.useEffect(()=>{A.delete&&(eD(),null==A.onDismiss||A.onDismiss.call(A,A))},[eD,A.delete]);let eI=A.icon||(null==V?void 0:V[ey])||(e=>{switch(e){case"success":return s;case"info":return u;case"warning":return l;case"error":return c;default:return null}})(ey);return n.createElement("li",{tabIndex:0,ref:em,className:y(j,ev,null==U?void 0:U.toast,null==A||null==(t=A.classNames)?void 0:t.toast,null==U?void 0:U.default,null==U?void 0:U[ey],null==A||null==(r=A.classNames)?void 0:r[ey]),"data-sonner-toast":"","data-rich-colors":null!=(v=A.richColors)?v:D,"data-styled":!(A.jsx||A.unstyled||T),"data-mounted":K,"data-promise":!!A.promise,"data-swiped":eo,"data-removed":ee,"data-visible":eg,"data-y-position":eE,"data-x-position":e_,"data-index":C,"data-front":ef,"data-swiping":er,"data-dismissible":eb,"data-type":ey,"data-invert":eN,"data-swipe-out":ea,"data-swipe-direction":J,"data-expanded":!!(N||H&&K),"data-testid":A.testId,style:{"--index":C,"--toasts-before":C,"--z-index":O.length-C,"--offset":`${ee?el:eT.current}px`,"--initial-height":H?"auto":`${ec}px`,...P,...A.style},onDragEnd:()=>{en(!1),Z(null),ez.current=null},onPointerDown:e=>{2===e.button||eR||!eb||(ep.current=new Date,eu(eT.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(en(!0),ez.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n,a;if(ea||!eb)return;ez.current=null;let i=Number((null==(e=em.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),o=Number((null==(t=em.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(r=ep.current)?void 0:r.getTime()),l="x"===G?i:o,u=Math.abs(l)/s;if(Math.abs(l)>=45||u>.11){eu(eT.current),null==A.onDismiss||A.onDismiss.call(A,A),"x"===G?X(i>0?"right":"left"):X(o>0?"down":"up"),eD(),ei(!0);return}null==(n=em.current)||n.style.setProperty("--swipe-amount-x","0px"),null==(a=em.current)||a.style.setProperty("--swipe-amount-y","0px"),es(!1),en(!1),Z(null)},onPointerMove:t=>{var r,n,a,i;if(!ez.current||!eb||(null==(r=window.getSelection())?void 0:r.toString().length)>0)return;let o=t.clientY-ez.current.y,s=t.clientX-ez.current.x,l=null!=(i=e.swipeDirections)?i:function(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}(W);!G&&(Math.abs(s)>1||Math.abs(o)>1)&&Z(Math.abs(s)>Math.abs(o)?"x":"y");let u={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if("y"===G){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&o<0||l.includes("bottom")&&o>0)u.y=o;else{let e=o*c(o);u.y=Math.abs(e)<Math.abs(o)?e:o}}else if("x"===G&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&s<0||l.includes("right")&&s>0)u.x=s;else{let e=s*c(s);u.x=Math.abs(e)<Math.abs(s)?e:s}(Math.abs(u.x)>0||Math.abs(u.y)>0)&&es(!0),null==(n=em.current)||n.style.setProperty("--swipe-amount-x",`${u.x}px`),null==(a=em.current)||a.style.setProperty("--swipe-amount-y",`${u.y}px`)}},ek&&!A.jsx&&"loading"!==ey?n.createElement("button",{"aria-label":Y,"data-disabled":eR,"data-close-button":!0,onClick:eR||!eb?()=>{}:()=>{eD(),null==A.onDismiss||A.onDismiss.call(A,A)},className:y(null==U?void 0:U.closeButton,null==A||null==(a=A.classNames)?void 0:a.closeButton)},null!=(w=null==V?void 0:V.close)?w:d):null,(ey||A.icon||A.promise)&&null!==A.icon&&((null==V?void 0:V[ey])!==null||A.icon)?n.createElement("div",{"data-icon":"",className:y(null==U?void 0:U.icon,null==A||null==(i=A.classNames)?void 0:i.icon)},A.promise||"loading"===A.type&&!A.icon?A.icon||((null==V?void 0:V.loading)?n.createElement("div",{className:y(null==U?void 0:U.loader,null==A||null==(k=A.classNames)?void 0:k.loader,"sonner-loader"),"data-visible":"loading"===ey},V.loading):n.createElement(o,{className:y(null==U?void 0:U.loader,null==A||null==(x=A.classNames)?void 0:x.loader),visible:"loading"===ey})):null,"loading"!==A.type?eI:null):null,n.createElement("div",{"data-content":"",className:y(null==U?void 0:U.content,null==A||null==(h=A.classNames)?void 0:h.content)},n.createElement("div",{"data-title":"",className:y(null==U?void 0:U.title,null==A||null==(p=A.classNames)?void 0:p.title)},A.jsx?A.jsx:"function"==typeof A.title?A.title():A.title),A.description?n.createElement("div",{"data-description":"",className:y(B,ew,null==U?void 0:U.description,null==A||null==(m
65=A.classNames)?void 0:m.description)},"function"==typeof A.description?A.description():A.description):null),n.isValidElement(A.cancel)?A.cancel:A.cancel&&g(A.cancel)?n.createElement("button",{"data-button":!0,"data-cancel":!0,style:A.cancelButtonStyle||L,onClick:e=>{!g(A.cancel)||eb&&(null==A.cancel.onClick||A.cancel.onClick.call(A.cancel,e),eD())},className:y(null==U?void 0:U.cancelButton,null==A||null==(f=A.classNames)?void 0:f.cancelButton)},A.cancel.label):null,n.isValidElement(A.action)?A.action:A.action&&g(A.action)?n.createElement("button",{"data-button":!0,"data-action":!0,style:A.actionButtonStyle||$,onClick:e=>{!g(A.action)||(null==A.action.onClick||A.action.onClick.call(A.action,e),e.defaultPrevented||eD())},className:y(null==U?void 0:U.actionButton,null==A||null==(b=A.classNames)?void 0:b.actionButton)},A.action.label):null)};function v(){if("u"<typeof window||"u"<typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let w=n.forwardRef(function(e,t){let{id:r,invert:i,position:o="bottom-right",hotkey:s=["altKey","KeyT"],expand:l,closeButton:u,className:c,offset:d,mobileOffset:h,theme:m="light",richColors:f,duration:g,style:y,visibleToasts:w=3,toastOptions:x,dir:k=v(),gap:S=14,icons:A,containerAriaLabel:T="Notifications"}=e,[M,z]=n.useState([]),E=n.useMemo(()=>r?M.filter(e=>e.toasterId===r):M.filter(e=>!e.toasterId),[M,r]),_=n.useMemo(()=>Array.from(new Set([o].concat(E.filter(e=>e.position).map(e=>e.position)))),[E,o]),[C,O]=n.useState([]),[N,R]=n.useState(!1),[D,I]=n.useState(!1),[P,L]=n.useState("system"!==m?m:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=n.useRef(null),j=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=n.useRef(null),F=n.useRef(!1),W=n.useCallback(e=>{z(t=>{var r;return(null==(r=t.find(t=>t.id===e.id))?void 0:r.delete)||p.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return n.useEffect(()=>p.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{z(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{a.flushSync(()=>{z(t=>{let r=t.findIndex(t=>t.id===e.id);return -1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]})})})}),[M]),n.useEffect(()=>{if("system"!==m)return void L(m);if("system"===m&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),"u"<typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{e?L("dark"):L("light")})}catch(t){e.addListener(({matches:e})=>{try{e?L("dark"):L("light")}catch(e){console.error(e)}})}},[m]),n.useEffect(()=>{M.length<=1&&R(!1)},[M]),n.useEffect(()=>{let e=e=>{var t,r;s.every(t=>e[t]||e.code===t)&&(R(!0),null==(r=$.current)||r.focus()),"Escape"===e.code&&(document.activeElement===$.current||(null==(t=$.current)?void 0:t.contains(document.activeElement)))&&R(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),n.useEffect(()=>{if($.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,F.current=!1)}},[$.current]),n.createElement("section",{ref:t,"aria-label":`${T} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((t,r)=>{var a;let o,[s,p]=t.split("-");return E.length?n.createElement("ol",{key:t,dir:"auto"===k?v():k,tabIndex:-1,ref:$,className:c,"data-sonner-toaster":!0,"data-sonner-theme":P,"data-y-position":s,"data-x-position":p,style:{"--front-toast-height":`${(null==(a=C[0])?void 0:a.height)||0}px`,"--width":"356px","--gap":`${S}px`,...y,...(o={},[d,h].forEach((e,t)=>{let r=1===t,n=r?"--mobile-offset":"--offset",a=r?"16px":"24px";function i(e){["top","right","bottom","left"].forEach(t=>{o[`${n}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?i(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?o[`${n}-${t}`]=a:o[`${n}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):i(a)}),o)},onBlur:e=>{F.current&&!e.currentTarget.contains(e.relatedTarget)&&(F.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:e=>{!(e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible)&&(F.current||(F.current=!0,B.current=e.relatedTarget))},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{D||R(!1)},onDragEnd:()=>R(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I(!0)},onPointerUp:()=>I(!1)},E.filter(e=>!e.position&&0===r||e.position===t).map((r,a)=>{var o,s;
65return n.createElement(b,{key:r.id,icons:A,index:a,toast:r,defaultRichColors:f,duration:null!=(o=null==x?void 0:x.duration)?o:g,className:null==x?void 0:x.className,descriptionClassName:null==x?void 0:x.descriptionClassName,invert:i,visibleToasts:w,closeButton:null!=(s=null==x?void 0:x.closeButton)?s:u,interacting:D,position:t,style:null==x?void 0:x.style,unstyled:null==x?void 0:x.unstyled,classNames:null==x?void 0:x.classNames,cancelButtonStyle:null==x?void 0:x.cancelButtonStyle,actionButtonStyle:null==x?void 0:x.actionButtonStyle,closeButtonAriaLabel:null==x?void 0:x.closeButtonAriaLabel,removeToast:W,toasts:E.filter(e=>e.position==r.position),heights:C.filter(e=>e.position==r.position),setHeights:O,expandByDefault:l,gap:S,expanded:N,swipeDirections:e.swipeDirections})})):null}))});r.d(t,{},{l$:w,oR:f})},94635(e,t,r){"use strict";let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),a=[],i=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],a=r.nextPart.get(n);if(a){let r=i(e,t+1,a);if(r)return r}let o=r.validators;if(null===o)return;let s=0===t?e.join("-"):e.slice(t).join("-"),l=o.length;for(let e=0;e<l;e++){let t=o[e];if(t.validator(s))return t.classGroupId}},o=(e,t)=>{let r=n();for(let n in e)s(e[n],r,n,t);return r},s=(e,t,r,n)=>{let a=e.length;for(let i=0;i<a;i++)l(e[i],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?u(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},u=(e,t,r)=>{(""===e?t:h(t,e)).classGroupId=r},c=(e,t,r,n)=>{p(e)?s(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let a=Object.entries(e),i=a.length;for(let e=0;e<i;e++){let[i,o]=a[e];s(o,h(t,i),r,n)}},h=(e,t)=>{let r=e,a=t.split("-"),i=a.length;for(let e=0;e<i;e++){let t=a[e],i=r.nextPart.get(t);i||(i=n(),r.nextPart.set(t,i)),r=i}return r},p=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,m=[],f=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),g=/\s+/,y=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=y(e[n]))&&(r&&(r+=" "),r+=t);return r},b=[],v=e=>{let t=t=>t[e]||b;return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>k.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),C=e=>!!e&&Number.isInteger(Number(e)),O=e=>e.endsWith("%")&&_(e.slice(0,-1)),N=e=>S.test(e),R=()=>!0,D=e=>A.test(e)&&!T.test(e),I=()=>!1,P=e=>M.test(e),L=e=>z.test(e),$=e=>!F(e)&&!Z(e),j=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),B=e=>en(e,es,I),F=e=>w.test(e),W=e=>en(e,el,D),q=e=>en(e,eu,_),H=e=>en(e,ed,R),U=e=>en(e,ec,I),V=e=>en(e,ei,I),Y=e=>en(e,eo,L),G=e=>en(e,eh,P),Z=e=>x.test(e),J=e=>ea(e,el),X=e=>ea(e,ec),K=e=>ea(e,ei),Q=e=>ea(e,es),ee=e=>ea(e,eo),et=e=>ea(e,eh,!0),er=e=>ea(e,ed,!0),en=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},ea=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},ei=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,el=e=>"length"===e,eu=e=>"number"===e,ec=e=>"family-name"===e,ed=e=>"number"===e||"weight"===e,eh=e=>"shadow"===e,ep=((e,...t)=>{let r,n,s,l,u=e=>{let t=n(e);if(t)return t;let a=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:i,postfixLookupClassGroupIds:o}=t,s=[],l=e.trim().split(g),u="";for(let e=l.length-1;e>=0;e-=1){let t,c=l[e],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=r(c);if(d){u=c+(u.length>0?" "+u:u);continue}let g=!!f;if(g){let e=(t=n(m.substring(0,f)))&&o[t]?n(m):void 0;e&&e!==t&&(t=e,g=!1)}else t=n(m);if(!t){if(!g||!(t=n(m))){u=c+(u.length>0?" "+u:u);continue}g=!1}let y=0===h.length?"":1===h.length?h[0]:i(h).join(":"),b=p?y+"!":y,v=b+t;if(s.indexOf(v)>-1)continue;s.push(v);let w=a(t,g);for(let e=0;e<w.length;++e){let t=w[e];s.push(b+t)}u=c+(u.length>0?" "+u:u)}return u})(e,r);return s(e,a),a};return l=c=>{var d;let h;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),a=(a,i)=>{r[a]=i,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(a(e,t),t):void 0},set(e,t){e in r?r[e]=t:a(e,t)}}})((d=t.reduce((e,t)=>
65t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,a=0,i=0,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(0===n&&0===a){if(":"===o){r.push(e.slice(i,s)),i=s+1;continue}if("/"===o){t=s;continue}}"["===o?n++:"]"===o?n--:"("===o?a++:")"===o&&a--}let s=0===r.length?e:e.slice(i),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),f(r,u,l,t&&t>i?t-i:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):f(m,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let a=e[n],i="["===a[0],o=h.has(a);i||o?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(a)):r.push(a)}return r.length>0&&(r.sort(),t.push(...r)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let e=0;e<r.length;e++)t[r[e]]=!0;return t})(d),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return o(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,a;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(a=t.slice(0,n))?"arbitrary.."+a:void 0)}let n=e.split("-"),a=+(""===n[0]&&n.length>1);return i(n,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],i=r[e];if(t){if(i){let e=Array(i.length+t.length);for(let t=0;t<i.length;t++)e[t]=i[t];for(let r=0;r<t.length;r++)e[i.length+r]=t[r];return e}return t}return i||a}return r[e]||a}}})(d)}).cache.get,s=r.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,r,n=0,a="";for(;n<e.length;)(t=e[n++])&&(r=y(t))&&(a&&(a+=" "),a+=r);return a})(...e))})(()=>{let e=v("color"),t=v("font"),r=v("text"),n=v("font-weight"),a=v("tracking"),i=v("leading"),o=v("breakpoint"),s=v("container"),l=v("spacing"),u=v("radius"),c=v("shadow"),d=v("inset-shadow"),h=v("text-shadow"),p=v("drop-shadow"),m=v("blur"),f=v("perspective"),g=v("aspect"),y=v("ease"),b=v("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...x(),Z,F],S=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],T=()=>[Z,F,l],M=()=>[E,"full","auto",...T()],z=()=>[C,"none","subgrid",Z,F],D=()=>["auto",{span:["full",C,Z,F]},C,Z,F],I=()=>[C,"auto",Z,F],P=()=>["auto","min","max","fr",Z,F],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],en=()=>["start","end","center","stretch","center-safe","end-safe"],ea=()=>["auto",...T()],ei=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],eo=()=>[E,"screen","full","dvw","lvw","svw","min","max","fit",...T()],es=()=>[E,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],el=()=>[e,Z,F],eu=()=>[...x(),K,V,{position:[Z,F]}],ec=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ed=()=>["auto","cover","contain",Q,B,{size:[Z,F]}],eh=()=>[O,J,W],ep=()=>["","none","full",u,Z,F],em=()=>["",_,J,W],ef=()=>["solid","dashed","dotted","double"],eg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ey=()=>[_,O,K,V],eb=()=>["","none",m,Z,F],ev=()=>["none",_,Z,F],ew=()=>["none",_,Z,F],ex=()=>[_,Z,F],ek=()=>[E,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[R],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[$],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",_],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,F,Z,g]}],container:["container"],"container-type":[{"@container":["","normal","size",Z,F]}
vendor: 6,099 bytes, line 65
65],"container-named":[j],columns:[{columns:[_,F,Z,s]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{"inset-s":M(),start:M()}],end:[{"inset-e":M(),end:M()}],"inset-bs":[{"inset-bs":M()}],"inset-be":[{"inset-be":M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[C,"auto",Z,F]}],basis:[{basis:[E,"full","auto",s,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,E,"auto","initial","none",F]}],grow:[{grow:["",_,Z,F]}],shrink:[{shrink:["",_,Z,F]}],order:[{order:[C,"first","last","none",Z,F]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...en(),"normal"]}],"justify-self":[{"justify-self":["auto",...en()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...en(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...en(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...en(),"baseline"]}],"place-self":[{"place-self":["auto",...en()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:ea()}],mx:[{mx:ea()}],my:[{my:ea()}],ms:[{ms:ea()}],me:[{me:ea()}],mbs:[{mbs:ea()}],mbe:[{mbe:ea()}],mt:[{mt:ea()}],mr:[{mr:ea()}],mb:[{mb:ea()}],ml:[{ml:ea()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:ei()}],"inline-size":[{inline:["auto",...eo()]}],"min-inline-size":[{"min-inline":["auto",...eo()]}],"max-inline-size":[{"max-inline":["none",...eo()]}],"block-size":[{block:["auto",...es()]}],"min-block-size":[{"min-block":["auto",...es()]}],"max-block-size":[{"max-block":["none",...es()]}],w:[{w:[s,"screen",...ei()]}],"min-w":[{"min-w":[s,"screen","none",...ei()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...ei()]}],h:[{h:["screen","lh",...ei()]}],"min-h":[{"min-h":["screen","lh","none",...ei()]}],"max-h":[{"max-h":["screen","lh",...ei()]}],"font-size":[{text:["base",r,J,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,er,H]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",O,F]}],"font-family":[{font:[X,U,t]}],"font-features":[{"font-features":[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Z,F]}],"line-clamp":[{"line-clamp":[_,"none",Z,q]}],leading:[{leading:[i,...T()]}],"list-image":[{"list-image":["none",Z,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Z,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:el()}],"text-color":[{text:el()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",Z,W]}],"text-decoration-color":[{decoration:el()}],"underline-offset":[{"underline-offset":[_,"auto",Z,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"tab-size":[{tab:[C,Z,F]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Z,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:eu()}],"bg-repeat":[{bg:ec()}],"bg-size":[{bg:ed()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},C,Z,F],radial:["",Z,F],conic:[C,Z,F]},ee,Y]}],"bg-color":[{bg:el()}],"gradient-from-pos":[{from:eh()}
vendor: 7,384 bytes, line 65
65],"gradient-via-pos":[{via:eh()}],"gradient-to-pos":[{to:eh()}],"gradient-from":[{from:el()}],"gradient-via":[{via:el()}],"gradient-to":[{to:el()}],rounded:[{rounded:ep()}],"rounded-s":[{"rounded-s":ep()}],"rounded-e":[{"rounded-e":ep()}],"rounded-t":[{"rounded-t":ep()}],"rounded-r":[{"rounded-r":ep()}],"rounded-b":[{"rounded-b":ep()}],"rounded-l":[{"rounded-l":ep()}],"rounded-ss":[{"rounded-ss":ep()}],"rounded-se":[{"rounded-se":ep()}],"rounded-ee":[{"rounded-ee":ep()}],"rounded-es":[{"rounded-es":ep()}],"rounded-tl":[{"rounded-tl":ep()}],"rounded-tr":[{"rounded-tr":ep()}],"rounded-br":[{"rounded-br":ep()}],"rounded-bl":[{"rounded-bl":ep()}],"border-w":[{border:em()}],"border-w-x":[{"border-x":em()}],"border-w-y":[{"border-y":em()}],"border-w-s":[{"border-s":em()}],"border-w-e":[{"border-e":em()}],"border-w-bs":[{"border-bs":em()}],"border-w-be":[{"border-be":em()}],"border-w-t":[{"border-t":em()}],"border-w-r":[{"border-r":em()}],"border-w-b":[{"border-b":em()}],"border-w-l":[{"border-l":em()}],"divide-x":[{"divide-x":em()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":em()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:el()}],"border-color-x":[{"border-x":el()}],"border-color-y":[{"border-y":el()}],"border-color-s":[{"border-s":el()}],"border-color-e":[{"border-e":el()}],"border-color-bs":[{"border-bs":el()}],"border-color-be":[{"border-be":el()}],"border-color-t":[{"border-t":el()}],"border-color-r":[{"border-r":el()}],"border-color-b":[{"border-b":el()}],"border-color-l":[{"border-l":el()}],"divide-color":[{divide:el()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,Z,F]}],"outline-w":[{outline:["",_,J,W]}],"outline-color":[{outline:el()}],shadow:[{shadow:["","none",c,et,G]}],"shadow-color":[{shadow:el()}],"inset-shadow":[{"inset-shadow":["none",d,et,G]}],"inset-shadow-color":[{"inset-shadow":el()}],"ring-w":[{ring:em()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:el()}],"ring-offset-w":[{"ring-offset":[_,W]}],"ring-offset-color":[{"ring-offset":el()}],"inset-ring-w":[{"inset-ring":em()}],"inset-ring-color":[{"inset-ring":el()}],"text-shadow":[{"text-shadow":["none",h,et,G]}],"text-shadow-color":[{"text-shadow":el()}],opacity:[{opacity:[_,Z,F]}],"mix-blend":[{"mix-blend":[...eg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eg()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":ey()}],"mask-image-linear-to-pos":[{"mask-linear-to":ey()}],"mask-image-linear-from-color":[{"mask-linear-from":el()}],"mask-image-linear-to-color":[{"mask-linear-to":el()}],"mask-image-t-from-pos":[{"mask-t-from":ey()}],"mask-image-t-to-pos":[{"mask-t-to":ey()}],"mask-image-t-from-color":[{"mask-t-from":el()}],"mask-image-t-to-color":[{"mask-t-to":el()}],"mask-image-r-from-pos":[{"mask-r-from":ey()}],"mask-image-r-to-pos":[{"mask-r-to":ey()}],"mask-image-r-from-color":[{"mask-r-from":el()}],"mask-image-r-to-color":[{"mask-r-to":el()}],"mask-image-b-from-pos":[{"mask-b-from":ey()}],"mask-image-b-to-pos":[{"mask-b-to":ey()}],"mask-image-b-from-color":[{"mask-b-from":el()}],"mask-image-b-to-color":[{"mask-b-to":el()}],"mask-image-l-from-pos":[{"mask-l-from":ey()}],"mask-image-l-to-pos":[{"mask-l-to":ey()}],"mask-image-l-from-color":[{"mask-l-from":el()}],"mask-image-l-to-color":[{"mask-l-to":el()}],"mask-image-x-from-pos":[{"mask-x-from":ey()}],"mask-image-x-to-pos":[{"mask-x-to":ey()}],"mask-image-x-from-color":[{"mask-x-from":el()}],"mask-image-x-to-color":[{"mask-x-to":el()}],"mask-image-y-from-pos":[{"mask-y-from":ey()}],"mask-image-y-to-pos":[{"mask-y-to":ey()}],"mask-image-y-from-color":[{"mask-y-from":el()}],"mask-image-y-to-color":[{"mask-y-to":el()}],"mask-image-radial":[{"mask-radial":[Z,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":ey()}],"mask-image-radial-to-pos":[{"mask-radial-to":ey()}],"mask-image-radial-from-color":[{"mask-radial-from":el()}],"mask-image-radial-to-color":[{"mask-radial-to":el()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":ey()}],"mask-image-conic-to-pos":[{"mask-conic-to":ey()}],"mask-image-conic-from-color":[{"mask-conic-from":el()}],"mask-image-conic-to-color":[{"mask-conic-to":el()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:eu()}],"mask-repeat":[{mask:ec()}],"mask-size":[{mask:ed()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Z,F]}],filter:[{filter:["","none",Z,F]}],blur:[{blur:eb()}],brightness:[{brightness:[_,Z,F]}],contrast:[{contrast:[_,Z,F]}],"drop-shadow":[{"drop-shadow":["","none",p,et,G]}],"drop-shadow-color":[{"drop-shadow":el()}],grayscale:[{grayscale:["",_,Z,F]}],"hue-rotate":[{"hue-rotate":[_,Z,F]}],invert:[{invert:["",_,Z,F]}],saturate:[{saturate:[_,Z,F]}],sepia:[{sepia:["",_,Z,F]}],"backdrop-filter":[{"backdrop-filter":["","none",Z,F]}],"backdrop-blur":[{"backdrop-blur":eb()}],"backdrop-brightness":[{"backdrop-brightness":[_,Z,F]}],"backdrop-contrast":[{"backdrop-contrast":[_,Z,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,Z,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,Z,F]}],"backdrop-invert":[{"backdrop-invert":["",_,Z,F]}],"backdrop-opacity":[{"backdrop-opacity":[_,Z,F]}],"backdrop-saturate":[{"backdrop-saturate":[_,Z,F]}],"backdrop-sepia":[{"backdrop-sepia":["",_,Z,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Z,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",Z,F]}],ease:[{ease:["linear","initial",y,Z,F]}],delay:[{delay:[_,Z,F]}],animate:[{animate:["none",b,Z,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Z,F]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:ew()}],"scale-x":[{"scale-x":ew()}],"scale-y":[{"scale-y":ew()}],"scale-z":[{"scale-z":ew()}],"scale-3d":["scale-3d"],skew:[{skew:ex()}],"skew-x":[{"skew-x":ex()}],"skew-y":[{"skew-y":ex()}],transform:[{transform:[Z,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ek()}],"translate-x":[{"translate-x":ek()}],"translate-y":[{"translate-y":ek()}],"translate-z":[{"translate-z":ek()}],"translate-none":["translate-none"],zoom:[{zoom:[C,Z,F]}],accent:[{accent:el()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:el()}
65],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Z,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":el()}],"scrollbar-track-color":[{"scrollbar-track":el()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Z,F]}],fill:[{fill:["none",...el()]}],"stroke-w":[{stroke:[_,J,W,q]}],stroke:[{stroke:["none",...el()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});r.d(t,{},{QP:ep})},92097(e,t,r){"use strict";var n=r(24725),a=r(25589);function i(e){return n.qG(a.rS,e)}r.d(t,{ai:()=>i})},6774(e,t,r){"use strict";var n;n||(n={}),r.d(t,{}
65,{eq:{invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"}})},25589(e,t,r){"use strict";r.d(t,{rS:()=>tc,EB:()=>e0,YO:()=>tx,zM:()=>tm,p6:()=>tv,k5:()=>tC,eu:()=>tN,ai:()=>td,Ik:()=>tS,vk:()=>tZ,g1:()=>tE,Yj:()=>eQ,KC:()=>tT,L5:()=>tg});var n=r(59018),a=r(46588);class i{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>`  ${e}`)].join("\n"))}}var o=r(53690),s=r(88238),l=r(48981);let u={major:4,minor:4,patch:3},c=n.xI("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=u;let a=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&a.unshift(e),a))for(let r of t._zod.onattach)r(e);if(0===a.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,r)=>{let a,i=l.QH(e);for(let o of t){if(o._zod.def.when){if(l.rL(e)||!o._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,s=o._zod.check(e);if(s instanceof Promise&&r?.async===!1)throw new n.GT;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,e.issues.length!==t&&(i||(i=l.QH(e,t)))});else{if(e.issues.length===t)continue;i||(i=l.QH(e,t))}}return a?a.then(()=>e):e},r=(r,i,o)=>{if(l.QH(r))return r.aborted=!0,r;let s=t(i,a,o);if(s instanceof Promise){if(!1===o.async)throw new n.GT;return s.then(t=>e._zod.parse(t,o))}return e._zod.parse(s,o)};e._zod.run=(i,o)=>{if(o.skipChecks)return e._zod.parse(i,o);if("backward"===o.direction){let t=e._zod.parse({value:i.value,issues:[]},{...o,skipChecks:!0});return t instanceof Promise?t.then(e=>r(e,i,o)):r(t,i,o)}let s=e._zod.parse(i,o);if(s instanceof Promise){if(!1===o.async)throw new n.GT;return s.then(e=>t(e,a,o))}return t(s,a,o)}}l.gJ(e,"~standard",()=>({validate:t=>{try{let r=(0,o.xL)(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return(0,o.bp)(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),d=n.xI("$ZodString",(e,t)=>{c.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??s.Yj(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(e){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),h=n.xI("$ZodStringFormat",(e,t)=>{a.ql.init(e,t),d.init(e,t)}),p=n.xI("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=s.Os),h.init(e,t)}),m=n.xI("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=s.uR(e))}else t.pattern??(t.pattern=s.uR());h.init(e,t)}),f=n.xI("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=s.Rp),h.init(e,t)}),g=n.xI("$ZodURL",(e,t)=>{h.init(e,t),e._zod.check=r=>{try{let n=r.value.trim();if(!t.normalize&&t.protocol?.source===s.F.source&&!/^https?:\/\//i.test(n))return void r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});let a=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=a.href:r.value=n;return}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),y=n.xI("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=s.Zg()),h.init(e,t)}),b=n.xI("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=s.Ak),h.init(e,t)}),v=n.xI("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=s.gF),h.init(e,t)}),w=n.xI("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=s.Gl),h.init(e,t)}),x=n.xI("$ZodULID",(e,t)=>{t.pattern??(t.pattern=s.Z0),h.init(e,t)}),k=n.xI("$ZodXID",(e,t)=>{t.pattern??(t.pattern=s.kM),h.init(e,t)}),S=n.xI("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=s.fO),h.init(e,t)}),A=n.xI("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=s.w$(t)),h.init(e,t)}),T=n.xI("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=s.p6),h.init(e,t)}),M=n.xI("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=s.kB(t)),h.init(e,t)}),z=n.xI("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=s.p0),h.init(e,t)}),E=n.xI("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=s.uX),h.init(e,t),e._zod.bag.format="ipv4"}),_=n.xI("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=s.ug),h.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),C=n.xI("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=s.zr),h.init(e,t)}),O=n.xI("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=s.l7),h.init(e,t),e._zod.check=r=>{let n=r.value.split("/");try{if(2!==n.length)throw Error();let[e,t]=n;if(!t)throw Error();let r=Number(t);if(`${r}`!==t||r<0||r>128)throw Error();new URL(`http://[${e}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function N(e){if(""===e)return!0;
65if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let R=n.xI("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=s.K3),h.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{N(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),D=n.xI("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=s.r0),h.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{!function(e){if(!s.r0.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return N(t.padEnd(4*Math.ceil(t.length/4),"="))}(r.value)&&r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),I=n.xI("$ZodE164",(e,t)=>{t.pattern??(t.pattern=s.hQ),h.init(e,t)}),P=n.xI("$ZodJWT",(e,t)=>{h.init(e,t),e._zod.check=r=>{!function(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let a=JSON.parse(atob(n));if("typ"in a&&a?.typ!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))return!1;return!0}catch{return!1}}(r.value,t.alg)&&r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),L=n.xI("$ZodNumber",(e,t)=>{c.init(e,t),e._zod.pattern=e._zod.bag.pattern??s.ai,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(e){}let a=r.value;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return r;let i="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),r}}),$=n.xI("$ZodNumberFormat",(e,t)=>{a.KH.init(e,t),L.init(e,t)}),j=n.xI("$ZodBoolean",(e,t)=>{c.init(e,t),e._zod.pattern=s.zM,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch(e){}let a=r.value;return"boolean"==typeof a||r.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),r}}),B=n.xI("$ZodUnknown",(e,t)=>{c.init(e,t),e._zod.parse=e=>e}),F=n.xI("$ZodNever",(e,t)=>{c.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),W=n.xI("$ZodDate",(e,t)=>{c.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch(e){}let a=r.value,i=a instanceof Date;return i&&!Number.isNaN(a.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:a,...i?{received:"Invalid Date"}:{},inst:e}),r}});function q(e,t,r){e.issues.length&&t.issues.push(...l.lQ(r,e.issues)),t.value[r]=e.value}let H=n.xI("$ZodArray",(e,t)=>{c.init(e,t),e._zod.parse=(r,n)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);let i=[];for(let e=0;e<a.length;e++){let o=a[e],s=t.element._zod.run({value:o,issues:[]},n);s instanceof Promise?i.push(s.then(t=>q(t,r,e))):q(s,r,e)}return i.length?Promise.all(i).then(()=>r):r}});function U(e,t,r,n,a,i){let o=r in n;if(e.issues.length){if(a&&i&&!o)return;t.issues.push(...l.lQ(r,e.issues))}if(!o&&!a){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}void 0===e.value?o&&(t.value[r]=void 0):t.value[r]=e.value}function V(e){let t=Object.keys(e.shape);for(let r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${r}": expected a Zod schema`);let r=l.NM(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Y(e,t,r,n,a,i){let o=[],s=a.keySet,l=a.catchall._zod,u=l.def.type,c="optional"===l.optin,d="optional"===l.optout;for(let a in t){if("__proto__"===a||s.has(a))continue;if("never"===u){o.push(a);continue}let i=l.run({value:t[a],issues:[]},n);i instanceof Promise?e.push(i.then(e=>U(e,r,a,t,c,d))):U(i,r,a,t,c,d)}return(o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length)?Promise.all(e).then(()=>r):r}let G=n.xI("$ZodObject",(e,t)=>{let r;c.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let r={...e};return Object.defineProperty(t,"shape",{value:r}),r}})}let a=l.PO(()=>V(t));l.gJ(e._zod,"propValues",()=>{let e=t.shape,r={};for(let t in e){let n=e[t]._zod;if(n.values)for(let e of(r[t]??(r[t]=new Set),n.values))r[t].add(e)}return r});let i=l.Gv,o=t.catchall;e._zod.parse=(t,n)=>{r??(r=a.value);let s=t.value;if(!i(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};let l=[],u=r.shape;for(let e of r.keys){let r=u[e],a="optional"===r._zod.optin,i="optional"===r._zod.optout,o=r._zod.run({value:s[e],issues:[]},n);o instanceof Promise?l.push(o.then(r=>U(r,t,e,s,a,i))):U(o,t,e,s,a,i)}return o?Y(l,s,t,n,a.value,e):l.length?Promise.all(l).then(()=>t):t}}),Z=n.xI("$ZodObjectJIT",(e,t)=>{let r,a;G.init(e,t);let o=e._zod.parse,s=l.PO(()=>V(t)),u=l.Gv,c=!n.cr.jitless,d=l.hI,h=c&&d.value,p=t.catchall;e._zod.parse=(n,d)=>{a??(a=s.value);let m=n.value;return u(m)?c&&h&&d?.async===!1&&!0!==d.jitless?(r||(r=(e=>
65{let t=new i(["shape","payload","ctx"]),r=s.value,n=e=>{let t=l.UQ(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let a=Object.create(null),o=0;for(let e of r.keys)a[e]=`key_${o++}`;for(let i of(t.write("const newResult = {};"),r.keys)){let r=a[i],o=l.UQ(i),s=e[i],u=s?._zod?.optin==="optional",c=s?._zod?.optout==="optional";t.write(`const ${r} = ${n(i)};`),u&&c?t.write(`
66        if (${r}.issues.length) {
67          if (${o} in input) {
68            payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
69              ...iss,
70              path: iss.path ? [${o}, ...iss.path] : [${o}]
71            })));
72          }
73        }
74        
75        if (${r}.value === undefined) {
76          if (${o} in input) {
77            newResult[${o}] = undefined;
78          }
79        } else {
80          newResult[${o}] = ${r}.value;
81        }
82        
83      `):u?t.write(`
84        if (${r}.issues.length) {
85          payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
86            ...iss,
87            path: iss.path ? [${o}, ...iss.path] : [${o}]
88          })));
89        }
90        
91        if (${r}.value === undefined) {
92          if (${o} in input) {
93            newResult[${o}] = undefined;
94          }
95        } else {
96          newResult[${o}] = ${r}.value;
97        }
98        
99      `):t.write(`
100        const ${r}_present = ${o} in input;
101        if (${r}.issues.length) {
102          payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
103            ...iss,
104            path: iss.path ? [${o}, ...iss.path] : [${o}]
105          })));
106        }
107        if (!${r}_present && !${r}.issues.length) {
108          payload.issues.push({
109            code: "invalid_type",
110            expected: "nonoptional",
111            input: undefined,
112            path: [${o}]
113          });
114        }
115
116        if (${r}_present) {
117          if (${r}.value === undefined) {
118            newResult[${o}] = undefined;
119          } else {
120            newResult[${o}] = ${r}.value;
121          }
122        }
123
124      `)}t.write("payload.value = newResult;"),t.write("return payload;");let u=t.compile();return(t,r)=>u(e,t,r)})(t.shape)),n=r(n,d),p)?Y([],m,n,d,a,e):n:o(n,d):(n.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),n)}});function J(e,t,r,a){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;let i=e.filter(e=>!l.QH(e));return 1===i.length?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>l.iR(e,a,n.$W())))}),t)}let X=n.xI("$ZodUnion",(e,t)=>{c.init(e,t),l.gJ(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),l.gJ(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),l.gJ(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),l.gJ(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>l.p6(e.source)).join("|")})$`)}});let r=1===t.options.length?t.options[0]._zod.run:null;e._zod.parse=(n,a)=>{if(r)return r(n,a);let i=!1,o=[];for(let e of t.options){let t=e._zod.run({value:n.value,issues:[]},a);if(t instanceof Promise)o.push(t),i=!0;else{if(0===t.issues.length)return t;o.push(t)}}return i?Promise.all(o).then(t=>J(t,n,e,a)):J(o,n,e,a)}}),K=n.xI("$ZodIntersection",(e,t)=>{c.init(e,t),e._zod.parse=(e,r)=>{let n=e.value,a=t.left._zod.run({value:n,issues:[]},r),i=t.right._zod.run({value:n,issues:[]},r);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then(([t,r])=>Q(e,t,r)):Q(e,a,i)}});function Q(e,t,r){let n,a=new Map;for(let r of t.issues)if("unrecognized_keys"===r.code)for(let e of(n??(n=r),r.keys))a.has(e)||a.set(e,{}),a.get(e).l=!0;else e.issues.push(r);for(let t of r.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)a.has(e)||a.set(e,{}),a.get(e).r=!0;else e.issues.push(t);let i=[...a].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(i.length&&n&&e.issues.push({...n,keys:i}),l.QH(e))return e;let o=function e(t,r){if(t===r||t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(l.Qd(t)&&l.Qd(r)){let n=Object.keys(r),a=Object.keys(t).filter(e=>-1!==n.indexOf(e)),i={...t,...r};for(let n of a){let a=e(t[n],r[n]);
124if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};i[n]=a.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let a=0;a<t.length;a++){let i=e(t[a],r[a]);if(!i.valid)return{valid:!1,mergeErrorPath:[a,...i.mergeErrorPath]};n.push(i.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}(t.value,r.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}let ee=n.xI("$ZodRecord",(e,t)=>{c.init(e,t),e._zod.parse=(r,a)=>{let i=r.value;if(!l.Qd(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let o=[],u=t.keyType._zod.values;if(u){let s;r.value={};let c=new Set;for(let s of u)if("string"==typeof s||"number"==typeof s||"symbol"==typeof s){c.add("number"==typeof s?s.toString():s);let u=t.keyType._zod.run({value:s,issues:[]},a);if(u instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(e=>l.iR(e,a,n.$W())),input:s,path:[s],inst:e});continue}let d=u.value,h=t.valueType._zod.run({value:i[s],issues:[]},a);h instanceof Promise?o.push(h.then(e=>{e.issues.length&&r.issues.push(...l.lQ(s,e.issues)),r.value[d]=e.value})):(h.issues.length&&r.issues.push(...l.lQ(s,h.issues)),r.value[d]=h.value)}for(let e in i)c.has(e)||(s=s??[]).push(e);s&&s.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:s})}else for(let u of(r.value={},Reflect.ownKeys(i))){if("__proto__"===u||!Object.prototype.propertyIsEnumerable.call(i,u))continue;let c=t.keyType._zod.run({value:u,issues:[]},a);if(c instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof u&&s.ai.test(u)&&c.issues.length){let e=t.keyType._zod.run({value:Number(u),issues:[]},a);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(c=e)}if(c.issues.length){"loose"===t.mode?r.value[u]=i[u]:r.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(e=>l.iR(e,a,n.$W())),input:u,path:[u],inst:e});continue}let d=t.valueType._zod.run({value:i[u],issues:[]},a);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...l.lQ(u,e.issues)),r.value[c.value]=e.value})):(d.issues.length&&r.issues.push(...l.lQ(u,d.issues)),r.value[c.value]=d.value)}return o.length?Promise.all(o).then(()=>r):r}}),et=n.xI("$ZodEnum",(e,t)=>{c.init(e,t);let r=l.w5(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=RegExp(`^(${r.filter(e=>l.qQ.has(typeof e)).map(e=>"string"==typeof e?l.$f(e):e.toString()).join("|")})$`),e._zod.parse=(t,a)=>{let i=t.value;return n.has(i)||t.issues.push({code:"invalid_value",values:r,input:i,inst:e}),t}}),er=n.xI("$ZodLiteral",(e,t)=>{if(c.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?l.$f(e):e?l.$f(e.toString()):String(e)).join("|")})$`),e._zod.parse=(n,a)=>{let i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),en=n.xI("$ZodTransform",(e,t)=>{c.init(e,t),e._zod.optin="optional",e._zod.parse=(r,a)=>{if("backward"===a.direction)throw new n.cV(e.constructor.name);let i=t.transform(r.value,r);if(a.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(r.value=e,r.fallback=!0,r));if(i instanceof Promise)throw new n.GT;return r.value=i,r.fallback=!0,r}});function ea(e,t){return void 0===t&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}let ei=n.xI("$ZodOptional",(e,t)=>{c.init(e,t),e._zod.optin="optional",e._zod.optout="optional",l.gJ(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),l.gJ(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${l.p6(e.source)})?$`):void 0}),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){let n=e.value,a=t.innerType._zod.run(e,r);return a instanceof Promise?a.then(e=>ea(e,n)):ea(a,n)}return void 0===e.value?e:t.innerType._zod.run(e,r)}}),eo=n.xI("$ZodExactOptional",(e,t)=>{ei.init(e,t),l.gJ(e._zod,"values",()=>t.innerType._zod.values),l.gJ(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,r)=>t.innerType._zod.run(e,r)}),es=n.xI("$ZodNullable",(e,t)=>{c.init(e,t),l.gJ(e._zod,"optin",()=>t.innerType._zod.optin),l.gJ(e._zod,"optout",()=>t.innerType._zod.optout),l.gJ(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${l.p6(e.source)}|null)$`):void 0}),l.gJ(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)}),el=n.xI("$ZodDefault",(e,t)=>{c.init(e,t),e._zod.optin="optional",l.gJ(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(e=>
124eu(e,t)):eu(n,t)}});function eu(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let ec=n.xI("$ZodPrefault",(e,t)=>{c.init(e,t),e._zod.optin="optional",l.gJ(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))}),ed=n.xI("$ZodNonOptional",(e,t)=>{c.init(e,t),l.gJ(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(r,n)=>{let a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(t=>eh(t,e)):eh(a,e)}});function eh(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let ep=n.xI("$ZodCatch",(e,t)=>{c.init(e,t),e._zod.optin="optional",l.gJ(e._zod,"optout",()=>t.innerType._zod.optout),l.gJ(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let a=t.innerType._zod.run(e,r);return a instanceof Promise?a.then(a=>(e.value=a.value,a.issues.length&&(e.value=t.catchValue({...e,error:{issues:a.issues.map(e=>l.iR(e,r,n.$W()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=a.value,a.issues.length&&(e.value=t.catchValue({...e,error:{issues:a.issues.map(e=>l.iR(e,r,n.$W()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),em=n.xI("$ZodPipe",(e,t)=>{c.init(e,t),l.gJ(e._zod,"values",()=>t.in._zod.values),l.gJ(e._zod,"optin",()=>t.in._zod.optin),l.gJ(e._zod,"optout",()=>t.out._zod.optout),l.gJ(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,r)=>{if("backward"===r.direction){let n=t.out._zod.run(e,r);return n instanceof Promise?n.then(e=>ef(e,t.in,r)):ef(n,t.in,r)}let n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>ef(e,t.out,r)):ef(n,t.out,r)}});function ef(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}let eg=n.xI("$ZodPreprocess",(e,t)=>{em.init(e,t)}),ey=n.xI("$ZodReadonly",(e,t)=>{c.init(e,t),l.gJ(e._zod,"propValues",()=>t.innerType._zod.propValues),l.gJ(e._zod,"values",()=>t.innerType._zod.values),l.gJ(e._zod,"optin",()=>t.innerType?._zod?.optin),l.gJ(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(eb):eb(n)}});function eb(e){return e.value=Object.freeze(e.value),e}let ev=n.xI("$ZodCustom",(e,t)=>{a.QP.init(e,t),c.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{let n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then(t=>ew(t,r,n,e));ew(a,r,n,e)}});function ew(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(l.sn(e))}}var ex=r(65754),ek=r(24725);function eS(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ex.fd,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function eA(e,t,r={path:[],schemaPath:[]}){var n;let a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;let o={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let n={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,n);else{let r=o.schema,i=t.processors[a.type];if(!i)throw Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);i(e,t,r,n)}let i=e._zod.parent;i&&(o.ref||(o.ref=i),eA(i,t,n),t.seen.get(i).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(o.schema,l),"input"===t.io&&function e(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let a=t._zod.def;if("transform"===a.type)return!0;
124if("array"===a.type)return e(a.element,n);if("set"===a.type)return e(a.valueType,n);if("lazy"===a.type)return e(a.getter(),n);if("promise"===a.type||"optional"===a.type||"nonoptional"===a.type||"nullable"===a.type||"readonly"===a.type||"default"===a.type||"prefault"===a.type)return e(a.innerType,n);if("intersection"===a.type)return e(a.left,n)||e(a.right,n);if("record"===a.type||"map"===a.type)return e(a.keyType,n)||e(a.valueType,n);if("pipe"===a.type)return!!t._zod.traits.has("$ZodCodec")||e(a.in,n)||e(a.out,n);if("object"===a.type){for(let t in a.shape)if(e(a.shape[t],n))return!0;return!1}if("union"===a.type){for(let t of a.options)if(e(t,n))return!0;return!1}if("tuple"===a.type){for(let t of a.items)if(e(t,n))return!0;if(a.rest&&e(a.rest,n))return!0}return!1}(e)&&(delete o.schema.examples,delete o.schema.default),"input"===t.io&&"_prefault"in o.schema&&((n=o.schema).default??(n.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function eT(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let t of e.seen.entries()){let r=e.metadataRegistry.get(t[0])?.id;if(r){let e=n.get(r);if(e&&e!==t[0])throw Error(`Duplicate schema id "${r}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(r,t[0])}}let a=t=>{if(t[1].schema.$ref)return;let n=t[1],{ref:a,defId:i}=(t=>{let n="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let r=e.external.registry.get(t[0])?.id,a=e.external.uri??(e=>e);if(r)return{ref:a(r)};let i=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=i,{defId:i,ref:`${a("__shared")}#/${n}/${i}`}}if(t[1]===r)return{ref:"#"};let a=`#/${n}/`,i=t[1].schema.id??`__schema${e.counter++}`;return{defId:i,ref:a+i}})(t);n.def={...n.schema},i&&(n.defId=i);let o=n.schema;for(let e in o)delete o[e];o.$ref=a};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
125
126Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let r of e.seen.entries()){let n=r[1];if(t===r[0]){a(r);continue}if(e.external){let n=e.external.registry.get(r[0])?.id;if(t!==r[0]&&n){a(r);continue}}if(e.metadataRegistry.get(r[0])?.id||n.cycle||n.count>1&&"ref"===e.reused){a(r);continue}}}function eM(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=t=>{let r=e.seen.get(t);if(null===r.ref)return;let a=r.def??r.schema,i={...a},o=r.ref;if(r.ref=null,o){n(o);let r=e.seen.get(o),s=r.schema;if(s.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(a.allOf=a.allOf??[],a.allOf.push(s)):Object.assign(a,s),Object.assign(a,i),t._zod.parent===o)for(let e in a)"$ref"!==e&&"allOf"!==e&&(e in i||delete a[e]);if(s.$ref&&r.def)for(let e in a)"$ref"!==e&&"allOf"!==e&&e in r.def&&JSON.stringify(a[e])===JSON.stringify(r.def[e])&&delete a[e]}let s=t._zod.parent;if(s&&s!==o){n(s);let t=e.seen.get(s);if(t?.schema.$ref&&(a.$ref=t.schema.$ref,t.def))for(let e in a)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(a[e])===JSON.stringify(t.def[e])&&delete a[e]}e.override({zodSchema:t,jsonSchema:a,path:r.path??[]})};for(let t of[...e.seen.entries()].reverse())n(t[0]);let a={};if("draft-2020-12"===e.target?a.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?a.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?a.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let r=e.external.registry.get(t)?.id;if(!r)throw Error("Schema is missing an `id` property");a.$id=e.external.uri(r)}Object.assign(a,r.def??r.schema);let i=e.metadataRegistry.get(t)?.id;void 0!==i&&a.id===i&&delete a.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&("draft-2020-12"===e.target?a.$defs=o:a.definitions=o);try{let r=JSON.parse(JSON.stringify(a));return Object.defineProperty(r,"~standard",{value:{...t["~standard"],jsonSchema:{input:ez(t,"input",e.processors),output:ez(t,"output",e.processors)}},enumerable:!1,writable:!1}),r}catch(e){throw Error("Error converting schema to JSON.")}}let ez=(e,t,r={})=>n=>{let{libraryOptions:a,target:i}=n??{},o=eS({...a??{},target:i,io:t,processors:r});return eA(e,o),eT(o,e),eM(o,e)},eE={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},e_=(e,t,r,n)=>{let a=e._zod.def;eA(a.innerType,t,n),t.seen.get(e).ref=a.innerType},eC=n.xI("ZodISODateTime",(e,t)=>{A.init(e,t),e0.init(e,t)}),eO=n.xI("ZodISODate",(e,t)=>{T.init(e,t),e0.init(e,t)}),eN=n.xI("ZodISOTime",(e,t)=>{M.init(e,t),e0.init(e,t)}),eR=n.xI("ZodISODuration",(e,t)=>{z.init(e,t),e0.init(e,t)});var eD=r(36074);let eI=n.xI("ZodError",(e,t)=>{eD.a$.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>eD.Wk(e,t)},flatten:{value:t=>eD.JM(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,l.k8,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,l.k8,2)}},isEmpty:{get:()=>0===e.issues.length}})},{Parent:Error}),eP=o.Tj(eI),eL=o.Rb(eI),e$=o.Od(eI),ej=o.wG(eI),eB=o.Mv(eI),eF=o.e2(eI),eW=o.GW(eI),eq=o.or(eI),eH=o.rh(eI),eU=o.VS(eI),eV=o.v_(eI),eY=o.R3(eI),eG=new WeakMap;function eZ(e,t,r){let n=Object.getPrototypeOf(e),a=eG.get(n);if(a||(a=new Set,eG.set(n,a)),!a.has(t))for(let e in a.add(t),r){let t=r[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,get(){let r=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:r}),r},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}let eJ=n.xI("ZodType",(e,t)=>(c.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:ez(e,"input"),output:ez(e,"output")}}),e.toJSONSchema=((e,t={})=>r=>{let n=eS({...r,processors:t});return eA(e,n),eT(n,e),eM(n,e)})(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,r)=>eP(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>e$(e,t,r),e.parseAsync=async(t,r)=>eL(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>ej(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>eB(e,t,r),e.decode=(t,r)=>eF(e,t,r),e.encodeAsync=async(t,r)=>eW(e,t,r),e.decodeAsync=async(t,r)=>eq(e,t,r),e.safeEncode=(t,r)=>eH(e,t,r),e.safeDecode=(t,r)=>eU(e,t,r),e.safeEncodeAsync=async(t,r)=>eV(e,t,r),e.safeDecodeAsync=async(t,r)=>
126eY(e,t,r),eZ(e,"ZodType",{check(...e){let t=this.def;return this.clone(l.zM(t,{checks:[...t.checks??[],...e.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return l.o8(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(function(e,t={}){return ek.fU(tG,e,t)}(e,t))},superRefine(e,t){var r,n;return this.check((r=e,n=t,ek.MB(r,n)))},overwrite(e){return this.check(ek.bS(e))},optional(){return tP(this)},exactOptional(){var e;return e=this,new tL({type:"optional",innerType:e})},nullable(){return tj(this)},nullish(){return tP(tj(this))},nonoptional(e){var t,r;return t=this,r=e,new tW({type:"nonoptional",innerType:t,...l.A2(r)})},array(){return tx(this)},or(e){return tT([this,e])},and(e){var t;return t=this,new tM({type:"intersection",left:t,right:e})},transform(e){return tU(this,tD(e))},default(e){var t,r;return t=this,r=e,new tB({type:"default",innerType:t,get defaultValue(){return"function"==typeof r?r():l.yG(r)}})},prefault(e){var t,r;return t=this,r=e,new tF({type:"prefault",innerType:t,get defaultValue(){return"function"==typeof r?r():l.yG(r)}})},catch(e){var t,r;return t=this,new tq({type:"catch",innerType:t,catchValue:"function"==typeof(r=e)?r:()=>r})},pipe(e){return tU(this,e)},readonly(){var e;return e=this,new tY({type:"readonly",innerType:e})},describe(e){let t=this.clone();return ex.fd.add(t,{description:e}),t},meta(...e){if(0===e.length)return ex.fd.get(this);let t=this.clone();return ex.fd.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get:()=>ex.fd.get(e)?.description,configurable:!0}),e)),eX=n.xI("_ZodString",(e,t)=>{d.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{r.type="string";let{minimum:a,maximum:i,format:o,patterns:s,contentEncoding:l}=e._zod.bag;if("number"==typeof a&&(r.minLength=a),"number"==typeof i&&(r.maxLength=i),o&&(r.format=eE[o]??o,""===r.format&&delete r.format,"time"===o&&delete r.format),l&&(r.contentEncoding=l),s&&s.size>0){let e=[...s];1===e.length?r.pattern=e[0].source:e.length>1&&(r.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}})(e,t,r,0);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,eZ(e,"_ZodString",{regex(...e){return this.check(ek.Fk(...e))},includes(...e){return this.check(ek.dR(...e))},startsWith(...e){return this.check(ek.$S(...e))},endsWith(...e){return this.check(ek.ER(...e))},min(...e){return this.check(ek.m9(...e))},max(...e){return this.check(ek.Eb(...e))},length(...e){return this.check(ek.YA(...e))},nonempty(...e){return this.check(ek.m9(1,...e))},lowercase(e){return this.check(ek.hH(e))},uppercase(e){return this.check(ek.qF(e))},trim(){return this.check(ek.WN())},normalize(...e){return this.check(ek.lo(...e))},toLowerCase(){return this.check(ek.Il())},toUpperCase(){return this.check(ek.xY())},slugify(){return this.check(ek.TL())}})}),eK=n.xI("ZodString",(e,t)=>{d.init(e,t),eX.init(e,t),e.email=t=>e.check(ek.Mu(e1,t)),e.url=t=>e.check(ek.Fn(e6,t)),e.jwt=t=>e.check(ek.rk(tu,t)),e.emoji=t=>e.check(ek.aC(e3,t)),e.guid=t=>e.check(ek.tB(e4,t)),e.uuid=t=>e.check(ek.Be(e5,t)),e.uuidv4=t=>e.check(ek.nA(e5,t)),e.uuidv6=t=>e.check(ek.pY(e5,t)),e.uuidv7=t=>e.check(ek.wA(e5,t)),e.nanoid=t=>e.check(ek.Dl(e2,t)),e.guid=t=>e.check(ek.tB(e4,t)),e.cuid=t=>e.check(ek.fs(e7,t)),e.cuid2=t=>e.check(ek.Bj(e8,t)),e.ulid=t=>e.check(ek.Ct(e9,t)),e.base64=t=>e.check(ek.rt(to,t)),e.base64url=t=>e.check(ek.cU(ts,t)),e.xid=t=>e.check(ek.Pw(te,t)),e.ksuid=t=>e.check(ek._z(tt,t)),e.ipv4=t=>e.check(ek.Ny(tr,t)),e.ipv6=t=>e.check(ek.$O(tn,t)),e.cidrv4=t=>e.check(ek.Uy(ta,t)),e.cidrv6=t=>e.check(ek.gP(ti,t)),e.e164=t=>e.check(ek.KB(tl,t)),e.datetime=t=>e.check(ek.G1(eC,t)),e.date=t=>e.check(ek.db(eO,t)),e.time=t=>e.check(ek.Kn(eN,t)),e.duration=t=>e.check(ek.f2(eR,t))});function eQ(e){return ek.Rl(eK,e)}let e0=n.xI("ZodStringFormat",(e,t)=>{h.init(e,t),eX.init(e,t)}),e1=n.xI("ZodEmail",(e,t)=>{f.init(e,t),e0.init(e,t)}),e4=n.xI("ZodGUID",(e,t)=>{p.init(e,t),e0.init(e,t)}),e5=n.xI("ZodUUID",(e,t)=>{m.init(e,t),e0.init(e,t)}),e6=n.xI("ZodURL",(e,t)=>{g.init(e,t),e0.init(e,t)}),e3=n.xI("ZodEmoji",(e,t)=>{y.init(e,t),e0.init(e,t)}),e2=n.xI("ZodNanoID",(e,t)=>{b.init(e,t),e0.init(e,t)}),e7=n.xI("ZodCUID",(e,t)=>{v.init(e,t),e0.init(e,t)}),e8=n.xI("ZodCUID2",(e,t)=>{w.init(e,t),e0.init(e,t)}),e9=n.xI("ZodULID",(e,t)=>{x.init(e,t),e0.init(e,t)}),te=n.xI("ZodXID",(e,t)=>{k.init(e,t),e0.init(e,t)}),tt=n.xI("ZodKSUID",(e,t)=>{S.init(e,t),e0.init(e,t)}),tr=n.xI("ZodIPv4",(e,t)=>{E.init(e,t),e0.init(e,t)}),tn=n.xI("ZodIPv6",(e,t)=>{_.init(e,t),e0.init(e,t)}),ta=n.xI("ZodCIDRv4",(e,t)=>{C.init(e,t),e0.init(e,t)}),ti=n.xI("ZodCIDRv6",(e,t)=>{O.init(e,t),e0.init(e,t)}),to=n.xI("ZodBase64",(e,t)=>{R.init(e,t),e0.init(e,t)}),ts=n.xI("ZodBase64URL",(e,t)=>{D.init(e,t),e0.init(e,t)}),tl=n.xI("ZodE164",(e,t)=>{I.init(e,t),e0.init(e,t)}),tu=n.xI("ZodJWT",(e,t)=>{P.init(e,t),e0.init(e,t)}),tc=n.xI("ZodNumber",(e,t)=>{L.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let{minimum:a,maximum:i,format:o,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;"string"==typeof o&&o.includes("int")?r.type="integer":r.type="number";let c="number"==typeof u&&u>=(a??-1/0),d="number"==typeof l&&l<=(i??1/0),h="draft-04"===t.target||"openapi-3.0"===t.target;c?h?(r.minimum=u,r.exclusiveMinimum=!0):r.exclusiveMinimum=u:"number"==typeof a&&(r.minimum=a
126),d?h?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l:"number"==typeof i&&(r.maximum=i),"number"==typeof s&&(r.multipleOf=s)})(e,t,r,0),eZ(e,"ZodNumber",{gt(e,t){return this.check(ek.Tx(e,t))},gte(e,t){return this.check(ek.qm(e,t))},min(e,t){return this.check(ek.qm(e,t))},lt(e,t){return this.check(ek.Au(e,t))},lte(e,t){return this.check(ek.Zm(e,t))},max(e,t){return this.check(ek.Zm(e,t))},int(e){var t;return this.check((t=e,ek.LK(th,t)))},safe(e){var t;return this.check((t=e,ek.LK(th,t)))},positive(e){return this.check(ek.Tx(0,e))},nonnegative(e){return this.check(ek.qm(0,e))},negative(e){return this.check(ek.Au(0,e))},nonpositive(e){return this.check(ek.Zm(0,e))},multipleOf(e,t){return this.check(ek.Hi(e,t))},step(e,t){return this.check(ek.Hi(e,t))},finite(){return this}});let r=e._zod.bag;e.minValue=Math.max(r.minimum??-1/0,r.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(r.maximum??1/0,r.exclusiveMaximum??1/0)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function td(e){return ek.F7(tc,e)}let th=n.xI("ZodNumberFormat",(e,t)=>{$.init(e,t),tc.init(e,t)}),tp=n.xI("ZodBoolean",(e,t)=>{j.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>{t.type="boolean"}});function tm(e){return ek._L(tp,e)}let tf=n.xI("ZodUnknown",(e,t)=>{B.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>{}});function tg(){return ek.em(tf)}let ty=n.xI("ZodNever",(e,t)=>{F.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>{t.not={}}}),tb=n.xI("ZodDate",(e,t)=>{W.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>((e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")})(0,e,0,0),e.min=(t,r)=>e.check(ek.qm(t,r)),e.max=(t,r)=>e.check(ek.Zm(t,r));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function tv(e){return ek.YY(tb,e)}let tw=n.xI("ZodArray",(e,t)=>{H.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let a=e._zod.def,{minimum:i,maximum:o}=e._zod.bag;"number"==typeof i&&(r.minItems=i),"number"==typeof o&&(r.maxItems=o),r.type="array",r.items=eA(a.element,t,{...n,path:[...n.path,"items"]})})(e,t,r,n),e.element=t.element,eZ(e,"ZodArray",{min(e,t){return this.check(ek.m9(e,t))},nonempty(e){return this.check(ek.m9(1,e))},max(e,t){return this.check(ek.Eb(e,t))},length(e,t){return this.check(ek.YA(e,t))},unwrap(){return this.element}})});function tx(e,t){return ek.dZ(tw,e,t)}let tk=n.xI("ZodObject",(e,t)=>{Z.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let a=e._zod.def;r.type="object",r.properties={};let i=a.shape;for(let e in i)r.properties[e]=eA(i[e],t,{...n,path:[...n.path,"properties",e]});let o=new Set([...new Set(Object.keys(i))].filter(e=>{let r=a.shape[e]._zod;return"input"===t.io?void 0===r.optin:void 0===r.optout}));o.size>0&&(r.required=Array.from(o)),a.catchall?._zod.def.type==="never"?r.additionalProperties=!1:a.catchall?a.catchall&&(r.additionalProperties=eA(a.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):"output"===t.io&&(r.additionalProperties=!1)})(e,t,r,n),l.gJ(e,"shape",()=>t.shape),eZ(e,"ZodObject",{keyof(){return tC(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:tg()})},loose(){return this.clone({...this._zod.def,catchall:tg()})},strict(){return this.clone({...this._zod.def,catchall:ek.G8(ty,void 0)})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return l.X$(this,e)},safeExtend(e){return l.W0(this,e)},merge(e){return l.h1(this,e)},pick(e){return l.Up(this,e)},omit(e){return l.cJ(this,e)},partial(...e){return l.OH(tI,this,e[0])},required(...e){return l.mw(tW,this,e[0])}})});function tS(e,t){return new tk({type:"object",shape:e??{},...l.A2(t)})}let tA=n.xI("ZodUnion",(e,t)=>{X.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a,i,o;return i=!1===(a=e._zod.def).inclusive,o=a.options.map((e,r)=>eA(e,t,{...n,path:[...n.path,i?"oneOf":"anyOf",r]})),void(i?r.oneOf=o:r.anyOf=o)},e.options=t.options});function tT(e,t){return new tA({type:"union",options:e,...l.A2(t)})}let tM=n.xI("ZodIntersection",(e,t)=>{K.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a,i,o,s;return i=eA((a=e._zod.def).left,t,{...n,path:[...n.path,"allOf",0]}),o=eA(a.right,t,{...n,path:[...n.path,"allOf",1]}),void(r.allOf=[...(s=e=>"allOf"in e&&1===Object.keys(e).length)(i)?i.allOf:[i],...s(o)?o.allOf:[o]])}}),tz=n.xI("ZodRecord",(e,t)=>{ee.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let a=e._zod.def;r.type="object";let i=a.keyType,o=i._zod.bag,s=o?.patterns;if("loose"===a.mode&&s&&s.size>0){let e=eA(a.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});for(let t of(r.patternProperties={},s))r.patternProperties[t.source]=e}
126else("draft-07"===t.target||"draft-2020-12"===t.target)&&(r.propertyNames=eA(a.keyType,t,{...n,path:[...n.path,"propertyNames"]})),r.additionalProperties=eA(a.valueType,t,{...n,path:[...n.path,"additionalProperties"]});let l=i._zod.values;if(l){let e=[...l].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(r.required=e)}})(e,t,r,n),e.keyType=t.keyType,e.valueType=t.valueType});function tE(e,t,r){return new tz(t&&t._zod?{type:"record",keyType:e,valueType:t,...l.A2(r)}:{type:"record",keyType:eQ(),valueType:e,...l.A2(t)})}let t_=n.xI("ZodEnum",(e,t)=>{et.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a,i;return a=e._zod.def,void((i=(0,l.w5)(a.entries)).every(e=>"number"==typeof e)&&(r.type="number"),i.every(e=>"string"==typeof e)&&(r.type="string"),r.enum=i)},e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{let a={};for(let n of e)if(r.has(n))a[n]=t.entries[n];else throw Error(`Key ${n} not found in enum`);return new t_({...t,checks:[],...l.A2(n),entries:a})},e.exclude=(e,n)=>{let a={...t.entries};for(let t of e)if(r.has(t))delete a[t];else throw Error(`Key ${t} not found in enum`);return new t_({...t,checks:[],...l.A2(n),entries:a})}});function tC(e,t){return new t_({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...l.A2(t)})}let tO=n.xI("ZodLiteral",(e,t)=>{er.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let a=e._zod.def,i=[];for(let e of a.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e)if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");else i.push(Number(e));else i.push(e);if(0===i.length);else if(1===i.length){let e=i[0];r.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?r.enum=[e]:r.const=e}else i.every(e=>"number"==typeof e)&&(r.type="number"),i.every(e=>"string"==typeof e)&&(r.type="string"),i.every(e=>"boolean"==typeof e)&&(r.type="boolean"),i.every(e=>null===e)&&(r.type="null"),r.enum=i})(e,t,r,0),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
126(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function tN(e,t){return new tO({type:"literal",values:Array.isArray(e)?e:[e],...l.A2(t)})}let tR=n.xI("ZodTransform",(e,t)=>{en.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>((e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")})(0,e,0,0),e._zod.parse=(r,a)=>{if("backward"===a.direction)throw new n.cV(e.constructor.name);r.addIssue=n=>{"string"==typeof n?r.issues.push(l.sn(n,r.value,t)):(n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=e),r.issues.push(l.sn(n)))};let i=t.transform(r.value,r);return i instanceof Promise?i.then(e=>(r.value=e,r.fallback=!0,r)):(r.value=i,r.fallback=!0,r)}});function tD(e){return new tR({type:"transform",transform:e})}let tI=n.xI("ZodOptional",(e,t)=>{ei.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>e_(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function tP(e){return new tI({type:"optional",innerType:e})}let tL=n.xI("ZodExactOptional",(e,t)=>{eo.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>e_(e,t,r,n),e.unwrap=()=>e._zod.def.innerType}),t$=n.xI("ZodNullable",(e,t)=>{es.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a,i,o;return i=eA((a=e._zod.def).innerType,t,n),o=t.seen.get(e),void("openapi-3.0"===t.target?(o.ref=a.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}])},e.unwrap=()=>e._zod.def.innerType});function tj(e){return new t$({type:"nullable",innerType:e})}let tB=n.xI("ZodDefault",(e,t)=>{el.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a;eA((a=e._zod.def).innerType,t,n),t.seen.get(e).ref=a.innerType,r.default=JSON.parse(JSON.stringify(a.defaultValue))},e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),tF=n.xI("ZodPrefault",(e,t)=>{ec.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a;eA((a=e._zod.def).innerType,t,n),t.seen.get(e).ref=a.innerType,"input"===t.io&&(r._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},e.unwrap=()=>e._zod.def.innerType}),tW=n.xI("ZodNonOptional",(e,t)=>{ed.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a;eA((a=e._zod.def).innerType,t,n),t.seen.get(e).ref=a.innerType},e.unwrap=()=>e._zod.def.innerType}),tq=n.xI("ZodCatch",(e,t)=>{ep.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>((e,t,r,n)=>{let a,i=e._zod.def;eA(i.innerType,t,n),t.seen.get(e).ref=i.innerType;try{a=i.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}r.default=a})(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),tH=n.xI("ZodPipe",(e,t)=>{em.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a,i,o;return i=(a=e._zod.def).in._zod.traits.has("$ZodTransform"),void(eA(o="input"===t.io?i?a.out:a.in:a.out,t,n),t.seen.get(e).ref=o)},e.in=t.in,e.out=t.out});function tU(e,t){return new tH({type:"pipe",in:e,out:t})}let tV=n.xI("ZodPreprocess",(e,t)=>{tH.init(e,t),eg.init(e,t)}),tY=n.xI("ZodReadonly",(e,t)=>{ey.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(t,r,n)=>{let a;eA((a=e._zod.def).innerType,t,n),t.seen.get(e).ref=a.innerType,r.readOnly=!0},e.unwrap=()=>e._zod.def.innerType}),tG=n.xI("ZodCustom",(e,t)=>{ev.init(e,t),eJ.init(e,t),e._zod.processJSONSchema=(e,t,r)=>((e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")})(0,e,0,0)});function tZ(e,t){return new tV({type:"pipe",in:tD(e),out:t})}ek.q0,ek.mI},24725(e,t,r){"use strict";var n=r(46588),a=r(65754),i=r(48981);function o(e,t){return new e({type:"string",...i.A2(t)})}function s(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...i.A2(t)})}function l(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...i.A2(t)})}function u(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...i.A2(t)})}function c(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...i.A2(t)})}function d(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...i.A2(t)})}function h(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...i.A2(t)})}function p(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...i.A2(t)})}function m(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...i.A2(t)})}function f(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...i.A2(t)})}function g(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...i.A2(t)})}function y(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...i.A2(t)})}function b(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...i.A2(t)})}function v(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...i.A2(t)})}function w(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...i.A2(t)})}function x(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...i.A2(t)})}function k(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...i.A2(t)})}function S(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...i.A2(t)})}function A(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...i.A2(t)})}function T(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...i.A2(t)})}function M(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...i.A2(t)})}function z(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...i.A2(t)})}function E(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...i.A2(t)})}function _(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...i.A2(t)})}function C(e,t){return new e({type:"string",format:"date",check:"string_format",...i.A2(t)})}function O(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...i.A2(t)})}function N(e,t){return new e({type:"string",format:"duration",check:"string_format",...i.A2(t)})}function R(e,t){return new e({type:"number",checks:[],...i.A2(t)})}function D(e,t){return new e({type:"number",coerce:!0,checks:[],...i.A2(t)})}function I(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...i.A2(t)})}function P(e,t){return new e({type:"boolean",...i.A2(t)})}function L(e){return new e({type:"unknown"})}function $(e,t){return new e({type:"never",...i.A2(t)})}function j(e,t){return new e({type:"date",...i.A2(t)})}function B(e,t){return new n.sm({check:"less_than",...i.A2(t),value:e,inclusive:!1})}function F(e,t){return new n.sm({check:"less_than",...i.A2(t),value:e,inclusive:!0})}function W(e,t){return new n.J_({check:"greater_than",...i.A2(t),value:e,inclusive:!1})}function q(e,t){return new n.J_({check:"greater_than",...i.A2(t),value:e,inclusive:!0})}function H(e,t){return new n.Jk({check:"multiple_of",...i.A2(t),value:e})}function U(e,t){return new n.Yk({check:"max_length",...i.A2(t),maximum:e})}function V(e,t){return new n.Kk({check:"min_length",...i.A2(t),minimum:e})}function Y(e,t){return new n.RM({check:"length_equals",...i.A2(t),length:e})}function G(e,t){return new n.DG({check:"string_format",format:"regex",...i.A2(t),pattern:e})}function Z(e){return new n.NI({check:"string_format",format:"lowercase",...i.A2(e)})}
126function J(e){return new n.kH({check:"string_format",format:"uppercase",...i.A2(e)})}function X(e,t){return new n.Tt({check:"string_format",format:"includes",...i.A2(t),includes:e})}function K(e,t){return new n.J({check:"string_format",format:"starts_with",...i.A2(t),prefix:e})}function Q(e,t){return new n.E6({check:"string_format",format:"ends_with",...i.A2(t),suffix:e})}function ee(e){return new n.v$({check:"overwrite",tx:e})}function et(e){return ee(t=>t.normalize(e))}function er(){return ee(e=>e.trim())}function en(){return ee(e=>e.toLowerCase())}function ea(){return ee(e=>e.toUpperCase())}function ei(){return ee(e=>i.Yv(e))}function eo(e,t,r){return new e({type:"array",element:t,...i.A2(r)})}function es(e,t,r){return new e({type:"custom",check:"custom",fn:t,...i.A2(r)})}function el(e,t){var r,a;let o,s=(r=t=>(t.addIssue=e=>{"string"==typeof e?t.issues.push(i.sn(e,t.value,s._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=t.value),e.inst??(e.inst=s),e.continue??(e.continue=!s._zod.def.abort),t.issues.push(i.sn(e)))},e(t.value,t)),a=t,(o=new n.QP({check:"custom",...i.A2(a)}))._zod.check=r,o);return s}function eu(e){let t=new n.QP({check:"describe"});return t._zod.onattach=[t=>{let r=a.fd.get(t)??{};a.fd.add(t,{...r,description:e})}],t._zod.check=()=>{},t}function ec(e){let t=new n.QP({check:"meta"});return t._zod.onattach=[t=>{let r=a.fd.get(t)??{};a.fd.add(t,{...r,...e})}],t._zod.check=()=>{},t}r.d(t,{$O:()=>k,$S:()=>K,Au:()=>B,Be:()=>u,Bj:()=>y,Ct:()=>b,Dl:()=>f,ER:()=>Q,Eb:()=>U,F7:()=>R,Fk:()=>G,Fn:()=>p,G1:()=>_,G8:()=>$,Hi:()=>H,Il:()=>en,KB:()=>z,Kn:()=>O,LK:()=>I,MB:()=>el,Mu:()=>s,Ny:()=>x,Pw:()=>v,Rl:()=>o,TL:()=>ei,Tx:()=>W,Uy:()=>S,WN:()=>er,YA:()=>Y,YY:()=>j,Zm:()=>F,_L:()=>P,_z:()=>w,aC:()=>m,bS:()=>ee,cU:()=>M,dR:()=>X,dZ:()=>eo,db:()=>C,em:()=>L,f2:()=>N,fU:()=>es,fs:()=>g,gP:()=>A,hH:()=>Z,lo:()=>et,m9:()=>V,mI:()=>ec,nA:()=>c,pY:()=>d,q0:()=>eu,qF:()=>J,qG:()=>D,qm:()=>q,rk:()=>E,rt:()=>T,tB:()=>l,wA:()=>h,xY:()=>ea})},46588(e,t,r){"use strict";var n=r(59018),a=r(88238),i=r(48981);let o=n.xI("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),s={number:"number",bigint:"bigint",object:"date"},l=n.xI("$ZodCheckLessThan",(e,t)=>{o.init(e,t);let r=s[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??1/0;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),u=n.xI("$ZodCheckGreaterThan",(e,t)=>{o.init(e,t);let r=s[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??-1/0;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),c=n.xI("$ZodCheckMultipleOf",(e,t)=>{o.init(e,t),e._zod.onattach.push(e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof r.value?r.value%t.value===BigInt(0):0===i.LG(r.value,t.value))||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),d=n.xI("$ZodCheckNumberFormat",(e,t)=>{o.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[s,l]=i.zH[t.format];e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,n.minimum=s,n.maximum=l,r&&(n.pattern=a.nd)}),e._zod.check=a=>{let i=a.value;if(r){if(!Number.isInteger(i))return void a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:i,inst:e});if(!Number.isSafeInteger(i))return void(i>0?a.issues.push({input:i,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,
126continue:!t.abort}):a.issues.push({input:i,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}))}i<s&&a.issues.push({origin:"number",input:i,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),i>l&&a.issues.push({origin:"number",input:i,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),h=n.xI("$ZodCheckMaxLength",(e,t)=>{var r;o.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!i.cl(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value;if(n.length<=t.maximum)return;let a=i.Rc(n);r.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),p=n.xI("$ZodCheckMinLength",(e,t)=>{var r;o.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!i.cl(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value;if(n.length>=t.minimum)return;let a=i.Rc(n);r.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),m=n.xI("$ZodCheckLengthEquals",(e,t)=>{var r;o.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!i.cl(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=r=>{let n=r.value,a=n.length;if(a===t.length)return;let o=i.Rc(n),s=a>t.length;r.issues.push({origin:o,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),f=n.xI("$ZodCheckStringFormat",(e,t)=>{var r,n;o.init(e,t),e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),g=n.xI("$ZodCheckRegex",(e,t)=>{f.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),y=n.xI("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=a.AC),f.init(e,t)}),b=n.xI("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=a.Zv),f.init(e,t)}),v=n.xI("$ZodCheckIncludes",(e,t)=>{o.init(e,t);let r=i.$f(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),w=n.xI("$ZodCheckStartsWith",(e,t)=>{o.init(e,t);let r=RegExp(`^${i.$f(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),x=n.xI("$ZodCheckEndsWith",(e,t)=>{o.init(e,t);let r=RegExp(`.*${i.$f(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),k=n.xI("$ZodCheckOverwrite",(e,t)=>{o.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});r.d(t,{},{DG:g,E6:x,J:w,J_:u,Jk:c,KH:d,Kk:p,NI:y,QP:o,RM:m,Tt:v,Yk:h,kH:b,ql:f,sm:l,v$:k})},59018(e,t,r){"use strict";var n;function a(e,t,r){function n(r,n){if(r._zod||Object.defineProperty(r,"_zod",{value:{def:n,constr:o,traits:new Set},enumerable:!1}),r._zod.traits.has(e))return;r._zod.traits.add(e),t(r,n);let a=o.prototype,i=Object.keys(a);for(let e=0;e<i.length;e++){let t=i[e];t in r||(r[t]=a[t].bind(r))}}
126let a=r?.Parent??Object;class i extends a{}function o(e){var t;let a=r?.Parent?new i:this;for(let r of(n(a,e),(t=a._zod).deferred??(t.deferred=[]),a._zod.deferred))r();return a}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!r?.Parent&&t instanceof r.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}Symbol("zod_brand");class i extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class o extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}(n=globalThis).__zod_globalConfig??(n.__zod_globalConfig={});let s=globalThis.__zod_globalConfig;function l(e){return e&&Object.assign(s,e),s}r.d(t,{$W:()=>l,GT:()=>i,cV:()=>o,xI:()=>a},{cr:s})},36074(e,t,r){"use strict";var n=r(59018),a=r(48981);let i=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,a.k8,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},o=(0,n.xI)("$ZodError",i),s=(0,n.xI)("$ZodError",i,{Parent:Error});function l(e,t=e=>e.message){let r={},n=[];for(let a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}function u(e,t=e=>e.message){let r={_errors:[]},n=(e,a=[])=>{for(let i of e.issues)if("invalid_union"===i.code&&i.errors.length)i.errors.map(e=>n({issues:e},[...a,...i.path]));else if("invalid_key"===i.code)n({issues:i.issues},[...a,...i.path]);else if("invalid_element"===i.code)n({issues:i.issues},[...a,...i.path]);else{let e=[...a,...i.path];if(0===e.length)r._errors.push(t(i));else{let n=r,a=0;for(;a<e.length;){let r=e[a];a===e.length-1?(n[r]=n[r]||{_errors:[]},n[r]._errors.push(t(i))):n[r]=n[r]||{_errors:[]},n=n[r],a++}}}};return n(e),r}r.d(t,{JM:()=>l,Wk:()=>u},{Kd:s,a$:o})},53690(e,t,r){"use strict";var n=r(59018),a=r(36074),i=r(48981);let o=e=>(t,r,a,o)=>{let s=a?{...a,async:!1}:{async:!1},l=t._zod.run({value:r,issues:[]},s);if(l instanceof Promise)throw new n.GT;if(l.issues.length){let t=new(o?.Err??e)(l.issues.map(e=>i.iR(e,s,n.$W())));throw i.gx(t,o?.callee),t}return l.value},s=o(a.Kd),l=e=>async(t,r,a,o)=>{let s=a?{...a,async:!0}:{async:!0},l=t._zod.run({value:r,issues:[]},s);if(l instanceof Promise&&(l=await l),l.issues.length){let t=new(o?.Err??e)(l.issues.map(e=>i.iR(e,s,n.$W())));throw i.gx(t,o?.callee),t}return l.value},u=l(a.Kd),c=e=>(t,r,o)=>{let s=o?{...o,async:!1}:{async:!1},l=t._zod.run({value:r,issues:[]},s);if(l instanceof Promise)throw new n.GT;return l.issues.length?{success:!1,error:new(e??a.a$)(l.issues.map(e=>i.iR(e,s,n.$W())))}:{success:!0,data:l.value}},d=c(a.Kd),h=e=>async(t,r,a)=>{let o=a?{...a,async:!0}:{async:!0},s=t._zod.run({value:r,issues:[]},o);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(e=>i.iR(e,o,n.$W())))}:{success:!0,data:s.value}},p=h(a.Kd);a.Kd,a.Kd,a.Kd,a.Kd,a.Kd,a.Kd,a.Kd,a.Kd,r.d(t,{},{EJ:u,GW:e=>async(t,r,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return l(e)(t,r,a)},Mv:e=>(t,r,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return o(e)(t,r,a)},Od:c,R3:e=>async(t,r,n)=>h(e)(t,r,n),Rb:l,Tj:o,VS:e=>(t,r,n)=>c(e)(t,r,n),bp:p,e2:e=>(t,r,n)=>o(e)(t,r,n),or:e=>async(t,r,n)=>l(e)(t,r,n),qg:s,rh:e=>(t,r,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return c(e)(t,r,a)},v_:e=>async(t,r,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return h(e)(t,r,a)},wG:h,xL:d})},88238(e,t,r){"use strict";function n(){return RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}let a="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",i=RegExp(`^${a}$`);function o(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function s(e){return RegExp(`^${o(e)}$`)}function l(e){let t=o({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${r.join("|")})`;return RegExp(`^${a}T(?:${n})$`)}r.d(t,{Zg:()=>n,kB:()=>s,w$:()=>l},{AC:/^[^A-Z]*$/,Ak:/^[a-zA-Z0-9_-]{21}$/,F:/^https?$/,Gl:/^[0-9a-z]+$/,K3:/^$|^(?:[0-9a-zA-Z+/]{4}
126)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Os:/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Rp:/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Yj:e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},Z0:/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Zv:/^[^a-z]*$/,ai:/^-?\d+(?:\.\d+)?$/,fO:/^[A-Za-z0-9]{27}$/,gF:/^[cC][0-9a-z]{6,}$/,hQ:/^\+[1-9]\d{6,14}$/,kM:/^[0-9a-vA-V]{20}$/,l7:/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,nd:/^-?\d+$/,p0:/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,p6:i,r0:/^[A-Za-z0-9_-]*$/,uR:e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,uX:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ug:/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,zM:/^(?:true|false)$/i,zr:/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/})},65754(e,t,r){"use strict";var n;Symbol("ZodOutput"),Symbol("ZodInput");(n=globalThis).__zod_globalRegistry??(n.__zod_globalRegistry=new class e{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let r=t[0];return this._map.set(e,r),r&&"object"==typeof r&&"id"in r&&this._idmap.set(r.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};delete r.id;let n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}});let a=globalThis.__zod_globalRegistry;r.d(t,{},{fd:a})},48981(e,t,r){"use strict";var n=r(59018);function a(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function i(e,t){return"bigint"==typeof t?t.toString():t}function o(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function s(e){return null==e}function l(e){let t=+!!e.startsWith("^"),r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function u(e,t){let r=e/t,n=Math.round(r),a=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<a?0:r-n}let c=Symbol("evaluating");function d(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==c)return void 0===n&&(n=c,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function h(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function p(...e){let t={};for(let r of e)Object.assign(t,Object.getOwnPropertyDescriptors(r));return Object.defineProperties({},t)}function m(e){return JSON.stringify(e)}function f(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let g="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function y(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let b=o(()=>{if(n.cr.jitless||"u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function v(e){if(!1===y(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let r=t.prototype;return!1!==y(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function w(e){return v(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}let x=new Set(["string","number","symbol"]);function k(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function S(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function A(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function T(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let M={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function z(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let a=p(e._zod.def,{get shape(){let e={};for(let n in t){if(!(n in r.shape))throw Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return h(this,"shape",e),e},checks:[]});return S(e,a)}function E(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let a=p(e._zod.def,{get shape(){let n={...e._zod.def.shape};for(let e in t){if(!(e in r.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return h(this,"shape",n),n},checks:[]});return S(e,a)}function _(e,t){if(!v(t))throw Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let r=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(r,e))throw Error("Cannot over
126write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let n=p(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return h(this,"shape",r),r}});return S(e,n)}function C(e,t){if(!v(t))throw Error("Invalid input to safeExtend: expected a plain object");let r=p(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return h(this,"shape",r),r}});return S(e,r)}function O(e,t){if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r=p(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return h(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return S(e,r)}function N(e,t,r){let n=t._zod.def.checks;if(n&&n.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let a=p(t._zod.def,{get shape(){let n=t._zod.def.shape,a={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)a[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return h(this,"shape",a),a},checks:[]});return S(t,a)}function R(e,t,r){let n=p(t._zod.def,{get shape(){let n=t._zod.def.shape,a={...n};if(r)for(let t in r){if(!(t in a))throw Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)a[t]=new e({type:"nonoptional",innerType:n[t]});return h(this,"shape",a),a}});return S(t,n)}function D(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function I(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function P(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function L(e){return"string"==typeof e?e:e?.message}function $(e,t,r){let n=e.message?e.message:L(e.inst?._zod.def?.error?.(e))??L(t?.error?.(e))??L(r.customError?.(e))??L(r.localeError?.(e))??"Invalid input",{inst:a,continue:i,input:o,...s}=e;return s.path??(s.path=[]),s.message=n,t?.reportInput&&(s.input=o),s}function j(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function B(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}r.d(t,{$f:()=>k,A2:()=>A,Gv:()=>y,LG:()=>u,NM:()=>T,OH:()=>N,PO:()=>o,QH:()=>D,Qd:()=>v,Rc:()=>j,UQ:()=>m,Up:()=>z,W0:()=>C,X$:()=>_,Yv:()=>f,cJ:()=>E,cl:()=>s,gJ:()=>d,h1:()=>O,iR:()=>$,k8:()=>i,lQ:()=>P,mw:()=>R,o8:()=>S,p6:()=>l,rL:()=>I,sn:()=>B,w5:()=>a,yG:()=>w,zM:()=>p},{gx:g,hI:b,qQ:x,zH:M})},27305(e,t,r){"use strict";let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}};r.d(t,{},{Zr:(e,t)=>(r,a,i)=>{let o,s={storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var r;let n=e=>null===e?null:JSON.parse(e,void 0),a=null!=(r=t.getItem(e))?r:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,r)=>t.setItem(e,JSON.stringify(r,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,u=0,c=new Set,d=new Set,h=s.storage;if(!h)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),r(...e)},a,i);let p=()=>{let e=s.partialize({...a()});return h.setItem(s.name,{state:e,version:s.version})},m=i.setState;i.setState=(e,t)=>(m(e,t),p());let f=e((...e)=>(r(...e),p()),a,i);i.getInitialState=()=>f;let g=()=>{var e,t;if(!h)return;let i=++u;l=!1,c.forEach(e=>{var t;return e(null!=(t=a())?t:f)});let m=(null==(t=s.onRehydrateStorage)?void 0:t.call(s,null!=(e=a())?e:f))||void 0;return n(h.getItem.bind(h))(s.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===s.version)return[!1,e.state];else{if(s.migrate){let t=s.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(i!==u)return;let[n,l]=e;
126if(r(o=s.merge(l,null!=(t=a())?t:f),!0),n)return p()}).then(()=>{i===u&&(null==m||m(a(),void 0),o=a(),l=!0,d.forEach(e=>e(o)))}).catch(e=>{i===u&&(null==m||m(void 0,e))})};return i.persist={setOptions:e=>{s={...s,...e},e.storage&&(h=e.storage)},clearStorage:()=>{null==h||h.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>g(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},s.skipHydration||g(),o||f}})},9810(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(65311);let a=e=>{let t,r=new Set,n=(e,n)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,a,i);return i},i=e=>{let t=e?a(e):a,r=e=>(function(e,t=e=>e){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},o=e=>e?i(e):i}}]);

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.