1/*! For license information please see vendor.js.LICENSE.txt */ 2(self.webpackChunk=self.webpackChunk||[]).push([[898],{77535:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p}});var r=n(67002),i=n(41008),o=n(22554);function a(){const e=["A","B","C","D","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];let t="";for(let n=1;n<=36;n++){const n=e[Math.floor(Math.random()*e.length)];Math.random()>.5?t+=n.toLowerCase():t+=n}return t}function s(e,t,n){try{const i=/\\pi({})?/g;let s,c=e.replace(i,"{PI}").trim();const u=/^(.*)\s*:=\s*/.exec(c);u&&u[0]&&(c=c.substring(u[0].length),s=u[1].trim());const f=c.split("=");f[f.length-1].length>0?c=f[f.length-1]:f.length>=2&&(c=f[f.length-2]);const h={};let d,p=[];s&&(p=[l(r=s),l(r,!0)]),c=l(c.replace("}","}")),console.log({aliases:p,changedLatex:c,variables:t});for(const e in t){const n=t[e];h[e]=n.value;for(const t of n.aliases){const n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp("(^|(?<=[^a-zA-Z]))"+n+"($|(?=[^a-zA-Z]))","g");console.log("changedLatex before",c),c=c.replace(r,e),console.log("changedLatex after",c);for(const n of p)t===n&&(d=e)}}const g=(0,o.Z)(c,{},{latex:!0}),m=new Set(g.tokens.filter((e=>"SYMBOL"===e.type)).map((e=>e.value)));console.log({usedVars:m,res:g});const v=g(h);if(void 0!==s){if(void 0===d&&(d=a()),m.has(d))return;t[d]={value:v,aliases:p};const e=n[d];if(null!=e)for(const t of e)t.onUpdate()}return{definedVariableID:d,variablesUsed:m,result:v}}catch(e){return void console.log(e)}var r}function c(e,t=!1){e=e.trim();let n="main",r=0,i=!1,o="",a="",s="",l="",u=!1;for(const t of e){let e=!0;"\\"===t?(i||0!==r||(u=!0),i=!i):i=!1," "===t&&0===r&&(u=!1),i||("_"===t&&0===r&&"main"===n&&(n="sub",e=!1),"^"===t&&0===r&&"main"===n&&(n="sup",e=!1),"{"===t&&r++,"}"===t&&(r--,0===r&&(u=!1))),"main"===n&&" "===t&&0===r&&(n="after",e=!1),"main"===n&&"\\"===t&&0===r&&""!=o&&(n="after"),e&&("main"===n?o+=t:"sub"===n?s+=t:"sup"===n?a+=t:"after"===n&&(l+=t),"sub"!==n&&"sup"!=n||0!==r||u||(n="main"))}a.startsWith("{")&&a.endsWith("}")&&(a=a.substring(1,a.length-1)),s.startsWith("{")&&s.endsWith("}")&&(s=s.substring(1,s.length-1));let f=s.trim(),h=a.trim();f=t&&-1===f.indexOf(" ")?""!==s?`_${f}`:"":""!==s?`_{${f}}`:"",h=t&&-1===h.indexOf(" ")?""!==a?`^${a.trim()}`:"":""!==a?`^{${a.trim()}}`:"";return`${o}${f}${h}${""!==l?" "+c(l):""}`}function l(e,t=!1){if((e=e.trim()).startsWith("{")&&e.endsWith("}"))return l(e.substring(1,e.length-1));const n=/(?![^\\])\\color{\w*}/g;if(n.test(e))return l(e.replace(n," "));const r=/\\textcolor{\w*}/g;return r.test(e)?l(e.replace(r," ")):c(e,t)}const u={addInlineMath:!0,evaluation:!1,delimiters:"dollar"},f=r.NB.create({name:"inlineMath",group:"inline",inline:!0,selectable:!0,atom:!0,addOptions(){return u},addAttributes(){return{latex:{default:"x_1",parseHTML:e=>e.getAttribute("data-latex"),renderHTML:e=>({"data-latex":e.latex})},evaluate:{default:"no",parseHTML:e=>e.getAttribute("data-evaluate"),renderHTML:e=>({"data-evaluate":e.evaluate})},display:{default:"no",parseHTML:e=>e.getAttribute("data-display"),renderHTML:e=>({"data-display":e.display})}}},addInputRules(){const e=[],t=h("block",this.options);void 0!==t&&e.push(new r.VK({find:new RegExp(t,""),handler:e=>{let t=e.match[1];if(0===e.match[1].length)return;const n=t.endsWith("=");n&&(t=t.substring(0,t.length-1));let r=[{type:"inlineMath",attrs:{latex:t,evaluate:n?"yes":"no",display:"yes"}}];e.chain().insertContentAt({from:e.range.from,to:e.range.to},r,{updateSelection:!0}
2).run()}}));const n=h("inline",this.options);return void 0!==n&&e.push(new r.VK({find:new RegExp(n,""),handler:e=>{if(console.log({props:e}),0===e.match[1].length)return;if((void 0===this.options.delimiters||"dollar"===this.options.delimiters)&&(e.match[1].startsWith("$")||e.match[0].startsWith("$$")))return;let t=e.match[1];t=t.trim();const n=t.endsWith("=");n&&(t=t.substring(0,t.length-1));let r=[{type:"inlineMath",attrs:{latex:t,evaluate:n?"yes":"no",display:"no"}}];e.chain().insertContentAt({from:e.range.from,to:e.range.to},r,{updateSelection:!0}).run()}})),e},addPasteRules(){const e=[],t=h("block",this.options);void 0!==t&&e.push(new r.hD({find:new RegExp(t,"g"),handler:e=>{const t=e.match[1];e.chain().insertContentAt({from:e.range.from,to:e.range.to},[{type:"inlineMath",attrs:{latex:t,evaluate:"no",display:"yes"}}],{updateSelection:!0}).run()}}));const n=h("inline",this.options);return void 0!==n&&e.push(new r.hD({find:new RegExp(n,"g"),handler:e=>{const t=e.match[1];e.chain().insertContentAt({from:e.range.from,to:e.range.to},[{type:"inlineMath",attrs:{latex:t,evaluate:"no",display:"no"}}],{updateSelection:!0}
2).run()}})),e},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:e,HTMLAttributes:t}){let n="x";return e.attrs.latex&&"string"==typeof e.attrs.latex&&(n=e.attrs.latex),["span",(0,r.P1)(t,{"data-type":this.name}),d("yes"===e.attrs.display?"block":"inline","start",this.options)+n+d("yes"===e.attrs.display?"block":"inline","end",this.options)]},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command((({tr:e,state:t})=>{let n=!1;const{selection:r}=t,{empty:i,anchor:o}=r;return!!i&&(t.doc.nodesBetween(o-1,o,((t,r)=>{if(t.type.name===this.name){n=!0;const i="yes"===t.attrs.display,a=d(i?"block":"inline","start",this.options);let s=d(i?"block":"inline","end",this.options);s=s.substring(0,s.length-1),e.insertText(a+(t.attrs.latex||"")+s,r,o)}})),n)}))}},addNodeView(){return({HTMLAttributes:e,node:t,getPos:n,editor:r})=>{var o;const c=document.createElement("span"),l=document.createElement("span");c.appendChild(l);let u="x_1";"data-latex"in e&&"string"==typeof e["data-latex"]&&(u=e["data-latex"]);let f="yes"===t.attrs.display;i.ZP.render(u,l,Object.assign({displayMode:f,throwOnError:!1},null!==(o=this.options.katexOptions)&&void 0!==o?o:{})),c.classList.add("tiptap-math","latex");let h="yes"===t.attrs.evaluate;const d=a();if(this.options.evaluation){c.title="Click to toggle result",c.style.cursor="pointer";const e=document.createElement("span");c.append(e),e.classList.add("tiptap-math","result"),e.classList.add("katex");const t=function(e,t,n,r,i){let o=s(e,i.variables,i.variableListeners);const a=()=>{var e;(null==o?void 0:o.result)?(null===(e=o.result.toString().split(".")[1])||void 0===e?void 0:e.length)>5?n.innerText="="+o.result.toFixed(4):n.innerText="="+o.result.toString():n.innerText="=Error",n.style.display=r?"inline-block":"none"};if(a(),null==o?void 0:o.variablesUsed)for(const n of o.variablesUsed){let r=i.variableListeners[n];null==r&&(r=[]),r.push({id:t,onUpdate:()=>{o=s(e,i.variables,i.variableListeners),a()}}),i.variableListeners[n]=r}return o}(u,d,e,h,this.editor.storage.inlineMath);return c.addEventListener("click",(e=>{r.isEditable&&"function"==typeof n&&r.chain().command((({tr:e})=>{const t=n();return e.setNodeAttribute(t,"evaluate",h?"no":"yes"),!0})).run(),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()})),{dom:c,destroy:()=>{if(null==t?void 0:t.variablesUsed)for(const e of t.variablesUsed){let t=this.editor.storage.inlineMath.variableListeners[e];null==t&&(t=[]),this.editor.storage.inlineMath.variableListeners[e]=t.filter((e=>e.id!==d))}}}}return{dom:c}}},addStorage(){return{variables:{},variableListeners:{}}}});function h(e,t){return void 0===t.delimiters||"dollar"===t.delimiters?"inline"===e?String.raw`(?<!\$)\$(?![$\s,.])((?:[^$\\]|\\\$|\\)+?(?<![\\\s(["]))\$`:String.raw`\$\$(?!\s)(.*?(?<!\\))\$\$`:"bracket"===t.delimiters?"inline"===e?String.raw`\\\((.*?[^\\])\\\)`:String.raw`\\\[(.*?[^\\])\\\]`:"inline"===e?t.delimiters.inlineRegex:t.delimiters.blockRegex}function d(e,t,n){var r,i,o,a;return void 0===n.delimiters||"dollar"===n.delimiters?"inline"===e?"$":"$$":"bracket"===n.delimiters?"inline"===e?"start"===t?String.raw`\(`:String.raw`\)`:"start"===t?String.raw`\[`:String.raw`\]`:"inline"===e?"start"===t?null!==(r=n.delimiters.inlineStart)&&void 0!==r?r:"$":null!==(i=n.delimiters.inlineEnd)&&void 0!==i?i:"$":"start"===t?null!==(o=n.delimiters.blockStart)&&void 0!==o?o:"$$":null!==(a=n.delimiters.blockEnd)&&void 0!==a?a:"$$"}const p=r.hj.create({name:"mathExtension",addOptions(){return u},addExtensions(){const e=[];return!1!==this.options.addInlineMath&&e.push(f.configure(this.options)),e}})},70403:function(e,t,n){"use strict";n.d(t,{Ns:function(){return oe},fC:function(){return te},LW:function(){return re},bU:function(){return ie},l_:function(){return ne}});var r=n(87462),i=n(67294),o=n(73935);function a(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function s(...e){return(0,i.useCallback)(a(...e),e)}const c=(0,i.forwardRef)(((e,t)=>{const{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(f);if(s){const e=s.props.children,n=a.map((t=>t===s?i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null:t));return(0,i.createElement)(l,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(l,(0,r.Z)({},o,{ref:t}),n)}));c.displayName="Slot";const l=(0,i.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...h(r,n.props),ref:a(t,n.ref)}):i.Children.count(n)>1?i.Children.only(null):null}));l.displayName="SlotClone";const u=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function f(e){return(0,i.isValidElement)(e)&&e.type===u}function h(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}
2:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const d=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,i.forwardRef)(((e,n)=>{const{asChild:o,...a}=e,s=o?c:t;return(0,i.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,i.createElement)(s,(0,r.Z)({},a,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});const p=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?i.useLayoutEffect:()=>{};const g=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=(0,i.useState)(),r=(0,i.useRef)({}),a=(0,i.useRef)(e),s=(0,i.useRef)("none"),c=e?"mounted":"unmounted",[l,u]=function(e,t){return(0,i.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,i.useEffect)((()=>{const e=m(r.current);s.current="mounted"===l?e:"none"}),[l]),p((()=>{const t=r.current,n=a.current;if(n!==e){const r=s.current,i=m(t);if(e)u("MOUNT");else if("none"===i||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==i?"ANIMATION_OUT":"UNMOUNT")}a.current=e}}),[e,u]),p((()=>{if(t){const e=e=>{const n=m(r.current).includes(e.animationName);e.target===t&&n&&(0,o.flushSync)((()=>u("ANIMATION_END")))},n=e=>{e.target===t&&(s.current=m(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}u("ANIMATION_END")}),[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:(0,i.useCallback)((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),a="function"==typeof n?n({present:r.isPresent}):i.Children.only(n),c=s(r.ref,a.ref);return"function"==typeof n||r.isPresent?(0,i.cloneElement)(a,{ref:c}):null};function m(e){return(null==e?void 0:e.animationName)||"none"}function v(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,i.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function y(e){const t=(0,i.useRef)(e);return(0,i.useEffect)((()=>{t.current=e})),(0,i.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}g.displayName="Presence";const b=(0,i.createContext)(void 0);function _(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}const w="ScrollArea",[x,S]=function(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>(0,i.createContext)(e)));return function(n){const r=(null==n?void 0:n[e])||t;return(0,i.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=(0,i.createContext)(r),a=n.length;function s(t){const{scope:n,children:r,...s}=t,c=(null==n?void 0:n[e][a])||o,l=(0,i.useMemo)((()=>s),Object.values(s));return(0,i.createElement)(c.Provider,{value:l},r)}return n=[...n,r],s.displayName=t+"Provider",[s,function(n,s){const c=(null==s?void 0:s[e][a])||o,l=(0,i.useContext)(c);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},v(r,...t)]}(w),[E,k]=x(w),O=(0,i.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,type:o="hover",dir:a,scrollHideDelay:c=600,...l}=e,[u,f]=(0,i.useState)(null),[h,p]=(0,i.useState)(null),[g,m]=(0,i.useState)(null),[v,y]=(0,i.useState)(null),[_,w]=(0,i.useState)(null),[x,S]=(0,i.useState)(0),[k,O]=(0,i.useState)(0),[C,A]=(0,i.useState)(!1),[T,P]=(0,i.useState)(!1),D=s(t,(e=>f(e))),M=function(e){const t=(0,i.useContext)(b);return e||t||"ltr"}(a);return(0,i.createElement)(E,{scope:n,type:o,dir:M,scrollHideDelay:c,scrollArea:u,viewport:h,onViewportChange:p,content:g,onContentChange:m,scrollbarX:v,onScrollbarXChange:y,scrollbarXEnabled:C,onScrollbarXEnabledChange:A,scrollbarY:_,onScrollbarYChange:w,scrollbarYEnabled:T,onScrollbarYEnabledChange:P,onCornerWidthChange:S,onCornerHeight
2Change:O},(0,i.createElement)(d.div,(0,r.Z)({dir:M},l,{ref:D,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":k+"px",...e.style}})))})),C="ScrollAreaViewport",A=(0,i.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,children:o,...a}=e,c=k(C,n),l=s(t,(0,i.useRef)(null),c.onViewportChange);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,i.createElement)(d.div,(0,r.Z)({"data-radix-scroll-area-viewport":""},a,{ref:l,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,i.createElement)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"}},o)))})),T="ScrollAreaScrollbar",P=(0,i.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=k(T,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:c}=a,l="horizontal"===e.orientation;return(0,i.useEffect)((()=>(l?s(!0):c(!0),()=>{l?s(!1):c(!1)})),[l,s,c]),"hover"===a.type?(0,i.createElement)(D,(0,r.Z)({},o,{ref:t,forceMount:n})):"scroll"===a.type?(0,i.createElement)(M,(0,r.Z)({},o,{ref:t,forceMount:n})):"auto"===a.type?(0,i.createElement)(R,(0,r.Z)({},o,{ref:t,forceMount:n})):"always"===a.type?(0,i.createElement)(j,(0,r.Z)({},o,{ref:t})):null})),D=(0,i.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=k(T,e.__scopeScrollArea),[s,c]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=a.scrollArea;let t=0;if(e){const n=()=>{window.clearTimeout(t),c(!0)},r=()=>{t=window.setTimeout((()=>c(!1)),a.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}}),[a.scrollArea,a.scrollHideDelay]),(0,i.createElement)(g,{present:n||s},(0,i.createElement)(R,(0,r.Z)({"data-state":s?"visible":"hidden"},o,{ref:t})))})),M=(0,i.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=k(T,e.__scopeScrollArea),s="horizontal"===e.orientation,c=J((()=>u("SCROLL_END")),100),[l,u]=(f="hidden",h={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,i.useReducer)(((e,t)=>{const n=h[e][t];return null!=n?n:e}),f));var f,h;return(0,i.useEffect)((()=>{if("idle"===l){const e=window.setTimeout((()=>u("HIDE")),a.scrollHideDelay);return()=>window.clearTimeout(e)}}),[l,a.scrollHideDelay,u]),(0,i.useEffect)((()=>{const e=a.viewport,t=s?"scrollLeft":"scrollTop";if(e){let n=e[t];const r=()=>{const r=e[t];n!==r&&(u("SCROLL"),c()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}}),[a.viewport,s,u,c]),(0,i.createElement)(g,{present:n||"hidden"!==l},(0,i.createElement)(j,(0,r.Z)({"data-state":"hidden"===l?"hidden":"visible"},o,{ref:t,onPointerEnter:_(e.onPointerEnter,(()=>u("POINTER_ENTER"))),onPointerLeave:_(e.onPointerLeave,(()=>u("POINTER_LEAVE")))})))})),R=(0,i.forwardRef)(((e,t)=>{const n=k(T,e.__scopeScrollArea),{forceMount:o,...a}=e,[s,c]=(0,i.useState)(!1),l="horizontal"===e.orientation,u=J((()=>{if(n.viewport){const e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;c(l?e:t)}}),10);return ee(n.viewport,u),ee(n.content,u),(0,i.createElement)(g,{present:o||s},(0,i.createElement)(j,(0,r.Z)({"data-state":s?"visible":"hidden"},a,{ref:t})))})),j=(0,i.forwardRef)(((e,t)=>{const{orientation:n="vertical",...o}=e,a=k(T,e.__scopeScrollArea),s=(0,i.useRef)(null),c=(0,i.useRef)(0),[l,u]=(0,i.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=K(l.viewport,l.content),h={...o,sizes:l,onSizesChange:u,hasThumb:Boolean(f>0&&f<1),onThumbChange:e=>s.current=e,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:e=>c.current=e};function d(e,t){return function(e,t,n,r="ltr"){const i=G(n),o=i/2,a=t||o,s=i-a,c=n.scrollbar.paddingStart+a,l=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,f="ltr"===r?[0,u]:[-1*u,0];return Y([c,l],f)(e)}(e,c.current,l,t)}return"horizontal"===n?(0,i.createElement)(N,(0,r.Z)({},h,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&s.current){const e=Z(a.viewport.scrollLeft,l,a.dir);s.current.style.transform=`translate3d(${e}px, 0, 0)`}}
2,onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=d(e,a.dir))}})):"vertical"===n?(0,i.createElement)(L,(0,r.Z)({},h,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&s.current){const e=Z(a.viewport.scrollTop,l);s.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=d(e))}})):null})),N=(0,i.forwardRef)(((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,c=k(T,e.__scopeScrollArea),[l,u]=(0,i.useState)(),f=(0,i.useRef)(null),h=s(t,f,c.onScrollbarXChange);return(0,i.useEffect)((()=>{f.current&&u(getComputedStyle(f.current))}),[f]),(0,i.createElement)(F,(0,r.Z)({"data-orientation":"horizontal"},a,{ref:h,sizes:n,style:{bottom:0,left:"rtl"===c.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===c.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":G(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(c.viewport){const r=c.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),X(r,n)&&t.preventDefault()}},onResize:()=>{f.current&&c.viewport&&l&&o({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:f.current.clientWidth,paddingStart:V(l.paddingLeft),paddingEnd:V(l.paddingRight)}})}}))})),L=(0,i.forwardRef)(((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,c=k(T,e.__scopeScrollArea),[l,u]=(0,i.useState)(),f=(0,i.useRef)(null),h=s(t,f,c.onScrollbarYChange);return(0,i.useEffect)((()=>{f.current&&u(getComputedStyle(f.current))}),[f]),(0,i.createElement)(F,(0,r.Z)({"data-orientation":"vertical"},a,{ref:h,sizes:n,style:{top:0,right:"ltr"===c.dir?0:void 0,left:"rtl"===c.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":G(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(c.viewport){const r=c.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),X(r,n)&&t.preventDefault()}},onResize:()=>{f.current&&c.viewport&&l&&o({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:f.current.clientHeight,paddingStart:V(l.paddingTop),paddingEnd:V(l.paddingBottom)}})}}))})),[I,B]=x(T),F=(0,i.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,sizes:o,hasThumb:a,onThumbChange:c,onThumbPointerUp:l,onThumbPointerDown:u,onThumbPositionChange:f,onDragScroll:h,onWheelScroll:p,onResize:g,...m}=e,v=k(T,n),[b,w]=(0,i.useState)(null),x=s(t,(e=>w(e))),S=(0,i.useRef)(null),E=(0,i.useRef)(""),O=v.viewport,C=o.content-o.viewport,A=y(p),P=y(f),D=J(g,10);function M(e){if(S.current){const t=e.clientX-S.current.left,n=e.clientY-S.current.top;h({x:t,y:n})}}return(0,i.useEffect)((()=>{const e=e=>{const t=e.target;(null==b?void 0:b.contains(t))&&A(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})}),[O,b,C,A]),(0,i.useEffect)(P,[o,P]),ee(b,D),ee(v.content,D),(0,i.createElement)(I,{scope:n,scrollbar:b,hasThumb:a,onThumbChange:y(c),onThumbPointerUp:y(l),onThumbPositionChange:P,onThumbPointerDown:y(u)},(0,i.createElement)(d.div,(0,r.Z)({},m,{ref:x,style:{position:"absolute",...m.style},onPointerDown:_(e.onPointerDown,(e=>{if(0===e.button){e.target.setPointerCapture(e.pointerId),S.current=b.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",M(e)}})),onPointerMove:_(e.onPointerMove,M),onPointerUp:_(e.onPointerUp,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=E.current,S.current=null}))})))})),z="ScrollAreaThumb",U=(0,i.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=B(z,e.__scopeScrollArea);return(0,i.createElement)(g,{present:n||a.hasThumb},(0,i.createElement)(H,(0,r.Z)({ref:t},o)))})),H=(0,i.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,style:o,...a}=e,c=k(z,n),l=B(z,n),{onThumbPositionChange:u}=l,f=s(t,(e=>l.onThumbChange(e))),h=(0,i.useRef)(),p=J((()=>{h.current&&(h.current(),h.current=void 0)}),100);return(0,i.useEffect)((()=>{const e=c.viewport;if(e){const t=()=>{if(p(),!h.current){const t=Q(e,u);h.current=t,u()}};return u(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[c.viewport,p,u]),(0,i.createElement)(d.div,(0,r.Z)({"data-state":l.hasThumb?"visible":"hidden"},a,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:_(e.onPointerDownCapture,(e=>{const t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;l.onThumbPointerDown({x:n,y:r})})),onPointerUp:_(e.onPointerUp,l.onThumbPointerUp)}))})),q="ScrollAreaCorner",$=(0,i.forwardRef)(((e,t)=>{const n=k(q,e.__scopeScrollArea),o=Boolean(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&o?(0,i.createElement)(W,(0,r.Z)({},e,{ref:t})):null})),W=(0,i.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,...o}=e,a=k(q,n),[s,c]=(0,i.useState)(0),[l,u]=(0,i.useState)(0),f=Boolean(s&&l);return ee(a.scrollbarX,(()=>{var e;const t=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;
2a.onCornerHeightChange(t),u(t)})),ee(a.scrollbarY,(()=>{var e;const t=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(t),c(t)})),f?(0,i.createElement)(d.div,(0,r.Z)({},o,{ref:t,style:{width:s,height:l,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null}));function V(e){return e?parseInt(e,10):0}function K(e,t){const n=e/t;return isNaN(n)?0:n}function G(e){const t=K(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Z(e,t,n="ltr"){const r=G(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,a=t.content-t.viewport,s=o-r,c=function(e,[t,n]){return Math.min(n,Math.max(t,e))}(e,"ltr"===n?[0,a]:[-1*a,0]);return Y([0,a],[0,s])(c)}function Y(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function X(e,t){return e>0&&e<t}const Q=(e,t=(()=>{}))=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function i(){const o={left:e.scrollLeft,top:e.scrollTop},a=n.left!==o.left,s=n.top!==o.top;(a||s)&&t(),n=o,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function J(e,t){const n=y(e),r=(0,i.useRef)(0);return(0,i.useEffect)((()=>()=>window.clearTimeout(r.current)),[]),(0,i.useCallback)((()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)}),[n,t])}function ee(e,t){const n=y(t);p((()=>{let t=0;if(e){const r=new ResizeObserver((()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)}));return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}),[e,n])}const te=O,ne=A,re=P,ie=U,oe=$},86664:function(e,t,n){!function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return s(e)||c(e,t)||l(e,t)||f()}function s(e){if(Array.isArray(e))return e}function c(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){return e(t={exports:{}},t.exports),t.exports}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function p(){}function g(){}g.resetWarningCache=p;var m=function(){function e(e,t,n,r,i,o){if(o!==d){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;
vendor: 5,147 bytes, line 2
2var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:g,resetWarningCache:p};return n.PropTypes=n,n},v=h((function(e){e.exports=m()})),y=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},b=function(e){return null!==e&&"object"===i(e)},_=function(e){return b(e)&&"function"==typeof e.then},w=function(e){return b(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment},x="[object Object]",S=function e(t,n){if(!b(t)||!b(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var i=Object.prototype.toString.call(t)===x;if(i!==(Object.prototype.toString.call(n)===x))return!1;if(!i&&!r)return t===n;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var s={},c=0;c<o.length;c+=1)s[o[c]]=!0;for(var l=0;l<a.length;l+=1)s[a[l]]=!0;var u=Object.keys(s);if(u.length!==o.length)return!1;var f=t,h=n,d=function(t){return e(f[t],h[t])};return u.every(d)},E=function(e,t,n){return b(e)?Object.keys(e).reduce((function(i,a){var s=!b(t)||!S(e[a],t[a]);return n.includes(a)?(s&&console.warn("Unsupported prop change: options.".concat(a," is not a mutable property.")),i):s?r(r({},i||{}),{},o({},a,e[a])):i}),null):null},k="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",O=function(e){if(null===e||w(e))return e;throw new Error(k)},C=function(e){if(_(e))return{tag:"async",stripePromise:Promise.resolve(e).then(O)};var t=O(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},A=t.createContext(null);A.displayName="ElementsContext";var T=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},P=t.createContext(null);P.displayName="CartElementContext";var D=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},M=function(e){var n=e.stripe,r=e.options,i=e.children,o=t.useMemo((function(){return C(n)}),[n]),s=a(t.useState(null),2),c=s[0],l=s[1],u=a(t.useState(null),2),f=u[0],h=u[1],d=a(t.useState((function(){return{stripe:"sync"===o.tag?o.stripe:null,elements:"sync"===o.tag?o.stripe.elements(r):null}})),2),p=d[0],g=d[1];t.useEffect((function(){var e=!0,t=function(e){g((function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}}))};return"async"!==o.tag||p.stripe?"sync"!==o.tag||p.stripe||t(o.stripe):o.stripePromise.then((function(n){n&&e&&t(n)})),function(){e=!1}}),[o,p,r]);var m=y(n);t.useEffect((function(){null!==m&&m!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")}),[m,n]);var v=y(r);return t.useEffect((function(){if(p.elements){var e=E(r,v,["clientSecret","fonts"]);e&&p.elements.update(e)}}),[r,v,p.elements]),t.useEffect((function(){var e=p.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.16.4"}),e.registerAppInfo({name:"react-stripe-js",version:"1.16.4",url:"https://stripe.com/docs/stripe-js/react"}))}),[p.stripe]),t.createElement(A.Provider,{value:p},t.createElement(P.Provider,{value:{cart:c,setCart:l,cartState:f,setCartState:h}},i))};M.propTypes={stripe:v.any,options:v.object};var R=function(e){var n=t.useContext(A);return T(n,e)},j=function(e){var n=t.useContext(P);return D(n,e)},N=function(){return R("calls useElements()").elements},L=function(){return R("calls useStripe()").stripe},I=function(){return j("calls useCartElement()").cart},B=function(){return j("calls useCartElementState()").cartState},F=function(e){return(0,e.children)(R("mounts <ElementsConsumer>"))};F.propTypes={children:v.func.isRequired};var z=function(e,n,r){var i=!!r,o=t.useRef(r);t.useEffect((function(){o.current=r}),[r]),t.useEffect((function(){if(!i||!e)return function(){};var t=function(){o.current&&o.current.apply(o,arguments)};return e.on(n,t),function(){e.off(n,t)}}),[i,n,e,o])},U=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},H=function(e,n){var r="".concat(U(e),"Element"),i=n?function(e){R("mounts <".concat(r,">")),j("mounts <".concat(r,">"));var n=e.id,i=e.className;return t.createElement("div",{id:n,className:i})}:function(n){var i,o=n.id,s=n.className,c=n.options,l=void 0===c?{}:c,u=n.onBlur,f=n.onFocus,h=n.onReady,d=n.onChange,p=n.onEscape,g=n.onClick,m=n.onLoadError,v=n.onLoaderStart,b=n.onNetworksChange,_=n.onCheckout,w=n.onLineItemClick,x=n.onConfirm,S=n.onCancel,k=n.onShippingAddressChange,O=n.onShippingRateChange,C=R("mounts <".concat(r,">")).elements,A=a(t.useState(null),2),T=A[0],P=A[1],D=t.useRef(null),M=t.useRef(null),N=j("mounts <".concat(r,">")),L=N.setCart,I=N.setCartState;z(T,"blur",u),z(T,"focus",f),z(T,"escape",p),z(T,"click",g),z(T,"loaderror",m),z(T,"loaderstart",v),z(T,"networksch
2ange",b),z(T,"lineitemclick",w),z(T,"confirm",x),z(T,"cancel",S),z(T,"shippingaddresschange",k),z(T,"shippingratechange",O),"cart"===e?i=function(e){I(e),h&&h(e)}:h&&(i="payButton"===e?h:function(){h(T)}),z(T,"ready",i),z(T,"change","cart"===e?function(e){I(e),d&&d(e)}:d),z(T,"checkout","cart"===e?function(e){I(e),_&&_(e)}:_),t.useLayoutEffect((function(){if(null===D.current&&C&&null!==M.current){var t=C.create(e,l);"cart"===e&&L&&L(t),D.current=t,P(t),t.mount(M.current)}}),[C,l,L]);var B=y(l);return t.useEffect((function(){if(D.current){var e=E(l,B,["paymentRequest"]);e&&D.current.update(e)}}),[l,B]),t.useLayoutEffect((function(){return function(){D.current&&(D.current.destroy(),D.current=null)}}),[]),t.createElement("div",{id:o,className:s,ref:M})};return i.propTypes={id:v.string,className:v.string,onChange:v.func,onBlur:v.func,onFocus:v.func,onReady:v.func,onEscape:v.func,onClick:v.func,onLoadError:v.func,onLoaderStart:v.func,onNetworksChange:v.func,onCheckout:v.func,onLineItemClick:v.func,onConfirm:v.func,onCancel:v.func,onShippingAddressChange:v.func,onShippingRateChange:v.func,options:v.object},i.displayName=r,i.__elementType=e,i},q="undefined"==typeof window,$=H("auBankAccount",q),W=H("card",q),V=H("cardNumber",q),K=H("cardExpiry",q),G=H("cardCvc",q),Z=H("fpxBank",q),Y=H("iban",q),X=H("idealBank",q),Q=H("p24Bank",q),J=H("epsBank",q),ee=H("payment",q),te=H("payButton",q),ne=H("paymentRequestButton",q),re=H("linkAuthentication",q),ie=H("address",q),oe=H("shippingAddress",q),ae=H("cart",q),se=H("paymentMethodMessaging",q),ce=H("affirmMessage",q),le=H("afterpayClearpayMessage",q);e.AddressElement=ie,e.AffirmMessageElement=ce,e.AfterpayClearpayMessageElement=le,e.AuBankAccountElement=$,e.CardCvcElement=G,e.CardElement=W,e.CardExpiryElement=K,e.CardNumberElement=V,e.CartElement=ae,e.Elements=M,e.ElementsConsumer=F,e.EpsBankElement=J,e.FpxBankElement=Z,e.IbanElement=Y,e.IdealBankElement=X,e.LinkAuthenticationElement=re,e.P24BankElement=Q,e.PayButtonElement=te,e.PaymentElement=ee,e.PaymentMethodMessagingElement=se,e.PaymentRequestButtonElement=ne,e.ShippingAddressElement=oe,e.useCartElement=I,e.useCartElementState=B,e.useElements=N,e.useStripe=L,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(67294))},54465:function(e,t,n){"use strict";n.d(t,{J:function(){return f}});var r="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,o="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",a=null,s=function(e){return null!==a||(a=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(o),window.Stripe)t(window.Stripe);else try{var a=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var n=e[t];if(i.test(n.src))return n}return null}();a&&e?console.warn(o):a||(a=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(t);var i=document.head||document.body;if(!i)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(n),n}(e)),a.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),a.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))),a},c=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.46.0",startTime:t})}(r,n),r},l=Promise.resolve().then((function(){return s(null)})),u=!1;l.catch((function(e){u||console.warn(e)}));var f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];u=!0;var r=Date.now();return l.then((function(e){return c(e,t,r)}))}},88212:function(e,t,n){"use strict";n.d(t,{Aq:function(){return tn},u5:function(){return et},ZX:function(){return fn},XQ:function(){return Gt},HH:function(){return Re},x$:function(){return Vt},tV:function(){return qt},yn:function(){return ee},Fb:function(){return J},bS:function(){return nt},_K:function(){return de}});var r=n(85893),i=n(67294);function o(e){if("string"==typeof e||"number"==typeof e)return""+e;let t="";if(Array.isArray(e))for(let n,r=0;r<e.length;r++)""!==(n=o(e[r]))&&(t+=(t&&" ")+n);else for(let n in e)e[n]&&(t+=(t&&" ")+n);return t}var a=n(28239),s=n(52798);const c=e=>{let t;const n=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(!Object.is(i,t)){const e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({}
2,t,i),n.forEach((n=>n(t,e)))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,i,o);return o},l=e=>e?c(e):c;const{useDebugValue:u}=i,{useSyncExternalStoreWithSelector:f}=s,h=e=>e;function d(e,t=h,n){const r=f(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return u(r),r}const p=(e,t)=>{const n=l(e),r=(e,r=t)=>d(n,e,r);return Object.assign(r,n),r};function g(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}var m=n(73935);const v=(0,i.createContext)(null),y=v.Provider,b=a.Qj.error001();function _(e,t){const n=(0,i.useContext)(v);if(null===n)throw new Error(b);return d(n,e,t)}function w(){const e=(0,i.useContext)(v);if(null===e)throw new Error(b);return(0,i.useMemo)((()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe})),[e])}const x={display:"none"},S={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},E="react-flow__node-desc",k="react-flow__edge-desc",O="react-flow__aria-live",C=e=>e.ariaLiveMessage,A=e=>e.ariaLabelConfig;function T({rfId:e}){const t=_(C);return(0,r.jsx)("div",{id:`${O}-${e}`,"aria-live":"assertive","aria-atomic":"true",style:S,children:t})}function P({rfId:e,disableKeyboardA11y:t}){const n=_(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{id:`${E}-${e}`,style:x,children:t?n["node.a11yDescription.default"]:n["node.a11yDescription.keyboardDisabled"]}),(0,r.jsx)("div",{id:`${k}-${e}`,style:x,children:n["edge.a11yDescription.default"]}),!t&&(0,r.jsx)(T,{rfId:e})]})}const D=(0,i.forwardRef)((({position:e="top-left",children:t,className:n,style:i,...a},s)=>{const c=`${e}`.split("-");return(0,r.jsx)("div",{className:o(["react-flow__panel",n,...c]),style:i,ref:s,...a,children:t})}));function M({proOptions:e,position:t="bottom-right"}){return e?.hideAttribution?null:(0,r.jsx)(D,{position:t,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:(0,r.jsx)("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}D.displayName="Panel";const R=e=>{const t=[],n=[];for(const[,n]of e.nodeLookup)n.selected&&t.push(n.internals.userNode);for(const[,t]of e.edgeLookup)t.selected&&n.push(t);return{selectedNodes:t,selectedEdges:n}},j=e=>e.id;function N(e,t){return g(e.selectedNodes.map(j),t.selectedNodes.map(j))&&g(e.selectedEdges.map(j),t.selectedEdges.map(j))}function L({onSelectionChange:e}){const t=w(),{selectedNodes:n,selectedEdges:r}=_(R,N);return(0,i.useEffect)((()=>{const i={nodes:n,edges:r};e?.(i),t.getState().onSelectionChangeHandlers.forEach((e=>e(i)))}),[n,r,e]),null}const I=e=>!!e.onSelectionChangeHandlers;function B({onSelectionChange:e}){const t=_(I);return e||t?(0,r.jsx)(L,{onSelectionChange:e}):null}const F=[0,0],z={x:0,y:0,zoom:1},U=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGri
2d","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","paneClickDistance","ariaLabelConfig","rfId"],H=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setPaneClickDistance:e.setPaneClickDistance}),q={translateExtent:a.k5,nodeOrigin:F,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1",paneClickDistance:0};function $(e){const{setNodes:t,setEdges:n,setMinZoom:r,setMaxZoom:o,setTranslateExtent:s,setNodeExtent:c,reset:l,setDefaultNodesAndEdges:u,setPaneClickDistance:f}=_(H,g),h=w();(0,i.useEffect)((()=>(u(e.defaultNodes,e.defaultEdges),()=>{d.current=q,l()})),[]);const d=(0,i.useRef)(q);return(0,i.useEffect)((()=>{for(const i of U){const l=e[i];l!==d.current[i]&&(void 0!==e[i]&&("nodes"===i?t(l):"edges"===i?n(l):"minZoom"===i?r(l):"maxZoom"===i?o(l):"translateExtent"===i?s(l):"nodeExtent"===i?c(l):"paneClickDistance"===i?f(l):"ariaLabelConfig"===i?h.setState({ariaLabelConfig:(0,a.AL)(l)}):"fitView"===i?h.setState({fitViewQueued:l}):"fitViewOptions"===i?h.setState({fitViewOptions:l}):h.setState({[i]:l})))}d.current=e}),U.map((t=>e[t]))),null}function W(){return"undefined"!=typeof window&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null}const V="undefined"!=typeof document?document:null;function K(e=null,t={target:V,actInsideInputWithModifier:!0}){const[n,r]=(0,i.useState)(!1),o=(0,i.useRef)(!1),s=(0,i.useRef)(new Set([])),[c,l]=(0,i.useMemo)((()=>{if(null!==e){const t=(Array.isArray(e)?e:[e]).filter((e=>"string"==typeof e)).map((e=>e.replace("+","\n").replace("\n\n","\n+").split("\n"))),n=t.reduce(((e,t)=>e.concat(...t)),[]);return[t,n]}return[[],[]]}),[e]);return(0,i.useEffect)((()=>{const n=t?.target??V,i=t?.actInsideInputWithModifier??!0;if(null!==e){const e=e=>{o.current=e.ctrlKey||e.metaKey||e.shiftKey||e.altKey;if((!o.current||o.current&&!i)&&(0,a.s$)(e))return!1;const n=Z(e.code,l);if(s.current.add(e[n]),G(c,s.current,!1)){const n=e.composedPath?.()?.[0]||e.target,i="BUTTON"===n?.nodeName||"A"===n?.nodeName;!1===t.preventDefault||!o.current&&i||e.preventDefault(),r(!0)}},u=e=>{const t=Z(e.code,l);G(c,s.current,!0)?(r(!1),s.current.clear()):s.current.delete(e[t]),"Meta"===e.key&&s.current.clear(),o.current=!1},f=()=>{s.current.clear(),r(!1)};return n?.addEventListener("keydown",e),n?.addEventListener("keyup",u),window.addEventListener("blur",f),window.addEventListener("contextmenu",f),()=>{n?.removeEventListener("keydown",e),n?.removeEventListener("keyup",u),window.removeEventListener("blur",f),window.removeEventListener("contextmenu",f)}}}),[e,r]),n}function G(e,t,n){return e.filter((e=>n||e.length===t.size)).some((e=>e.every((e=>t.has(e)))))}function Z(e,t){return t.includes(e)?"code":"key"}const Y=()=>{const e=w();return(0,i.useMemo)((()=>({zoomIn:t=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1.2,{duration:t?.duration}):Promise.resolve(!1)},zoomOut:t=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1/1.2,{duration:t?.duration}):Promise.resolve(!1)},zoomTo:(t,n)=>{const{panZoom:r}=e.getState();return r?r.scaleTo(t,{duration:n?.duration}):Promise.resolve(!1)},getZoom:()=>e.getState().transform[2],setViewport:async(t,n)=>{const{transform:[r,i,o],panZoom:a}=e.getState();return a?(await a.setViewport({x:t.x??r,y:t.y??i,zoom:t.zoom??o},n),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[t,n,r]=e.getState().transform;return{x:t,y:n,zoom:r}},setCenter:async(t,n,r)=>e.getState().setCenter(t,n,r),fitBounds:async(t,n)=>{const{width:r,height:i,minZoom:o,maxZoom:s,panZoom:c}=e.getState(),l=(0,a.$i)(t,r,i,o,s,n?.padding??.1);
2return c?(await c.setViewport(l,{duration:n?.duration,ease:n?.ease,interpolate:n?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(t,n={})=>{const{transform:r,snapGrid:i,snapToGrid:o,domNode:s}=e.getState();if(!s)return t;const{x:c,y:l}=s.getBoundingClientRect(),u={x:t.x-c,y:t.y-l},f=n.snapGrid??i,h=n.snapToGrid??o;return(0,a.m)(u,r,h,f)},flowToScreenPosition:t=>{const{transform:n,domNode:r}=e.getState();if(!r)return t;const{x:i,y:o}=r.getBoundingClientRect(),s=(0,a.oj)(t,n);return{x:s.x+i,y:s.y+o}}})),[])};function X(e,t){const n=[],r=new Map,i=[];for(const t of e)if("add"!==t.type)if("remove"===t.type||"replace"===t.type)r.set(t.id,[t]);else{const e=r.get(t.id);e?e.push(t):r.set(t.id,[t])}else i.push(t);for(const e of t){const t=r.get(e.id);if(!t){n.push(e);continue}if("remove"===t[0].type)continue;if("replace"===t[0].type){n.push({...t[0].item});continue}const i={...e};for(const e of t)Q(e,i);n.push(i)}return i.length&&i.forEach((e=>{void 0!==e.index?n.splice(e.index,0,{...e.item}):n.push({...e.item})})),n}function Q(e,t){switch(e.type){case"select":t.selected=e.selected;break;case"position":void 0!==e.position&&(t.position=e.position),void 0!==e.dragging&&(t.dragging=e.dragging);break;case"dimensions":void 0!==e.dimensions&&(t.measured??={},t.measured.width=e.dimensions.width,t.measured.height=e.dimensions.height,e.setAttributes&&(!0!==e.setAttributes&&"width"!==e.setAttributes||(t.width=e.dimensions.width),!0!==e.setAttributes&&"height"!==e.setAttributes||(t.height=e.dimensions.height))),"boolean"==typeof e.resizing&&(t.resizing=e.resizing)}}function J(e,t){return X(e,t)}function ee(e,t){return X(e,t)}function te(e,t){return{id:e,type:"select",selected:t}}function ne(e,t=new Set,n=!1){const r=[];for(const[i,o]of e){const e=t.has(i);void 0===o.selected&&!e||o.selected===e||(n&&(o.selected=e),r.push(te(o.id,e)))}return r}function re({items:e=[],lookup:t}){const n=[],r=new Map(e.map((e=>[e.id,e])));for(const[r,i]of e.entries()){const e=t.get(i.id),o=e?.internals?.userNode??e;void 0!==o&&o!==i&&n.push({id:i.id,item:i,type:"replace"}),void 0===o&&n.push({item:i,type:"add",index:r})}for(const[e]of t){void 0===r.get(e)&&n.push({id:e,type:"remove"})}return n}function ie(e){return{id:e.id,type:"remove"}}const oe=e=>(0,a.Vt)(e),ae=e=>(0,a.J3)(e);function se(e){return(0,i.forwardRef)(e)}const ce="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function le(e){const[t,n]=(0,i.useState)(BigInt(0)),[r]=(0,i.useState)((()=>function(e){let t=[];return{get:()=>t,reset:()=>{t=[]},push:n=>{t.push(n),e()}}}((()=>n((e=>e+BigInt(1)))))));return ce((()=>{const t=r.get();t.length&&(e(t),r.reset())}),[t]),r}const ue=(0,i.createContext)(null);function fe({children:e}){const t=w(),n=le((0,i.useCallback)((e=>{const{nodes:n=[],setNodes:r,hasDefaultNodes:i,onNodesChange:o,nodeLookup:a,fitViewQueued:s}=t.getState();let c=n;for(const t of e)c="function"==typeof t?t(c):t;const l=re({items:c,lookup:a});i&&r(c),l.length>0?o?.(l):s&&window.requestAnimationFrame((()=>{const{fitViewQueued:e,nodes:n,setNodes:r}=t.getState();e&&r(n)}))}),[])),o=le((0,i.useCallback)((e=>{const{edges:n=[],setEdges:r,hasDefaultEdges:i,onEdgesChange:o,edgeLookup:a}=t.getState();let s=n;for(const t of e)s="function"==typeof t?t(s):t;i?r(s):o&&o(re({items:s,lookup:a}))}),[])),a=(0,i.useMemo)((()=>({nodeQueue:n,edgeQueue:o})),[]);return(0,r.jsx)(ue.Provider,{value:a,children:e})}const he=e=>!!e.panZoom;function de(){const e=Y(),t=w(),n=function(){const e=(0,i.useContext)(ue);if(!e)throw new Error("useBatchContext must be used within a BatchProvider");return e}(),r=_(he),o=(0,i.useMemo)((()=>{const e=e=>t.getState().nodeLookup.get(e),r=e=>{n.nodeQueue.push(e)},i=e=>{n.edgeQueue.push(e)},o=e=>{const{nodeLookup:n,nodeOrigin:r}=t.getState(),i=oe(e)?e:n.get(e.id),o=i.parentId?(0,a.ZB)(i.position,i.measured,i.parentId,n,r):i.position,s={...i,position:o,width:i.measured?.width??i.width,height:i.measured?.height??i.height};return(0,a.PS)(s)},s=(e,t,n={replace:!1})=>{r((r=>r.map((r=>{if(r.id===e){const e="function"==typeof t?t(r):t;return n.replace&&oe(e)?e:{...r,...e}}return r}))))},c=(e,t,n={replace:!1})=>{i((r=>r.map((r=>{if(r.id===e){const e="function"==typeof t?t(r):t;return n.replace&&ae(e)?e:{...r,...e}}return r}))))};return{getNodes:()=>t.getState().nodes.map((e=>({...e}))),getNode:t=>e(t)?.internals.userNode,getInternalNode:e,getEdges:()=>{const{edges:e=[]}=t.getState();return e.map((e=>({...e})))},getEdge:e=>t.getState().edgeLookup.get(e),setNodes:r,setEdges:i,addNodes:e=>{const t=Array.isArray(e)?e:[e];n.nodeQueue.push((e=>[...e,...t]))},addEdges:e=>{const t=Array.isArray(e)?e:[e];n.edgeQueue.push((e=>[...e,...t]))},toObject:()=>{const{nodes:e=[],edges:n=[],transform:r}=t.getState(),[i,o,a]=r;return{nodes:e.map((e=>({...e}))),edges:n.map((e=>({...e}))),viewport:{x:i,y:o,zoom:a}}},deleteElements:async({nodes:e=[],edges:n=[]})=>{const{nodes:r,edges:i,onNodesDelete:o,onEdgesDelete:s,triggerNodeChanges:c,triggerEdgeChanges:l,onDelete:u,onBeforeDelete:f}=t.getState(),{nodes:h,edges:d}=await(0,a.WD)({nodesToRemove:e,edgesToRemove:n,nodes:r,edges:i,onBeforeDelete:f}),p=d.length>0,g=h.length>0;if(p){const e=d.map(ie);
2s?.(d),l(e)}if(g){const e=h.map(ie);o?.(h),c(e)}return(g||p)&&u?.({nodes:h,edges:d}),{deletedNodes:h,deletedEdges:d}},getIntersectingNodes:(e,n=!0,r)=>{const i=(0,a.J$)(e),s=i?e:o(e),c=void 0!==r;return s?(r||t.getState().nodes).filter((r=>{const o=t.getState().nodeLookup.get(r.id);if(o&&!i&&(r.id===e.id||!o.internals.positionAbsolute))return!1;const l=(0,a.PS)(c?r:o),u=(0,a.lp)(l,s);return n&&u>0||u>=l.width*l.height||u>=s.width*s.height})):[]},isNodeIntersecting:(e,t,n=!0)=>{const r=(0,a.J$)(e)?e:o(e);if(!r)return!1;const i=(0,a.lp)(r,t);return n&&i>0||i>=r.width*r.height},updateNode:s,updateNodeData:(e,t,n={replace:!1})=>{s(e,(e=>{const r="function"==typeof t?t(e):t;return n.replace?{...e,data:r}:{...e,data:{...e.data,...r}}}),n)},updateEdge:c,updateEdgeData:(e,t,n={replace:!1})=>{c(e,(e=>{const r="function"==typeof t?t(e):t;return n.replace?{...e,data:r}:{...e,data:{...e.data,...r}}}),n)},getNodesBounds:e=>{const{nodeLookup:n,nodeOrigin:r}=t.getState();return(0,a.RX)(e,{nodeLookup:n,nodeOrigin:r})},getHandleConnections:({type:e,id:n,nodeId:r})=>Array.from(t.getState().connectionLookup.get(`${r}-${e}${n?`-${n}`:""}`)?.values()??[]),getNodeConnections:({type:e,handleId:n,nodeId:r})=>Array.from(t.getState().connectionLookup.get(`${r}${e?n?`-${e}-${n}`:`-${e}`:""}`)?.values()??[]),fitView:async e=>{const r=t.getState().fitViewResolver??(0,a.nu)();return t.setState({fitViewQueued:!0,fitViewOptions:e,fitViewResolver:r}),n.nodeQueue.push((e=>[...e])),r.promise}}}),[]);return(0,i.useMemo)((()=>({...o,...e,viewportInitialized:r})),[r])}const pe=e=>e.selected,ge="undefined"!=typeof window?window:void 0;const me={position:"absolute",width:"100%",height:"100%",top:0,left:0},ve=e=>({userSelectionActive:e.userSelectionActive,lib:e.lib});function ye({onPaneContextMenu:e,zoomOnScroll:t=!0,zoomOnPinch:n=!0,panOnScroll:o=!1,panOnScrollSpeed:s=.5,panOnScrollMode:c=a.IY.Free,zoomOnDoubleClick:l=!0,panOnDrag:u=!0,defaultViewport:f,translateExtent:h,minZoom:d,maxZoom:p,zoomActivationKeyCode:m,preventScrolling:v=!0,children:y,noWheelClassName:b,noPanClassName:x,onViewportChange:S,isControlledViewport:E,paneClickDistance:k}){const O=w(),C=(0,i.useRef)(null),{userSelectionActive:A,lib:T}=_(ve,g),P=K(m),D=(0,i.useRef)();!function(e){const t=w();(0,i.useEffect)((()=>{const n=()=>
2{if(!e.current)return!1;const n=(0,a.t_)(e.current);0!==n.height&&0!==n.width||t.getState().onError?.("004",a.Qj.error004()),t.setState({width:n.width||500,height:n.height||500})};if(e.current){n(),window.addEventListener("resize",n);const t=new ResizeObserver((()=>n()));return t.observe(e.current),()=>{window.removeEventListener("resize",n),t&&e.current&&t.unobserve(e.current)}}}),[])}(C);const M=(0,i.useCallback)((e=>{S?.({x:e[0],y:e[1],zoom:e[2]}),E||O.setState({transform:e})}),[S,E]);return(0,i.useEffect)((()=>{if(C.current){D.current=(0,a.X6)({domNode:C.current,minZoom:d,maxZoom:p,translateExtent:h,viewport:f,paneClickDistance:k,onDraggingChange:e=>O.setState({paneDragging:e}),onPanZoomStart:(e,t)=>{const{onViewportChangeStart:n,onMoveStart:r}=O.getState();r?.(e,t),n?.(t)},onPanZoom:(e,t)=>{const{onViewportChange:n,onMove:r}=O.getState();r?.(e,t),n?.(t)},onPanZoomEnd:(e,t)=>{const{onViewportChangeEnd:n,onMoveEnd:r}=O.getState();r?.(e,t),n?.(t)}});const{x:e,y:t,zoom:n}=D.current.getViewport();return O.setState({panZoom:D.current,transform:[e,t,n],domNode:C.current.closest(".react-flow")}),()=>{D.current?.destroy()}}}),[]),(0,i.useEffect)((()=>{D.current?.update({onPaneContextMenu:e,zoomOnScroll:t,zoomOnPinch:n,panOnScroll:o,panOnScrollSpeed:s,panOnScrollMode:c,zoomOnDoubleClick:l,panOnDrag:u,zoomActivationKeyPressed:P,preventScrolling:v,noPanClassName:x,userSelectionActive:A,noWheelClassName:b,lib:T,onTransformChange:M})}),[e,t,n,o,s,c,l,u,P,v,x,A,b,T,M]),(0,r.jsx)("div",{className:"react-flow__renderer",ref:C,style:me,children:y})}const be=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function _e(){const{userSelectionActive:e,userSelectionRect:t}=_(be,g);return e&&t?(0,r.jsx)("div",{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t.height,transform:`translate(${t.x}px, ${t.y}px)`}}):null}const we=(e,t)=>n=>{n.target===t.current&&e?.(n)},xe=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,connectionInProgress:e.connection.inProgress,dragging:e.paneDragging});function Se({isSelecting:e,selectionKeyPressed:t,selectionMode:n=a.oW.Full,panOnDrag:s,selectionOnDrag:c,onSelectionStart:l,onSelectionEnd:u,onPaneClick:f,onPaneContextMenu:h,onPaneScroll:d,onPaneMouseEnter:p,onPaneMouseMove:m,onPaneMouseLeave:v,children:y}){const b=w(),{userSelectionActive:x,elementsSelectable:S,dragging:E,connectionInProgress:k}=_(xe,g),O=S&&(e||x),C=(0,i.useRef)(null),A=(0,i.useRef)(),T=(0,i.useRef)(new Set),P=(0,i.useRef)(new Set),D=(0,i.useRef)(!1),M=(0,i.useRef)(!1),R=e=>{D.current||k?D.current=!1:(f?.(e),b.getState().resetSelectedElements(),b.setState({nodesSelectionActive:!1}))},j=d?e=>d(e):void 0,N=!0===s||Array.isArray(s)&&s.includes(0);return(0,r.jsxs)("div",{className:o(["react-flow__pane",{draggable:N,dragging:E,selection:e}]),onClick:O?void 0:we(R,C),onContextMenu:we((e=>{Array.isArray(s)&&s?.includes(2)?e.preventDefault():h?.(e)}),C),onWheel:we(j,C),onPointerEnter:O?void 0:p,onPointerDown:O?t=>{const{resetSelectedElements:n,domNode:r}=b.getState();if(A.current=r?.getBoundingClientRect(),!S||!e||0!==t.button||t.target!==C.current||!A.current)return;t.target?.setPointerCapture?.(t.pointerId),M.current=!0,D.current=!1;const{x:i,y:o}=(0,a.wv)(t.nativeEvent,A.current);n(),b.setState({userSelectionRect:{width:0,height:0,startX:i,startY:o,x:i,y:o}}),l?.(t)}:m,onPointerMove:O?e=>{const{userSelectionRect:t,transform:r,nodeLookup:i,edgeLookup:o,connectionLookup:s,triggerNodeChanges:c,triggerEdgeChanges:l,defaultEdgeOptions:u}=b.getState();if(!A.current||!t)return;D.current=!0;const{x:f,y:h}=(0,a.wv)(e.nativeEvent,A.current),{startX:d,startY:p}=t,g={startX:d,startY:p,x:f<d?f:d,y:h<p?h:p,width:Math.abs(f-d),height:Math.abs(h-p)},m=T.current,v=P.current;T.current=new Set((0,a.f5)(i,g,r,n===a.oW.Partial,!0).map((e=>e.id))),P.current=new Set;const y=u?.selectable??!0;for(const e of T.current){const t=s.get(e);if(t)for(const{edgeId:e}of t.values()){const t=o.get(e);t&&(t.selectable??y)&&P.current.add(e)}}if(!(0,a.OL)(m,T.current)){c(ne(i,T.current,!0))}if(!(0,a.OL)(v,P.current)){l(ne(o,P.current))}b.setState({userSelectionRect:g,userSelectionActive:!0,nodesSelectionActive:!1})}:m,onPointerUp:O?e=>{if(0!==e.button||!M.current)return;e.target?.releasePointerCapture?.(e.pointerId);const{userSelectionRect:n}=b.getState();!x&&n&&e.target===C.current&&R?.(e),b.setState({userSelectionActive:!1,userSelectionRect:null,nodesSelectionActive:T.current.size>0}
2),u?.(e),(t||c)&&(D.current=!1),M.current=!1}:void 0,onPointerLeave:v,ref:C,style:me,children:[y,(0,r.jsx)(_e,{})]})}function Ee({id:e,store:t,unselect:n=!1,nodeRef:r}){const{addSelectedNodes:i,unselectNodesAndEdges:o,multiSelectionActive:s,nodeLookup:c,onError:l}=t.getState(),u=c.get(e);u?(t.setState({nodesSelectionActive:!1}),u.selected?(n||u.selected&&s)&&(o({nodes:[u],edges:[]}),requestAnimationFrame((()=>r?.current?.blur()))):i([e])):l?.("012",a.Qj.error012(e))}function ke({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:r,nodeId:o,isSelectable:s,nodeClickDistance:c}){const l=w(),[u,f]=(0,i.useState)(!1),h=(0,i.useRef)();return(0,i.useEffect)((()=>{h.current=(0,a.oC)({getStoreItems:()=>l.getState(),onNodeMouseDown:t=>{Ee({id:t,store:l,nodeRef:e})},onDragStart:()=>{f(!0)},onDragStop:()=>{f(!1)}})}),[]),(0,i.useEffect)((()=>{if(t)h.current?.destroy();else if(e.current)return h.current?.update({noDragClassName:n,handleSelector:r,domNode:e.current,isSelectable:s,nodeId:o,nodeClickDistance:c}),()=>{h.current?.destroy()}}),[n,r,t,s,e,o]),u}const Oe=e=>t=>t.selected&&(t.draggable||e&&void 0===t.draggable);function Ce(){const e=w();return(0,i.useCallback)((t=>{const{nodeExtent:n,snapToGrid:r,snapGrid:i,nodesDraggable:o,onError:s,updateNodePositions:c,nodeLookup:l,nodeOrigin:u}=e.getState(),f=new Map,h=Oe(o),d=r?i[0]:5,p=r?i[1]:5,g=t.direction.x*d*t.factor,m=t.direction.y*p*t.factor;for(const[,e]of l){if(!h(e))continue;let t={x:e.internals.positionAbsolute.x+g,y:e.internals.positionAbsolute.y+m};r&&(t=(0,a._2)(t,i));const{position:o,positionAbsolute:c}=(0,a.q7)({nodeId:e.id,nextPosition:t,nodeLookup:l,nodeExtent:n,nodeOrigin:u,onError:s});e.position=o,e.internals.positionAbsolute=c,f.set(e.id,e)}c(f)}),[])}const Ae=(0,i.createContext)(null),Te=Ae.Provider;Ae.Consumer;const Pe=()=>(0,i.useContext)(Ae),De=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e.rfId}),Me=(e,t,n)=>r=>{const{connectionClickStartHandle:i,connectionMode:o,connection:s}=r,{fromHandle:c,toHandle:l,isValid:u}=s,f=l?.nodeId===e&&l?.id===t&&l?.type===n;return{connectingFrom:c?.nodeId===e&&c?.id===t&&c?.type===n,connectingTo:f,clickConnecting:i?.nodeId===e&&i?.id===t&&i?.type===n,isPossibleEndHandle:o===a.jD.Strict?c?.type!==n:e!==c?.nodeId||t!==c?.id,connectionInProcess:!!c,clickConnectionInProcess:!!i,valid:f&&u}};const Re=(0,i.memo)(se((function({type:e="source",position:t=a.Ly.Top,isValidConnection:n,isConnectable:i=!0,isConnectableStart:s=!0,isConnectableEnd:c=!0,id:l,onConnect:u,children:f,className:h,onMouseDown:d,onTouchStart:p,...m},v){const y=l||null,b="target"===e,x=w(),S=Pe(),{connectOnClick:E,noPanClassName:k,rfId:O}=_(De,g),{connectingFrom:C,connectingTo:A,clickConnecting:T,isPossibleEndHandle:P,connectionInProcess:D,clickConnectionInProcess:M,valid:R}=_(Me(S,y,e),g);S||x.getState().onError?.("010",a.Qj.error010());const j=e=>{const{defaultEdgeOptions:t,onConnect:n,hasDefaultEdges:r}=x.getState(),i={...t,...e};if(r){const{edges:e,setEdges:t}=x.getState();t((0,a.Z_)(i,e))}n?.(i),u?.(i)},N=e=>{if(!S)return;const t=(0,a.N5)(e.nativeEvent);if(s&&(t&&0===e.button||!t)){const t=x.getState();a.Ql.onPointerDown(e.nativeEvent,{autoPanOnConnect:t.autoPanOnConnect,connectionMode:t.connectionMode,connectionRadius:t.connectionRadius,domNode:t.domNode,nodeLookup:t.nodeLookup,lib:t.lib,isTarget:b,handleId:y,nodeId:S,flowId:t.rfId,panBy:t.panBy,cancelConnection:t.cancelConnection,onConnectStart:t.onConnectStart,onConnectEnd:t.onConnectEnd,updateConnection:t.updateConnection,onConnect:j,isValidConnection:n||t.isValidConnection,getTransform:()=>x.getState().transform,getFromHandle:()=>x.getState().connection.fromHandle,autoPanSpeed:t.autoPanSpeed,dragThreshold:t.connectionDragThreshold})}t?d?.(e):p?.(e)};return(0,r.jsx)("div",{"data-handleid":y,"data-nodeid":S,"data-handlepos":t,"data-id":`${O}-${S}-${y}-${e}`,className:o(["react-flow__handle",`react-flow__handle-${t}`,"nodrag",k,h,{source:!b,target:b,connectable:i,connectablestart:s,connectableend:c,clickconnecting:T,connectingfrom:C,connectingto:A,valid:R,connectionindicator:i&&(!D||P)&&(D||M?c:s)}]),onMouseDown:N,onTouchStart:N,onClick:E?t=>{const{onClickConnectStart:r,onClickConnectEnd:i,connectionClickStartHandle:o,connectionMode:c,isValidConnection:l,lib:u,rfId:f,nodeLookup:h,connection:d}=x.getState();if(!S||!o&&!s)return;if(!o)return r?.(t.nativeEvent,{nodeId:S,handleId:y,handleType:e}),void x.setState({connectionClickStartHandle:{nodeId:S,type:e,id:y}});const p=(0,a.S2)(t.target),g=n||l,{connection:m,isValid:v}=a.Ql.isValid(t.nativeEvent,{handle:{nodeId:S,id:y,type:e},connectionMode:c,fromNodeId:o.nodeId,fromHandleId:o.id||null,fromType:o.type,isValidConnection:g,flowId:f,doc:p,lib:u,nodeLookup:h});v&&m&&j(m);const b=structuredClone(d);delete b.inProgress,b.toPosition=b.toHandle?b.toHandle.position:null,i?.(t,b),x.setState({connectionClickStartHandle:null})}:void 0,ref:v,...m,children:f})})));const je={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Ne={input:function({data:e,isConnectable:t,sourcePosition:n=a.Ly.Bottom}){return(0,r.jsxs)(r.Fragment,{children:[e?.label,(0,r.jsx)(Re,{type:"source",position:n,isConnectable:t})]})},default:function({data:e,isConnectable:t,targetPosition:n=a.Ly.Top,sourcePosition:i=a.Ly.Bottom}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Re,{type:"target",position:n,isConnectable:t}),e?.label,(0,r.jsx)(Re,{type:"source",position:i,isConnectable:t})]})},output:function({data:e,isConnectable:t,targetPosition:n=a.Ly.Top}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Re,{type:"target",position:n,isConnectable:t}),e?.label]})},group:function(){return null}};const Le=e=>{const{width:t,height:n,x:r,y:i}=(0,a.W0)(e.nodeLookup,{filter:e=>!!e.selected});return{width:(0,a.kE)(t)?t:null,height:(0,a.kE)(n)?n:null,userSelectionActive:e.userSelectionActive,transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]}) translate(${r}px,${i}px)`}};function Ie({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){const a=w(),{width:s,height:c,transformString:l,userSelectionActive:u}=_(Le,g),f=Ce(),h=(0,i.useRef)(null);if((0,i.useEffect)((()=>
2{n||h.current?.focus({preventScroll:!0})}),[n]),ke({nodeRef:h}),u||!s||!c)return null;const d=e?t=>{const n=a.getState().nodes.filter((e=>e.selected));e(t,n)}:void 0;return(0,r.jsx)("div",{className:o(["react-flow__nodesselection","react-flow__container",t]),style:{transform:l},children:(0,r.jsx)("div",{ref:h,className:"react-flow__nodesselection-rect",onContextMenu:d,tabIndex:n?void 0:-1,onKeyDown:n?void 0:e=>{Object.prototype.hasOwnProperty.call(je,e.key)&&(e.preventDefault(),f({direction:je[e.key],factor:e.shiftKey?4:1}))},style:{width:s,height:c}})})}const Be="undefined"!=typeof window?window:void 0,Fe=e=>({nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e.userSelectionActive});function ze({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:s,onPaneScroll:c,paneClickDistance:l,deleteKeyCode:u,selectionKeyCode:f,selectionOnDrag:h,selectionMode:d,onSelectionStart:p,onSelectionEnd:g,multiSelectionKeyCode:m,panActivationKeyCode:v,zoomActivationKeyCode:y,elementsSelectable:b,zoomOnScroll:x,zoomOnPinch:S,panOnScroll:E,panOnScrollSpeed:k,panOnScrollMode:O,zoomOnDoubleClick:C,panOnDrag:A,defaultViewport:T,translateExtent:P,minZoom:D,maxZoom:M,preventScrolling:R,onSelectionContextMenu:j,noWheelClassName:N,noPanClassName:L,disableKeyboardA11y:I,onViewportChange:B,isControlledViewport:F}){const{nodesSelectionActive:z,userSelectionActive:U}=_(Fe),H=K(f,{target:Be}),q=K(v,{target:Be}),$=q||A,W=q||E,V=h&&!0!==$,G=H||U||V;return function({deleteKeyCode:e,multiSelectionKeyCode:t}){const n=w(),{deleteElements:r}=de(),o=K(e,{actInsideInputWithModifier:!1}),a=K(t,{target:ge});(0,i.useEffect)((()=>{if(o){const{edges:e,nodes:t}=n.getState();r({nodes:t.filter(pe),edges:e.filter(pe)}),n.setState({nodesSelectionActive:!1})}}),[o]),(0,i.useEffect)((()=>{n.setState({multiSelectionActive:a})}),[a])}({deleteKeyCode:u,multiSelectionKeyCode:m}),(0,r.jsx)(ye,{onPaneContextMenu:s,elementsSelectable:b,zoomOnScroll:x,zoomOnPinch:S,panOnScroll:W,panOnScrollSpeed:k,panOnScrollMode:O,zoomOnDoubleClick:C,panOnDrag:!H&&$,defaultViewport:T,translateExtent:P,minZoom:D,maxZoom:M,zoomActivationKeyCode:y,preventScrolling:R,noWheelClassName:N,noPanClassName:L,onViewportChange:B,isControlledViewport:F,paneClickDistance:l,children:(0,r.jsxs)(Se,{onSelectionStart:p,onSelectionEnd:g,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:s,onPaneScroll:c,panOnDrag:$,isSelecting:!!G,selectionMode:d,selectionKeyPressed:H,selectionOnDrag:V,children:[e,z&&(0,r.jsx)(Ie,{onSelectionContextMenu:j,noPanClassName:L,disableKeyboardA11y:I})]})})}ze.displayName="FlowRenderer";const Ue=(0,i.memo)(ze),He=e=>t=>e?(0,a.f5)(t.nodeLookup,{x:0,y:0,width:t.width,height:t.height},t.transform,!0).map((e=>e.id)):Array.from(t.nodeLookup.keys());const qe=e=>e.updateNodeInternals;function $e({id:e,onClick:t,onMouseEnter:n,onMouseMove:s,onMouseLeave:c,onContextMenu:l,onDoubleClick:u,nodesDraggable:f,elementsSelectable:h,nodesConnectable:d,nodesFocusable:p,resizeObserver:m,noDragClassName:v,noPanClassName:y,disableKeyboardA11y:b,rfId:x,nodeTypes:S,nodeClickDistance:k,onError:O}){const{node:C,internals:A,isParent:T}=_((t=>{const n=t.nodeLookup.get(e),r=t.parentLookup.has(e);return{node:n,internals:n.internals,isParent:r}}),g);let P=C.type||"default",D=S?.[P]||Ne[P];void 0===D&&(O?.("003",a.Qj.error003(P)),P="default",D=S?.default||Ne.default);const M=!!(C.draggable||f&&void 0===C.draggable),R=!!(C.selectable||h&&void 0===C.selectable),j=!!(C.connectable||d&&void 0===C.connectable),N=!!(C.focusable||p&&void 0===C.focusable),L=w(),I=(0,a.nb)(C),B=function({node:e,nodeType:t,hasDimensions:n,resizeObserver:r}){const o=w(),a=(0,i.useRef)(null),s=(0,i.useRef)(null),c=(0,i.useRef)(e.sourcePosition),l=(0,i.useRef)(e.targetPosition),u=(0,i.useRef)(t),f=n&&!!e.internals.handleBounds;return(0,i.useEffect)((()=>{!a.current||e.hidden||f&&s.current===a.current||(s.current&&r?.unobserve(s.current),r?.observe(a.current),s.current=a.current)}),[f,e.hidden]),(0,i.useEffect)((()=>()=>{s.current&&(r?.unobserve(s.current),s.current=null)}),[]),(0,i.useEffect)((()=>
vendor: 2,620 bytes, line 2
2{if(a.current){const n=u.current!==t,r=c.current!==e.sourcePosition,i=l.current!==e.targetPosition;(n||r||i)&&(u.current=t,c.current=e.sourcePosition,l.current=e.targetPosition,o.getState().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:a.current,force:!0}]])))}}),[e.id,t,e.sourcePosition,e.targetPosition]),a}({node:C,nodeType:P,hasDimensions:I,resizeObserver:m}),F=ke({nodeRef:B,disabled:C.hidden||!M,noDragClassName:v,handleSelector:C.dragHandle,nodeId:e,isSelectable:R,nodeClickDistance:k}),z=Ce();if(C.hidden)return null;const U=(0,a.Rf)(C),H=function(e){return void 0===e.internals.handleBounds?{width:e.width??e.initialWidth??e.style?.width,height:e.height??e.initialHeight??e.style?.height}:{width:e.width??e.style?.width,height:e.height??e.style?.height}}(C),q=R||M||t||n||s||c,$=n?e=>n(e,{...A.userNode}):void 0,W=s?e=>s(e,{...A.userNode}):void 0,V=c?e=>c(e,{...A.userNode}):void 0,K=l?e=>l(e,{...A.userNode}):void 0,G=u?e=>u(e,{...A.userNode}):void 0;return(0,r.jsx)("div",{className:o(["react-flow__node",`react-flow__node-${P}`,{[y]:M},C.className,{selected:C.selected,selectable:R,parent:T,draggable:M,dragging:F}]),ref:B,style:{zIndex:A.z,transform:`translate(${A.positionAbsolute.x}px,${A.positionAbsolute.y}px)`,pointerEvents:q?"all":"none",visibility:I?"visible":"hidden",...C.style,...H},"data-id":e,"data-testid":`rf__node-${e}`,onMouseEnter:$,onMouseMove:W,onMouseLeave:V,onContextMenu:K,onClick:n=>{const{selectNodesOnDrag:r,nodeDragThreshold:i}=L.getState();R&&(!r||!M||i>0)&&Ee({id:e,store:L,nodeRef:B}),t&&t(n,{...A.userNode})},onDoubleClick:G,onKeyDown:N?t=>{if(!(0,a.s$)(t.nativeEvent)&&!b)if(a.wQ.includes(t.key)&&R){const n="Escape"===t.key;Ee({id:e,store:L,unselect:n,nodeRef:B})}else if(M&&C.selected&&Object.prototype.hasOwnProperty.call(je,t.key)){t.preventDefault();const{ariaLabelConfig:e}=L.getState();L.setState({ariaLiveMessage:e["node.a11yDescription.ariaLiveMessage"]({direction:t.key.replace("Arrow","").toLowerCase(),x:~~A.positionAbsolute.x,y:~~A.positionAbsolute.y})}),z({direction:je[t.key],factor:t.shiftKey?4:1})}}:void 0,tabIndex:N?0:void 0,onFocus:N?()=>{if(b||!B.current?.matches(":focus-visible"))return;const{transform:t,width:n,height:r,autoPanOnNodeFocus:i,setCenter:o}=L.getState();if(!i)return;(0,a.f5)(new Map([[e,C]]),{x:0,y:0,width:n,height:r},t,!0).length>0||o(C.position.x+U.width/2,C.position.y+U.height/2,{zoom:t[2]})}:void 0,role:C.ariaRole??(N?"group":void 0),"aria-roledescription":"node","aria-describedby":b?void 0:`${E}-${x}`,"aria-label":C.ariaLabel,...C.domAttributes,children:(0,r.jsx)(Te,{value:e,children:(0,r.jsx)(D,{id:e,data:C.data,t
2ype:P,positionAbsoluteX:A.positionAbsolute.x,positionAbsoluteY:A.positionAbsolute.y,selected:C.selected??!1,selectable:R,draggable:M,deletable:C.deletable??!0,isConnectable:j,sourcePosition:C.sourcePosition,targetPosition:C.targetPosition,dragging:F,dragHandle:C.dragHandle,zIndex:A.z,parentId:C.parentId,...U})})})}const We=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,onError:e.onError});function Ve(e){const{nodesDraggable:t,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,onError:s}=_(We,g),c=(l=e.onlyRenderVisibleElements,_((0,i.useCallback)(He(l),[l]),g));var l;const u=function(){const e=_(qe),[t]=(0,i.useState)((()=>"undefined"==typeof ResizeObserver?null:new ResizeObserver((t=>{const n=new Map;t.forEach((e=>{const t=e.target.getAttribute("data-id");n.set(t,{id:t,nodeElement:e.target,force:!0})})),e(n)}))));return(0,i.useEffect)((()=>()=>{t?.disconnect()}),[t]),t}();return(0,r.jsx)("div",{className:"react-flow__nodes",style:me,children:c.map((i=>(0,r.jsx)($e,{id:i,nodeTypes:e.nodeTypes,nodeExtent:e.nodeExtent,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:u,nodesDraggable:t,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,nodeClickDistance:e.nodeClickDistance,onError:s},i)))})}Ve.displayName="NodeRenderer";const Ke=(0,i.memo)(Ve);const Ge={[a.QZ.Arrow]:({color:e="none",strokeWidth:t=1})=>(0,r.jsx)("polyline",{style:{stroke:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",fill:"none",points:"-5,-4 0,0 -5,4"}),[a.QZ.ArrowClosed]:({color:e="none",strokeWidth:t=1})=>(0,r.jsx)("polyline",{style:{stroke:e,fill:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})};const Ze=({id:e,type:t,color:n,width:o=12.5,height:s=12.5,markerUnits:c="strokeWidth",strokeWidth:l,orient:u="auto-start-reverse"})=>{const f=function(e){const t=w();return(0,i.useMemo)((()=>Object.prototype.hasOwnProperty.call(Ge,e)?Ge[e]:(t.getState().onError?.("009",a.Qj.error009(e)),null)),[e])}(t);return f?(0,r.jsx)("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${o}`,markerHeight:`${s}`,viewBox:"-10 -10 20 20",markerUnits:c,orient:u,refX:"0",refY:"0",children:(0,r.jsx)(f,{color:n,strokeWidth:l})}):null},Ye=({defaultColor:e,rfId:t})=>{const n=_((e=>e.edges)),o=_((e=>e.defaultEdgeOptions)),s=(0,i.useMemo)((()=>(0,a.n3)(n,{id:t,defaultColor:e,defaultMarkerStart:o?.markerStart,defaultMarkerEnd:o?.markerEnd})),[n,o,t,e]);return s.length?(0,r.jsx)("svg",{className:"react-flow__marker","aria-hidden":"true",children:(0,r.jsx)("defs",{children:s.map((e=>(0,r.jsx)(Ze,{id:e.id,type:e.type,color:e.color,width:e.width,height:e.height,markerUnits:e.markerUnits,strokeWidth:e.strokeWidth,orient:e.orient},e.id)))})}):null};Ye.displayName="MarkerDefinitions";var Xe=(0,i.memo)(Ye);function Qe({x:e,y:t,label:n,labelStyle:a,labelShowBg:s=!0,labelBgStyle:c,labelBgPadding:l=[2,4],labelBgBorderRadius:u=2,children:f,className:h,...d}){const[p,g]=(0,i.useState)({x:1,y:0,width:0,height:0}),m=o(["react-flow__edge-textwrapper",h]),v=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(v.current){const e=v.current.getBBox();g({x:e.x,y:e.y,width:e.width,height:e.height})}}),[n]),n?(0,r.jsxs)("g",{transform:`translate(${e-p.width/2} ${t-p.height/2})`,className:m,visibility:p.width?"visible":"hidden",...d,children:[s&&(0,r.jsx)("rect",{width:p.width+2*l[0],x:-l[0],y:-l[1],height:p.height+2*l[1],className:"react-flow__edge-textbg",style:c,rx:u,ry:u}),(0,r.jsx)("text",{className:"react-flow__edge-text",y:p.height/2,dy:"0.3em",ref:v,style:a,children:n}),f]}):null}Qe.displayName="EdgeText";const Je=(0,i.memo)(Qe);function et({path:e,labelX:t,labelY:n,label:i,labelStyle:s,labelShowBg:c,labelBgStyle:l,labelBgPadding:u,labelBgBorderRadius:f,interactionWidth:h=20,...d}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{...d,d:e,fill:"none",className:o(["react-flow__edge-path",d.className])}),h&&(0,r.jsx)("path",{d:e,fill:"none",strokeOpacity:0,strokeWidth:h,className:"react-flow__edge-interaction"}),i&&(0,a.kE)(t)&&(0,a.kE)(n)?(0,r.jsx)(Je,{x:t,y:n,label:i,labelStyle:s,labelShowBg:c,labelBgStyle:l,labelBgPadding:u,labelBgBorderRadius:f}):null]})}function tt({pos:e,x1:t,y1:n,x2:r,y2:i}){return e===a.Ly.Left||e===a.Ly.Right?[.5*(t+r),n]:[t,.5*(n+i)]}function nt({sourceX:e,sourceY:t,sourcePosition:n=a.Ly.Bottom,targetX:r,targetY:i,targetPosition:o=a.Ly.Top}){const[s,c]=tt({pos:n,x1:e,y1:t,x2:r,y2:i}),[l,u]=tt({pos:o,x1:r,y1:i,x2:e,y2:t}),[f,h,d,p]=(0,a.lM)({sourceX:e,sourceY:t,targetX:r,targetY:i,sourceControlX:s,sourceControlY:c,targetControlX:l,targetControlY:u});return[`M${e},${t} C${s},${c} ${l},${u} ${r},${i}`,f,h,d,p]}function rt(e){return(0,i.memo)((({id:t,sourceX:n,sourceY:i,targetX:o,targetY:a,sourcePosition:s,targetPosition:c,label:l,labelStyle:u,labelShowBg:f,labelBgStyle:h,labelBgPadding:d,labelBgBorderRadius:p,style:g,markerEnd:m,markerStart:v,interactionWidth:y})=>{const[b,_,w]=nt({sourceX:n,sourceY:i,sourcePosition:s,targetX:o,targetY:a,targetPosition:c}),x=e.isInternal?void 0:t;return(0,r.jsx)(et,{id:x,path:b,labelX:_,labelY:w,label:l,labelStyle:u,labelShowBg:f,labelBgStyle:h,labelBgPadding:d,labelBgBorderRadius:p,style:g,markerEnd:m,markerStart:v,interactionWidth:y})}))}const it=rt({isInternal:!1}),ot=rt({isInternal:!0});function at(e){return(0,i.memo)((({id:t,sourceX:n,sourceY:i,targetX:o,targetY:s,label:c,labelStyle:l,labelShowBg:u,labelBgStyle:f,labelBgPadding:h,labelBgBorderRadius:d,style:p,sourcePosition:g=a.Ly.Bottom,targetPosition:m=a.Ly.Top,markerEnd:v,markerStart:y,pathOptions:b,interactionWidth:_})=>{const[w,x,S]=(0,a.OW)({sourceX:n,sourceY:i,sourcePosition:g,targetX:o,targetY:s,targetPosition:m,borderRadius:b?.borderRadius,offset:b?.offset,stepPosition:b?.stepPosition}),E=e.isInternal?void 0:t;return(0,r.jsx)(et,{id:E,path:w,labelX:x,labelY:S,label:c,labelStyle:l,labelShowBg:u,labelBgStyle:f,labelBgPadding:h,labelBgBorderRadius:d,style:p,markerEnd:v,markerStart:y,interactionWidth:_})}))}it.displayName="SimpleBezierEdge",ot.displayName="SimpleBezierEdgeInternal";const st=at({isInternal:!1}),ct=at({isInternal:!0});function lt(e){return(0,i.memo)((({id:t,...n})=>{const o=e.isInternal?void 0:t;return(0,r.jsx)(st,{...n,id:o,pathOptions:(0,i.useMemo)((()=>({borderRadius:0,offset:n.pathOptions?.offset})),[n.pathOptions?.offset])})}))}st.displayName="SmoothStepEdge",ct.displayName="SmoothStepEdgeInternal";const ut=lt({isInternal:!1}),ft=lt({isInternal:!0});function ht(e){return(0,i.memo)((({id:t,sourceX:n,sourceY:i,targetX:o,targetY:s,label:c,labelStyle:l,labelShowBg:u,labelBgStyle:f,labelBgPadding:h,labelBgBorderRadius:d,style:p,markerEnd:g,markerStart:m,interactionWidth:v})=>{const[y,b,_]=(0,a.Hm)({sourceX:n,sourceY:i,targetX:o,targetY:s}),w=e.isInternal?void 0:t;return(0,r.jsx)(et,{id:w,path:y,labelX:b,labelY:_,label:c,labelStyle:l,labelShowBg:u,labelBgStyle:f,labelBgPadding:h,labelBgBorderRadius:d,style:p,markerEnd:g,markerStart:m,interactionWidth:v})}))}ut.displayName="StepEdge",ft.displayName="StepEdgeInternal";const dt=ht({isInternal:!1}),pt=ht({isInternal:!0});function gt(e){return(0,i.memo)((({id:t,sourceX:n,sourceY:i,targetX:o,targetY:s,sourcePosition:c=a.Ly.Bottom,targetPosition:l=a.Ly.Top,label:u,labelStyle:f,labelShowBg:h,labelBgStyle:d,labelBgPadding:p,labelBgBorderRadius:g,
2style:m,markerEnd:v,markerStart:y,pathOptions:b,interactionWidth:_})=>{const[w,x,S]=(0,a.OQ)({sourceX:n,sourceY:i,sourcePosition:c,targetX:o,targetY:s,targetPosition:l,curvature:b?.curvature}),E=e.isInternal?void 0:t;return(0,r.jsx)(et,{id:E,path:w,labelX:x,labelY:S,label:u,labelStyle:f,labelShowBg:h,labelBgStyle:d,labelBgPadding:p,labelBgBorderRadius:g,style:m,markerEnd:v,markerStart:y,interactionWidth:_})}))}dt.displayName="StraightEdge",pt.displayName="StraightEdgeInternal";const mt=gt({isInternal:!1}),vt=gt({isInternal:!0});mt.displayName="BezierEdge",vt.displayName="BezierEdgeInternal";const yt={default:vt,straight:pt,step:ft,smoothstep:ct,simplebezier:ot},bt={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},_t=(e,t,n)=>n===a.Ly.Left?e-t:n===a.Ly.Right?e+t:e,wt=(e,t,n)=>n===a.Ly.Top?e-t:n===a.Ly.Bottom?e+t:e,xt="react-flow__edgeupdater";function St({position:e,centerX:t,centerY:n,radius:i=10,onMouseDown:a,onMouseEnter:s,onMouseOut:c,type:l}){return(0,r.jsx)("circle",{onMouseDown:a,onMouseEnter:s,onMouseOut:c,className:o([xt,`${xt}-${l}`]),cx:_t(t,i,e),cy:wt(n,i,e),r:i,stroke:"transparent",fill:"transparent"})}function Et({isReconnectable:e,reconnectRadius:t,edge:n,sourceX:i,sourceY:o,targetX:s,targetY:c,sourcePosition:l,targetPosition:u,onReconnect:f,onReconnectStart:h,onReconnectEnd:d,setReconnecting:p,setUpdateHover:g}){const m=w(),v=(e,t)=>{if(0!==e.button)return;const{autoPanOnConnect:r,domNode:i,isValidConnection:o,connectionMode:s,connectionRadius:c,lib:l,onConnectStart:u,onConnectEnd:g,cancelConnection:v,nodeLookup:y,rfId:b,panBy:_,updateConnection:w}=m.getState(),x="target"===t.type;a.Ql.onPointerDown(e.nativeEvent,{autoPanOnConnect:r,connectionMode:s,connectionRadius:c,domNode:i,handleId:t.id,nodeId:t.nodeId,nodeLookup:y,isTarget:x,edgeUpdaterType:t.type,lib:l,flowId:b,cancelConnection:v,panBy:_,isValidConnection:o,onConnect:e=>f?.(n,e),onConnectStart:(r,i)=>{p(!0),h?.(e,n,t.type),u?.(r,i)},onConnectEnd:g,onReconnectEnd:(e,r)=>{p(!1),d?.(e,n,t.type,r)},updateConnection:w,getTransform:()=>m.getState().transform,getFromHandle:()=>m.getState().connection.fromHandle,dragThreshold:m.getState().connectionDragThreshold})},y=()=>g(!0),b=()=>g(!1);return(0,r.jsxs)(r.Fragment,{children:[(!0===e||"source"===e)&&(0,r.jsx)(St,{position:l,centerX:i,centerY:o,radius:t,onMouseDown:e=>v(e,{nodeId:n.target,id:n.targetHandle??null,type:"target"}),onMouseEnter:y,onMouseOut:b,type:"source"}),(!0===e||"target"===e)&&(0,r.jsx)(St,{position:u,centerX:s,centerY:c,radius:t,onMouseDown:e=>v(e,{nodeId:n.source,id:n.sourceHandle??null,type:"source"}),onMouseEnter:y,onMouseOut:b,type:"target"})]})}function kt({id:e,edgesFocusable:t,edgesReconnectable:n,elementsSelectable:s,onClick:c,onDoubleClick:l,onContextMenu:u,onMouseEnter:f,onMouseMove:h,onMouseLeave:d,reconnectRadius:p,onReconnect:m,onReconnectStart:v,onReconnectEnd:y,rfId:b,edgeTypes:x,noPanClassName:S,onError:E,disableKeyboardA11y:O}){let C=_((t=>t.edgeLookup.get(e)));const A=_((e=>e.defaultEdgeOptions));C=A?{...A,...C}:C;let T=C.type||"default",P=x?.[T]||yt[T];void 0===P&&(E?.("011",a.Qj.error011(T)),T="default",P=x?.default||yt.default);const D=!!(C.focusable||t&&void 0===C.focusable),M=void 0!==m&&(C.reconnectable||n&&void 0===C.reconnectable),R=!!(C.selectable||s&&void 0===C.selectable),j=(0,i.useRef)(null),[N,L]=(0,i.useState)(!1),[I,B]=(0,i.useState)(!1),F=w(),{zIndex:z,sourceX:U,sourceY:H,targetX:q,targetY:$,sourcePosition:W,targetPosition:V}=_((0,i.useCallback)((t=>{const n=t.nodeLookup.get(C.source),r=t.nodeLookup.get(C.target);if(!n||!r)return{zIndex:C.zIndex,...bt};const i=(0,a.JU)({id:e,sourceNode:n,targetNode:r,sourceHandle:C.sourceHandle||null,targetHandle:C.targetHandle||null,connectionMode:t.connectionMode,onError:E});return{zIndex:(0,a.xx)({selected:C.selected,zIndex:C.zIndex,sourceNode:n,targetNode:r,elevateOnSelect:t.elevateEdgesOnSelect}),...i||bt}}),[C.source,C.target,C.sourceHandle,C.targetHandle,C.selected,C.zIndex]),g),K=(0,i.useMemo)((()=>C.markerStart?`url('#${(0,a.dW)(C.markerStart,b)}')`:void 0),[C.markerStart,b]),G=(0,i.useMemo)((()=>C.markerEnd?`url('#${(0,a.dW)(C.markerEnd,b)}')`:void 0),[C.markerEnd,b]);if(C.hidden||null===U||null===H||null===q||null===$)return null;const Z=l?e=>{l(e,{...C})}:void 0,Y=u?e=>{u(e,{...C})}:void 0,X=f?e=>{f(e,{...C})}:void 0,Q=h?e=>{h(e,{...C})}:void 0,J=d?e=>{d(e,{...C})}:void 0;return(0,r.jsx)("svg",{style:{zIndex:z},children:(0,r.jsxs)("g",{className:o(["react-flow__edge",`react-flow__edge-${T}`,C.className,S,{selected:C.selected,animated:C.animated,inactive:!R&&!c,updating:N,selectable:R}]),onClick:t=>{const{addSelectedEdges:n,unselectNodesAndEdges:r,multiSelectionActive:i}=F.getState();R&&(F.setState({nodesSelectionActive:!1}),C.selected&&i?(r({nodes:[],edges:[C]}),j.current?.blur()):n([e])),c&&c(t,C)},onDoubleClick:Z,onContextMenu:Y,onMouseEnter:X,onMouseMove:Q,onMouseLeave:J,onKeyDown:D?t=>{if(!O&&a.wQ.includes(t.key)&&R){const{unselectNodesAndEdges:n,addSelectedEdges:r}=F.getState();"Escape"===t.key?(j.current?.blur(),n({edges:[C]})):r([e])}}:void 0,tabIndex:D?0:void 0,role:C.ariaRole??(D?"group":"img"),"aria-roledescription":"edge","data-id":e,"data-testid":`rf__edge-${e}`,"aria-label":null===C.ariaLabel?void 0:C.ariaLabel||`Edge from ${C.source} to ${C.target}`,"aria-describedby":D?`${k}-${b}`:void 0,ref:j,...C.domAttributes,children:[!I&&(0,r.jsx)(P,{id:e,source:C.source,target:C.target,type:C.type,selected:C.selected,animated:C.animated,selectable:R,deletable:C.deletable??!0,label:C.label,labelStyle:C.labelStyle,labelShowBg:C.labelShowBg,labelBgStyle:C.labelBgStyle,labelBgPadding:C.labelBgPadding,labelBgBorderRadius:C.labelBgBorderRadius,sourceX:U,sourceY:H,targetX:q,targetY:$,sourcePosition:W,targetPosition:V,data:C.data,style:C.style,sourceHandleId:C.sourceHandle,targetHandleId:C.targetHandle,markerStart:K,markerEnd:G,pathOptions:"pathOptions"in C?C.pathOptions:void 0,interactionWidth:C.interactionWidth}),M&&(0,r.jsx)(Et,{edge:C,isReconnectable:M,reconnectRadius:p,onReconnect:m,onReconnectStart:v,onReconnectEnd:y,sourceX:U,sourceY:H,targetX:q,targetY:$,sourcePosition:W,targetPosition:V,setUpdateHover:L,setReconnecting:B})]})})}const Ot=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e.edgesReconnectable,elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e.onError});function Ct({defaultMarkerColor:e,onlyRenderVisibleElements:t,rfId:n,edgeTypes:o,noPanClassName:s,onReconnect:c,onEdgeContextMenu:l,onEdgeMouseEnter:u,onEdgeMouseMove:f,onEdgeMouseLeave:h,onEdgeClick:d,reconnectRadius:p,onEdgeDoubleClick:m,onReconnectStart:v,onReconnectEnd:y,disableKeyboardA11y:b}){const{edgesFocusable:w,edgesReconnectable:x,elementsSelectable:S,onError:E}=_(Ot,g),k=(O=t,_((0,i.useCallback)((e=>{if(!O)return e.edges.map((e=>e.id));const t=[];if(e.width&&e.height)for(const n of e.edges){const r=e.nodeLookup.get(n.source),i=e.nodeLookup.get(n.target);r&&i&&(0,a.RY)({sourceNode:r,targetNode:i,width:e.width,height:e.height,transform:e.transform})&&t.push(n.id)}return t}),[O]),g));var O;return(0,r.jsxs)("div",{className:"react-flow__edges",children:[(0,r.jsx)(Xe,{defaultColor:e,rfId:n}),k.map((e=>(0,r.jsx)(kt,{id:e,edgesFocusable:w,edgesReconnectable:x,elementsSelectable:S,noPanClassName:s,onReconnect:c,onContextMenu:l,onMouseEnter:u,onMouseMove:f,onMouseLeave:h,onClick:d,reconnectRadius:p,onDoubleClick:m,onReconnectStart:v,onReconnectEnd:y,rfId:n,onError:E,edgeTypes:o,disableKeyboardA11y:b},e)))]})}Ct.displayName="EdgeRenderer";const At=(0,i.memo)(Ct),Tt=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function Pt({children:e}){const t=_(Tt);return(0,r.jsx)("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:t},children:e})}const Dt=e=>e.panZoom?.syncViewport;function Mt(e){return e.connection.inProgress?{...e.connection,to:(0,a.m)(e.connection.to,e.transform)}:{...e.connection}}function Rt(e){const t=function(e){if(e)return t=>{const n=Mt(t);return e(n)};return Mt}(e);return _(t,g)}const jt=e=>({nodesConnectable:e.nodesConnectable,isValid:e.connection.isValid,inProgress:e.connection.inProgress,width:e.width,height:e.height});function Nt({containerStyle:e,style:t,type:n,component:i}){const{nodesConnectable:s,width:c,height:l,isValid:u,inProgress:f}=_(jt,g);return!!(c&&s&&f)?(0,r.jsx)("svg",{style:e,width:c,height:l,className:"react-flow__connectionline react-flow__container",children:(0,r.jsx)("g",{className:o(["react-flow__connection",(0,a.Zp)(u)]),children:(0,r.jsx)(Lt,{style:t,type:n,CustomComponent:i,isValid:u})})}):null}const Lt=({style:e,type:t=a.t8.Bezier,CustomComponent:n,isValid:i})=>{const{inProgress:o,from:s,fromNode:c,fromHandle:l,fromPosition:u,to:f,toNode:h,toHandle:d,toPosition:p}=Rt();if(!o)return;if(n)return(0,r.jsx)(n,{connectionLineType:t,connectionLineStyle:e,fromNode:c,fromHandle:l,fromX:s.x,fromY:s.y,toX:f.x,toY:f.y,fromPosition:u,toPosition:p,connectionStatus:(0,a.Zp)(i),toNode:h,toHandle:d});let g="";const m={sourceX:s.x,sourceY:s.y,sourcePosition:u,targetX:f.x,targetY:f.y,targetPosition:p};switch(t){case a.t8.Bezier:[g]=(0,a.OQ)(m);break;case a.t8.SimpleBezier:[g]=nt(m);break;case a.t8.Step:[g]=(0,a.OW)({...m,borderRadius:0});break;case a.t8.SmoothStep:[g]=(0,a.OW)(m);break;default:[g]=(0,a.Hm)(m)}return(0,r.jsx)("path",{d:g,fill:"none",className:"react-flow__connection-path",style:e})};Lt.displayName="ConnectionLine";const It={};function Bt(e=It){(0,i.useRef)(e),w();(0,i.useEffect)((()=>{0}),[e])}function Ft({nodeTypes:e,edgeTypes:t,onInit:n,onNodeClick:o,onEdgeClick:a,onNodeDoubleClick:s,onEdgeDoubleClick:c,onNodeMouseEnter:l,onNodeMouseMove:u,onNodeMouseLeave:f,onNodeContextMenu:h,onSelectionContextMenu:d,onSelectionStart:p,onSelectionEnd:g,connectionLineType:m,connectionLineStyle:v,connectionLineComponent:y,connectionLineContainerStyle:b,selectionKeyCode:x,selectionOnDrag:S,selectionMode:E,multiSelectionKeyCode:k,panActivationKeyCode:O,zoomActivationKeyCode:C,deleteKeyCode:A,onlyRenderVisibleElements:T,elementsSelectable:P,defaultViewport:D,translateExtent:M,minZoom:R,maxZoom:j,preventScrolling:N,defaultMarkerColor:L,zoomOnScroll:I,zoomOnPinch:B,panOnScroll:F,panOnScrollSpeed:z,panOnScrollMode:U,zoomOnDoubleClick:H,panOnDrag:q,onPaneClick:$,onPaneMouseEnter:W,onPaneMouseMove:V,onPaneMouseLeave:K,onPaneScroll:G,onPaneContextMenu:Z,paneClickDistance:Y,nodeClickDistance:X,onEdgeContextMenu:Q,onEdgeMouseEnter:J,onEdgeMouseMove:ee,onEdgeMouseLeave:te,reconnectRadius:ne,onReconnect:re,onReconnectStart:ie,onReconnectEnd:oe,noDragClassName:ae,noWheelClassName:se,noPanClassName:ce,disableKeyboardA11y:le,nodeExtent:ue,rfId:fe,viewport:he,onViewportChange:pe}){return Bt(e),Bt(t),w(),(0,i.useRef)(!1),(0,i.useEffect)((()=>{}),[]),function(e){const t=de(),n=(0,i.useRef)(!1);(0,i.useEffect)((()=>{!n.current&&t.viewportInitialized&&e&&(setTimeout((()=>e(t)),1),n.current=!0)}
2),[e,t.viewportInitialized])}(n),function(e){const t=_(Dt),n=w();(0,i.useEffect)((()=>{e&&(t?.(e),n.setState({transform:[e.x,e.y,e.zoom]}))}),[e,t])}(he),(0,r.jsx)(Ue,{onPaneClick:$,onPaneMouseEnter:W,onPaneMouseMove:V,onPaneMouseLeave:K,onPaneContextMenu:Z,onPaneScroll:G,paneClickDistance:Y,deleteKeyCode:A,selectionKeyCode:x,selectionOnDrag:S,selectionMode:E,onSelectionStart:p,onSelectionEnd:g,multiSelectionKeyCode:k,panActivationKeyCode:O,zoomActivationKeyCode:C,elementsSelectable:P,zoomOnScroll:I,zoomOnPinch:B,zoomOnDoubleClick:H,panOnScroll:F,panOnScrollSpeed:z,panOnScrollMode:U,panOnDrag:q,defaultViewport:D,translateExtent:M,minZoom:R,maxZoom:j,onSelectionContextMenu:d,preventScrolling:N,noDragClassName:ae,noWheelClassName:se,noPanClassName:ce,disableKeyboardA11y:le,onViewportChange:pe,isControlledViewport:!!he,children:(0,r.jsxs)(Pt,{children:[(0,r.jsx)(At,{edgeTypes:t,onEdgeClick:a,onEdgeDoubleClick:c,onReconnect:re,onReconnectStart:ie,onReconnectEnd:oe,onlyRenderVisibleElements:T,onEdgeContextMenu:Q,onEdgeMouseEnter:J,onEdgeMouseMove:ee,onEdgeMouseLeave:te,reconnectRadius:ne,defaultMarkerColor:L,noPanClassName:ce,disableKeyboardA11y:le,rfId:fe}),(0,r.jsx)(Nt,{style:v,type:m,component:y,containerStyle:b}),(0,r.jsx)("div",{className:"react-flow__edgelabel-renderer"}),(0,r.jsx)(Ke,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:s,onNodeMouseEnter:l,onNodeMouseMove:u,onNodeMouseLeave:f,onNodeContextMenu:h,nodeClickDistance:X,onlyRenderVisibleElements:T,noPanClassName:ce,noDragClassName:ae,disableKeyboardA11y:le,nodeExtent:ue,rfId:fe}),(0,r.jsx)("div",{className:"react-flow__viewport-portal"})]})})}Ft.displayName="GraphView";const zt=(0,i.memo)(Ft),Ut=({nodes:e,edges:t,defaultNodes:n,defaultEdges:r,width:i,height:o,fitView:s,fitViewOptions:c,minZoom:l=.5,maxZoom:u=2,nodeOrigin:f,nodeExtent:h}={})=>{const d=new Map,p=new Map,g=new Map,m=new Map,v=r??t??[],y=n??e??[],b=f??[0,0],_=h??a.k5;(0,a.be)(g,m,v);const w=(0,a.yF)(y,d,p,{nodeOrigin:b,nodeExtent:_,elevateNodesOnSelect:!1});let x=[0,0,1];if(s&&i&&o){const e=(0,a.W0)(d,{filter:e=>!(!e.width&&!e.initialWidth||!e.height&&!e.initialHeight)}),{x:t,y:n,zoom:r}=(0,a.$i)(e,i,o,l,u,c?.padding??.1);x=[t,n,r]}return{rfId:"1",width:0,height:0,transform:x,nodes:y,nodesInitialized:w,nodeLookup:d,parentLookup:p,edges:v,edgeLookup:m,connectionLookup:g,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:void 0!==n,hasDefaultEdges:void 0!==r,panZoom:null,minZoom:l,maxZoom:u,translateExtent:a.k5,nodeExtent:_,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:a.jD.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:b,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!1,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:s??!1,fitViewOptions:c,fitViewResolver:null,connection:{...a.Ky},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:a.Ki,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:a.Z}},Ht=({nodes:e,edges:t,defaultNodes:n,defaultEdges:r,width:i,height:o,fitView:s,fitViewOptions:c,minZoom:l,maxZoom:u,nodeOrigin:f,nodeExtent:h})=>{return d=(d,p)=>{async function g(){const{nodeLookup:e,panZoom:t,fitViewOptions:n,fitViewResolver:r,width:i,height:o,minZoom:s,maxZoom:c}=p();t&&(await(0,a.Eg)({nodes:e,width:i,height:o,panZoom:t,minZoom:s,maxZoom:c},n),r?.resolve(!0),d({fitViewResolver:null}))}return{...Ut({nodes:e,edges:t,width:i,height:o,fitView:s,fitViewOptions:c,minZoom:l,maxZoom:u,nodeOrigin:f,nodeExtent:h,defaultNodes:n,defaultEdges:r}),setNodes:e=>{const{nodeLookup:t,parentLookup:n,nodeOrigin:r,elevateNodesOnSelect:i,fitViewQueued:o}=p(),s=(0,a.yF)(e,t,n,{nodeOrigin:r,nodeExtent:h,elevateNodesOnSelect:i,checkEquality:!0});o&&s?(g(),d({nodes:e,nodesInitialized:s,fitViewQueued:!1,fitViewOptions:void 0})):d({nodes:e,nodesInitialized:s})},setEdges:e=>{const{connectionLookup:t,edgeLookup:n}=p();(0,a.be)(t,n,e),d({edges:e})},setDefaultNodesAndEdges:(e,t)=>{if(e){const{setNodes:t}=p();t(e),d({hasDefaultNodes:!0})}if(t){const{setEdges:e}=p();e(t),d({hasDefaultEdges:!0})}},updateNodeInternals:e=>{const{triggerNodeChanges:t,nodeLookup:n,parentLookup:r,domNode:i,nodeOrigin:o,nodeExtent:s,debug:c,fitViewQueued:l}=p(),{changes:u,updatedInternals:f}=(0,a.B1)(e,n,r,i,o,s);f&&((0,a.VV)(n,r,{nodeOrigin:o,nodeExtent:s}),l?(g(),d({fitViewQueued:!1,fitViewOptions:void 0})):d({}),u?.length>0&&(c&&console.log("React Flow: trigger node changes",u),t?.(u)))},updateNodePositions:(e,t=!1)=>{const n=[],r=[],{nodeLookup:i,triggerNodeChanges:o}=p();for(const[o,a]of e){const e=i.get(o),s=!!(e?.expandParent&&e?.parentId&&a?.position),c={id:o,type:"position",position:s?{x:Math.max(0,a.position.x),y:Math.max(0,a.position.y)}:a.position,dragging:t};s&&e.parentId&&n.push({id:o,parentId:e.parentId,rect:{...a.internals.positionAbsolute,width:a.measured.width??0,height:a.measured.height??0}}),r.push(c)}if(n.length>0){const{parentLookup:e,nodeOrigin:t}=p(),o=(0,a.so)(n,i,e,t);r.push(...o)}o(r)},triggerNodeChanges:e=>{const{onNodesChange:t,setNodes:n,nodes:r,hasDefaultNodes:i,debug:o}=p();e?.length&&(i&&n(J(e,r)),o&&console.log("React Flow: trigger node changes",e),t?.(e))},triggerEdgeChanges:e=>{const{onEdgesChange:t,setEdges:n,edges:r,hasDefaultEdges:i,debug:o}=p();e?.length&&(i&&n(ee(e,r)),o&&console.log("React Flow: trigger edge changes",e),t?.(e))},addSelectedNodes:e=>{const{multiSelectionActive:t,edgeLookup:n,nodeLookup:r,triggerNodeChanges:i,triggerEdgeChanges:o}=p();t?i(e.map((e=>te(e,!0)))):(i(ne(r,new Set([...e]),!0)),o(ne(n)))},addSelectedEdges:e=>{const{multiSelectionActive:t,edgeLookup:n,nodeLookup:r,triggerNodeChanges:i,triggerEdgeChanges:o}=p();t?o(e.map((e=>
2te(e,!0)))):(o(ne(n,new Set([...e]))),i(ne(r,new Set,!0)))},unselectNodesAndEdges:({nodes:e,edges:t}={})=>{const{edges:n,nodes:r,nodeLookup:i,triggerNodeChanges:o,triggerEdgeChanges:a}=p(),s=t||n,c=(e||r).map((e=>{const t=i.get(e.id);return t&&(t.selected=!1),te(e.id,!1)})),l=s.map((e=>te(e.id,!1)));o(c),a(l)},setMinZoom:e=>{const{panZoom:t,maxZoom:n}=p();t?.setScaleExtent([e,n]),d({minZoom:e})},setMaxZoom:e=>{const{panZoom:t,minZoom:n}=p();t?.setScaleExtent([n,e]),d({maxZoom:e})},setTranslateExtent:e=>{p().panZoom?.setTranslateExtent(e),d({translateExtent:e})},setPaneClickDistance:e=>{p().panZoom?.setClickDistance(e)},resetSelectedElements:()=>{const{edges:e,nodes:t,triggerNodeChanges:n,triggerEdgeChanges:r,elementsSelectable:i}=p();if(!i)return;const o=t.reduce(((e,t)=>t.selected?[...e,te(t.id,!1)]:e),[]),a=e.reduce(((e,t)=>t.selected?[...e,te(t.id,!1)]:e),[]);n(o),r(a)},setNodeExtent:e=>{const{nodes:t,nodeLookup:n,parentLookup:r,nodeOrigin:i,elevateNodesOnSelect:o,nodeExtent:s}=p();e[0][0]===s[0][0]&&e[0][1]===s[0][1]&&e[1][0]===s[1][0]&&e[1][1]===s[1][1]||((0,a.yF)(t,n,r,{nodeOrigin:i,nodeExtent:e,elevateNodesOnSelect:o,checkEquality:!1}),d({nodeExtent:e}))},panBy:e=>{const{transform:t,width:n,height:r,panZoom:i,translateExtent:o}=p();return(0,a.hO)({delta:e,panZoom:i,transform:t,translateExtent:o,width:n,height:r})},setCenter:async(e,t,n)=>{const{width:r,height:i,maxZoom:o,panZoom:a}=p();if(!a)return Promise.resolve(!1);const s=void 0!==n?.zoom?n.zoom:o;return await a.setViewport({x:r/2-e*s,y:i/2-t*s,zoom:s},{duration:n?.duration,ease:n?.ease,interpolate:n?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{d({connection:{...a.Ky}})},updateConnection:e=>{d({connection:e})},reset:()=>d({...Ut()})}},g=Object.is,d?p(d,g):p;var d,g};function qt({initialNodes:e,initialEdges:t,defaultNodes:n,defaultEdges:o,initialWidth:a,initialHeight:s,initialMinZoom:c,initialMaxZoom:l,initialFitViewOptions:u,fitView:f,nodeOrigin:h,nodeExtent:d,children:p}){const[g]=(0,i.useState)((()=>Ht({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,width:a,height:s,fitView:f,minZoom:c,maxZoom:l,fitViewOptions:u,nodeOrigin:h,nodeExtent:d})));return(0,r.jsx)(y,{value:g,children:(0,r.jsx)(fe,{children:p})})}function $t({children:e,nodes:t,edges:n,defaultNodes:o,defaultEdges:a,width:s,height:c,fitView:l,fitViewOptions:u,minZoom:f,maxZoom:h,nodeOrigin:d,nodeExtent:p}){return(0,i.useContext)(v)?(0,r.jsx)(r.Fragment,{children:e}):(0,r.jsx)(qt,{initialNodes:t,initialEdges:n,defaultNodes:o,defaultEdges:a,initialWidth:s,initialHeight:c,fitView:l,initialFitViewOptions:u,initialMinZoom:f,initialMaxZoom:h,nodeOrigin:d,nodeExtent:p,children:e})}const Wt={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};var Vt=se((function({nodes:e,edges:t,defaultNodes:n,defaultEdges:s,className:c,nodeTypes:l,edgeTypes:u,onNodeClick:f,onEdgeClick:h,onInit:d,onMove:p,onMoveStart:g,onMoveEnd:m,onConnect:v,onConnectStart:y,onConnectEnd:b,onClickConnectStart:_,onClickConnectEnd:w,onNodeMouseEnter:x,onNodeMouseMove:S,onNodeMouseLeave:E,onNodeContextMenu:k,onNodeDoubleClick:O,onNodeDragStart:C,onNodeDrag:A,onNodeDragStop:T,onNodesDelete:D,onEdgesDelete:R,onDelete:j,onSelectionChange:N,onSelectionDragStart:L,onSelectionDrag:I,onSelectionDragStop:U,onSelectionContextMenu:H,onSelectionStart:q,onSelectionEnd:V,onBeforeDelete:K,connectionMode:G,connectionLineType:Z=a.t8.Bezier,connectionLineStyle:Y,connectionLineComponent:X,connectionLineContainerStyle:Q,deleteKeyCode:J="Backspace",selectionKeyCode:ee="Shift",selectionOnDrag:te=!1,selectionMode:ne=a.oW.Full,panActivationKeyCode:re="Space",multiSelectionKeyCode:ie=((0,a.Q5)()?"Meta":"Control"),zoomActivationKeyCode:oe=((0,a.Q5)()?"Meta":"Control"),snapToGri
2d:ae,snapGrid:se,onlyRenderVisibleElements:ce=!1,selectNodesOnDrag:le,nodesDraggable:ue,autoPanOnNodeFocus:fe,nodesConnectable:he,nodesFocusable:de,nodeOrigin:pe=F,edgesFocusable:ge,edgesReconnectable:me,elementsSelectable:ve=!0,defaultViewport:ye=z,minZoom:be=.5,maxZoom:_e=2,translateExtent:we=a.k5,preventScrolling:xe=!0,nodeExtent:Se,defaultMarkerColor:Ee="#b1b1b7",zoomOnScroll:ke=!0,zoomOnPinch:Oe=!0,panOnScroll:Ce=!1,panOnScrollSpeed:Ae=.5,panOnScrollMode:Te=a.IY.Free,zoomOnDoubleClick:Pe=!0,panOnDrag:De=!0,onPaneClick:Me,onPaneMouseEnter:Re,onPaneMouseMove:je,onPaneMouseLeave:Ne,onPaneScroll:Le,onPaneContextMenu:Ie,paneClickDistance:Be=0,nodeClickDistance:Fe=0,children:ze,onReconnect:Ue,onReconnectStart:He,onReconnectEnd:qe,onEdgeContextMenu:$e,onEdgeDoubleClick:We,onEdgeMouseEnter:Ve,onEdgeMouseMove:Ke,onEdgeMouseLeave:Ge,reconnectRadius:Ze=10,onNodesChange:Ye,onEdgesChange:Xe,noDragClassName:Qe="nodrag",noWheelClassName:Je="nowheel",noPanClassName:et="nopan",fitView:tt,fitViewOptions:nt,connectOnClick:rt,attributionPosition:it,proOptions:ot,defaultEdgeOptions:at,elevateNodesOnSelect:st,elevateEdgesOnSelect:ct,disableKeyboardA11y:lt=!1,autoPanOnConnect:ut,autoPanOnNodeDrag:ft,autoPanSpeed:ht,connectionRadius:dt,isValidConnection:pt,onError:gt,style:mt,id:vt,nodeDragThreshold:yt,connectionDragThreshold:bt,viewport:_t,onViewportChange:wt,width:xt,height:St,colorMode:Et="light",debug:kt,onScroll:Ot,ariaLabelConfig:Ct,...At},Tt){const Pt=vt||"1",Dt=function(e){const[t,n]=(0,i.useState)("system"===e?null:e);return(0,i.useEffect)((()=>{if("system"!==e)return void n(e);const t=W(),r=()=>n(t?.matches?"dark":"light");return r(),t?.addEventListener("change",r),()=>{t?.removeEventListener("change",r)}}),[e]),null!==t?t:W()?.matches?"dark":"light"}(Et),Mt=(0,i.useCallback)((e=>{e.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),Ot?.(e)}),[Ot]);return(0,r.jsx)("div",{"data-testid":"rf__wrapper",...At,onScroll:Mt,style:{...mt,...Wt},ref:Tt,className:o(["react-flow",c,Dt]),id:vt,role:"application",children:(0,r.jsxs)($t,{nodes:e,edges:t,width:xt,height:St,fitView:tt,fitViewOptions:nt,minZoom:be,maxZoom:_e,nodeOrigin:pe,nodeExtent:Se,children:[(0,r.jsx)(zt,{onInit:d,onNodeClick:f,onEdgeClick:h,onNodeMouseEnter:x,onNodeMouseMove:S,onNodeMouseLeave:E,onNodeContextMenu:k,onNodeDoubleClick:O,nodeTypes:l,edgeTypes:u,connectionLineType:Z,connectionLineStyle:Y,connectionLineComponent:X,connectionLineContainerStyle:Q,selectionKeyCode:ee,selectionOnDrag:te,selectionMode:ne,deleteKeyCode:J,multiSelectionKeyCode:ie,panActivationKeyCode:re,zoomActivationKeyCode:oe,onlyRenderVisibleElements:ce,defaultViewport:ye,translateExtent:we,minZoom:be,maxZoom:_e,preventScrolling:xe,zoomOnScroll:ke,zoomOnPinch:Oe,zoomOnDoubleClick:Pe,panOnScroll:Ce,panOnScrollSpeed:Ae,panOnScrollMode:Te,panOnDrag:De,onPaneClick:Me,onPaneMouseEnter:Re,onPaneMouseMove:je,onPaneMouseLeave:Ne,onPaneScroll:Le,onPaneContextMenu:Ie,paneClickDistance:Be,nodeClickDistance:Fe,onSelectionContextMenu:H,onSelectionStart:q,onSelectionEnd:V,onReconnect:Ue,onReconnectStart:He,onReconnectEnd:qe,onEdgeContextMenu:$e,onEdgeDoubleClick:We,onEdgeMouseEnter:Ve,onEdgeMouseMove:Ke,onEdgeMouseLeave:Ge,reconnectRadius:Ze,defaultMarkerColor:Ee,noDragClassName:Qe,noWheelClassName:Je,noPanClassName:et,rfId:Pt,disableKeyboardA11y:lt,nodeExtent:Se,viewport:_t,onViewportChange:wt}),(0,r.jsx)($,{nodes:e,edges:t,defaultNodes:n,defaultEdges:s,onConnect:v,onConnectStart:y,onConnectEnd:b,onClickConnectStart:_,onClickConnectEnd:w,nodesDraggable:ue,autoPanOnNodeFocus:fe,nodesConnectable:he,nodesFocusable:de,edgesFocusable:ge,edgesReconnectable:me,elementsSelectable:ve,elevateNodesOnSelect:st,elevateEdgesOnSelect:ct,minZoom:be,maxZoom:_e,nodeExtent:Se,onNodesChange:Ye,onEdgesChange:Xe,snapToGrid:ae,snapGrid:se,connectionMode:G,translateExtent:we,connectOnClick:rt,defaultEdgeOptions:at,fitView:tt,fitViewOptions:nt,onNodesDelete:D,onEdgesDelete:R,onDelete:j,onNodeDragStart:C,onNodeDrag:A,onNodeDragStop:T,onSelectionDrag:I,onSelectionDragStart:L,onSelectionDragStop:U,onMove:p,onMoveStart:g,onMoveEnd:m,noPanClassName:et,nodeOrigin:pe,rfId:Pt,autoPanOnConnect:ut,autoPanOnNodeDrag:ft,autoPanSpeed:ht,onError:gt,connectionRadius:dt,isValidConnection:pt,selectNodesOnDrag:le,nodeDragThreshold:yt,connectionDragThreshold:bt,onBeforeDelete:K,paneClickDistance:Be,debug:kt,ariaLabelConfig:Ct}),(0,r.jsx)(B,{onSelectionChange:N}),ze,(0,r.jsx)(M,{proOptions:ot,position:it}),(0,r.jsx)(P,{rfId:Pt,disableKeyboardA11y:lt})]})})}));const Kt=e=>e.domNode?.querySelector(".react-flow__edgelabel-renderer");function Gt({children:e}){const t=_(Kt);return t?(0,m.createPortal)(e,t):null}a.Qj.error014();function Zt({dimensions:e,lineWidth:t,variant:n,className:i}){return(0,r.jsx)("path",{strokeWidth:t,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`,className:o(["react-flow__background-pattern",n,i])})}function Yt({radius:e,className:t}){return(0,r.jsx)("circle",{cx:e,cy:e,r:e,className:o(["react-flow__background-pattern","dots",t])})}var Xt;!function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"}(Xt||(Xt={}));const Qt={[Xt.Dots]:1,[Xt.Lines]:1,[Xt.Cross]:6},Jt=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function en({id:e,variant:t=Xt.Dots,gap:n=20,size:a,lineWidth:s=1,offset:c=0,color:l,bgColor:u,style:f,className:h,patternClassName:d}){const p=(0,i.useRef)(null),{transform:m,patternId:v}=_(Jt,g),y=a||Qt[t],b=t===Xt.Dots,w=t===Xt.Cross,x=Array.isArray(n)?n:[n,n],S=[x[0]*m[2]||1,x[1]*m[2]||1],E=y*m[2],k=Array.isArray(c)?c:[c,c],O=w?[E,E]:S,C=[k[0]*m[2]||1+O[0]/2,k[1]*m[2]||1+O[1]/2],A=`${v}${e||""}`;return(0,r.jsxs)("svg",{className:o(["react-flow__background",h]),style:{...f,...me,"--xy-background-color-props":u,"--xy-background-pattern-color-props":l},ref:p,"data-testid":"rf__background",children:[(0,r.jsx)("pattern",{id:A,x:m[0]%S[0],y:m[1]%S[1],width:S[0],height:S[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${C[0]},-${C[1]})`,children:b?(0,r.jsx)(Yt,{radius:E/2,className:d}):(0,r.jsx)(Zt,{dimensions:O,lineWidth:s,variant:t,className:d})}),(0,r.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${A})`})]})}
2en.displayName="Background";const tn=(0,i.memo)(en);function nn(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,r.jsx)("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function rn(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:(0,r.jsx)("path",{d:"M0 0h32v4.2H0z"})})}function on(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:(0,r.jsx)("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function an(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:(0,r.jsx)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function sn(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:(0,r.jsx)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cn({children:e,className:t,...n}){return(0,r.jsx)("button",{type:"button",className:o(["react-flow__controls-button",t]),...n,children:e})}const ln=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom,ariaLabelConfig:e.ariaLabelConfig});function un({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:i=!0,fitViewOptions:a,onZoomIn:s,onZoomOut:c,onFitView:l,onInteractiveChange:u,className:f,children:h,position:d="bottom-left",orientation:p="vertical","aria-label":m}){const v=w(),{isInteractive:y,minZoomReached:b,maxZoomReached:x,ariaLabelConfig:S}=_(ln,g),{zoomIn:E,zoomOut:k,fitView:O}=de(),C="horizontal"===p?"horizontal":"vertical";return(0,r.jsxs)(D,{className:o(["react-flow__controls",C,f]),position:d,style:e,"data-testid":"rf__controls","aria-label":m??S["controls.ariaLabel"],children:[t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(cn,{onClick:()=>{E(),s?.()},className:"react-flow__controls-zoomin",title:S["controls.zoomIn.ariaLabel"],"aria-label":S["controls.zoomIn.ariaLabel"],disabled:x,children:(0,r.jsx)(nn,{})}),(0,r.jsx)(cn,{onClick:()=>{k(),c?.()},className:"react-flow__controls-zoomout",title:S["controls.zoomOut.ariaLabel"],"aria-label":S["controls.zoomOut.ariaLabel"],disabled:b,children:(0,r.jsx)(rn,{})})]}),n&&(0,r.jsx)(cn,{className:"react-flow__controls-fitview",onClick:()=>{O(a),l?.()},title:S["controls.fitView.ariaLabel"],"aria-label":S["controls.fitView.ariaLabel"],children:(0,r.jsx)(on,{})}),i&&(0,r.jsx)(cn,{className:"react-flow__controls-interactive",onClick:()=>{v.setState({nodesDraggable:!y,nodesConnectable:!y,elementsSelectable:!y}),u?.(!y)},title:S["controls.interactive.ariaLabel"],"aria-label":S["controls.interactive.ariaLabel"],children:y?(0,r.jsx)(sn,{}):(0,r.jsx)(an,{})}),h]})}un.displayName="Controls";const fn=(0,i.memo)(un);const hn=(0,i.memo)((function({id:e,x:t,y:n,width:i,height:a,style:s,color:c,strokeColor:l,strokeWidth:u,className:f,borderRadius:h,shapeRendering:d,selected:p,onClick:g}){const{background:m,backgroundColor:v}=s||{},y=c||m||v;return(0,r.jsx)("rect",{className:o(["react-flow__minimap-node",{selected:p},f]),x:t,y:n,rx:h,ry:h,width:i,height:a,style:{fill:y,stroke:l,strokeWidth:u},shapeRendering:d,onClick:g?t=>g(t,e):void 0})})),dn=e=>e.nodes.map((e=>e.id)),pn=e=>e instanceof Function?e:()=>e;const gn=(0,i.memo)((function({id:e,nodeColorFunc:t,nodeStrokeColorFunc:n,nodeClassNameFunc:i,nodeBorderRadius:o,nodeStrokeWidth:s,shapeRendering:c,NodeComponent:l,onClick:u}){const{node:f,x:h,y:d,width:p,height:m}=_((t=>{const{internals:n}=t.nodeLookup.get(e),r=n.userNode,{x:i,y:o}=n.positionAbsolute,{width:s,height:c}=(0,a.Rf)(r);return{node:r,x:i,y:o,width:s,height:c}}),g);return f&&!f.hidden&&(0,a.nb)(f)?(0,r.jsx)(l,{x:h,y:d,width:p,height:m,style:f.style,selected:!!f.selected,className:i(f),color:t(f),borderRadius:o,strokeColor:n(f),strokeWidth:s,shapeRendering:c,onClick:u,id:f.id}):null}));var mn=(0,i.memo)((function({nodeStrokeColor:e,nodeColor:t,nodeClassName:n="",nodeBorderRadius:i=5,nodeStrokeWidth:o,nodeComponent:a=hn,onClick:s}){const c=_(dn,g),l=pn(t),u=pn(e),f=pn(n),h="undefined"==typeof window||window.chrome?"crispEdges":"geometricPrecision";return(0,r.jsx)(r.Fragment,{children:c.map((e=>(0,r.jsx)(gn,{id:e,nodeColorFunc:l,nodeStrokeColorFunc:u,nodeClassNameFunc:f,no
2deBorderRadius:i,nodeStrokeWidth:o,NodeComponent:a,onClick:s,shapeRendering:h},e)))})}));const vn=200,yn=150,bn=e=>!e.hidden,_n=e=>{const t={x:-e.transform[0]/e.transform[2],y:-e.transform[1]/e.transform[2],width:e.width/e.transform[2],height:e.height/e.transform[2]};return{viewBB:t,boundingRect:e.nodeLookup.size>0?(0,a.oI)((0,a.W0)(e.nodeLookup,{filter:bn}),t):t,rfId:e.rfId,panZoom:e.panZoom,translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},wn="react-flow__minimap-desc";function xn({style:e,className:t,nodeStrokeColor:n,nodeColor:s,nodeClassName:c="",nodeBorderRadius:l=5,nodeStrokeWidth:u,nodeComponent:f,bgColor:h,maskColor:d,maskStrokeColor:p,maskStrokeWidth:m,position:v="bottom-right",onClick:y,onNodeClick:b,pannable:x=!1,zoomable:S=!1,ariaLabel:E,inversePan:k,zoomStep:O=10,offsetScale:C=5}){const A=w(),T=(0,i.useRef)(null),{boundingRect:P,viewBB:M,rfId:R,panZoom:j,translateExtent:N,flowWidth:L,flowHeight:I,ariaLabelConfig:B}=_(_n,g),F=e?.width??vn,z=e?.height??yn,U=P.width/F,H=P.height/z,q=Math.max(U,H),$=q*F,W=q*z,V=C*q,K=P.x-($-P.width)/2-V,G=P.y-(W-P.height)/2-V,Z=$+2*V,Y=W+2*V,X=`${wn}-${R}`,Q=(0,i.useRef)(0),J=(0,i.useRef)();Q.current=q,(0,i.useEffect)((()=>{if(T.current&&j)return J.current=(0,a.FD)({domNode:T.current,panZoom:j,getTransform:()=>A.getState().transform,getViewScale:()=>Q.current}),()=>{J.current?.destroy()}}),[j]),(0,i.useEffect)((()=>{J.current?.update({translateExtent:N,width:L,height:I,inversePan:k,pannable:x,zoomStep:O,zoomable:S})}),[x,S,k,O,N,L,I]);const ee=y?e=>{const[t,n]=J.current?.pointer(e)||[0,0];y(e,{x:t,y:n})}:void 0,te=b?(0,i.useCallback)(((e,t)=>{const n=A.getState().nodeLookup.get(t).internals.userNode;b(e,n)}),[]):void 0,ne=E??B["minimap.ariaLabel"];return(0,r.jsx)(D,{position:v,style:{...e,"--xy-minimap-background-color-props":"string"==typeof h?h:void 0,"--xy-minimap-mask-background-color-props":"string"==typeof d?d:void 0,"--xy-minimap-mask-stroke-color-props":"string"==typeof p?p:void 0,"--xy-minimap-mask-stroke-width-props":"number"==typeof m?m*q:void 0,"--xy-minimap-node-background-color-props":"string"==typeof s?s:void 0,"--xy-minimap-node-stroke-color-props":"string"==typeof n?n:void 0,"--xy-minimap-node-stroke-width-props":"number"==typeof u?u:void 0},className:o(["react-flow__minimap",t]),"data-testid":"rf__minimap",children:(0,r.jsxs)("svg",{width:F,height:z,viewBox:`${K} ${G} ${Z} ${Y}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":X,ref:T,onClick:ee,children:[ne&&(0,r.jsx)("title",{id:X,children:ne}),(0,r.jsx)(mn,{onClick:te,nodeColor:s,nodeStrokeColor:n,nodeBorderRadius:l,nodeClassName:c,nodeStrokeWidth:u,nodeComponent:f}),(0,r.jsx)("path",{className:"react-flow__minimap-mask",d:`M${K-V},${G-V}h${Z+2*V}v${Y+2*V}h${-Z-2*V}z\n M${M.x},${M.y}h${M.width}v${M.height}h${-M.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}xn.displayName="MiniMap";(0,i.memo)(xn);const Sn=e=>t=>e?`${Math.max(1/t.transform[2],1)}`:void 0,En={[a.pB.Line]:"right",[a.pB.Handle]:"bottom-right"};(0,i.memo)((function({nodeId:e,position:t,variant:n=a.pB.Handle,className:s,style:c,children:l,color:u,minWidth:f=10,minHeight:h=10,maxWidth:d=Number.MAX_VALUE,maxHeight:p=Number.MAX_VALUE,keepAspectRatio:m=!1,resizeDirection:v,autoScale:y=!0,shouldResize:b,onResizeStart:x,onResize:S,onResizeEnd:E}){const k=Pe(),O="string"==typeof e?e:k,C=w(),A=(0,i.useRef)(null),T=n===a.pB.Handle,P=_((0,i.useCallback)(Sn(T&&y),[T,y]),g),D=(0,i.useRef)(null),M=t??En[n];(0,i.useEffect)((()=>{if(A.current&&O)return D.current||(D.current=(0,a.Cz)({domNode:A.current,nodeId:O,getStoreItems:()=>
vendor: 5,782 bytes, line 2
2{const{nodeLookup:e,transform:t,snapGrid:n,snapToGrid:r,nodeOrigin:i,domNode:o}=C.getState();return{nodeLookup:e,transform:t,snapGrid:n,snapToGrid:r,nodeOrigin:i,paneDomNode:o}},onChange:(e,t)=>{const{triggerNodeChanges:n,nodeLookup:r,parentLookup:i,nodeOrigin:o}=C.getState(),s=[],c={x:e.x,y:e.y},l=r.get(O);if(l&&l.expandParent&&l.parentId){const t=l.origin??o,n=e.width??l.measured.width??0,u=e.height??l.measured.height??0,f={id:l.id,parentId:l.parentId,rect:{width:n,height:u,...(0,a.ZB)({x:e.x??l.position.x,y:e.y??l.position.y},{width:n,height:u},l.parentId,r,t)}},h=(0,a.so)([f],r,i,o);s.push(...h),c.x=e.x?Math.max(t[0]*n,e.x):void 0,c.y=e.y?Math.max(t[1]*u,e.y):void 0}if(void 0!==c.x&&void 0!==c.y){const e={id:O,type:"position",position:{...c}};s.push(e)}if(void 0!==e.width&&void 0!==e.height){const t={id:O,type:"dimensions",resizing:!0,setAttributes:!v||("horizontal"===v?"width":"height"),dimensions:{width:e.width,height:e.height}};s.push(t)}for(const e of t){const t={...e,type:"position"};s.push(t)}n(s)},onEnd:({width:e,height:t})=>{const n={id:O,type:"dimensions",resizing:!1,dimensions:{width:e,height:t}};C.getState().triggerNodeChanges([n])}})),D.current.update({controlPosition:M,boundaries:{minWidth:f,minHeight:h,maxWidth:d,maxHeight:p},keepAspectRatio:m,resizeDirection:v,onResizeStart:x,onResize:S,onResizeEnd:E,shouldResize:b}),()=>{D.current?.destroy()}}),[M,f,h,d,p,m,x,S,E,b]);const R=M.split("-");return(0,r.jsx)("div",{className:o(["react-flow__resize-control","nodrag",...R,n,s]),ref:A,style:{...c,scale:P,...u&&{[T?"backgroundColor":"borderColor"]:u}},children:l})}))},28239:function(e,t,n){"use strict";n.d(t,{t8:function(){return En},jD:function(){return _n},QZ:function(){return kn},IY:function(){return wn},Ly:function(){return On},pB:function(){return Ei},oW:function(){return xn},oC:function(){return ai},Ql:function(){return di},FD:function(){return pi},X6:function(){return Si},Cz:function(){return Mi},Z_:function(){return Mr},yF:function(){return Zr},OL:function(){return dr},q7:function(){return zn},n3:function(){return $r},Z:function(){return bn},Ki:function(){return nr},wQ:function(){return yn},Qj:function(){return mn},ZB:function(){return hr},Eg:function(){return Fn},lM:function(){return Er},OQ:function(){return Cr},oI:function(){return Qn},Zp:function(){return An},t_:function(){return vr},JU:function(){return Fr},WD:function(){return Un},xx:function(){return Tr},wv:function(){return xr},S2:function(){return yr},vG:function(){return Rn},W0:function(){return Ln},dW:function(){return qr},Rf:function(){return ur},RX:function(){return Nn},f5:function(){return In},xA:function(){return Mn},lp:function(){return Jn},OW:function(){return Ir},Hm:function(){return Rr},$i:function(){return sr},so:function(){return Qr},k5:function(){return vn},Ky:function(){return Sn},J3:function(){return Tn},RY:function(){return Pr},s$:function(){return _r},Q5:function(){return cr},N5:function(){return wr},Vt:function(){return Pn},kE:function(){return tr},J$:function(){return er},AL:function(){return gr},nb:function(){return fr},PS:function(){return Yn},hO:function(){return ei},m:function(){return ir},oj:function(){return or},_2:function(){return rr},VV:function(){return Gr},be:function(){return ni},B1:function(){return Jr},nu:function(){return pr}});var r={value:()=>{}};function i(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new o(r)}function o(e){this._=e}function a(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function s(e,t,n){for(var i=0,o=e.length;i<o;++i)if(e[i].name===t){e[i]=r,e=e.slice(0,i).concat(e.slice(i+1));break}return null!=n&&e.push({name:t,value:n}),e}o.prototype=i.prototype={constructor:o,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),c=-1,l=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++c<l;)if(n=(e=o[c]).type)i[n]=s(i[n],e.name,t);else if(null==t)for(n in i)i[n]=s(i[n],e.name,null);return this}for(;++c<l;)if((n=(e=o[c]).type)&&(n=a(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new o(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var c=i;function l(){}function u(e){return null==e?l:function(){return this.querySelector(e)}}function f(){return[]}function h(e){return null==e?f:function(){return this.querySelectorAll(e)}}function d(e){return function(){return null==(t=e.apply(this,arguments))?[]:Array.isArray(t)?t:Array.from(t);var t}}function p(e){return function(){return this.matches(e)}}function g(e){return function(t){return t.matches(e)}}var m=Array.prototype.find;function v(){return this.firstElementChild}var y=Array.prototype.filter;function b(){return Array.from(this.children)}function _(e){return new Array(e.length)}function w(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function x(e,t,n,r,i,o){for(var a,s=0,c=t.length,l=o.length;s<l;++s)(a=t[s])?(a.__data__=o[s],r[s]=a):n[s]=new w(e,o[s]);for(;s<c;++s)(a=t[s])&&(i[s]=a)}function S(e,t,n,r,i,o,a){var s,c,l,u=new Map,f=t.length,h=o.length,d=new Array(f);for(s=0;s<f;
vendor: 5,490 bytes, line 2
2++s)(c=t[s])&&(d[s]=l=a.call(c,c.__data__,s,t)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<h;++s)l=a.call(e,o[s],s,o)+"",(c=u.get(l))?(r[s]=c,c.__data__=o[s],u.delete(l)):n[s]=new w(e,o[s]);for(s=0;s<f;++s)(c=t[s])&&u.get(d[s])===c&&(i[s]=c)}function E(e){return e.__data__}function k(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function O(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}w.prototype={constructor:w,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var C="http://www.w3.org/1999/xhtml",A={svg:"http://www.w3.org/2000/svg",xhtml:C,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function T(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),A.hasOwnProperty(t)?{space:A[t],local:e}:e}function P(e){return function(){this.removeAttribute(e)}}function D(e){return function(){this.removeAttributeNS(e.space,e.local)}}function M(e,t){return function(){this.setAttribute(e,t)}}function R(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function j(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function N(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function L(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function I(e){return function(){this.style.removeProperty(e)}}function B(e,t,n){return function(){this.style.setProperty(e,t,n)}}function F(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function z(e,t){return e.style.getPropertyValue(t)||L(e).getComputedStyle(e,null).getPropertyValue(t)}function U(e){return function(){delete this[e]}}function H(e,t){return function(){this[e]=t}}function q(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function $(e){return e.trim().split(/^|\s+/)}function W(e){return e.classList||new V(e)}function V(e){this._node=e,this._names=$(e.getAttribute("class")||"")}function K(e,t){for(var n=W(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function G(e,t){for(var n=W(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function Z(e){return function(){K(this,e)}}function Y(e){return function(){G(this,e)}}function X(e,t){return function(){(t.apply(this,arguments)?K:G)(this,e)}}function Q(){this.textContent=""}function J(e){return function(){this.textContent=e}}function ee(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function te(){this.innerHTML=""}function ne(e){return function(){this.innerHTML=e}}function re(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function ie(){this.nextSibling&&this.parentNode.appendChild(this)}function oe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ae(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===C&&t.documentElement.namespaceURI===C?t.createElement(e):t.createElementNS(n,e)}}function se(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ce(e){var t=T(e);return(t.local?se:ae)(t)}function le(){return null}function ue(){var e=this.parentNode;e&&e.removeChild(this)}function fe(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function he(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function de(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function pe(e,t,n){return function(){var r,i=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function ge(e,t,n){var r=L(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function me(e,t){return function(){return ge(this,e,t)}}function ve(e,t){return function(){return ge(this,e,t.apply(this,arguments))}}V.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var ye=[null];function be(e,t){this._groups=e,this._parents=t}function _e(){return new be([[document.documentElement]],ye)}be.prototype=_e.prototype={constructor:be,select:function(e){"function"!=typeof e&&(e=u(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=t[i],c=s.length,l=r[i]=new Array(c),f=0;f<c;
vendor: 14,037 bytes, line 2
2++f)(o=s[f])&&(a=e.call(o,o.__data__,f,s))&&("__data__"in o&&(a.__data__=o.__data__),l[f]=a);return new be(r,this._parents)},selectAll:function(e){e="function"==typeof e?d(e):h(e);for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var a,s=t[o],c=s.length,l=0;l<c;++l)(a=s[l])&&(r.push(e.call(a,a.__data__,l,s)),i.push(a));return new be(r,i)},selectChild:function(e){return this.select(null==e?v:function(e){return function(){return m.call(this.children,e)}}("function"==typeof e?e:g(e)))},selectChildren:function(e){return this.selectAll(null==e?b:function(e){return function(){return y.call(this.children,e)}}("function"==typeof e?e:g(e)))},filter:function(e){"function"!=typeof e&&(e=p(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new be(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,E);var n,r=t?S:x,i=this._parents,o=this._groups;"function"!=typeof e&&(n=e,e=function(){return n});for(var a=o.length,s=new Array(a),c=new Array(a),l=new Array(a),u=0;u<a;++u){var f=i[u],h=o[u],d=h.length,p=k(e.call(f,f&&f.__data__,u,i)),g=p.length,m=c[u]=new Array(g),v=s[u]=new Array(g);r(f,h,m,v,l[u]=new Array(d),p,t);for(var y,b,_=0,w=0;_<g;++_)if(y=m[_]){for(_>=w&&(w=_+1);!(b=v[w])&&++w<g;);y._next=b||null}}return(s=new be(s,i))._enter=c,s._exit=l,s},enter:function(){return new be(this._enter||this._groups.map(_),this._parents)},exit:function(){return new be(this._exit||this._groups.map(_),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var l,u=n[c],f=r[c],h=u.length,d=s[c]=new Array(h),p=0;p<h;++p)(l=u[p]||f[p])&&(d[p]=l);for(;c<i;++c)s[c]=n[c];return new be(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=O);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,l=i[o]=new Array(c),u=0;u<c;++u)(a=s[u])&&(l[u]=a);l.sort(t)}return new be(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,s=o.length;a<s;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=T(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?D:P:"function"==typeof t?n.local?N:j:n.local?R:M)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?I:"function"==typeof t?F:B)(e,t,null==n?"":n)):z(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?U:"function"==typeof t?q:H)(e,t)):this.node()[e]},classed:function(e,t){var n=$(e+"");if(arguments.length<2){for(var r=W(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?X:t?Z:Y)(n,t))},text:function(e){return arguments.length?this.each(null==e?Q:("function"==typeof e?ee:J)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?te:("function"==typeof e?re:ne)(e)):this.node().innerHTML},raise:function(){return this.each(ie)},lower:function(){return this.each(oe)},append:function(e){var t="function"==typeof e?e:ce(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:ce(e),r=null==t?le:"function"==typeof t?t:u(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(ue)},clone:function(e){return this.select(e?he:fe)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),a=o.length;if(!(arguments.length<2)){for(s=t?pe:de,r=0;r<a;++r)this.each(s(o[r],t,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(e,t){return this.each(("function"==typeof t?ve:me)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var we=_e;function xe(e){return"string"==typeof e?new be([[document.querySelector(e)]],[document.documentElement]):new be([[e]],ye)}function Se(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}const Ee={passive:!1},ke={capture:!0,passive:!1};function Oe(e){e.stopImmediatePropagation()}function Ce(e){e.preventDefault(),e.stopImmediatePropagation()}function Ae(e){var t=e.document.documentElement,n=xe(e).on("dragstart.drag",Ce,ke);"onselectstart"in t?n.on("selectstart.drag",Ce,ke):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function Te(e,t){var n=e.document.documentElement,r=xe(e).on("dragstart.drag",null);t&&(r.on("click.drag",Ce,ke),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var Pe=e=>()=>e;function De(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:c,dy:l,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:u}})}function Me(e){return!e.ctrlKey&&!e.button}function Re(){return this.parentNode}function je(e,t){return null==t?{x:e.x,y:e.y}:t}function Ne(){return navigator.maxTouchPoints||"ontouchstart"in this}function Le(){var e,t,n,r,i=Me,o=Re,a=je,s=Ne,l={},u=c("start","drag","end"),f=0,h=0;function d(e){e.on("mousedown.drag",p).filter(s).on("touchstart.drag",v).on("touchmove.drag",y,Ee).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(a,s){if(!r&&i.call(this,a,s)){var c=_(this,o.call(this,a,s),a,s,"mouse");c&&(xe(a.view).on("mousemove.drag",g,ke).on("mouseup.drag",m,ke),Ae(a.view),Oe(a),n=!1,e=a.clientX,t=a.clientY,c("start",a))}}function g(r){if(Ce(r),!n){var i=r.clientX-e,o=r.clientY-t;n=i*i+o*o>h}l.mouse("drag",r)}function m(e){xe(e.view).on("mousemove.drag mouseup.drag",null),Te(e.view,n),Ce(e),l.mouse("end",e)}function v(e,t){if(i.call(this,e,t)){var n,r,a=e.changedTouches,s=o.call(this,e,t),c=a.length;for(n=0;n<c;++n)(r=_(this,s,e,t,a[n].identifier,a[n]))&&(Oe(e),r("start",e,a[n]))}}function y(e){var t,n,r=e.changedTouches,i=r.length;for(t=0;t<i;++t)(n=l[r[t].identifier])&&(Ce(e),n("drag",e,r[t]))}function b(e){var t,n,i=e.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<o;++t)(n=l[i[t].identifier])&&(Oe(e),n("end",e,i[t]))}function _(e,t,n,r,i,o){var s,c,h,p=u.copy(),g=Se(o||n,t);if(null!=(h=a.call(e,new De("beforestart",{sourceEvent:n,target:d,identifier:i,active:f,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return s=h.x-g[0]||0,c=h.y-g[1]||0,function n(o,a,u){var m,v=g;switch(o){case"start":l[i]=n,m=f++;break;case"end":delete l[i],--f;case"drag":g=Se(u||a,t),m=f}p.call(o,e,new De(o,{sourceEvent:a,subject:h,target:d,identifier:i,active:m,x:g[0]+s,y:g[1]+c,dx:g[0]-v[0],dy:g[1]-v[1],dispatch:p}),r)}}return d.filter=function(e){return arguments.length?(i="function"==typeof e?e:Pe(!!e),d):i},d.container=function(e){return arguments.length?(o="function"==typeof e?e:Pe(e),d):o},d.subject=function(e){return arguments.length?(a="function"==typeof e?e:Pe(e),d):a},d.touchable=function(e){return arguments.length?(s="function"==typeof e?e:Pe(!!e),d):s},d.on=function(){var e=u.on.apply(u,arguments);return e===u?d:e},d.clickDistance=function(e){return arguments.length?(h=(e=+e)*e,d):Math.sqrt(h)},d}De.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var Ie=1e-12;function Be(e){return((e=Math.exp(e))+1/e)/2}var Fe,ze,Ue=function e(t,n,r){function i(e,i){var o,a,s=e[0],c=e[1],l=e[2],u=i[0],f=i[1],h=i[2],d=u-s,p=f-c,g=d*d+p*p;if(g<Ie)a=Math.log(h/l)/t,o=function(e){return[s+e*d,c+e*p,l*Math.exp(t*e*a)]};else{var m=Math.sqrt(g),v=(h*h-l*l+r*g)/(2*l*n*m),y=(h*h-l*l-r*g)/(2*h*n*m),b=Math.log(Math.sqrt(v*v+1)-v),_=Math.log(Math.sqrt(y*y+1)-y);a=(_-b)/t,o=function(e){var r,i=e*a,o=Be(b),u=l/(n*m)*(o*(r=t*i+b,((r=Math.exp(2*r))-1)/(r+1))-function(e){return((e=Math.exp(e))-1/e)/2}(b));return[s+u*d,c+u*p,l*o/Be(t*i+b)]}}return o.duration=1e3*a*t/Math.SQRT2,o}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4),He=0,qe=0,$e=0,We=1e3,Ve=0,Ke=0,Ge=0,Ze="object"==typeof performance&&performance.now?performance:Date,Ye="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Xe(){return Ke||(Ye(Qe),Ke=Ze.now()+Ge)}function Qe(){Ke=0}function Je(){this._call=this._time=this._next=null}function et(e,t,n){var r=new Je;return r.restart(e,t,n),r}function tt(){Ke=(Ve=Ze.now())+Ge,He=qe=0;try{!function(){Xe(),++He;for(var e,t=Fe;t;)(e=Ke-t._time)>=0&&t._call.call(void 0,e),t=t._next;--He}()}finally{He=0,function(){var e,t,n=Fe,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Fe=t);ze=e,rt(r)}(),Ke=0}}function nt(){var e=Ze.now(),t=e-Ve;t>We&&(Ge-=t,Ve=e)}function rt(e){He||(qe&&(qe=clearTimeout(qe)),e-Ke>24?(e<1/0&&(qe=setTimeout(tt,e-Ze.now()-Ge)),$e&&($e=clearInterval($e))):($e||(Ve=Ze.now(),$e=setInterval(nt,We)),He=1,Ye(tt)))}function it(e,t,n){var r=new Je;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}Je.prototype=et.prototype={constructor:Je,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Xe():+n)+(null==t?0:+t),this._next||ze===this||(ze?ze._next=this:Fe=this,ze=this),this._call=e,this._time=n,rt()},stop:function(){this._call&&(this._call=null,this._time=1/0,rt())}};var ot=c("start","end","cancel","interrupt"),at=[],st=0,ct=1,lt=2,ut=3,ft=4,ht=5,dt=6;function pt(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=ct,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var l,u,f,h;if(n.state!==ct)return c();for(l in i)if((h=i[l]).name===n.name){if(h.state===ut)return it(a);h.state===ft?(h.state=dt,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[l]):+l<t&&(h.state=dt,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete i[l])}if(it((function(){n.state===ut&&(n.state=ft,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=lt,n.on.call("start",e,e.__data__,n.index,n.group),n.state===lt){for(n.state=ut,r=new Array(f=n.tween.length),l=0,u=-1;l<f;++l)(h=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=h);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=ht,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);n.state===ht&&(n.on.call("end",e,e.__data__,n.index,n.group),c())}function c(){for(var r in n.state=dt,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=et(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:ot,tween:at,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:st})}function gt(e,t){var n=vt(e,t);if(n.state>st)throw new Error("too late; already scheduled");return n}function mt(e,t){var n=vt(e,t);if(n.state>ut)throw new Error("too late; already running");return n}function vt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function yt(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>lt&&n.state<ht,n.state=dt,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}var bt,_t=n(68063),wt=180/Math.PI,xt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function St(e,t,n,r,i,o){var a,s,c;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*wt,skewX:Math.atan(c)*wt,scaleX:a,scaleY:s}}function Et(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var s=[],c=[];
vendor: 4,120 bytes, line 2
2return o=e(o),a=e(a),function(e,r,i,o,a,s){if(e!==i||r!==o){var c=a.push("translate(",null,t,null,n);s.push({i:c-4,x:(0,_t.Z)(e,i)},{i:c-2,x:(0,_t.Z)(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,_t.Z)(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,s,c),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,_t.Z)(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,s,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:(0,_t.Z)(e,n)},{i:s-2,x:(0,_t.Z)(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n<r;)s[(t=c[n]).i]=t.x(e);return s.join("")}}}var kt=Et((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?xt:St(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Ot=Et((function(e){return null==e?xt:(bt||(bt=document.createElementNS("http://www.w3.org/2000/svg","g")),bt.setAttribute("transform",e),(e=bt.transform.baseVal.consolidate())?St((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):xt)}),", ",")",")");function Ct(e,t){var n,r;return function(){var i=mt(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function At(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=mt(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}o.tween=i}}function Tt(e,t,n){var r=e._id;return e.each((function(){var e=mt(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return vt(e,r).value[t]}}var Pt=n(32462),Dt=n(84300),Mt=n(16773);function Rt(e,t){var n;return("number"==typeof t?_t.Z:t instanceof Pt.ZP?Dt.ZP:(n=(0,Pt.ZP)(t))?(t=n,Dt.ZP):Mt.Z)(e,t)}function jt(e){return function(){this.removeAttribute(e)}}function Nt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Lt(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function It(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function Bt(e,t,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(e))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,c));this.removeAttribute(e)}}function Ft(e,t,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(e.space,e.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,c));this.removeAttributeNS(e.space,e.local)}}function zt(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function Ut(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function Ht(e,t){return function(){gt(this,e).delay=+t.apply(this,arguments)}}function qt(e,t){return t=+t,function(){gt(this,e).delay=t}}function $t(e,t){return function(){mt(this,e).duration=+t.apply(this,arguments)}}function Wt(e,t){return t=+t,function(){mt(this,e).duration=t}}var Vt=we.prototype.constructor;function Kt(e){return function(){this.style.removeProperty(e)}}var Gt=0;function Zt(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Yt(){return++Gt}var Xt=we.prototype;Zt.prototype=function(e){return we().transition(e)}.prototype={constructor:Zt,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=u(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,l=r[a],f=l.length,h=o[a]=new Array(f),d=0;d<f;++d)(s=l[d])&&(c=e.call(s,s.__data__,d,l))&&("__data__"in s&&(c.__data__=s.__data__),h[d]=c,pt(h[d],t,n,d,h,vt(s,n)));
vendor: 5,351 bytes, line 2
2return new Zt(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=h(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,f=0;f<u;++f)if(c=l[f]){for(var d,p=e.call(c,c.__data__,f,l),g=vt(c,n),m=0,v=p.length;m<v;++m)(d=p[m])&&pt(d,t,n,m,p,g);o.push(p),a.push(c)}return new Zt(o,a,t,n)},selectChild:Xt.selectChild,selectChildren:Xt.selectChildren,filter:function(e){"function"!=typeof e&&(e=p(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new Zt(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=t[s],u=n[s],f=l.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=l[d]||u[d])&&(h[d]=c);for(;s<r;++s)a[s]=t[s];return new Zt(a,this._parents,this._name,this._id)},selection:function(){return new Vt(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Yt(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)if(a=s[l]){var u=vt(a,t);pt(a,e,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Zt(r,this._parents,e,n)},call:Xt.call,nodes:Xt.nodes,node:Xt.node,size:Xt.size,empty:Xt.empty,each:Xt.each,on:function(e,t){var n=this._id;return arguments.length<2?vt(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?gt:mt;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=T(e),r="transform"===n?Ot:Rt;return this.attrTween(e,"function"==typeof t?(n.local?Ft:Bt)(n,r,Tt(this,"attr."+e,t)):null==t?(n.local?Nt:jt)(n):(n.local?It:Lt)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=T(e);return this.tween(n,(r.local?zt:Ut)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?kt:Rt;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=z(this,e),a=(this.style.removeProperty(e),z(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,Kt(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=z(this,e),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(e),c=s=z(this,e)),a===c?null:a===r&&c===i?o:(i=c,o=t(r=a,s))}}(e,r,Tt(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var c=mt(this,e),l=c.on,u=null==c.value[a]?o||(o=Kt(t)):void 0;l===n&&i===u||(r=(n=l).copy()).on(s,i=u),c.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=z(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(Tt(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=vt(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?Ct:At)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Ht:qt)(t,e)):vt(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?$t:Wt)(t,e)):vt(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){mt(this,e).ease=t}}(t,e)):vt(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;mt(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0==--i&&o()}};n.each((function(){var n=mt(this,r),i=n.on;
vendor: 4,217 bytes, line 2
2i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:Xt[Symbol.iterator]};var Qt={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function Jt(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}we.prototype.interrupt=function(e){return this.each((function(){yt(this,e)}))},we.prototype.transition=function(e){var t,n;e instanceof Zt?(t=e._id,e=e._name):(t=Yt(),(n=Qt).time=Xe(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)(a=s[l])&&pt(a,e,t,l,s,n||Jt(a,t));return new Zt(r,this._parents,e,t)};var en=e=>()=>e;function tn(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function nn(e,t,n){this.k=e,this.x=t,this.y=n}nn.prototype={constructor:nn,scale:function(e){return 1===e?this:new nn(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new nn(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var rn=new nn(1,0,0);function on(e){for(;!e.__zoom;)if(!(e=e.parentNode))return rn;return e.__zoom}function an(e){e.stopImmediatePropagation()}function sn(e){e.preventDefault(),e.stopImmediatePropagation()}function cn(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function ln(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function un(){return this.__zoom||rn}function fn(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function hn(){return navigator.maxTouchPoints||"ontouchstart"in this}function dn(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function pn(){var e,t,n,r=cn,i=ln,o=dn,a=fn,s=hn,l=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],f=250,h=Ue,d=c("start","zoom","end"),p=500,g=150,m=0,v=10;function y(e){e.property("__zoom",un).on("wheel.zoom",k,{passive:!1}).on("mousedown.zoom",O).on("dblclick.zoom",C).filter(s).on("touchstart.zoom",A).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",P).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new nn(t,e.x,e.y)}function _(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new nn(e.k,r,i)}function w(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function x(e,t,n,r){e.on("start.zoom",(function(){S(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){S(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,o=arguments,a=S(e,o).event(r),s=i.apply(e,o),c=null==n?w(s):"function"==typeof n?n.apply(e,o):n,l=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),u=e.__zoom,f="function"==typeof t?t.apply(e,o):t,d=h(u.invert(c).concat(l/u.k),f.invert(c).concat(l/f.k));return function(e){if(1===e)e=f;else{var t=d(e),n=l/t[2];e=new nn(n,c[0]-t[0]*n,c[1]-t[1]*n)}a.zoom(null,e)}}))}function S(e,t,n){return!n&&e.__zooming||new E(e,t)}function E(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=i.apply(e,t),this.taps=0}
vendor: 4,148 bytes, line 2
2function k(e,...t){if(r.apply(this,arguments)){var n=S(this,t).event(e),i=this.__zoom,s=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),c=Se(e);if(n.wheel)n.mouse[0][0]===c[0]&&n.mouse[0][1]===c[1]||(n.mouse[1]=i.invert(n.mouse[0]=c)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[c,i.invert(c)],yt(this),n.start()}sn(e),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),g),n.zoom("mouse",o(_(b(i,s),n.mouse[0],n.mouse[1]),n.extent,u))}}function O(e,...t){if(!n&&r.apply(this,arguments)){var i=e.currentTarget,a=S(this,t,!0).event(e),s=xe(e.view).on("mousemove.zoom",(function(e){if(sn(e),!a.moved){var t=e.clientX-l,n=e.clientY-f;a.moved=t*t+n*n>m}a.event(e).zoom("mouse",o(_(a.that.__zoom,a.mouse[0]=Se(e,i),a.mouse[1]),a.extent,u))}),!0).on("mouseup.zoom",(function(e){s.on("mousemove.zoom mouseup.zoom",null),Te(e.view,a.moved),sn(e),a.event(e).end()}),!0),c=Se(e,i),l=e.clientX,f=e.clientY;Ae(e.view),an(e),a.mouse=[c,this.__zoom.invert(c)],yt(this),a.start()}}function C(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=Se(e.changedTouches?e.changedTouches[0]:e,this),s=n.invert(a),c=n.k*(e.shiftKey?.5:2),l=o(_(b(n,c),a,s),i.apply(this,t),u);sn(e),f>0?xe(this).transition().duration(f).call(x,l,a,e):xe(this).call(y.transform,l,a,e)}}function A(n,...i){if(r.apply(this,arguments)){var o,a,s,c,l=n.touches,u=l.length,f=S(this,i,n.changedTouches.length===u).event(n);for(an(n),a=0;a<u;++a)c=[c=Se(s=l[a],this),this.__zoom.invert(c),s.identifier],f.touch0?f.touch1||f.touch0[2]===c[2]||(f.touch1=c,f.taps=0):(f.touch0=c,o=!0,f.taps=1+!!e);e&&(e=clearTimeout(e)),o&&(f.taps<2&&(t=c[0],e=setTimeout((function(){e=null}),p)),yt(this),f.start())}}function T(e,...t){if(this.__zooming){var n,r,i,a,s=S(this,t).event(e),c=e.changedTouches,l=c.length;for(sn(e),n=0;n<l;++n)i=Se(r=c[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=i:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=i);if(r=s.that.__zoom,s.touch1){var f=s.touch0[0],h=s.touch0[1],d=s.touch1[0],p=s.touch1[1],g=(g=d[0]-f[0])*g+(g=d[1]-f[1])*g,m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m;r=b(r,Math.sqrt(g/m)),i=[(f[0]+d[0])/2,(f[1]+d[1])/2],a=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!s.touch0)return;i=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(_(r,i,a),s.extent,u))}}function P(e,...r){if(this.__zooming){var i,o,a=S(this,r).event(e),s=e.changedTouches,c=s.length;for(an(e),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),i=0;i<c;++i)o=s[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=Se(o,this),Math.hypot(t[0]-o[0],t[1]-o[1])<v)){var l=xe(this).on("dblclick.zoom");l&&l.apply(this,arguments)}}}return y.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property("__zoom",un),e!==i?x(e,t,n,r):i.interrupt().each((function(){S(this,arguments).event(r).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()}))},y.scaleBy=function(e,t,n,r){y.scaleTo(e,(function(){return this.__zoom.k*("function"==typeof t?t.apply(this,arguments):t)}),n,r)},y.scaleTo=function(e,t,n,r){y.transform(e,(function(){var e=i.apply(this,arguments),r=this.__zoom,a=null==n?w(e):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),c="function"==typeof t?t.apply(this,arguments):t;return o(_(b(r,c),a,s),e,u)}),n,r)},y.translateBy=function(e,t,n,r){y.transform(e,(function(){return o(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),u)}),null,r)},y.translateTo=function(e,t,n,r,a){y.transform(e,(function(){var e=i.apply(this,arguments),a=this.__zoom,s=null==r?w(e):"function"==typeof r?r.apply(this,arguments):r;return o(rn.translate(s[0],s[1]).scale(a.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,u)}),r,a)},E.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
vendor: 5,238 bytes, line 2
2("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=xe(this.that).datum();d.call(e,this.that,new tn(e,{sourceEvent:this.sourceEvent,target:y,type:e,transform:this.that.__zoom,dispatch:d}),t)}},y.wheelDelta=function(e){return arguments.length?(a="function"==typeof e?e:en(+e),y):a},y.filter=function(e){return arguments.length?(r="function"==typeof e?e:en(!!e),y):r},y.touchable=function(e){return arguments.length?(s="function"==typeof e?e:en(!!e),y):s},y.extent=function(e){return arguments.length?(i="function"==typeof e?e:en([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),y):i},y.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],y):[l[0],l[1]]},y.translateExtent=function(e){return arguments.length?(u[0][0]=+e[0][0],u[1][0]=+e[1][0],u[0][1]=+e[0][1],u[1][1]=+e[1][1],y):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},y.constrain=function(e){return arguments.length?(o=e,y):o},y.duration=function(e){return arguments.length?(f=+e,y):f},y.interpolate=function(e){return arguments.length?(h=e,y):h},y.on=function(){var e=d.on.apply(d,arguments);return e===d?y:e},y.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,y):Math.sqrt(m)},y.tapDistance=function(e){return arguments.length?(v=+e,y):v},y}on.prototype=nn.prototype;var gn=n(62218);const mn={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,{id:t,sourceHandle:n,targetHandle:r})=>`Couldn't create edge for ${e} handle id: "${"source"===e?n:r}", edge id: ${t}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(e="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${e}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},vn=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],yn=["Enter"," ","Escape"],bn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:t,y:n})=>`Moved selected node ${e}. New position, x: ${t}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var _n,wn,xn;!function(e){e.Strict="strict",e.Loose="loose"}(_n||(_n={})),function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"}(wn||(wn={})),function(e){e.Partial="partial",e.Full="full"}(xn||(xn={}));const Sn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null};var En,kn,On;!function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"}(En||(En={})),function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"}(kn||(kn={})),function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"}(On||(On={}));const Cn={[On.Left]:On.Right,[On.Right]:On.Left,[On.Top]:On.Bottom,[On.Bottom]:On.Top};function An(e){return null===e?null:e?"valid":"invalid"}const Tn=e=>"id"in e&&"source"in e&&"target"in e,Pn=e=>"id"in e&&"position"in e&&!("source"in e)&&!("target"in e),Dn=e=>"id"in e&&"internals"in e&&!("source"in e)&&!("target"in e),Mn=(e,t,n)=>{if(!e.id)return[];const r=new Set;
2return n.forEach((t=>{t.source===e.id&&r.add(t.target)})),t.filter((e=>r.has(e.id)))},Rn=(e,t,n)=>{if(!e.id)return[];const r=new Set;return n.forEach((t=>{t.target===e.id&&r.add(t.source)})),t.filter((e=>r.has(e.id)))},jn=(e,t=[0,0])=>{const{width:n,height:r}=ur(e),i=e.origin??t,o=n*i[0],a=r*i[1];return{x:e.position.x-o,y:e.position.y-a}},Nn=(e,t={nodeOrigin:[0,0]})=>{if(0===e.length)return{x:0,y:0,width:0,height:0};const n=e.reduce(((e,n)=>{const r="string"==typeof n;let i=t.nodeLookup||r?void 0:n;t.nodeLookup&&(i=r?t.nodeLookup.get(n):Dn(n)?n:t.nodeLookup.get(n.id));const o=i?Xn(i,t.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Kn(e,o)}),{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Zn(n)},Ln=(e,t={})=>{if(0===e.size)return{x:0,y:0,width:0,height:0};let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0};return e.forEach((e=>{if(void 0===t.filter||t.filter(e)){const t=Xn(e);n=Kn(n,t)}})),Zn(n)},In=(e,t,[n,r,i]=[0,0,1],o=!1,a=!1)=>{const s={...ir(t,[n,r,i]),width:t.width/i,height:t.height/i},c=[];for(const t of e.values()){const{measured:e,selectable:n=!0,hidden:r=!1}=t;if(a&&!n||r)continue;const i=e.width??t.width??t.initialWidth??null,l=e.height??t.height??t.initialHeight??null,u=Jn(s,Yn(t)),f=(i??0)*(l??0),h=o&&u>0;(!t.internals.handleBounds||h||u>=f||t.dragging)&&c.push(t)}return c},Bn=(e,t)=>{const n=new Set;return e.forEach((e=>{n.add(e.id)})),t.filter((e=>n.has(e.source)||n.has(e.target)))};
vendor: 15,122 bytes, line 2
2async function Fn({nodes:e,width:t,height:n,panZoom:r,minZoom:i,maxZoom:o},a){if(0===e.size)return Promise.resolve(!0);const s=function(e,t){const n=new Map,r=t?.nodes?new Set(t.nodes.map((e=>e.id))):null;return e.forEach((e=>{!e.measured.width||!e.measured.height||!t?.includeHiddenNodes&&e.hidden||r&&!r.has(e.id)||n.set(e.id,e)})),n}(e,a),c=Ln(s),l=sr(c,t,n,a?.minZoom??i,a?.maxZoom??o,a?.padding??.1);return await r.setViewport(l,{duration:a?.duration,ease:a?.ease,interpolate:a?.interpolate}),Promise.resolve(!0)}function zn({nodeId:e,nextPosition:t,nodeLookup:n,nodeOrigin:r=[0,0],nodeExtent:i,onError:o}){const a=n.get(e),s=a.parentId?n.get(a.parentId):void 0,{x:c,y:l}=s?s.internals.positionAbsolute:{x:0,y:0},u=a.origin??r;let f=a.extent||i;if("parent"!==a.extent||a.expandParent)s&&lr(a.extent)&&(f=[[a.extent[0][0]+c,a.extent[0][1]+l],[a.extent[1][0]+c,a.extent[1][1]+l]]);else if(s){const e=s.measured.width,t=s.measured.height;e&&t&&(f=[[c,l],[c+e,l+t]])}else o?.("005",mn.error005());const h=lr(f)?qn(t,f,a.measured):t;return void 0!==a.measured.width&&void 0!==a.measured.height||o?.("015",mn.error015()),{position:{x:h.x-c+(a.measured.width??0)*u[0],y:h.y-l+(a.measured.height??0)*u[1]},positionAbsolute:h}}async function Un({nodesToRemove:e=[],edgesToRemove:t=[],nodes:n,edges:r,onBeforeDelete:i}){const o=new Set(e.map((e=>e.id))),a=[];for(const e of n){if(!1===e.deletable)continue;const t=o.has(e.id),n=!t&&e.parentId&&a.find((t=>t.id===e.parentId));(t||n)&&a.push(e)}const s=new Set(t.map((e=>e.id))),c=r.filter((e=>!1!==e.deletable)),l=Bn(a,c);for(const e of c){s.has(e.id)&&!l.find((t=>t.id===e.id))&&l.push(e)}if(!i)return{edges:l,nodes:a};const u=await i({nodes:a,edges:l});return"boolean"==typeof u?u?{edges:l,nodes:a}:{edges:[],nodes:[]}:u}const Hn=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),qn=(e={x:0,y:0},t,n)=>({x:Hn(e.x,t[0][0],t[1][0]-(n?.width??0)),y:Hn(e.y,t[0][1],t[1][1]-(n?.height??0))});function $n(e,t,n){const{width:r,height:i}=ur(n),{x:o,y:a}=n.internals.positionAbsolute;return qn(e,[[o,a],[o+r,a+i]],t)}const Wn=(e,t,n)=>e<t?Hn(Math.abs(e-t),1,t)/t:e>n?-Hn(Math.abs(e-n),1,t)/t:0,Vn=(e,t,n=15,r=40)=>[Wn(e.x,r,t.width-r)*n,Wn(e.y,r,t.height-r)*n],Kn=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),Gn=({x:e,y:t,width:n,height:r})=>({x:e,y:t,x2:e+n,y2:t+r}),Zn=({x:e,y:t,x2:n,y2:r})=>({x:e,y:t,width:n-e,height:r-t}),Yn=(e,t=[0,0])=>{const{x:n,y:r}=Dn(e)?e.internals.positionAbsolute:jn(e,t);return{x:n,y:r,width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}},Xn=(e,t=[0,0])=>{const{x:n,y:r}=Dn(e)?e.internals.positionAbsolute:jn(e,t);return{x:n,y:r,x2:n+(e.measured?.width??e.width??e.initialWidth??0),y2:r+(e.measured?.height??e.height??e.initialHeight??0)}},Qn=(e,t)=>Zn(Kn(Gn(e),Gn(t))),Jn=(e,t)=>{const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),r=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*r)},er=e=>tr(e.width)&&tr(e.height)&&tr(e.x)&&tr(e.y),tr=e=>!isNaN(e)&&isFinite(e),nr=(e,t)=>{0},rr=(e,t=[1,1])=>({x:t[0]*Math.round(e.x/t[0]),y:t[1]*Math.round(e.y/t[1])}),ir=({x:e,y:t},[n,r,i],o=!1,a=[1,1])=>{const s={x:(e-n)/i,y:(t-r)/i};return o?rr(s,a):s},or=({x:e,y:t},[n,r,i])=>({x:e*i+n,y:t*i+r});function ar(e,t){if("number"==typeof e)return Math.floor(.5*(t-t/(1+e)));if("string"==typeof e&&e.endsWith("px")){const t=parseFloat(e);if(!Number.isNaN(t))return Math.floor(t)}if("string"==typeof e&&e.endsWith("%")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(t*n*.01)}return console.error(`[React Flow] The padding value "${e}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}const sr=(e,t,n,r,i,o)=>{const a=function(e,t,n){if("string"==typeof e||"number"==typeof e){const r=ar(e,n),i=ar(e,t);return{top:r,right:i,bottom:r,left:i,x:2*i,y:2*r}}if("object"==typeof e){const r=ar(e.top??e.y??0,n),i=ar(e.bottom??e.y??0,n),o=ar(e.left??e.x??0,t),a=ar(e.right??e.x??0,t);return{top:r,right:a,bottom:i,left:o,x:o+a,y:r+i}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}(o,t,n),s=(t-a.x)/e.width,c=(n-a.y)/e.height,l=Math.min(s,c),u=Hn(l,r,i),f=t/2-(e.x+e.width/2)*u,h=n/2-(e.y+e.height/2)*u,d=function(e,t,n,r,i,o){const{x:a,y:s}=or(e,[t,n,r]),{x:c,y:l}=or({x:e.x+e.width,y:e.y+e.height},[t,n,r]),u=i-c,f=o-l;return{left:Math.floor(a),top:Math.floor(s),right:Math.floor(u),bottom:Math.floor(f)}}(e,f,h,u,t,n),p=Math.min(d.left-a.left,0),g=Math.min(d.top-a.top,0);return{x:f-p+Math.min(d.right-a.right,0),y:h-g+Math.min(d.bottom-a.bottom,0),zoom:u}},cr=()=>"undefined"!=typeof navigator&&navigator?.userAgent?.indexOf("Mac")>=0;function lr(e){return void 0!==e&&"parent"!==e}function ur(e){return{width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}}function fr(e){return void 0!==(e.measured?.width??e.width??e.initialWidth)&&void 0!==(e.measured?.height??e.height??e.initialHeight)}function hr(e,t={width:0,height:0},n,r,i){const o={...e},a=r.get(n);if(a){const e=a.origin||i;o.x+=a.internals.positionAbsolute.x-(t.width??0)*e[0],o.y+=a.internals.positionAbsolute.y-(t.height??0)*e[1]}return o}function dr(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function pr(){let e,t;return{promise:new Promise(((n,r)=>{e=n,t=r})),resolve:e,reject:t}}function gr(e){return{...bn,...e||{}}}function mr(e,{snapGrid:t=[0,0],snapToGrid:n=!1,transform:r,containerBounds:i}){const{x:o,y:a}=xr(e),s=ir({x:o-(i?.left??0),y:a-(i?.top??0)},r),{x:c,y:l}=n?rr(s,t):s;return{xSnapped:c,ySnapped:l,...s}}const vr=e=>({width:e.offsetWidth,height:e.offsetHeight}),yr=e=>e?.getRootNode?.()||window?.document,br=["INPUT","SELECT","TEXTAREA"];function _r(e){const t=e.composedPath?.()?.[0]||e.target;if(1!==t?.nodeType)return!1;return br.includes(t.nodeName)||t.hasAttribute("contenteditable")||!!t.closest(".nokey")}const wr=e=>"clientX"in e,xr=(e,t)=>{const n=wr(e),r=n?e.clientX:e.touches?.[0].clientX,i=n?e.clientY:e.touches?.[0].clientY;return{x:r-(t?.left??0),y:i-(t?.top??0)}},Sr=(e,t,n,r,i)=>{const o=t.querySelectorAll(`.${e}`);return o&&o.length?Array.from(o).map((t=>{const o=t.getBoundingClientRect();return{id:t.getAttribute("data-handleid"),type:e,nodeId:i,position:t.getAttribute("data-handlepos"),x:(o.left-n.left)/r,y:(o.top-n.top)/r,...vr(t)}})):null};function Er({sourceX:e,sourceY:t,targetX:n,targetY:r,sourceControlX:i,sourceControlY:o,targetControlX:a,targetControlY:s}){const c=.125*e+.375*i+.375*a+.125*n,l=.125*t+.375*o+.375*s+.125*r;return[c,l,Math.abs(c-e),Math.abs(l-t)]}function kr(e,t){return e>=0?.5*e:25*t*Math.sqrt(-e)}function Or({pos:e,x1:t,y1:n,x2:r,y2:i,c:o}){switch(e){case On.Left:return[t-kr(t-r,o),n];case On.Right:return[t+kr(r-t,o),n];case On.Top:return[t,n-kr(n-i,o)];case On.Bottom:return[t,n+kr(i-n,o)]}}function Cr({sourceX:e,sourceY:t,sourcePosition:n=On.Bottom,targetX:r,targetY:i,targetPosition:o=On.Top,curvature:a=.25}){const[s,c]=Or({pos:n,x1:e,y1:t,x2:r,y2:i,c:a}),[l,u]=Or({pos:o,x1:r,y1:i,x2:e,y2:t,c:a}),[f,h,d,p]=Er({sourceX:e,sourceY:t,targetX:r,targetY:i,sourceControlX:s,sourceControlY:c,targetControlX:l,targetControlY:u});return[`M${e},${t} C${s},${c} ${l},${u} ${r},${i}`,f,h,d,p]}function Ar({sourceX:e,sourceY:t,targetX:n,targetY:r}){const i=Math.abs(n-e)/2,o=n<e?n+i:n-i,a=Math.abs(r-t)/2;return[o,r<t?r+a:r-a,i,a]}function Tr({sourceNode:e,targetNode:t,selected:n=!1,zIndex:r,elevateOnSelect:i=!1}){if(void 0!==r)return r;return(i&&n?1e3:0)+Math.max(e.parentId?e.internals.z:0,t.parentId?t.internals.z:0)}function Pr({sourceNode:e,targetNode:t,width:n,height:r,transform:i}){const o=Kn(Xn(e),Xn(t));o.x===o.x2&&(o.x2+=1),o.y===o.y2&&(o.y2+=1);const a={x:-i[0]/i[2],y:-i[1]/i[2],width:n/i[2],height:r/i[2]};return Jn(a,Zn(o))>0}const Dr=({source:e,sourceHandle:t,target:n,targetHandle:r})=>`xy-edge__${e}${t||""}-${n}${r||""}`,Mr=(e,t)=>{if(!e.source||!e.target)return nr("006",mn.error006()),t;let n;return n=Tn(e)?{...e}:{...e,id:Dr(e)},((e,t)=>t.some((t=>!(t.source!==e.source||t.target!==e.target||t.sourceHandle!==e.sourceHandle&&(t.sourceHandle||e.sourceHandle)||t.targetHandle!==e.targetHandle&&(t.targetHandle||e.targetHandle)))))(n,t)?t:(null===n.sourceHandle&&delete n.sourceHandle,null===n.targetHandle&&delete n.targetHandle,t.concat(n))};function Rr({sourceX:e,sourceY:t,targetX:n,targetY:r}){const[i,o,a,s]=Ar({sourceX:e,sourceY:t,targetX:n,targetY:r});return[`M ${e},${t}L ${n},${r}`,i,o,a,s]}const jr={[On.Left]:{x:-1,y:0},[On.Right]:{x:1,y:0},[On.Top]:{x:0,y:-1},[On.Bottom]:{x:0,y:1}},Nr=({source:e,sourcePosition:t=On.Bottom,target:n})=>t===On.Left||t===On.Right?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1},Lr=(e,t)=>Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function Ir({sourceX:e,sourceY:t,sourcePosition:n=On.Bottom,targetX:r,targetY:i,targetPosition:o=On.Top,borderRadius:a=5,centerX:s,centerY:c,offset:l=20,stepPosition:u=.5}){const[f,h,d,p,g]=function({source:e,sourcePosition:t=On.Bottom,target:n,targetPosition:r=On.Top,center:i,offset:o,stepPosition:a}){const s=jr[t],c=jr[r],l={x:e.x+s.x*o,y:e.y+s.y*o},u={x:n.x+c.x*o,y:n.y+c.y*o},f=Nr({source:l,sourcePosition:t,target:u}),h=0!==f.x?"x":"y",d=f[h];let p,g,m=[];const v={x:0,y:0},y={x:0,y:0},[,,b,_]=Ar({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[h]*c[h]==-1){"x"===h?(p=i.x??l.x+(u.x-l.x)*a,g=i.y??(l.y+u.y)/2):(p=i.x??(l.x+u.x)/2,g=i.y??l.y+(u.y-l.y)*a);const e=[{x:p,y:l.y},{x:p,y:u.y}],t=[{x:l.x,y:g},{x:u.x,y:g}];m=s[h]===d?"x"===h?e:t:"x"===h?t:e}else{const i=[{x:l.x,y:u.y}],a=[{x:u.x,y:l.y}];if(m="x"===h?s.x===d?a:i:s.y===d?i:a,t===r){const t=Math.abs(e[h]-n[h]);if(t<=o){const r=Math.min(o-1,o-t);s[h]===d?v[h]=(l[h]>e[h]?-1:1)*r:y[h]=(u[h]>n[h]?-1:1)*r}}if(t!==r){const e="x"===h?"y":"x",t=s[h]===c[e],n=l[e]>u[e],r=l[e]<u[e];(1===s[h]&&(!t&&n||t&&r)||1!==s[h]&&(!t&&r||t&&n))&&(m="x"===h?i:a)}const f={x:l.x+v.x,y:l.y+v.y},b={x:u.x+y.x,y:u.y+y.y};Math.max(Math.abs(f.x-m[0].x),Math.abs(b.x-m[0].x))>=Math.max(Math.abs(f.y-m[0].y),Math.abs(b.y-m[0].y))?(p=(f.x+b.x)/2,g=m[0].y):(p=m[0].x,g=(f.y+b.y)/2)}return[[e,{x:l.x+v.x,y:l.y+v.y},...m,{x:u.x+y.x,y:u.y+y.y},n],p,g,b,_]}({source:{x:e,y:t},sourcePosition:n,target:{x:r,y:i},targetPosition:o,center:{x:s,y:c},offset:l,stepPosition:u}),m=f.reduce(((e,t,n)=>{let r="";return r=n>0&&n<f.length-1?function(e,t,n,r){const i=Math.min(Lr(e,t)/2,Lr(t,n)/2,r),{x:o,y:a}=t;if(e.x===o&&o===n.x||e.y===a&&a===n.y)return`L${o} ${a}`;if(e.y===a)return`L ${o+i*(e.x<n.x?-1:1)},${a}Q ${o},${a} ${o},${a+i*(e.y<n.y?1:-1)}`;const s=e.x<n.x?1:-1;return`L ${o},${a+i*(e.y<n.y?-1:1)}Q ${o},${a} ${o+i*s},${a}`}(f[n-1],t,f[n+1],a):`${0===n?"M":"L"}${t.x} ${t.y}`,e+=r}),"");return[m,h,d,p,g]}function Br(e){return e&&!(!e.internals.handleBounds&&!e.handles?.length)&&!!(e.measured.width||e.width||e.initialWidth)}function Fr(e){const{sourceNode:t,targetNode:n}=e;if(!Br(t)||!Br(n))return null;const r=t.internals.handleBounds||zr(t.handles),i=n.internals.handleBounds||zr(n.handles),o=Hr(r?.source??[],e.sourceHandle),a=Hr(e.connectionMode===_n.Strict?i?.target??[]:(i?.target??[]).concat(i?.source??[]),e.targetHandle);if(!o||!a)return e.onError?.("008",mn.error008(o?"target":"source",{id:e.id,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle})),null;const s=o?.position||On.Bottom,c=a?.position||On.Top,l=Ur(t,o,s),u=Ur(n,a,c);return{sourceX:l.x,sourceY:l.y,targetX:u.x,targetY:u.y,sourcePosition:s,targetPosition:c}}function zr(e){if(!e)return null;const t=[],n=[];for(const r of e)r.width=r.width??1,r.height=r.height??1,"source"===r.type?t.push(r):"target"===r.type&&n.push(r);return{source:t,target:n}}function Ur(e,t,n=On.Left,r=!1){const i=(t?.x??0)+e.internals.positionAbsolute.x,o=(t?.y??0)+e.internals.positionAbsolute.y,{width:a,height:s}=t??ur(e);if(r)return{x:i+a/2,y:o+s/2};switch(t?.position??n){case On.Top:return{x:i+a/2,y:o};case On.Right:return{x:i+a,y:o+s/2};case On.Bottom:return{x:i+a/2,y:o+s};case On.Left:return{x:i,y:o+s/2}}}function Hr(e,t){return e&&(t?e.find((e=>e.id===t)):e[0])||null}function qr(e,t){if(!e)return"";if("string"==typeof e)return e;return`${t?`${t}__`:""}${Object.keys(e).sort().map((t=>`${t}=${e[t]}`)).join("&")}`}function $r(e,{id:t,defaultColor:n,defaultMarkerStart:r,defaultMarkerEnd:i}){const o=new Set;return e.reduce(((e,a)=>([a.markerStart||r,a.markerEnd||i].forEach((r=>{if(r&&"object"==typeof r){const i=qr(r,t);o.has(i)||(e.push({id:i,color:r.color||n,...r}),o.add(i))}})),e)),[]).sort(((e,t)=>e.id.localeCompare(t.id)))}const Wr={nodeOrigin:[0,0],nodeExtent:vn,elevateNodesOnSelect:!0,defaults:{}},Vr={...Wr,checkEquality:!0};function Kr(e,t){const n={...e};for(const e in t)void 0!==t[e]&&(n[e]=t[e]);return n}function Gr(e,t,n){const r=Kr(Wr,n);for(const n of e.values())if(n.parentId)Yr(n,e,t,r);else{const e=jn(n,r.nodeOrigin),t=lr(n.extent)?n.extent:r.nodeExtent,i=qn(e,t,ur(n));n.internals.positionAbsolute=i}}function Zr(e,t,n,r){const i=Kr(Vr,r);let o=e.length>0;const a=new Map(t),s=i?.elevateNodesOnSelect?1e3:0;t.clear(),n.clear();for(const c of e){let e=a.get(c.id);if(i.checkEquality&&c===e?.internals.userNode)t.set(c.id,e);else{const n=jn(c,i.nodeOrigin),r=lr(c.extent)?c.extent:i.nodeExtent,o=qn(n,r,ur(c));e={...i.defaults,...c,measured:{width:c.measured?.width,height:c.measured?.height},internals:{positionAbsolute:o,handleBounds:c.measured?e?.internals.handleBounds:void 0,z:Xr(c,s),userNode:c}},t.set(c.id,e)}void 0!==e.measured&&void 0!==e.measured.width&&void 0!==e.measured.height||e.hidden||(o=!1),c.parentId&&Yr(e,t,n,r)}return o}function Yr(e,t,n,r){const{elevateNodesOnSelect:i,nodeOrigin:o,nodeExtent:a}=Kr(Wr,r),s=e.parentId,c=t.get(s);if(!c)return void console.warn(`Parent node ${s} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);!function(e,t){if(!e.parentId)return;const n=t.get(e.parentId);n?n.set(e.id,e):t.set(e.parentId,new Map([[e.id,e]]))}(e,n);const l=i?1e3:0,{x:u,y:f,z:h}=function(e,t,n,r,i){const{x:o,y:a}=t.internals.positionAbsolute,s=ur(e),c=jn(e,n),l=lr(e.extent)?qn(c,e.extent,s):c;let u=qn({x:o+l.x,y:a+l.y},r,s);"parent"===e.extent&&(u=$n(u,s,t));const f=Xr(e,i),h=t.internals.z??0;return{x:u.x,y:u.y,z:h>=f?h+1:f}}(e,c,o,a,l),{positionAbsolute:d}=e.internals,p=u!==d.x||f!==d.y;(p||h!==e.internals.z)&&t.set(e.id,{...e,internals:{...e.internals,positionAbsolute:p?{x:u,y:f}:d,z:h}})}function Xr(e,t){return(tr(e.zIndex)?e.zIndex:0)+(e.selected?t:0)}function Qr(e,t,n,r=[0,0]){const i=[],o=new Map;for(const n of e){const e=t.get(n.parentId);if(!e)continue;const r=o.get(n.parentId)?.expandedRect??Yn(e),i=Qn(r,n.rect);o.set(n.parentId,{expandedRect:i,parent:e})}return o.size>0&&o.forEach((({expandedRect:t,parent:o},a)=>{const s=o.internals.positionAbsolute,c=ur(o),l=o.origin??r,u=t.x<s.x?Math.round(Math.abs(s.x-t.x)):0,f=t.y<s.y?Math.round(Math.abs(s.y-t.y)):0,h=Math.max(c.width,Math.round(t.width)),d=Math.max(c.height,Math.round(t.height)),p=(h-c.width)*l[0],g=(d-c.height)*l[1];(u>0||f>0||p||g)&&(i.push({id:a,type:"position",position:{x:o.position.x-u+p,y:o.position.y-f+g}}),n.get(a)?.forEach((t=>
vendor: 4,321 bytes, line 2
2{e.some((e=>e.id===t.id))||i.push({id:t.id,type:"position",position:{x:t.position.x+u,y:t.position.y+f}})}))),(c.width<t.width||c.height<t.height||u||f)&&i.push({id:a,type:"dimensions",setAttributes:!0,dimensions:{width:h+(u?l[0]*u-p:0),height:d+(f?l[1]*f-g:0)}})})),i}function Jr(e,t,n,r,i,o){const a=r?.querySelector(".xyflow__viewport");let s=!1;if(!a)return{changes:[],updatedInternals:s};const c=[],l=window.getComputedStyle(a),{m22:u}=new window.DOMMatrixReadOnly(l.transform),f=[];for(const r of e.values()){const e=t.get(r.id);if(!e)continue;if(e.hidden){t.set(e.id,{...e,internals:{...e.internals,handleBounds:void 0}}),s=!0;continue}const a=vr(r.nodeElement),l=e.measured.width!==a.width||e.measured.height!==a.height;if(!(!a.width||!a.height||!l&&e.internals.handleBounds&&!r.force)){const h=r.nodeElement.getBoundingClientRect(),d=lr(e.extent)?e.extent:o;let{positionAbsolute:p}=e.internals;e.parentId&&"parent"===e.extent?p=$n(p,a,t.get(e.parentId)):d&&(p=qn(p,d,a));const g={...e,measured:a,internals:{...e.internals,positionAbsolute:p,handleBounds:{source:Sr("source",r.nodeElement,h,u,e.id),target:Sr("target",r.nodeElement,h,u,e.id)}}};t.set(e.id,g),e.parentId&&Yr(g,t,n,{nodeOrigin:i}),s=!0,l&&(c.push({id:e.id,type:"dimensions",dimensions:a}),e.expandParent&&e.parentId&&f.push({id:e.id,parentId:e.parentId,rect:Yn(g,i)}))}}if(f.length>0){const e=Qr(f,t,n,i);c.push(...e)}return{changes:c,updatedInternals:s}}async function ei({delta:e,panZoom:t,transform:n,translateExtent:r,width:i,height:o}){if(!t||!e.x&&!e.y)return Promise.resolve(!1);const a=await t.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[i,o]],r),s=!!a&&(a.x!==n[0]||a.y!==n[1]||a.k!==n[2]);return Promise.resolve(s)}function ti(e,t,n,r,i,o){let a=i;const s=r.get(a)||new Map;r.set(a,s.set(n,t)),a=`${i}-${e}`;const c=r.get(a)||new Map;if(r.set(a,c.set(n,t)),o){a=`${i}-${e}-${o}`;const s=r.get(a)||new Map;r.set(a,s.set(n,t))}}function ni(e,t,n){e.clear(),t.clear();for(const r of n){const{source:n,target:i,sourceHandle:o=null,targetHandle:a=null}=r,s={edgeId:r.id,source:n,target:i,sourceHandle:o,targetHandle:a},c=`${n}-${o}--${i}-${a}`;ti("source",s,`${i}-${a}--${n}-${o}`,e,n,o),ti("target",s,c,e,i,a),t.set(r.id,r)}}function ri(e,t){if(!e.parentId)return!1;const n=t.get(e.parentId);return!!n&&(!!n.selected||ri(n,t))}function ii(e,t,n){let r=e;do{if(r?.matches?.(t))return!0;if(r===n)return!1;r=r?.parentElement}while(r);return!1}function oi({nodeId:e,dragItems:t,nodeLookup:n,dragging:r=!0}){const i=[];for(const[e,o]of t){const t=n.get(e)?.internals.userNode;t&&i.push({...t,position:o.position,dragging:r})}if(!e)return[i[0],i];const o=n.get(e)?.internals.userNode;return[o?{...o,position:t.get(e)?.position||o.position,dragging:r}:i[0],i]}function ai({onNodeMouseDown:e,getStoreItems:t,onDragStart:n,onDrag:r,onDragStop:i}){let o={x:null,y:null},a=0,s=new Map,c=!1,l={x:0,y:0},u=null,f=!1,h=null,d=!1,p=!1;return{update:function({noDragClassName:g,handleSelector:m,domNode:v,isSelectable:y,nodeId:b,nodeClickDistance:_=0}){function w({x:e,y:n},i){const{nodeLookup:a,nodeExtent:c,snapGrid:l,snapToGrid:u,nodeOrigin:f,onNodeDrag:h,onSelectionDrag:d,onError:g,updateNodePositions:m}=t();o={x:e,y:n};let v=!1,y={x:0,y:0,x2:0,y2:0};if(s.size>1&&c){const e=Ln(s);y=Gn(e)}for(const[t,r]of s){if(!a.has(t))continue;let i={x:e-r.distance.x,y:n-r.distance.y};u&&(i=rr(i,l));let o=[[c[0][0],c[0][1]],[c[1][0],c[1][1]]];if(s.size>1&&c&&!r.extent){const{positionAbsolute:e}=r.internals,t=e.x-y.x+c[0][0],n=e.x+r.measured.width-y.x2+c[1][0];o=[[t,e.y-y.y+c[0][1]],[n,e.y+r.measured.height-y.y2+c[1][1]]]}const{position:h,positionAbsolute:d}=zn({nodeId:t,nextPosition:i,nodeLookup:a,nodeExtent:o,nodeOrigin:f,onError:g});v=v||r.position.x!==h.x||r.position.y!==h.y,r.position=h,r.internals.positionAbsolute=d}if(p=p||v,v&&(m(s,!0),i&&(r||h||!b&&d))){const[e,t]=oi({nodeId:b,dragItems:s,nodeLookup:a});r?.(i,s,e,t),h?.(i,e,t),b||d?.(i,t)}}async function x(){if(!u)return;const{transform:e,panBy:n,autoPanSpeed:r,autoPanOnNodeDrag:i}=t();if(!i)return c=!1,void cancelAnimationFrame(a);const[s,f]=Vn(l,u,r);0===s&&0===f||(o.x=(o.x??0)-s/e[2],o.y=(o.y??0)-f/e[2],await n({x:s,y:f})&&w(o,null)),a=requestAnimationFrame(x)}function S(r){const{nodeLookup:i,multiSelectionActive:a,nodesDraggable:c,transform:l,snapGrid:h,snapToGri
vendor: 5,383 bytes, line 2
2d:d,selectNodesOnDrag:p,onNodeDragStart:g,onSelectionDragStart:m,unselectNodesAndEdges:v}=t();f=!0,p&&y||a||!b||i.get(b)?.selected||v(),y&&p&&b&&e?.(b);const _=mr(r.sourceEvent,{transform:l,snapGrid:h,snapToGrid:d,containerBounds:u});if(o=_,s=function(e,t,n,r){const i=new Map;for(const[o,a]of e)if((a.selected||a.id===r)&&(!a.parentId||!ri(a,e))&&(a.draggable||t&&void 0===a.draggable)){const t=e.get(o);t&&i.set(o,{id:o,position:t.position||{x:0,y:0},distance:{x:n.x-t.internals.positionAbsolute.x,y:n.y-t.internals.positionAbsolute.y},extent:t.extent,parentId:t.parentId,origin:t.origin,expandParent:t.expandParent,internals:{positionAbsolute:t.internals.positionAbsolute||{x:0,y:0}},measured:{width:t.measured.width??0,height:t.measured.height??0}})}return i}(i,c,_,b),s.size>0&&(n||g||!b&&m)){const[e,t]=oi({nodeId:b,dragItems:s,nodeLookup:i});n?.(r.sourceEvent,s,e,t),g?.(r.sourceEvent,e,t),b||m?.(r.sourceEvent,t)}}h=xe(v);const E=Le().clickDistance(_).on("start",(e=>{const{domNode:n,nodeDragThreshold:r,transform:i,snapGrid:a,snapToGrid:s}=t();u=n?.getBoundingClientRect()||null,d=!1,p=!1,0===r&&S(e);const c=mr(e.sourceEvent,{transform:i,snapGrid:a,snapToGrid:s,containerBounds:u});o=c,l=xr(e.sourceEvent,u)})).on("drag",(e=>{const{autoPanOnNodeDrag:n,transform:r,snapGrid:i,snapToGrid:a,nodeDragThreshold:h,nodeLookup:p}=t(),g=mr(e.sourceEvent,{transform:r,snapGrid:i,snapToGrid:a,containerBounds:u});if(("touchmove"===e.sourceEvent.type&&e.sourceEvent.touches.length>1||b&&!p.has(b))&&(d=!0),!d){if(!c&&n&&f&&(c=!0,x()),!f){const t=g.xSnapped-(o.x??0),n=g.ySnapped-(o.y??0);Math.sqrt(t*t+n*n)>h&&S(e)}(o.x!==g.xSnapped||o.y!==g.ySnapped)&&s&&f&&(l=xr(e.sourceEvent,u),w(g,e.sourceEvent))}})).on("end",(e=>{if(f&&!d&&(c=!1,f=!1,cancelAnimationFrame(a),s.size>0)){const{nodeLookup:n,updateNodePositions:r,onNodeDragStop:o,onSelectionDragStop:a}=t();if(p&&(r(s,!1),p=!1),i||o||!b&&a){const[t,r]=oi({nodeId:b,dragItems:s,nodeLookup:n,dragging:!1});i?.(e.sourceEvent,s,t,r),o?.(e.sourceEvent,t,r),b||a?.(e.sourceEvent,r)}}})).filter((e=>{const t=e.target;return!e.button&&(!g||!ii(t,`.${g}`,v))&&(!m||ii(t,m,v))}));h.call(E)},destroy:function(){h?.on(".drag",null)}}}const si=250;function ci(e,t,n,r){let i=[],o=1/0;const a=function(e,t,n){const r=[],i={x:e.x-n,y:e.y-n,width:2*n,height:2*n};for(const e of t.values())Jn(i,Yn(e))>0&&r.push(e);return r}(e,n,t+si);for(const n of a){const a=[...n.internals.handleBounds?.source??[],...n.internals.handleBounds?.target??[]];for(const s of a){if(r.nodeId===s.nodeId&&r.type===s.type&&r.id===s.id)continue;const{x:a,y:c}=Ur(n,s,s.position,!0),l=Math.sqrt(Math.pow(a-e.x,2)+Math.pow(c-e.y,2));l>t||(l<o?(i=[{...s,x:a,y:c}],o=l):l===o&&i.push({...s,x:a,y:c}))}}if(!i.length)return null;if(i.length>1){const e="source"===r.type?"target":"source";return i.find((t=>t.type===e))??i[0]}return i[0]}function li(e,t,n,r,i,o=!1){const a=r.get(e);if(!a)return null;const s="strict"===i?a.internals.handleBounds?.[t]:[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]],c=(n?s?.find((e=>e.id===n)):s?.[0])??null;return c&&o?{...c,...Ur(a,c,c.position,!0)}:c}function ui(e,t){return e||(t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null)}const fi=()=>!0;function hi(e,{handle:t,connectionMode:n,fromNodeId:r,fromHandleId:i,fromType:o,doc:a,lib:s,flowId:c,isValidConnection:l=fi,nodeLookup:u}){const f="target"===o,h=t?a.querySelector(`.${s}-flow__handle[data-id="${c}-${t?.nodeId}-${t?.id}-${t?.type}"]`):null,{x:d,y:p}=xr(e),g=a.elementFromPoint(d,p),m=g?.classList.contains(`${s}-flow__handle`)?g:h,v={handleDomNode:m,isValid:!1,connection:null,toHandle:null};if(m){const e=ui(void 0,m),t=m.getAttribute("data-nodeid"),o=m.getAttribute("data-handleid"),a=m.classList.contains("connectable"),s=m.classList.contains("connectableend");if(!t||!e)return v;const c={source:f?t:r,sourceHandle:f?o:i,target:f?r:t,targetHandle:f?i:o};v.connection=c;const h=a&&s&&(n===_n.Strict?f&&"source"===e||!f&&"target"===e:t!==r||o!==i);v.isValid=h&&l(c),v.toHandle=li(t,e,o,u,n,!0)}return v}const di={onPointerDown:function(e,{connectionMode:t,connectionRadius:n,handleId:r,nodeId:i,edgeUpdaterType:o,isTarget:a,domNode:s,nodeLookup:c,lib:l,autoPanOnConnect:u,flowId:f,panBy:h,cancelConnection:d,onConnectStart:p,onConnect:g,onConnectEnd:m,isValidConnection:v=fi,onReconnectEnd:y,updateConnection:b,getTransform:_,getFromHandle:w,autoPanSpeed:x,dragThreshold:S=1}){const E=yr(e.target);let k,O=0;const{x:C,y:A}=xr(e),T=E?.elementFromPoint(C,A),P=ui(o,T),D=s?.getBoundingClientRect();let M=!1;if(!D||!P)return;const R=li(i,P,r,c,t);if(!R)return;let j=xr(e,D),N=!1,L=null,I=!1,B=null;function F(){if(!u||!D)return;const[e,t]=Vn(j,D,x);h({x:e,y:t}),O=requestAnimationFrame(F)}const z={...R,nodeId:i,type:P,position:R.position},U=c.get(i);let H={inProgress:!0,isValid:null,from:Ur(U,z,On.Left,!0),fromHandle:z,fromPosition:z.position,fromNode:U,to:j,toHandle:null,toPosition:Cn[z.position],toNode:null};function q(){M=!0,b(H),p?.(e,{nodeId:i,handleId:r,handleType:P})}function $(e){if(!M){const{x:t,y:n}=xr(e),r=t-C,i=n-A;if(!(r*r+i*i>S*S))return;q()}if(!w()||!z)return void W(e);const o=_();j=xr(e,D),k=ci(ir(j,o,!1,[1,1]),n,c,z),N||(F(),N=!0);const s=hi(e,{handle:k,connectionMode:t,fromNodeId:i,fromHandleId:r,fromType:a?"target":"source",isValidConnection:v,doc:E,lib:l,flowId:f,nodeLookup:c});
2B=s.handleDomNode,L=s.connection,I=function(e,t){let n=null;return t?n=!0:e&&!t&&(n=!1),n}(!!k,s.isValid);const u={...H,isValid:I,to:s.toHandle&&I?or({x:s.toHandle.x,y:s.toHandle.y},o):j,toHandle:s.toHandle,toPosition:I&&s.toHandle?s.toHandle.position:Cn[z.position],toNode:s.toHandle?c.get(s.toHandle.nodeId):null};I&&k&&H.toHandle&&u.toHandle&&H.toHandle.type===u.toHandle.type&&H.toHandle.nodeId===u.toHandle.nodeId&&H.toHandle.id===u.toHandle.id&&H.to.x===u.to.x&&H.to.y===u.to.y||(b(u),H=u)}function W(e){if(M){(k||B)&&L&&I&&g?.(L);const{inProgress:t,...n}=H,r={...n,toPosition:H.toHandle?H.toPosition:null};m?.(e,r),o&&y?.(e,r)}d(),cancelAnimationFrame(O),N=!1,I=!1,L=null,B=null,E.removeEventListener("mousemove",$),E.removeEventListener("mouseup",W),E.removeEventListener("touchmove",$),E.removeEventListener("touchend",W)}0===S&&q(),E.addEventListener("mousemove",$),E.addEventListener("mouseup",W),E.addEventListener("touchmove",$),E.addEventListener("touchend",W)},isValid:hi};function pi({domNode:e,panZoom:t,getTransform:n,getViewScale:r}){const i=xe(e);return{update:function({translateExtent:e,width:o,height:a,zoomStep:s=10,pannable:c=!0,zoomable:l=!0,inversePan:u=!1}){let f=[0,0];const h=pn().on("start",(e=>{"mousedown"!==e.sourceEvent.type&&"touchstart"!==e.sourceEvent.type||(f=[e.sourceEvent.clientX??e.sourceEvent.touches[0].clientX,e.sourceEvent.clientY??e.sourceEvent.touches[0].clientY])})).on("zoom",c?i=>{const s=n();if("mousemove"!==i.sourceEvent.type&&"touchmove"!==i.sourceEvent.type||!t)return;const c=[i.sourceEvent.clientX??i.sourceEvent.touches[0].clientX,i.sourceEvent.clientY??i.sourceEvent.touches[0].clientY],l=[c[0]-f[0],c[1]-f[1]];f=c;const h=r()*Math.max(s[2],Math.log(s[2]))*(u?-1:1),d={x:s[0]-l[0]*h,y:s[1]-l[1]*h},p=[[0,0],[o,a]];t.setViewportConstrained({x:d.x,y:d.y,zoom:s[2]},p,e)}:null).on("zoom.wheel",l?e=>{const r=n();if("wheel"!==e.sourceEvent.type||!t)return;const i=-e.sourceEvent.deltaY*(1===e.sourceEvent.deltaMode?.05:e.sourceEvent.deltaMode?1:.002)*s,o=r[2]*Math.pow(2,i);t.scaleTo(o)}:null);i.call(h,{})},destroy:function(){i.on("zoom",null)},pointer:Se}}const gi=(e,t)=>e.x!==t.x||e.y!==t.y||e.zoom!==t.k,mi=e=>({x:e.x,y:e.y,zoom:e.k}),vi=({x:e,y:t,zoom:n})=>rn.translate(e,t).scale(n),yi=(e,t)=>e.target.closest(`.${t}`),bi=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),_i=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,wi=(e,t=0,n=_i,r=(()=>{}))=>{const i="number"==typeof t&&t>0;return i||r(),i?e.transition().duration(t).ease(n).on("end",r):e},xi=e=>{const t=e.ctrlKey&&cr()?10:1;return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*t};function Si({domNode:e,minZoom:t,maxZoom:n,paneClickDistance:r,translateExtent:i,viewport:o,onPanZoom:a,onPanZoomStart:s,onPanZoomEnd:c,onDraggingChange:l}){const u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{x:0,y:0,zoom:0},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e.getBoundingClientRect(),h=pn().clickDistance(!tr(r)||r<0?0:r).scaleExtent([t,n]).translateExtent(i),d=xe(e).call(h);y({x:o.x,y:o.y,zoom:Hn(o.zoom,t,n)},[[0,0],[f.width,f.height]],i);const p=d.on("wheel.zoom"),g=d.on("dblclick.zoom");function m(e,t){return d?new Promise((n=>{h?.interpolate("linear"===t?.interpolate?gn.Z:Ue).transform(wi(d,t?.duration,t?.ease,(()=>n(!0))),e)})):Promise.resolve(!1)}function v(){h.on("zoom",null)}async function y(e,t,n){const r=vi(e),i=h?.constrain()(r,t,n);return i&&await m(i),new Promise((e=>e(i)))}return h.wheelDelta(xi),{update:function({noWheelClassName:e,noPanClassName:t,onPaneContextMenu:n,userSelectionActive:r,panOnScroll:i,panOnDrag:o,panOnScrollMode:f,panOnScrollSpeed:m,preventScrolling:y,zoomOnPinch:b,zoomOnScroll:_,zoomOnDoubleClick:w,zoomActivationKeyPressed:x,lib:S,onTransformChange:E}){r&&!u.isZoomingOrPanning&&v();const k=i&&!x&&!r?function({zoomPanValues:e,noWheelClassName:t,d3Selection:n,d3Zoom:r,panOnScrollMode:i,panOnScrollSpeed:o,zoomOnPinch:a,onPanZoomStart:s,onPanZoom:c,onPanZoomEnd:l}){return u=>{if(yi(u,t))return!1;u.preventDefault(),u.stopImmediatePropagation();const f=n.property("__zoom").k||1;if(u.ctrlKey&&a){const e=Se(u),t=xi(u),i=f*Math.pow(2,t);return void r.scaleTo(n,i,e,u)}const h=1===u.deltaMode?20:1;let d=i===wn.Vertical?0:u.deltaX*h,p=i===wn.Horizontal?0:u.deltaY*h;!cr()&&u.shiftKey&&i!==wn.Vertical&&(d=u.deltaY*h,p=0),r.translateBy(n,-d/f*o,-p/f*o,{internal:!0});const g=mi(n.property("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling||(e.isPanScrolling=!0,s?.(u,g)),e.isPanScrolling&&(c?.(u,g),e.panScrollTimeout=setTimeout((()=>{l?.(u,g),e.isPanScrolling=!1}),150))}}({zoomPanValues:u,noWheelClassName:e,d3Selection:d,d3Zoom:h,panOnScrollMode:f,panOnScrollSpeed:m,zoomOnPinch:b,onPanZoomStart:s,onPanZoom:a,onPanZoomEnd:c}):function({noWheelClassName:e,preventScrolling:t,d3ZoomHandler:n}){return function(r,i){const o="wheel"===r.type,a=!t&&o&&!r.ctrlKey,s=yi(r,e);if(r.ctrlKey&&o&&s&&r.preventDefault(),a||s)return null;r.preventDefault(),n.call(this,r,i)}}({noWheelClassName:e,preventScrolling:y,d3ZoomHandler:p});if(d.on("wheel.zoom",k,{passive:!1}),!r){const e=function({zoomPanValues:e,onDraggingChange:t,onPanZoomStart:n}){return r=>{if(r.sourceEvent?.internal)return;const i=mi(r.transform);
2e.mouseButton=r.sourceEvent?.button||0,e.isZoomingOrPanning=!0,e.prevViewport=i,"mousedown"===r.sourceEvent?.type&&t(!0),n&&n?.(r.sourceEvent,i)}}({zoomPanValues:u,onDraggingChange:l,onPanZoomStart:s});h.on("start",e);const t=function({zoomPanValues:e,panOnDrag:t,onPaneContextMenu:n,onTransformChange:r,onPanZoom:i}){return o=>{e.usedRightMouseButton=!(!n||!bi(t,e.mouseButton??0)),o.sourceEvent?.sync||r([o.transform.x,o.transform.y,o.transform.k]),i&&!o.sourceEvent?.internal&&i?.(o.sourceEvent,mi(o.transform))}}({zoomPanValues:u,panOnDrag:o,onPaneContextMenu:!!n,onPanZoom:a,onTransformChange:E});h.on("zoom",t);const r=function({zoomPanValues:e,panOnDrag:t,panOnScroll:n,onDraggingChange:r,onPanZoomEnd:i,onPaneContextMenu:o}){return a=>{if(!a.sourceEvent?.internal&&(e.isZoomingOrPanning=!1,o&&bi(t,e.mouseButton??0)&&!e.usedRightMouseButton&&a.sourceEvent&&o(a.sourceEvent),e.usedRightMouseButton=!1,r(!1),i&&gi(e.prevViewport,a.transform))){const t=mi(a.transform);e.prevViewport=t,clearTimeout(e.timerId),e.timerId=setTimeout((()=>{i?.(a.sourceEvent,t)}),n?150:0)}}}({zoomPanValues:u,panOnDrag:o,panOnScroll:i,onPaneContextMenu:n,onPanZoomEnd:c,onDraggingChange:l});h.on("end",r)}const O=function({zoomActivationKeyPressed:e,zoomOnScroll:t,zoomOnPinch:n,panOnDrag:r,panOnScroll:i,zoomOnDoubleClick:o,userSelectionActive:a,noWheelClassName:s,noPanClassName:c,lib:l}){return u=>{const f=e||t,h=n&&u.ctrlKey;if(1===u.button&&"mousedown"===u.type&&(yi(u,`${l}-flow__node`)||yi(u,`${l}-flow__edge`)))return!0;if(!(r||f||i||o||n))return!1;if(a)return!1;if(yi(u,s)&&"wheel"===u.type)return!1;if(yi(u,c)&&("wheel"!==u.type||i&&"wheel"===u.type&&!e))return!1;if(!n&&u.ctrlKey&&"wheel"===u.type)return!1;if(!n&&"touchstart"===u.type&&u.touches?.length>1)return u.preventDefault(),!1;if(!f&&!i&&!h&&"wheel"===u.type)return!1;if(!r&&("mousedown"===u.type||"touchstart"===u.type))return!1;if(Array.isArray(r)&&!r.includes(u.button)&&"mousedown"===u.type)return!1;const d=Array.isArray(r)&&r.includes(u.button)||!u.button||u.button<=1;return(!u.ctrlKey||"wheel"===u.type)&&d}}({zoomActivationKeyPressed:x,panOnDrag:o,zoomOnScroll:_,panOnScroll:i,zoomOnDoubleClick:w,zoomOnPinch:b,userSelectionActive:r,noPanClassName:t,noWheelClassName:e,lib:S});h.filter(O),w?d.on("dblclick.zoom",g):d.on("dblclick.zoom",null)},destroy:v,setViewport:async function(e,t){const n=vi(e);return await m(n,t),new Promise((e=>e(n)))},setViewportConstrained:y,getViewport:function(){const e=d?on(d.node()):{x:0,y:0,k:1};return{x:e.x,y:e.y,zoom:e.k}},scaleTo:function(e,t){return d?new Promise((n=>{h?.interpolate("linear"===t?.interpolate?gn.Z:Ue).scaleTo(wi(d,t?.duration,t?.ease,(()=>n(!0))),e)})):Promise.resolve(!1)},scaleBy:function(e,t){return d?new Promise((n=>{h?.interpolate("linear"===t?.interpolate?gn.Z:Ue).scaleBy(wi(d,t?.duration,t?.ease,(()=>n(!0))),e)})):Promise.resolve(!1)},setScaleExtent:function(e){h?.scaleExtent(e)},setTranslateExtent:function(e){h?.translateExtent(e)},syncViewport:function(e){if(d){const t=vi(e),n=d.property("__zoom");n.k===e.zoom&&n.x===e.x&&n.y===e.y||h?.transform(d,t,null,{sync:!0})}},setClickDistance:function(e){const t=!tr(e)||e<0?0:e;h?.clickDistance(t)}}}var Ei;!function(e){e.Line="line",e.Handle="handle"}(Ei||(Ei={}));function ki(e,t){return Math.max(0,t-e)}function Oi(e,t){return Math.max(0,e-t)}function Ci(e,t,n){return Math.max(0,t-e,e-n)}function Ai(e,t){return e?!t:t}const Ti={width:0,height:0,x:0,y:0},Pi={...Ti,pointerX:0,pointerY:0,aspectRatio:1};function Di(e,t,n){const r=t.position.x+e.position.x,i=t.position.y+e.position.y,o=e.measured.width??0,a=e.measured.height??0,s=n[0]*o,c=n[1]*a;return[[r-s,i-c],[r+o-s,i+a-c]]}function Mi({domNode:e,nodeId:t,getStoreItems:n,onChange:r,onEnd:i}){const o=xe(e);return{update:function({controlPosition:e,boundaries:a,keepAspectRatio:s,resizeDirection:c,onResizeStart:l,onResize:u,onResizeEnd:f,shouldResize:h}){let d={...Ti},p={...Pi};const g=function(e){return{isHorizontal:e.includes("right")||e.includes("left"),isVertical:e.includes("bottom")||e.includes("top"),affectsX:e.includes("left"),affectsY:e.includes("top")}}(e);let m,v,y,b,_=null,w=[];const x=Le().on("start",(e=>
2{const{nodeLookup:r,transform:i,snapGrid:o,snapToGrid:a,nodeOrigin:s,paneDomNode:c}=n();if(m=r.get(t),!m)return;_=c?.getBoundingClientRect()??null;const{xSnapped:u,ySnapped:f}=mr(e.sourceEvent,{transform:i,snapGrid:o,snapToGrid:a,containerBounds:_});d={width:m.measured.width??0,height:m.measured.height??0,x:m.position.x??0,y:m.position.y??0},p={...d,pointerX:u,pointerY:f,aspectRatio:d.width/d.height},v=void 0,m.parentId&&("parent"===m.extent||m.expandParent)&&(v=r.get(m.parentId),y=v&&"parent"===m.extent?function(e){return[[0,0],[e.measured.width,e.measured.height]]}(v):void 0),w=[],b=void 0;for(const[e,n]of r)if(n.parentId===t&&(w.push({id:e,position:{...n.position},extent:n.extent}),"parent"===n.extent||n.expandParent)){const e=Di(n,m,n.origin??s);b=b?[[Math.min(e[0][0],b[0][0]),Math.min(e[0][1],b[0][1])],[Math.max(e[1][0],b[1][0]),Math.max(e[1][1],b[1][1])]]:e}l?.(e,{...d})})).on("drag",(e=>{const{transform:t,snapGrid:i,snapToGrid:o,nodeOrigin:l}=n(),f=mr(e.sourceEvent,{transform:t,snapGrid:i,snapToGrid:o,containerBounds:_}),x=[];if(!m)return;const{x:S,y:E,width:k,height:O}=d,C={},A=m.origin??l,{width:T,height:P,x:D,y:M}=function(e,t,n,r,i,o,a,s){let{affectsX:c,affectsY:l}=t;const{isHorizontal:u,isVertical:f}=t,h=u&&f,{xSnapped:d,ySnapped:p}=n,{minWidth:g,maxWidth:m,minHeight:v,maxHeight:y}=r,{x:b,y:_,width:w,height:x,aspectRatio:S}=e;let E=Math.floor(u?d-e.pointerX:0),k=Math.floor(f?p-e.pointerY:0);const O=w+(c?-E:E),C=x+(l?-k:k),A=-o[0]*w,T=-o[1]*x;let P=Ci(O,g,m),D=Ci(C,v,y);if(a){let e=0,t=0;c&&E<0?e=ki(b+E+A,a[0][0]):!c&&E>0&&(e=Oi(b+O+A,a[1][0])),l&&k<0?t=ki(_+k+T,a[0][1]):!l&&k>0&&(t=Oi(_+C+T,a[1][1])),P=Math.max(P,e),D=Math.max(D,t)}if(s){let e=0,t=0;c&&E>0?e=Oi(b+E,s[0][0]):!c&&E<0&&(e=ki(b+O,s[1][0])),l&&k>0?t=Oi(_+k,s[0][1]):!l&&k<0&&(t=ki(_+C,s[1][1])),P=Math.max(P,e),D=Math.max(D,t)}if(i){if(u){const e=Ci(O/S,v,y)*S;if(P=Math.max(P,e),a){let e=0;e=!c&&!l||c&&!l&&h?Oi(_+T+O/S,a[1][1])*S:ki(_+T+(c?E:-E)/S,a[0][1])*S,P=Math.max(P,e)}if(s){let e=0;e=!c&&!l||c&&!l&&h?ki(_+O/S,s[1][1])*S:Oi(_+(c?E:-E)/S,s[0][1])*S,P=Math.max(P,e)}}if(f){const e=Ci(C*S,g,m)/S;if(D=Math.max(D,e),a){let e=0;e=!c&&!l||l&&!c&&h?Oi(b+C*S+A,a[1][0])/S:ki(b+(l?k:-k)*S+A,a[0][0])/S,D=Math.max(D,e)}if(s){let e=0;e=!c&&!l||l&&!c&&h?ki(b+C*S,s[1][0])/S:Oi(b+(l?k:-k)*S,s[0][0])/S,D=Math.max(D,e)}}}k+=k<0?D:-D,E+=E<0?P:-P,i&&(h?O>C*S?k=(Ai(c,l)?-E:E)/S:E=(Ai(c,l)?-k:k)*S:u?(k=E/S,l=c):(E=k*S,c=l));const M=c?b+E:b,R=l?_+k:_;return{width:w+(c?-E:E),height:x+(l?-k:k),x:o[0]*E*(c?-1:1)+M,y:o[1]*k*(l?-1:1)+R}}(p,g,f,a,s,A,y,b),R=T!==k,j=P!==O,N=D!==S&&R,L=M!==E&&j;if(!(N||L||R||j))return;if((N||L||1===A[0]||1===A[1])&&(C.x=N?D:d.x,C.y=L?M:d.y,d.x=C.x,d.y=C.y,w.length>0)){const e=D-S,t=M-E;for(const n of w)n.position={x:n.position.x-e+A[0]*(T-k),y:n.position.y-t+A[1]*(P-O)},x.push(n)}if((R||j)&&(C.width=!R||c&&"horizontal"!==c?d.width:T,C.height=!j||c&&"vertical"!==c?d.height:P,d.width=C.width,d.height=C.height),v&&m.expandParent){const e=A[0]*(C.width??0);C.x&&C.x<e&&(d.x=e,p.x=p.x-(C.x-e));const t=A[1]*(C.height??0);C.y&&C.y<t&&(d.y=t,p.y=p.y-(C.y-t))}const I=function({width:e,prevWidth:t,height:n,prevHeight:r,affectsX:i,affectsY:o}){const a=e-t,s=n-r,c=[a>0?1:a<0?-1:0,s>0?1:s<0?-1:0];return a&&i&&(c[0]=-1*c[0]),s&&o&&(c[1]=-1*c[1]),c}({width:d.width,prevWidth:k,height:d.height,prevHeight:O,affectsX:g.affectsX,affectsY:g.affectsY}),B={...d,direction:I},F=h?.(e,B);!1!==F&&(u?.(e,B),r(C,x))})).on("end",(e=>{f?.(e,{...d}),i?.({...d})}));o.call(x)},destroy:function(){o.on(".drag",null)}}}},80454:function(e){"use strict";const t=(e,t,n)=>{const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}};e.exports=(e,n,r)=>(e=[...e],t(e,n,r),e),e.exports.mutate=t},58363:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=c(e),a=o[0],s=o[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},11073:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},48764:function(e,t,n){"use strict";var r=n(79742),i=n(80645),o=n(5826);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=h(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n);e=s(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):h(e,t);if("Buffer"===t.type&&o(t.data))return h(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(u(t),e=s(e,t<0?0:0|d(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function h(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;
vendor: 12,365 bytes, line 2
2o++)if(l(e,o)===l(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(l(e,o+h)!==l(t,h)){f=!1;break}if(f)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return q(U(t,e.length-n),e,n,r)}function w(e,t,n,r){return q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function x(e,t,n,r){return w(e,t,n,r)}function S(e,t,n,r){return q(H(t),e,n,r)}function E(e,t,n,r){return q(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,l=e[i],u=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=C));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return f(null,e)},c.allocUnsafeSlow=function(e){return f(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):g.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),f=0;f<s;++f)if(l[f]!==u[f]){o=l[f],a=u[f];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=z(e[o]);return i}function D(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function M(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function L(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,o){return o||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),
vendor: 5,063 bytes, line 2
2c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=c.isBuffer(e)?e:U(new c(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},25730:function(e,t,n){"use strict";var r=n(58612),i=n(1768),o=n(68928),a=n(59770);e.exports=a||r.call(o,i)},1768:function(e){"use strict";e.exports=Function.prototype.apply},68928:function(e){"use strict";e.exports=Function.prototype.call},40319:function(e,t,n){"use strict";var r=n(58612),i=n(14453),o=n(68928),a=n(25730);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(r,o,e)}},59770:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},21924:function(e,t,n){"use strict";var r=n(40210),i=n(55559),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},55559:function(e,t,n){"use strict";var r=n(58612),i=n(40210),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(r,a,arguments);c&&l&&(c(t,"length").configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))}));return t};var f=function(){return s(r,o,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},5553:function(e){!function(){"use strict";var t=document,n=window,r=t.documentElement,i=t.createElement.bind(t),o=i("div"),a=i("table"),s=i("tbody"),c=i("tr"),l=Array.isArray,u=Array.prototype,f=u.concat,h=u.filter,d=u.indexOf,p=u.map,g=u.push,m=u.slice,v=u.some,y=u.splice,b=/^#(?:[\w-]|\\.|[^\x00-\xa0])*$/,_=/^\.(?:[\w-]|\\.|[^\x00-\xa0])*$/,w=/<.+>/,x=/^\w+$/;function S(e,t){var n,r=!!(n=t)&&11===n.nodeType;return e&&(r||T(t)||P(t))?!r&&_.test(e)?t.getElementsByClassName(e.slice(1).replace(/\\/g,"")):!r&&x.test(e)?t.getElementsByTagName(e):t.querySelectorAll(e):[]}var E=function(){function e(e,r){if(e){if(C(e))return e;var i=e;if(M(e)){var o=(C(r)?r[0]:r)||t;if(!(i=b.test(e)&&"getElementById"in o?o.getElementById(e.slice(1).replace(/\\/g,"")):w.test(e)?Q(e):S(e,o))
2)return}else if(D(e))return this.ready(e);(i.nodeType||i===n)&&(i=[i]),this.length=i.length;for(var a=0,s=this.length;a<s;a++)this[a]=i[a]}}return e.prototype.init=function(t,n){return new e(t,n)},e}(),k=E.prototype,O=k.init;function C(e){return e instanceof E}function A(e){return!!e&&e===e.window}function T(e){return!!e&&9===e.nodeType}function P(e){return!!e&&1===e.nodeType}function D(e){return"function"==typeof e}function M(e){return"string"==typeof e}function R(e){return void 0===e}function j(e){return null===e}function N(e){return!isNaN(parseFloat(e))&&isFinite(e)}function L(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function I(e,t,n){if(n){for(var r=e.length;r--;)if(!1===t.call(e[r],r,e[r]))return e}else if(L(e))for(var i=Object.keys(e),o=(r=0,i.length);r<o;r++){var a=i[r];if(!1===t.call(e[a],a,e[a]))return e}else for(r=0,o=e.length;r<o;r++)if(!1===t.call(e[r],r,e[r]))return e;return e}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="boolean"==typeof e[0]&&e.shift(),r=e.shift(),i=e.length;if(!r)return{};if(!i)return B(n,O,r);for(var o=0;o<i;o++){var a=e[o];for(var s in a)n&&(l(a[s])||L(a[s]))?(r[s]&&r[s].constructor===a[s].constructor||(r[s]=new a[s].constructor),B(n,r[s],a[s])):r[s]=a[s]}return r}O.fn=O.prototype=k,k.length=0,k.splice=y,"function"==typeof Symbol&&(k[Symbol.iterator]=u[Symbol.iterator]),O.isWindow=A,O.isFunction=D,O.isArray=l,O.isNumeric=N,O.isPlainObject=L,O.each=I,k.each=function(e){return I(this,e)},k.empty=function(){return this.each((function(e,t){for(;t.firstChild;)t.removeChild(t.firstChild)}))},O.extend=B,k.extend=function(e){return B(k,e)};var F=/\S+/g;function z(e){return M(e)&&e.match(F)||[]}function U(e,t,r){if(P(e)){var i=n.getComputedStyle(e,null);return r?i.getPropertyValue(t)||void 0:i[t]||e.style[t]}}function H(e,t){return parseInt(U(e,t),10)||0}function q(e,t){return H(e,"border".concat(t?"Left":"Top","Width"))+H(e,"padding".concat(t?"Left":"Top"))+H(e,"padding".concat(t?"Right":"Bottom"))+H(e,"border".concat(t?"Right":"Bottom","Width"))}k.toggleClass=function(e,t){var n=z(e),r=!R(t);return this.each((function(e,i){P(i)&&I(n,(function(e,n){r?t?i.classList.add(n):i.classList.remove(n):i.classList.toggle(n)}))}))},k.addClass=function(e){return this.toggleClass(e,!0)},k.removeAttr=function(e){var t=z(e);return this.each((function(e,n){P(n)&&I(t,(function(e,t){n.removeAttribute(t)}))}))},k.attr=function(e,t){if(e){if(M(e)){if(arguments.length<2){if(!this[0]||!P(this[0]))return;var n=this[0].getAttribute(e);return j(n)?void 0:n}return R(t)?this:j(t)?this.removeAttr(e):this.each((function(n,r){P(r)&&r.setAttribute(e,t)}))}for(var r in e)this.attr(r,e[r]);return this}},k.removeClass=function(e){return arguments.length?this.toggleClass(e,!1):this.attr("class","")},k.hasClass=function(e){return!!e&&v.call(this,(function(t){return P(t)&&t.classList.contains(e)}))},k.get=function(e){return R(e)?m.call(this):this[(e=Number(e))<0?e+this.length:e]},k.eq=function(e){return O(this.get(e))},k.first=function(){return this.eq(0)},k.last=function(){return this.eq(-1)},k.text=function(e){return R(e)?this.get().map((function(e){return P(e)||(t=e)&&3===t.nodeType?e.textContent:"";var t})).join(""):this.each((function(t,n){P(n)&&(n.textContent=e)}))};var $={};function W(e){return"none"===U(e,"display")}function V(e,t){var n=e&&(e.matches||e.webkitMatchesSelector||e.msMatchesSelector);return!!n&&!!t&&n.call(e,t)}function K(e){return M(e)?function(t,n){return V(n,e)}:D(e)?e:C(e)?function(t,n){return e.is(n)}:e?function(t,n){return n===e}:function(){return!1}}function G(e,t){return t?e.filter(t):e}k.filter=function(e){var t=K(e);return O(h.call(this,(function(e,n){return t.call(e,n,e)})))},k.detach=function(e){return G(this,e).each((function(e,t){t.parentNode&&t.parentNode.removeChild(t)})),this};var Z=/^\s*<(\w+)[^>]*>/,Y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,X={"*":o,tr:s,td:c,th:c,thead:a,tbody:a,tfoot:a};function Q(e){if(!M(e))return[];if(Y.test(e))return[i(RegExp.$1)];var t=Z.test(e)&&RegExp.$1,n=X[t]||X["*"];return n.innerHTML=e,O(n.childNodes).detach().get()}function J(e,t,n,r){for(var i=[],o=D(t),a=r&&K(r),s=0,c=e.length;s<c;
2s++)if(o){var l=t(e[s]);l.length&&g.apply(i,l)}else for(var u=e[s][t];!(null==u||r&&a(-1,u));)i.push(u),u=n?u[t]:null;return i}function ee(e){return e.multiple&&e.options?J(h.call(e.options,(function(e){return e.selected&&!e.disabled&&!e.parentNode.disabled})),"value"):e.value||""}function te(e){return e.length>1?h.call(e,(function(e,t,n){return d.call(n,e)===t})):e}O.parseHTML=Q,k.has=function(e){var t=M(e)?function(t,n){return S(e,n).length}:function(t,n){return n.contains(e)};return this.filter(t)},k.not=function(e){var t=K(e);return this.filter((function(n,r){return(!M(e)||P(r))&&!t.call(r,n,r)}))},k.val=function(e){return arguments.length?this.each((function(t,n){var r=n.multiple&&n.options;if(r||Ne.test(n.type)){var i=l(e)?p.call(e,String):j(e)?[]:[String(e)];r?I(n.options,(function(e,t){t.selected=i.indexOf(t.value)>=0}),!0):n.checked=i.indexOf(n.value)>=0}else n.value=R(e)||j(e)?"":e})):this[0]&&ee(this[0])},k.is=function(e){var t=K(e);return v.call(this,(function(e,n){return t.call(e,n,e)}))},O.guid=1,O.unique=te,k.add=function(e,t){return O(te(this.get().concat(O(e,t).get())))},k.children=function(e){return G(O(te(J(this,(function(e){return e.children})))),e)},k.parent=function(e){return G(O(te(J(this,"parentNode"))),e)},k.index=function(e){var t=e?O(e)[0]:this[0],n=e?this:O(t).parent().children();return d.call(n,t)},k.closest=function(e){var t=this.filter(e);if(t.length)return t;var n=this.parent();return n.length?n.closest(e):t},k.siblings=function(e){return G(O(te(J(this,(function(e){return O(e).parent().children().not(e)})))),e)},k.find=function(e){return O(te(J(this,(function(t){return S(e,t)}))))};var ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,re=/^$|^module$|\/(java|ecma)script/i,ie=["type","src","nonce","noModule"];function oe(e,t,n,o,a){o?e.insertBefore(t,n?e.firstChild:null):"HTML"===e.nodeName?e.parentNode.replaceChild(t,e):e.parentNode.insertBefore(t,n?e:e.nextSibling),a&&function(e,t){var n=O(e);n.filter("script").add(n.find("script")).each((function(e,n){if(re.test(n.type)&&r.contains(n)){var o=i("script");o.text=n.textContent.replace(ne,""),I(ie,(function(e,t){n[t]&&(o[t]=n[t])})),t.head.insertBefore(o,null),t.head.removeChild(o)}}))}(t,e.ownerDocument)}function ae(e,t,n,r,i,o,a,s){return I(e,(function(e,o){I(O(o),(function(e,o){I(O(t),(function(t,a){var s=n?a:o,c=n?e:t;oe(n?o:a,c?s.cloneNode(!0):s,r,i,!c)}),s)}),a)}),o),t}k.after=function(){return ae(arguments,this,!1,!1,!1,!0,!0)},k.append=function(){return ae(arguments,this,!1,!1,!0)},k.html=function(e){if(!arguments.length)return this[0]&&this[0].innerHTML;if(R(e))return this;var t=/<script[\s>]/.test(e);return this.each((function(n,r){P(r)&&(t?O(r).empty().append(e):r.innerHTML=e)}))},k.appendTo=function(e){return ae(arguments,this,!0,!1,!0)},k.wrapInner=function(e){return this.each((function(t,n){var r=O(n),i=r.contents();i.length?i.wrapAll(e):r.append(e)}))},k.before=function(){return ae(arguments,this,!1,!0)},k.wrapAll=function(e){for(var t=O(e),n=t[0];n.children.length;)n=n.firstElementChild;return this.first().before(t),this.appendTo(n)},k.wrap=function(e){return this.each((function(t,n){var r=O(e)[0];O(n).wrapAll(t?r.cloneNode(!0):r)}))},k.insertAfter=function(e){return ae(arguments,this,!0,!1,!1,!1,!1,!0)},k.insertBefore=function(e){return ae(arguments,this,!0,!0)},k.prepend=function(){return ae(arguments,this,!1,!0,!0,!0,!0)},k.prependTo=function(e){return ae(arguments,this,!0,!0,!0,!1,!1,!0)},k.contents=function(){return O(te(J(this,(function(e){return"IFRAME"===e.tagName?[e.contentDocument]:"TEMPLATE"===e.tagName?e.content.childNodes:e.childNodes}))))},k.next=function(e,t,n){return G(O(te(J(this,"nextElementSibling",t,n))),e)},k.nextAll=function(e){return this.next(e,!0)},k.nextUntil=function(e,t){return this.next(t,!0,e)},k.parents=function(e,t){return G(O(te(J(this,"parentElement",!0,t))),e)},k.parentsUntil=function(e,t){return this.parents(t,e)},k.prev=function(e,t,n){return G(O(te(J(this,"previousElementSibling",t,n))),e)},k.prevAll=function(e){return this.prev(e,!0)},k.prevUntil=function(e,t){return this.prev(t,!0,e)},k.map=function(e){return O(f.apply([],p.call(this,(function(t,n){return e.call(t,n,t)}
2))))},k.clone=function(){return this.map((function(e,t){return t.cloneNode(!0)}))},k.offsetParent=function(){return this.map((function(e,t){for(var n=t.offsetParent;n&&"static"===U(n,"position");)n=n.offsetParent;return n||r}))},k.slice=function(e,t){return O(m.call(this,e,t))};var se=/-([a-z])/g;function ce(e){return e.replace(se,(function(e,t){return t.toUpperCase()}))}k.ready=function(e){var n=function(){return setTimeout(e,0,O)};return"loading"!==t.readyState?n():t.addEventListener("DOMContentLoaded",n),this},k.unwrap=function(){return this.parent().each((function(e,t){if("BODY"!==t.tagName){var n=O(t);n.replaceWith(n.children())}})),this},k.offset=function(){var e=this[0];if(e){var t=e.getBoundingClientRect();return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}}},k.position=function(){var e=this[0];if(e){var t="fixed"===U(e,"position"),n=t?e.getBoundingClientRect():this.offset();if(!t){for(var r=e.ownerDocument,i=e.offsetParent||r.documentElement;(i===r.body||i===r.documentElement)&&"static"===U(i,"position");)i=i.parentNode;if(i!==e&&P(i)){var o=O(i).offset();n.top-=o.top+H(i,"borderTopWidth"),n.left-=o.left+H(i,"borderLeftWidth")}}return{top:n.top-H(e,"marginTop"),left:n.left-H(e,"marginLeft")}}};var le={class:"className",contenteditable:"contentEditable",for:"htmlFor",readonly:"readOnly",maxlength:"maxLength",tabindex:"tabIndex",colspan:"colSpan",rowspan:"rowSpan",usemap:"useMap"};k.prop=function(e,t){if(e){if(M(e))return e=le[e]||e,arguments.length<2?this[0]&&this[0][e]:this.each((function(n,r){r[e]=t}));for(var n in e)this.prop(n,e[n]);return this}},k.removeProp=function(e){return this.each((function(t,n){delete n[le[e]||e]}))};var ue=/^--/;function fe(e){return ue.test(e)}var he={},de=o.style,pe=["webkit","moz","ms"];var ge={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function me(e,t,n){return void 0===n&&(n=fe(e)),n||ge[e]||!N(t)?t:"".concat(t,"px")}function ve(e,t){try{return e(t)}catch(e){return t}}k.css=function(e,t){if(M(e)){var n=fe(e);return e=function(e,t){if(void 0===t&&(t=fe(e)),t)return e;if(!he[e]){var n=ce(e),r="".concat(n[0].toUpperCase()).concat(n.slice(1));I("".concat(n," ").concat(pe.join("".concat(r," "))).concat(r).split(" "),(function(t,n){if(n in de)return he[e]=n,!1}))}return he[e]}(e,n),arguments.length<2?this[0]&&U(this[0],e,n):e?(t=me(e,t,n),this.each((function(r,i){P(i)&&(n?i.style.setProperty(e,t):i.style[e]=t)}))):this}for(var r in e)this.css(r,e[r]);return this};var ye=/^\s+|\s+$/;function be(e,t){var n=e.dataset[t]||e.dataset[ce(t)];return ye.test(n)?n:ve(JSON.parse,n)}function _e(e,t){var n=e.documentElement;return Math.max(e.body["scroll".concat(t)],n["scroll".concat(t)],e.body["offset".concat(t)],n["offset".concat(t)],n["client".concat(t)])}k.data=function(e,t){if(!e){if(!this[0])return;var n={};for(var r in this[0].dataset)n[r]=be(this[0],r);return n}if(M(e))return arguments.length<2?this[0]&&be(this[0],e):R(t)?this:this.each((function(n,r){!function(e,t,n){n=ve(JSON.stringify,n),e.dataset[ce(t)]=n}(r,e,t)}));for(var r in e)this.data(r,e[r]);return this},I([!0,!1],(function(e,t){I(["Width","Height"],(function(e,n){var r="".concat(t?"outer":"inner").concat(n);k[r]=function(r){if(this[0])return A(this[0])?t?this[0]["inner".concat(n)]:this[0].document.documentElement["client".concat(n)]:T(this[0])?_e(this[0],n):this[0]["".concat(t?"offset":"client").concat(n)]+(r&&t?H(this[0],"margin".concat(e?"Top":"Left"))+H(this[0],"margin".concat(e?"Bottom":"Right")):0)}}))})),I(["Width","Height"],(function(e,t){var n=t.toLowerCase();k[n]=function(r){if(!this[0])return R(r)?void 0:this;if(!arguments.length)return A(this[0])?this[0].document.documentElement["client".concat(t)]:T(this[0])?_e(this[0],t):this[0].getBoundingClientRect()[n]-q(this[0],!e);var i=parseInt(r,10);return this.each((function(t,r){if(P(r)){var o=U(r,"boxSizing");r.style[n]=me(n,i+("border-box"===o?q(r,!e):0))}}))}}));var we="___cd";k.toggle=function(e){return this.each((function(n,r){P(r)&&((R(e)?W(r):e)?(r.style.display=r[we]||"",W(r)&&(r.style.display=function(e){if($[e])return $[e];var n=i(e);t.body.insertBefore(n,null);
2var r=U(n,"display");return t.body.removeChild(n),$[e]="none"!==r?r:"block"}(r.tagName))):(r[we]=U(r,"display"),r.style.display="none"))}))},k.hide=function(){return this.toggle(!1)},k.show=function(){return this.toggle(!0)};var xe="___ce",Se=".",Ee={focus:"focusin",blur:"focusout"},ke={mouseenter:"mouseover",mouseleave:"mouseout"},Oe=/^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;function Ce(e){return ke[e]||Ee[e]||e}function Ae(e){var t=e.split(Se);return[t[0],t.slice(1).sort()]}function Te(e){return e[xe]=e[xe]||{}}function Pe(e,t){return!t||!v.call(t,(function(t){return e.indexOf(t)<0}))}function De(e,t,n,r,i){var o=Te(e);if(t)o[t]&&(o[t]=o[t].filter((function(o){var a=o[0],s=o[1],c=o[2];if(i&&c.guid!==i.guid||!Pe(a,n)||r&&r!==s)return!0;e.removeEventListener(t,c)})));else for(t in o)De(e,t,n,r,i)}k.trigger=function(e,n){if(M(e)){var r=Ae(e),i=r[0],o=r[1],a=Ce(i);if(!a)return this;var s=Oe.test(a)?"MouseEvents":"HTMLEvents";(e=t.createEvent(s)).initEvent(a,!0,!0),e.namespace=o.join(Se),e.___ot=i}e.___td=n;var c=e.___ot in Ee;return this.each((function(t,n){c&&D(n[e.___ot])&&(n["___i".concat(e.type)]=!0,n[e.___ot](),n["___i".concat(e.type)]=!1),n.dispatchEvent(e)}))},k.off=function(e,t,n){var r=this;if(R(e))this.each((function(e,t){(P(t)||T(t)||A(t))&&De(t)}));else if(M(e))D(t)&&(n=t,t=""),I(z(e),(function(e,i){var o=Ae(i),a=o[0],s=o[1],c=Ce(a);r.each((function(e,r){(P(r)||T(r)||A(r))&&De(r,c,s,t,n)}))}));else for(var i in e)this.off(i,e[i]);return this},k.remove=function(e){return G(this,e).detach().off(),this},k.replaceWith=function(e){return this.before(e).remove()},k.replaceAll=function(e){return O(e).replaceWith(this),this},k.on=function(e,t,n,r,i){var o=this;if(!M(e)){for(var a in e)this.on(a,t,n,e[a],i);return this}return M(t)||(R(t)||j(t)?t="":R(n)?(n=t,t=""):(r=n,n=t,t="")),D(r)||(r=n,n=void 0),r?(I(z(e),(function(e,a){var s=Ae(a),c=s[0],l=s[1],u=Ce(c),f=c in ke,h=c in Ee;u&&o.each((function(e,o){if(P(o)||T(o)||A(o)){var a=function(e){if(e.target["___i".concat(e.type)])return e.stopImmediatePropagation();if((!e.namespace||Pe(l,e.namespace.split(Se)))&&(t||!(h&&(e.target!==o||e.___ot===u)||f&&e.relatedTarget&&o.contains(e.relatedTarget)))){var s=o;if(t){for(var c=e.target;!V(c,t);){if(c===o)return;if(!(c=c.parentNode))return}s=c}Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return s}}),Object.defineProperty(e,"delegateTarget",{configurable:!0,get:function(){return o}}),Object.defineProperty(e,"data",{configurable:!0,get:function(){return n}});var d=r.call(s,e,e.___td);i&&De(o,u,l,t,a),!1===d&&(e.preventDefault(),e.stopPropagation())}};a.guid=r.guid=r.guid||O.guid++,function(e,t,n,r,i){var o=Te(e);o[t]=o[t]||[],o[t].push([n,r,i]),e.addEventListener(t,i)}(o,u,l,t,a)}}))})),this):this},k.one=function(e,t,n,r){return this.on(e,t,n,r,!0)};var Me=/%20/g,Re=/\r?\n/g;var je=/file|reset|submit|button|image/i,Ne=/radio|checkbox/i;k.serialize=function(){var e="";return this.each((function(t,n){I(n.elements||[n],(function(t,n){if(!(n.disabled||!n.name||"FIELDSET"===n.tagName||je.test(n.type)||Ne.test(n.type)&&!n.checked)){var r=ee(n);if(!R(r))I(l(r)?r:[r],(function(t,r){e+=function(e,t){return"&".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t.replace(Re,"\r\n")).replace(Me,"+"))}(n.name,r)}))}}))})),e.slice(1)},e.exports=O}()},52905:function(e,t,n){(e.exports=n(17911)).version=n(24542).version},26451:function(e,t,n){var r=n(16634),i=n(75633),o=i.isTag,a=i.domEach,s=Object.prototype.hasOwnProperty,c=i.camelCase,l=i.cssCase,u=/\s+/,f="data-",h={forEach:n(43590),extend:n(5089),some:n(1054)},d={null:null,true:!0,false:!1},p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,g=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,m=function(e,t){if(e&&o(e))return e.attribs||(e.attribs={}),t?s.call(e.attribs,t)?p.test(t)?t:e.attribs[t]:"option"===e.name&&"value"===t?r.text(e.children):"input"!==e.name||"radio"!==e.attribs.type&&"checkbox"!==e.attribs.type||"value"!==t?void 0:"on":e.attribs},v=function(e,t,n){null===n?w(e,t):e.attribs[t]=n+""};t.attr=function(e,t){return"object"==typeof e||void 0!==t?a(this,"function"==typeof t?function(n,r){v(r,e,t.call(r,n,r.attribs[e]))}:function(n,r){o(r)&&("object"==typeof e?h.forEach(e,(function(e,t){v(r,t,e)})):v(r,e,t))}):m(this[0],e)};var y=function(e,t){if(e&&o(e))return e.hasOwnProperty(t)?e[t]:p.test(t)?void 0!==m(e,t):m(e,t)},b=function(e,t,n){e[t]=p.test(t)?!!n:n};t.prop=function(e,t){var n,r=0;if("string"==typeof e&&void 0===t){switch(e){case"style":n=this.css(),h.forEach(n,(function(e,t){n[r++]=t})),n.length=r;break;case"tagName":case"nodeName":n=this[0].name.toUpperCase();break;default:n=y(this[0],e)}return n}if("object"==typeof e||void 0!==t)return a(this,"function"==typeof t?function(n,r){b(r,e,t.call(r,n,y(r,e)))}:function(n,r){o(r)&&("object"==typeof e?h.forEach(e,(function(e,t){b(r,t,e)})):b(r,e,t))})};var _=function(e,t){var n,r,i,o,a,u,h,p=1===arguments.length;for(p?i=(n=Object.keys(e.attribs).filter((function(e){return e.slice(0,f.length)===f}))).map((function(e){return c(e.slice(f.length))})):(n=[f+l(t)],i=[t]),u=0,h=n.length;u<h;++u)if(r=n[u],o=i[u],s.call(e.attribs,r)){if(a=e.attribs[r],s.call(d,a))a=d[a];else if(a===String(Number(a)))a=Number(a);else if(g.test(a))try{a=JSON.parse(a)}catch(e){}e.data[o]=a}return p?e.data:a};t.data=function(e,t){var n=this[0];if(n&&o(n))return n.data||(n.data={}),e?"object"==typeof e||void 0!==t?(a(this,(function(n,r){!function(e,t,n){if(e.data||(e.data={}),"object"==typeof t)return h.extend(e.data,t);"string"==typeof t&&void 0!==n?e.data[t]=n:"object"==typeof t&&h.extend(e.data,t)}(r,e,t)})),this):s.call(n.data,e)?n.data[e]:_(n,e):_(n)},t.val=function(e){var t=0===arguments.length,n=this[0];if(n)switch(n.name){case"textarea":return this.text(e);case"input":return"radio"===this.attr("type")?t?this.attr("value"):(this.attr("value",e),this):this.attr("value",e);case"select":var r,i=this.find("option:selected");if(void 0===i)return;if(!t){if(!this.attr().hasOwnProperty("multiple")&&"object"==typeof e)return this;"object"!=typeof e&&(e=[e]),this.find("option").removeAttr("selected");for(var o=0;o<e.length;o++)this.find('option[value="'+e[o]+'"]').attr("selected","");return this}return r=i.attr("value"),this.attr().hasOwnProperty("multiple")&&(r=[],a(i,(function(e,t){r.push(m(t,"value"))}))),r;case"option":return t?this.attr("value"):(this.attr("value",e),this)}};var w=function(e,t){e.attribs&&s.call(e.attribs,t)&&delete e.attribs[t]};t.removeAttr=function(e){return a(this,(function(t,n){w(n,e)})),this},t.hasClass=function(e){return h.some(this,(function(t){var n,r=t.attribs,i=r&&r.class,o=-1;if(i)for(;(o=i.indexOf(e,o+1))>-1;
2)if(n=o+e.length,(0===o||u.test(i[o-1]))&&(n===i.length||u.test(i[n])))return!0}))},t.addClass=function(e){if("function"==typeof e)return a(this,(function(n,r){var i=r.attribs.class||"";t.addClass.call([r],e.call(r,n,i))}));if(!e||"string"!=typeof e)return this;for(var n=e.split(u),r=this.length,i=0;i<r;i++)if(o(this[i])){var s,c,l=m(this[i],"class");if(l){c=" "+l+" ",s=n.length;for(var f=0;f<s;f++){var h=n[f]+" ";c.indexOf(" "+h)<0&&(c+=h)}v(this[i],"class",c.trim())}else v(this[i],"class",n.join(" ").trim())}return this};var x=function(e){return e?e.trim().split(u):[]};t.removeClass=function(e){var n,r,i;return"function"==typeof e?a(this,(function(n,r){t.removeClass.call([r],e.call(r,n,r.attribs.class||""))})):(n=x(e),r=n.length,i=0===arguments.length,a(this,(function(e,t){if(o(t))if(i)t.attribs.class="";else{for(var a,s,c=x(t.attribs.class),l=0;l<r;l++)(a=c.indexOf(n[l]))>=0&&(c.splice(a,1),s=!0,l--);s&&(t.attribs.class=c.join(" "))}})))},t.toggleClass=function(e,n){if("function"==typeof e)return a(this,(function(r,i){t.toggleClass.call([i],e.call(i,r,i.attribs.class||"",n),n)}));if(!e||"string"!=typeof e)return this;for(var r,i,s=e.split(u),c=s.length,l="boolean"==typeof n?n?1:-1:0,f=this.length,h=0;h<f;h++)if(o(this[h])){r=x(this[h].attribs.class);for(var d=0;d<c;d++)i=r.indexOf(s[d]),l>=0&&i<0?r.push(s[d]):l<=0&&i>=0&&r.splice(i,1);this[h].attribs.class=r.join(" ")}return this},t.is=function(e){return!!e&&this.filter(e).length>0}},9806:function(e,t,n){var r=n(75633).domEach,i={pick:n(25030)},o=Object.prototype.toString;function a(e,t,n,r){if("string"==typeof t){var i=s(e);"function"==typeof n&&(n=n.call(e,r,i[t])),""===n?delete i[t]:null!=n&&(i[t]=n),e.attribs.style=(o=i,Object.keys(o||{}).reduce((function(e,t){return e+(e?" ":"")+t+": "+o[t]+";"}),""))}else"object"==typeof t&&Object.keys(t).forEach((function(n){a(e,n,t[n])}));var o}function s(e,t){var n=function(e){return e=(e||"").trim(),e?e.split(";").reduce((function(e,t){var n=t.indexOf(":");return n<1||n===t.length-1||(e[t.slice(0,n).trim()]=t.slice(n+1).trim()),e}),{}):{}}(e.attribs.style);return"string"==typeof t?n[t]:Array.isArray(t)?i.pick(n,t):n}t.css=function(e,t){return 2===arguments.length||"[object Object]"===o.call(e)?r(this,(function(n,r){a(r,e,t,n)})):s(this[0],e)}},63432:function(e,t,n){var r="input,select,textarea,keygen",i=/%20/g,o=/\r?\n/g,a={map:n(80820)};t.serialize=function(){var e=this.serializeArray();return a.map(e,(function(e){return encodeURIComponent(e.name)+"="+encodeURIComponent(e.value)})).join("&").replace(i,"+")},t.serializeArray=function(){var e=this.constructor;return this.map((function(){var t=e(this);return"form"===this.name?t.find(r).toArray():t.filter(r).toArray()})).filter('[name!=""]:not(:disabled):not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((function(t,n){var r=e(n),i=r.attr("name"),s=r.val();return null==s?null:Array.isArray(s)?a.map(s,(function(e){return{name:i,value:e.replace(o,"\r\n")}})):{name:i,value:s.replace(o,"\r\n")}})).get()}},57221:function(e,t,n){var r=n(55012),i=n(16634),o=r.update,a=r.evaluate,s=n(75633),c=s.domEach,l=s.cloneDom,u=s.isHtml,f=Array.prototype.slice,h={flatten:n(5800),bind:n(74067),forEac
2h:n(43590)};t._makeDomArray=function(e,t){return null==e?[]:e.cheerio?t?l(e.get(),e.options):e.get():Array.isArray(e)?h.flatten(e.map((function(e){return this._makeDomArray(e,t)}),this)):"string"==typeof e?a(e,this.options):t?l([e]):[e]};var d=function(e){return function(){var t=f.call(arguments),n=this.length-1;return c(this,(function(r,o){var a,s;s="function"==typeof t[0]?t[0].call(o,r,i.html(o.children)):t,a=this._makeDomArray(s,r<n),e(a,o.children,o)}))}},p=function(e,t,n,r,i){var o,a,s,c,l,u=[t,n].concat(r),f=e[t-1]||null,h=e[t]||null;for(o=0,a=r.length;o<a;++o)s=(l=(c=r[o]).parent||c.root)&&l.children.indexOf(r[o]),l&&s>-1&&(l.children.splice(s,1),i===l&&t>s&&u[0]--),c.root=null,c.parent=i,c.prev&&(c.prev.next=c.next||null),c.next&&(c.next.prev=c.prev||null),c.prev=r[o-1]||f,c.next=r[o+1]||h;return f&&(f.next=r[0]),h&&(h.prev=r[r.length-1]),e.splice.apply(e,u)};t.appendTo=function(e){return e.cheerio||(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e.append(this),this},t.prependTo=function(e){return e.cheerio||(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e.prepend(this),this},t.append=d((function(e,t,n){p(t,t.length,0,e,n)})),t.prepend=d((function(e,t,n){p(t,0,0,e,n)})),t.wrap=function(e){var t="function"==typeof e&&e,n=this.length-1;return h.forEach(this,h.bind((function(r,i){var a,s,c=r.parent||r.root,l=c.children;c&&(t&&(e=t.call(r,i)),"string"!=typeof e||u(e)||(e=this.parents().last().find(e).clone()),a=this._makeDomArray(e,i<n).slice(0,1),s=l.indexOf(r),o([r],a[0]),p(l,s,0,a,c))}),this)),this},t.after=function(){var e=f.call(arguments),t=this.length-1;return c(this,(function(n,r){var o=r.parent||r.root;if(o){var a,s,c=o.children,l=c.indexOf(r);l<0||(a="function"==typeof e[0]?e[0].call(r,n,i.html(r.children)):e,s=this._makeDomArray(a,n<t),p(c,l+1,0,s,o))}})),this},t.insertAfter=function(e){var t=[],n=this;return"string"==typeof e&&(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e=this._makeDomArray(e),n.remove(),c(e,(function(e,r){var i=n._makeDomArray(n.clone()),o=r.parent||r.root;if(o){var a=o.children,s=a.indexOf(r);s<0||(p(a,s+1,0,i,o),t.push(i))}})),this.constructor.call(this.constructor,this._makeDomArray(t))},t.before=function(){var e=f.call(arguments),t=this.length-1;return c(this,(function(n,r){var o=r.parent||r.root;if(o){var a,s,c=o.children,l=c.indexOf(r);l<0||(a="function"==typeof e[0]?e[0].call(r,n,i.html(r.children)):e,s=this._makeDomArray(a,n<t),p(c,l,0,s,o))}})),this},t.insertBefore=function(e){var t=[],n=this;return"string"==typeof e&&(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e=this._makeDomArray(e),n.remove(),c(e,(function(e,r){var i=n._makeDomArray(n.clone()),o=r.parent||r.root;if(o){var a=o.children,s=a.indexOf(r);s<0||(p(a,s,0,i,o),t.push(i))}})),this.constructor.call(this.constructor,this._makeDomArray(t))},t.remove=function(e){var t=this;return e&&(t=t.filter(e)),c(t,(function(e,t){var n=t.parent||t.root;if(n){var r=n.children,i=r.indexOf(t);i<0||(r.splice(i,1),t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.prev=t.next=t.parent=t.root=null)}})),this},t.replaceWith=function(e){var t=this;return c(this,(function(n,r){var i=r.parent||r.root;if(i){var a,s=i.children,c=t._makeDomArray("function"==typeof e?e.call(r,n,r):e);o(c,null),a=s.indexOf(r),p(s,a,1,c,i),r.parent=r.prev=r.next=r.root=null}})),this},t.empty=function(){return c(this,(function(e,t){h.forEach(t.children,(function(e){e.next=e.prev=e.parent=null})),t.children.length=0})),this},t.html=function(e){if(void 0===e)return this[0]&&this[0].children?i.html(this[0].children,this.options):null;var t=this.options;return c(this,(function(n,r){h.forEach(r.children,(function(e){e.next=e.prev=e.parent=null}));var i=e.cheerio?e.clone().get():a(""+e,t);o(i,r)})),this},t.toString=function(){return i.html(this,this.options)},t.text=function(e){return void 0===e?i.text(this):"function"==typeof e?c(this,(function(n,r){var o=[r];return t.text.call(o,e.call(r,n,i.text(o)))})):(c(this,(function(t,n){h.forEach(n.children,(function(e){e.next=e.prev=e.parent=null})),o({data:""+e,type:"text",parent:n,prev:null,next:null,children:[]},n)})),this)},t.clone=function(){return this._make(l(this.get(),this.options))}},41042:function(e,t,n){var r=n(56780),i=n(75633),o=i.domEach,a=n(23719).Dom
2Utils.uniqueSort,s=i.isTag,c={bind:n(74067),forEach:n(43590),reject:n(16273),filter:n(4474),reduce:n(34766)};t.find=function(e){var t,n=c.reduce(this,(function(e,t){return e.concat(c.filter(t.children,s))}),[]),i=this.constructor.contains;if(e&&"string"!=typeof e)return t=e.cheerio?e.get():[e],this._make(t.filter((function(e){var t,n;for(t=0,n=this.length;t<n;++t)if(i(this[t],e))return!0}),this));var o={__proto__:this.options,context:this.toArray()};return this._make(r(e,n,o))},t.parent=function(e){var n=[];return o(this,(function(e,t){var r=t.parent;r&&n.indexOf(r)<0&&n.push(r)})),arguments.length&&(n=t.filter.call(n,e,this)),this._make(n)},t.parents=function(e){var t=[];return this.get().reverse().forEach((function(n){u(this,n.parent,e,1/0).forEach((function(e){-1===t.indexOf(e)&&t.push(e)}))}),this),this._make(t)},t.parentsUntil=function(e,t){var n,i,o=[];return"string"==typeof e?n=r(e,this.parents().toArray(),this.options)[0]:e&&e.cheerio?i=e.toArray():e&&(n=e),this.toArray().reverse().forEach((function(e){for(;(e=e.parent)&&(n&&e!==n||i&&-1===i.indexOf(e)||!n&&!i);)s(e)&&-1===o.indexOf(e)&&o.push(e)}),this),this._make(t?r(t,o,this.options):o)},t.closest=function(e){var t=[];return e?(o(this,function(n,r){var i=u(this,r,e,1)[0];i&&t.indexOf(i)<0&&t.push(i)}.bind(this)),this._make(t)):this._make(t)},t.next=function(e){if(!this[0])return this;var n=[];return c.forEach(this,(function(e){for(;e=e.next;)if(s(e))return void n.push(e)})),e?t.filter.call(n,e,this):this._make(n)},t.nextAll=function(e){if(!this[0])return this;var n=[];return c.forEach(this,(function(e){for(;e=e.next;)s(e)&&-1===n.indexOf(e)&&n.push(e)})),e?t.filter.call(n,e,this):this._make(n)},t.nextUntil=function(e,n){if(!this[0])return this;var i,o,a=[];return"string"==typeof e?i=r(e,this.nextAll().get(),this.options)[0]:e&&e.cheerio?o=e.get():e&&(i=e),c.forEach(this,(function(e){for(;(e=e.next)&&(i&&e!==i||o&&-1===o.indexOf(e)||!i&&!o);)s(e)&&-1===a.indexOf(e)&&a.push(e)})),n?t.filter.call(a,n,this):this._make(a)},t.prev=function(e){if(!this[0])return this;var n=[];return c.forEach(this,(function(e){for(;e=e.prev;)if(s(e))return void n.push(e)})),e?t.filter.call(n,e,this):this._make(n)},t.prevAll=function(e){if(!this[0])return this;var n=[];return c.forEach(this,(function(e){for(;e=e.prev;)s(e)&&-1===n.indexOf(e)&&n.push(e)})),e?t.filter.call(n,e,this):this._make(n)},t.prevUntil=function(e,n){if(!this[0])return this;var i,o,a=[];return"string"==typeof e?i=r(e,this.prevAll().get(),this.options)[0]:e&&e.cheerio?o=e.get():e&&(i=e),c.forEach(this,(function(e){for(;(e=e.prev)&&(i&&e!==i||o&&-1===o.indexOf(e)||!i&&!o);)s(e)&&-1===a.indexOf(e)&&a.push(e)})),n?t.filter.call(a,n,this):this._make(a)},t.siblings=function(e){var n=this.parent(),r=c.filter(n?n.children():this.siblingsAndMe(),c.bind((function(e){return s(e)&&!this.is(e)}),this));return void 0!==e?t.filter.call(r,e,this):this._make(r)},t.children=function(e){var n=c.reduce(this,(function(e,t){return e.concat(c.filter(t.children,s))}),[]);return void 0===e?this._make(n):t.filter.call(n,e,this)},t.contents=function(){return this._make(c.reduce(this,(function(e,t){return e.push.apply(e,t.children),e}),[]))},t.each=function(e){for(var t=0,n=this.length;t<n&&!1!==e.call(this[t],t,this[t]);)++t;return this},t.map=function(e){return this._make(c.reduce(this,(function(t,n,r){var i=e.call(n,r,n);return null==i?t:t.concat(i)}),[]))};var l=function(e){return function(t,n){var i;return n=n||this,i="string"==typeof t?r.compile(t,n.options):"function"==typeof t?function(e,n){return t.call(e,n,e)}:t.cheerio?t.is.bind(t):function(e){return t===e},n._make(e(this,i))}};function u(e,n,r,i){for(var o=[];n&&o.length<i;)r&&!t.filter.call([n],r,e).length||o.push(n),n=n.parent;return o}t.filter=l(c.filter),t.not=l(c.reject),t.has=function(e){var n=this;return t.filter.call(this,(function(){return n._make(this).find(e).length>0}))},t.first=function(){return this.length>1?this._make(this[0]):this},t.last=function(){return this.length>1?this._make(this[this.length-1]):this},t.eq=function(e){return 0===(e=+e)&&this.length<=1?this:(e<0&&(e=this.length+e),this[e]?this._make(this[e]):this._make([]))},t.get=function(e){return null==e?Array.prototype.slice.call(this):this[e<0?this.length+e:e]},t.index=function(e){var t,n;return 0===arguments.length?(t=this.parent().children(),n=this[0]):"string"==typeof e?(t=this._make(e),n=this[0]):(t=this,n=e.cheerio?e[0]:e),t.get().indexOf(n)},t.slice=function(){return this._make([].slice.apply(this,arguments))},t.end=function(){return this.prevObject||this._make([])},t.add=function(e,t){for(var n=this._make(e,t),r=a(n.get().concat(this.get())),i=0;i<r.length;++i)n[i]=r[i];return n.length=r.length,n},t.addBack=function(e){return this.add(arguments.length?this.prevObject.filter(e):this.prevObject)}},17911:function(e,t,n){var r=n(55012),i=n(75633).isHtml,o={extend:n(5089),bind:n(74067),forEac
2h:n(43590),defaults:n(55402)},a=[n(26451),n(41042),n(57221),n(9806),n(63432)],s=e.exports=function(e,t,n,a){return this instanceof s?(this.options=o.defaults(a||{},this.options),e?(n&&("string"==typeof n&&(n=r(n,this.options)),this._root=s.call(this,n)),e.cheerio?e:(c(e)&&(e=[e]),Array.isArray(e)?(o.forEach(e,o.bind((function(e,t){this[t]=e}),this)),this.length=e.length,this):"string"==typeof e&&i(e)?s.call(this,r(e,this.options).children):(t?"string"==typeof t?i(t)?(t=r(t,this.options),t=s.call(this,t)):(e=[t,e].join(" "),t=this._root):t.cheerio||(t=s.call(this,t)):t=this._root,t?t.find(e):this))):this):new s(e,t,n,a)};o.extend(s,n(16634)),s.prototype.cheerio="[cheerio object]",s.prototype.options={withDomLvl1:!0,normalizeWhitespace:!1,xmlMode:!1,decodeEntities:!0},s.prototype.length=0,s.prototype.splice=Array.prototype.splice,s.prototype._make=function(e,t){var n=new this.constructor(e,t,this._root,this.options);return n.prevObject=this,n},s.prototype.toArray=function(){return this.get()},a.forEach((function(e){o.extend(s.prototype,e)}));var c=function(e){return e.name||"text"===e.type||"comment"===e.type}},55012:function(e,t,n){var r=n(48764).Buffer,i=n(23719);(t=e.exports=function(e,n){var r=t.evaluate(e,n),i=t.evaluate("<root></root>",n)[0];return i.type="root",t.update(r,i),i}).evaluate=function(e,t){return"string"==typeof e||r.isBuffer(e)?i.parseDOM(e,t):e},t.update=function(e,t){Array.isArray(e)||(e=[e]),t?t.children=e:t=null;for(var n=0;n<e.length;n++){var r=e[n],i=r.parent||r.root,o=i&&i.children;o&&o!==e&&(o.splice(o.indexOf(r),1),r.prev&&(r.prev.next=r.next),r.next&&(r.next.prev=r.prev)),t?(r.prev=e[n-1]||null,r.next=e[n+1]||null):r.prev=r.next=null,t&&"root"===t.type?(r.root=t,r.parent=null):(r.root=null,r.parent=t)}return t}},16634:function(e,t,n){var r=n(46138),i=n(56780),o=n(55012),a={merge:n(72378),defaults:n(55402)};function s(e,t,n){if(t)"string"==typeof t&&(t=i(t,e._root,n));else{if(!e._root||!e._root.children)return"";t=e._root.children}return r(t,n)}t.load=function(e,r){var i=n(17911);r=a.defaults(r||{},i.prototype.options);var s=o(e,r),c=function(e,t,n,o){return this instanceof c?(o=a.defaults(o||{},r),i.call(this,e,t,n||s,o)):new c(e,t,n,o)};return c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.fn=c.prototype,c.prototype._originalRoot=s,a.merge(c,t),c._root=s,c._options=r,c},t.html=function(e,t){var r=n(17911);return"[object Object]"!==Object.prototype.toString.call(e)||t||"length"in e||"type"in e||(t=e,e=void 0),s(this,e,t=a.defaults(t||{},this._options,r.prototype.options))},t.xml=function(e){return s(this,e,a.defaults({xmlMode:!0},this._options))},t.text=function(e){e||(e=this.root());for(var n,r="",i=e.length,o=0;o<i;o++)"text"===(n=e[o]).type?r+=n.data:n.children&&"comment"!==n.type&&(r+=t.text(n.children));return r},t.parseHTML=function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t),r=this.load(e),n||r("script").remove(),r.root()[0].children.slice()):null},t.root=function(){return this(this._root)},t.contains=function(e,t){if(t===e)return!1;for(;t&&t!==t.parent;)if((t=t.parent)===e)return!0;return!1}},75633:function(e,t,n){var r=n(55012),i=n(46138),o={tag:!0,script:!0,style:!0};t.isTag=function(e){return e.type&&(e=e.type),o[e]||!1},t.camelCase=function(e){return e.replace(/[_.-](\w|$)/g,(function(e,t){return t.toUpperCase()}))},t.cssCase=function(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()},t.domEach=function(e,t){for(var n=0,r=e.length;n<r&&!1!==t.call(e,n,e[n]);)++n;return e},t.cloneDom=function(e,t){return r(i(e,t),t).children};var a=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/;t.isHtml=function(e){if("<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3)return!0;var t=a.exec(e);return!(!t||!t[1])}},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
2.apply(t,[]))||(e.exports=n)}()},98794:function(e,t,n){"use strict";var r=n(23645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,100%,.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:hsla(0,0%,94%,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,.08);--xy-selection-border-default:1px dotted rgba(0,89,220,.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;background-color:var(--xy-background-color,var(--xy-background-color-default));direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,59%,.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px hsla(0,0%,100%,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,.08);--xy-selection-border-default:1px dotted rgba(200,200,220,.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;pointer-events:none;position:absolute}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{overflow:visible;position:absolute;z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;
2cursor:default;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:0;left:50%;top:auto;transform:translate(-50%,50%)}.react-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.react-flow__handle-left{left:0;top:50%;transform:translate(-50%,-50%)}.react-flow__handle-right{right:0;top:50%;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-flow__minimap{background:var(\n --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))\n )}.react-flow__minimap-svg{display:block}
2.react-flow__minimap-mask{fill:var(\n --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))\n );stroke:var(\n --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))\n )}.react-flow__minimap-node{fill:var(\n --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))\n );stroke:var(\n --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))\n )}.react-flow__background-pattern.dots{fill:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))\n )}.react-flow__background-pattern.lines{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))\n )}.react-flow__background-pattern.cross{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))\n )}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));display:flex;flex-direction:column}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{align-items:center;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n );color:var(\n --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))\n );cursor:pointer;display:flex;height:26px;justify-content:center;padding:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:26px}.react-flow__controls-button svg{fill:currentColor;max-height:12px;max-width:12px;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));border:var(--xy-node-border,var(--xy-node-border-default));border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));color:var(--xy-node-color,var(--xy-node-color-default));font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(\n --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))\n );color:var(\n --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))\n )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;height:5px;translate:-50% -50%;width:5px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;
2top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}",""]),t.Z=i},53827:function(e,t,n){"use strict";var r=n(23645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,'@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{align-items:flex-end;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;height:100%;justify-content:flex-end;left:0;padding:20px;pointer-events:none;position:fixed;top:0;width:100%;z-index:9999}.notyf__icon--error,.notyf__icon--success{background:#fff;border-radius:50%;display:block;height:21px;margin:0 auto;position:relative;width:21px}.notyf__icon--error:after,.notyf__icon--error:before{background:currentColor;border-radius:3px;content:"";display:block;height:12px;left:9px;position:absolute;top:5px;width:3px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{background:currentColor;border-radius:3px;content:"";display:block;position:absolute;width:3px}.notyf__icon--success:after{height:6px;left:6px;top:9px;transform:rotate(-45deg)}.notyf__icon--success:before{height:11px;left:10px;top:5px;transform:rotate(45deg)}.notyf__toast{animation:notyf-fadeinup .3s ease-in forwards;border-radius:2px;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);box-sizing:border-box;display:block;flex-shrink:0;max-width:300px;overflow:hidden;padding:0 15px;pointer-events:auto;position:relative;transform:translateY(25%)}.notyf__toast--disappear{animation:notyf-fadeoutdown .3s forwards;animation-delay:.25s;transform:translateY(0)}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}
2.notyf__toast--disappear .notyf__message{animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{animation:ripple .4s ease-out forwards;border-radius:50%;height:400px;position:absolute;right:0;top:0;transform:scale(0) translateY(-51%) translateX(13%);transform-origin:bottom right;width:400px;z-index:5}.notyf__wrapper{align-items:center;border-radius:3px;display:flex;padding-bottom:17px;padding-right:15px;padding-top:17px;position:relative;z-index:10}.notyf__icon{animation:notyf-fadeinup .3s forwards;animation-delay:.3s;font-size:1.3em;margin-right:13px;opacity:0;text-align:center;width:22px}.notyf__dismiss{animation:notyf-fadeinleft .3s forwards;animation-delay:.35s;height:100%;margin-right:-15px;opacity:0;position:absolute;right:0;top:0;width:26px}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;height:100%;opacity:.35;outline:none;transition:opacity .2s ease,background-color .2s ease;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#fff;border-radius:3px;content:"";height:12px;left:calc(50% - 1px);position:absolute;top:calc(50% - 5px);width:2px}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{background-color:rgba(0,0,0,.15);opacity:.7}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{animation:notyf-fadeinup .3s forwards;animation-delay:.25s;line-height:1.5em;opacity:0;position:relative;vertical-align:middle}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{animation-duration:.5s;height:600px;width:600px}.notyf__toast{border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);max-width:none;width:100%}.notyf__dismiss{width:56px}}',""]),t.Z=i},55287:function(e,t,n){"use strict";var r=n(23645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{border:0;height:0;left:-9999em;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;resize:none;top:0;white-space:nowrap;width:0;z-index:-5}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;bottom:0;cursor:default;left:0;overflow-y:scroll;position:absolute;right:0;top:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{left:0;position:absolute;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;left:-9999em;line-height:normal;position:absolute;top:0;visibility:hidden}.xterm.enable-mouse-events{cursor:default}.xterm .xterm-cursor-pointer,.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{bottom:0;color:transparent;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:10}.xterm .live-region{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{position:absolute;z-index:6}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{pointer-events:none;position:absolute;right:0;top:0;z-index:8}.xterm-decoration-top{position:relative;z-index:2}",""]),t.Z=i},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},61667:function(e){"use strict";e.exports=function(e,t){return t||(t={}
2),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},56780:function(e,t,n){"use strict";e.exports=m;var r=n(11734),i=n(12417),o=i.findOne,a=i.findAll,s=i.getChildren,c=i.removeSubsets,l=n(11073).falseFunc,u=n(98866),f=u.compileUnsafe,h=u.compileToken;function d(e){return function(t,n,r){return"function"!=typeof t&&(t=f(t,r,n)),n=Array.isArray(n)?c(n):s(n),e(t,n)}}var p=d((function(e,t){return e!==l&&t&&0!==t.length?a(e,t):[]})),g=d((function(e,t){return e!==l&&t&&0!==t.length?o(e,t):null}));function m(e,t,n){return p(e,t,n)}m.compile=u,m.filters=r.filters,m.pseudos=r.pseudos,m.selectAll=p,m.selectOne=g,m.is=function(e,t,n){return("function"==typeof t?t:u(t,n))(e)},m.parse=u,m.iterate=p,m._compileUnsafe=f,m._compileToken=h},70996:function(e,t,n){var r=n(12417),i=r.hasAttrib,o=r.getAttributeValue,a=n(11073).falseFunc,s=/[-[\]{}()*+?.,\\^$|#\s]/g,c={__proto__:null,equals:function(e,t){var n=t.name,r=t.value;return t.ignoreCase?(r=r.toLowerCase(),function(t){var i=o(t,n);return null!=i&&i.toLowerCase()===r&&e(t)}):function(t){return o(t,n)===r&&e(t)}},hyphen:function(e,t){var n=t.name,r=t.value,i=r.length;return t.ignoreCase?(r=r.toLowerCase(),function(t){var a=o(t,n);return null!=a&&(a.length===i||"-"===a.charAt(i))&&a.substr(0,i).toLowerCase()===r&&e(t)}):function(t){var a=o(t,n);return null!=a&&a.substr(0,i)===r&&(a.length===i||"-"===a.charAt(i))&&e(t)}},element:function(e,t){var n=t.name,r=t.value;if(/\s/.test(r))return a;var i="(?:^|\\s)"+(r=r.replace(s,"\\$&"))+"(?:$|\\s)",c=t.ignoreCase?"i":"",l=new RegExp(i,c);return function(t){var r=o(t,n);return null!=r&&l.test(r)&&e(t)}},exists:function(e,t){var n=t.name;return function(t){return i(t,n)&&e(t)}},start:function(e,t){var n=t.name,r=t.value,i=r.length;return 0===i?a:t.ignoreCase?(r=r.toLowerCase(),function(t){var a=o(t,n);return null!=a&&a.substr(0,i).toLowerCase()===r&&e(t)}):function(t){var a=o(t,n);return null!=a&&a.substr(0,i)===r&&e(t)}},end:function(e,t){var n=t.name,r=t.value,i=-r.length;return 0===i?a:t.ignoreCase?(r=r.toLowerCase(),function(t){var a=o(t,n);return null!=a&&a.substr(i).toLowerCase()===r&&e(t)}):function(t){var a=o(t,n);return null!=a&&a.substr(i)===r&&e(t)}},any:function(e,t){var n=t.name,r=t.value;if(""===r)return a;
2if(t.ignoreCase){var i=new RegExp(r.replace(s,"\\$&"),"i");return function(t){var r=o(t,n);return null!=r&&i.test(r)&&e(t)}}return function(t){var i=o(t,n);return null!=i&&i.indexOf(r)>=0&&e(t)}},not:function(e,t){var n=t.name,r=t.value;return""===r?function(t){return!!o(t,n)&&e(t)}:t.ignoreCase?(r=r.toLowerCase(),function(t){var i=o(t,n);return null!=i&&i.toLowerCase()!==r&&e(t)}):function(t){return o(t,n)!==r&&e(t)}}};e.exports={compile:function(e,t,n){if(n&&n.strict&&(t.ignoreCase||"not"===t.action))throw SyntaxError("Unsupported attribute selector");return c[t.action](e,t)},rules:c}},98866:function(e,t,n){e.exports=function(e,t,n){return h(d(e,t,n))},e.exports.compileUnsafe=d,e.exports.compileToken=b;var r=n(27147),i=n(12417),o=i.isTag,a=n(93621),s=n(57353),c=n(11073),l=c.trueFunc,u=c.falseFunc,f=n(12114);function h(e){return function(t){return o(t)&&e(t)}}function d(e,t,n){return b(r(e,t),t,n)}function p(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(p)})))}var g={type:"descendant"},m={type:"pseudo",name:"scope"},v={},y=i.getParent;function b(e,t,n){(e=e.filter((function(e){return e.length>0}))).forEach(s);var r=Array.isArray(n);return(n=t&&t.context||n)&&!r&&(n=[n]),function(e,t){var n=!!t&&!!t.length&&t.every((function(e){return e===v||!!y(e)}));e.forEach((function(e){if(e.length>0&&_(e[0])&&"descendant"!==e[0].type);else{if(!n||p(e))return;e.unshift(g)}e.unshift(m)}))}(e,n),e.map((function(e){return function(e,t,n,r){var i=r&&"scope"===e[0].name&&"descendant"===e[1].type;return e.reduce((function(e,r,o){return e===u?e:a[r.type](e,r,t,n,i&&1===o)}),t&&t.rootFunc||l)}(e,t,n,r)})).reduce(w,u)}function _(e){return f[e.type]<0}function w(e,t){return t===u||e===l?e:e===u||t===l?t:function(n){return e(n)||t(n)}}var x=n(11734).filters,S=i.existsOne,E=(o=i.isTag,i.getChildren);function k(e){return e.some(_)}x.not=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)};if(i.strict&&(t.length>1||t.some(k)))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");var o=b(t,i,r);return o===u?e:o===l?u:function(t){return!o(t)&&e(t)}},x.has=function(e,t,n){var r={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)},i=t.some(k)?[v]:null,a=b(t,r,i);return a===u?u:a===l?function(t){return E(t).some(o)&&e(t)}:(a=h(a),i?function(t){return e(t)&&(i[0]=t,S(a,E(t)))}:function(t){return e(t)&&S(a,E(t))})},x.matches=function(e,t,n,r){return b(t,{xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict),rootFunc:e},r)}},93621:function(e,t,n){var r=n(12417),i=r.isTag,o=r.getParent,a=r.getChildren,s=r.getSiblings,c=r.getName;e.exports={__proto__:null,attribute:n(70996).compile,pseudo:n(11734).compile,tag:function(e,t){var n=t.name;return function(t){return c(t)===n&&e(t)}},descendant:function(e,t,n,r,i){return function(t){if(i&&e(t))return!0;for(var n=!1;!n&&(t=o(t));)n=e(t);return n}},parent:function(e,t,n){if(n&&n.strict)throw SyntaxError("Parent selector isn't part of CSS3");return function(e){return a(e).some(r)};function r(t){return i(t)&&e(t)}},child:function(e){return function(t){var n=o(t);return!!n&&e(n)}},sibling:function(e){return function(t){for(var n=s(t),r=0;r<n.length;r++)if(i(n[r])){if(n[r]===t)break;if(e(n[r]))return!0}return!1}},adjacent:function(e){return function(t){for(var n,r=s(t),o=0;o<r.length;o++)if(i(r[o])){if(r[o]===t)break;n=r[o]}return!!n&&e(n)}},universal:function(e){return e}}},11734:function(e,t,n){var r=n(12417),i=r.isTag,o=r.getText,a=r.getParent,s=r.getChildren,c=r.getSiblings,l=r.hasAttrib,u=r.getName,f=r.getAttributeValue,h=n(94882),d=n(70996).rules.equals,p=n(11073),g=p.trueFunc,m=p.falseFunc;function v(e,t){var n={name:e,value:t};return function(e){return d(e,n)}}function y(e){return function(t){return!!a(t)&&e(t)}}var b={contains:function(e,t){return function(n){return e(n)&&o(n).indexOf(t)>=0}},icontains:function(e,t){var n=t.toLowerCase();return function(t){return e(t)&&o(t).toLowerCase().indexOf(n)>=0}},"nth-child":function(e,t){var n=h(t);return n===m?n:n===g?y(e):function(t){for(var r=c(t),o=0,a=0;o<r.length;o++)if(i(r[o])){if(r[o]===t)break;a++}return n(a)&&e(t)}},"nth-last-child":function(e,t){var n=h(t);return n===m?n:n===g?y(e):function(t){for(var r=c(t),o=0,a=r.length-1;a>=0;a--)if(i(r[a])){if(r[a]===t)break;o++}return n(o)&&e(t)}},"nth-of-type":function(e,t){var n=h(t);return n===m?n:n===g?y(e):function(t){for(var r=c(t),o=0,a=0;a<r.length;a++)if(i(r[a])){if(r[a]===t)break;u(r[a])===u(t)&&o++}return n(o)&&e(t)}},"nth-last-of-type":function(e,t){var n=h(t);return n===m?n:n===g?y(e):function(t){for(var r=c(t),o=0,a=r.length-1;a>=0;a--)if(i(r[a])){if(r[a]===t)break;u(r[a])===u(t)&&o++}return n(o)&&e(t)}},root:function(e){return function(t){return!a(t)&&e(t)}},scope:function(e,t,n,r){return r&&0!==r.length?1===r.length?function(t){return r[0]===t&&e(t)}:function(t){return r.indexOf(t)>=0&&e(t)}:b.root(e)},checkbox:v("type","checkbox"),file:v("type","file"),password:v("type","password"),radio:v("type","radio"),reset:v("type","reset"),image:v("type","image"),submit:v("type","submit")},_={empty:function(e){return!s(e).some((function(e){return i(e)||"text"===e.type}))},"first-child":function(e){return function(e){for(var t=0;e&&t<e.length;t++)if(i(e[t]))return e[t]}(c(e))===e},"last-child":function(e){for(var t=c(e),n=t.length-1;n>=0;n--){if(t[n]===e)return!0;
2if(i(t[n]))break}return!1},"first-of-type":function(e){for(var t=c(e),n=0;n<t.length;n++)if(i(t[n])){if(t[n]===e)return!0;if(u(t[n])===u(e))break}return!1},"last-of-type":function(e){for(var t=c(e),n=t.length-1;n>=0;n--)if(i(t[n])){if(t[n]===e)return!0;if(u(t[n])===u(e))break}return!1},"only-of-type":function(e){for(var t=c(e),n=0,r=t.length;n<r;n++)if(i(t[n])){if(t[n]===e)continue;if(u(t[n])===u(e))return!1}return!0},"only-child":function(e){for(var t=c(e),n=0;n<t.length;n++)if(i(t[n])&&t[n]!==e)return!1;return!0},link:function(e){return l(e,"href")},visited:m,selected:function(e){if(l(e,"selected"))return!0;if("option"!==u(e))return!1;var t=a(e);if(!t||"select"!==u(t)||l(t,"multiple"))return!1;for(var n=s(t),r=!1,o=0;o<n.length;o++)if(i(n[o]))if(n[o]===e)r=!0;else{if(!r)return!1;if(l(n[o],"selected"))return!1}return r},disabled:function(e){return l(e,"disabled")},enabled:function(e){return!l(e,"disabled")},checked:function(e){return l(e,"checked")||_.selected(e)},required:function(e){return l(e,"required")},optional:function(e){return!l(e,"required")},parent:function(e){return!_.empty(e)},header:function(e){var t=u(e);return"h1"===t||"h2"===t||"h3"===t||"h4"===t||"h5"===t||"h6"===t},button:function(e){var t=u(e);return"button"===t||"input"===t&&"button"===f(e,"type")},input:function(e){var t=u(e);return"input"===t||"textarea"===t||"select"===t||"button"===t},text:function(e){var t;return"input"===u(e)&&(!(t=f(e,"type"))||"text"===t.toLowerCase())}};function w(e,t,n){if(null===n){if(e.length>1&&"scope"!==t)throw new SyntaxError("pseudo-selector :"+t+" requires an argument")}else if(1===e.length)throw new SyntaxError("pseudo-selector :"+t+" doesn't have any arguments")}var x=/^(?:(?:nth|last|first|only)-(?:child|of-type)|root|empty|(?:en|dis)abled|checked|not)$/;e.exports={compile:function(e,t,n,r){var i=t.name,o=t.data;if(n&&n.strict&&!x.test(i))throw SyntaxError(":"+i+" isn't part of CSS3");if("function"==typeof b[i])return w(b[i],i,o),b[i](e,o,n,r);if("function"==typeof _[i]){var a=_[i];return w(a,i,o),e===g?a:function(t){return a(t,o)&&e(t)}}throw new SyntaxError("unmatched pseudo-class :"+i)},filters:b,pseudos:_}},57353:function(e,t,n){e.exports=function(e){for(var t=e.map(o),n=1;n<e.length;n++){var r=t[n];if(!(r<0))for(var i=n-1;i>=0&&r<t[i];i--){var a=e[i+1];e[i+1]=e[i],e[i]=a,t[i+1]=t[i],t[i]=r}}};var r=n(12114),i={__proto__:null,exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function o(e){var t=r[e.type];if(t===r.attribute)(t=i[e.action])===i.equals&&"id"===e.name&&(t=9),e.ignoreCase&&(t>>=1);else if(t===r.pseudo)if(e.data)if("has"===e.name||"contains"===e.name)t=0;else if("matches"===e.name||"not"===e.name){t=0;for(var n=0;n<e.data.length;n++)if(1===e.data[n].length){var a=o(e.data[n][0]);if(0===a){t=0;break}a>t&&(t=a)}e.data.length>1&&t>0&&(t-=1)}else t=1;else t=3;return t}},27147:function(e){"use strict";e.exports=function(e,t){var n=[];if(""!==(e=d(n,e+"",t)))throw new SyntaxError("Unmatched selector: "+e);return n};var t=/^(?:\\.|[\w\-\u00b0-\uFFFF])+/,n=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,r=/^\s*((?:\\.|[\w\u00b0-\uFFFF\-])+)\s*(?:(\S?)=\s*(?:(['"])([^]*?)\3|(#?(?:\\.|[\w\u00b0-\uFFFF\-])*)|)|)\s*(i)?\]/,i={__proto__:null,undefined:"exists","":"equals","~":"element","^":"start",$:"end","*":"any","!":"not","|":"hyphen"},o={__proto__:null,">":"child","<":"parent","~":"sibling","+":"adjacent"},a={__proto__:null,"#":["id","equals"],".":["class","element"]},s={__proto__:null,has:!0,not:!0,matches:!0},c={__proto__:null,contains:!0,icontains:!0},l={__proto__:null,'"':!0,"'":!0};function u(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function f(e){return e.replace(n,u)}function h(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function d(e,n,u){var g,m,v,y,b=[],_=!1;function w(){var e=n.match(t)[0];return n=n.substr(e.length),f(e)}function x(e){for(;h(n.charAt(e));)e++;n=n.substr(e)}function S(e){for(var t=0;"\\"===n.charAt(--e);)t++;return 1==(1&t)}for(x(0);""!==n;)if(h(m=n.charAt(0)))_=!0,x(1);else if(m in o)b.push({type:o[m]}),_=!1,x(1);else if(","===m){if(0===b.length)throw new SyntaxError("empty sub-selector");e.push(b),b=[],_=!1,x(1)}else if(_&&(b.length>0&&b.push({type:"descendant"}),_=!1),"*"===m)n=n.substr(1),b.push({type:"universal"});else if(m in a)n=n.substr(1),b.push({type:"attribute",name:a[m][0],action:a[m][1],value:w(),ignoreCase:!1});else if("["===m){if(!(g=(n=n.substr(1)).match(r)))throw new SyntaxError("Malformed attribute selector: "+n);n=n.substr(g[0].length),v=f(g[1]),u&&("lowerCaseAttributeNames"in u?!u.lowerCaseAttributeNames:u.xmlMode)||(v=v.toLowerCase()),b.pu
2sh({type:"attribute",name:v,action:i[g[2]],value:f(g[4]||g[5]||""),ignoreCase:!!g[6]})}else if(":"===m){if(":"===n.charAt(1)){n=n.substr(2),b.push({type:"pseudo-element",name:w().toLowerCase()});continue}if(n=n.substr(1),v=w().toLowerCase(),g=null,"("===n.charAt(0))if(v in s){var E=(y=n.charAt(1))in l;if(n=d(g=[],n=n.substr(E+1),u),E){if(n.charAt(0)!==y)throw new SyntaxError("unmatched quotes in :"+v);n=n.substr(1)}if(")"!==n.charAt(0))throw new SyntaxError("missing closing parenthesis in :"+v+" "+n);n=n.substr(1)}else{for(var k=1,O=1;O>0&&k<n.length;k++)"("!==n.charAt(k)||S(k)?")"!==n.charAt(k)||S(k)||O--:O++;if(O)throw new SyntaxError("parenthesis not matched");g=n.substr(1,k-2),n=n.substr(k),v in c&&((y=g.charAt(0))===g.slice(-1)&&y in l&&(g=g.slice(1,-1)),g=f(g))}b.push({type:"pseudo",name:v,data:g})}else{if(!t.test(n))return b.length&&"descendant"===b[b.length-1].type&&b.pop(),p(e,b),n;v=w(),u&&("lowerCaseTags"in u?!u.lowerCaseTags:u.xmlMode)||(v=v.toLowerCase()),b.push({type:"tag",name:v})}return p(e,b),n}function p(e,t){if(e.length>0&&0===t.length)throw new SyntaxError("empty sub-selector");e.push(t)}},43832:function(e,t){var n;function r(e,t){var n=[],r=0;function i(e){return n.push(e),t}function o(){return n[r++]}return{tokenize:function(t){return t.replace(e,i)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),o)}}}n=new function(){var e="`TMP`",t="`COMMENT`",n="[^\\u0020-\\u007e]",i="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",a="direction\\s*:\\s*",s="['\"]?\\s*",c="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",f="(?:[_a-z0-9-]|"+n+"|"+u+")",h=i+"(?:\\s*"+o+"|"+("-?"+("(?:[_a-z]|"+n+"|"+u+")")+f+"*")+")?",d="((?:-?"+h+")|(?:inherit|auto))",p="((?:-?"+h+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|"+("(?:-?"+i+"(?:\\s*"+o+")?)")+"|(?:\\+|\\-|\\*|\\/)){3,}")+")\\))")+")",g="(#?"+f+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",m="(?:[!#$%&*-~]|"+n+"|"+u+")*?",v="(?![a-zA-Z])",y="(?!("+f+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+m+s+"\\))",_="(?="+m+s+"\\))",w="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=/`TMPLTR`/g,E=/`TMPRTL`/g,k=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),O=new RegExp("("+l+y+"[^;}]+;?)","gi"),C=new RegExp("("+l+"[^\\}]*?})","gi"),A=new RegExp("("+a+")ltr","gi"),T=new RegExp("("+a+")rtl","gi"),P=new RegExp(c+"(left)"+v+b+y,"gi"),D=new RegExp(c+"(right)"+v+b+y,"gi"),M=new RegExp(c+"(left)"+_,"gi"),R=new RegExp(c+"(right)"+_,"gi"),j=/(:dir\( *)ltr( *\))/g,N=/(:dir\( *)rtl( *\))/g,L=new RegExp(c+"(ltr)"+_,"gi"),I=new RegExp(c+"(rtl)"+_,"gi"),B=new RegExp(c+"([ns]?)e-resize","gi"),F=new RegExp(c+"([ns]?)w-resize","gi"),z=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+w,"gi"),U=new RegExp("((?:-color|border-style)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+w,"gi"),H=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+h+")","gi"),q=new RegExp("(background-position-x\\s*:\\s*)(-?"+i+"%)","gi"),$=new RegExp("(border-radius\\s*:\\s*)"+d+"(?:(?:\\s+"+d+")(?:\\s+"+d+")?(?:\\s+"+d+")?)?(?:(?:(?:\\s*\\/\\s*)"+d+")(?:\\s+"+d+")?(?:\\s+"+d+")?(?:\\s+"+d+")?)?"+w,"gi"),W=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+d,"gi"),V=new RegExp("(text-shadow\\s*:\\s*)"+d+"(\\s*)"+g,"gi"),K=new RegExp("(text-shadow\\s*:\\s*)"+g+"(\\s*)"+d,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+d,"gi"),Z=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+d+"(\\s*\\))","gi"),Y=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+d+"((?:\\s*,\\s*"+d+"){0,2}\\s*\\))","gi");function X(e,t,n){var r,i;return"%"===n.slice(-1)&&(-1!==(r=n.indexOf("."))?(i=n.length-r-2,n=(n=100-parseFloat(n)).toFixed(i)+"%"):n=100-parseFloat(n)+"%"),t+n}function Q(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function J(e,t){var n=[].slice.call(arguments),r=n.slice(2,6).filter((function(e){return e})),i=n.slice(6,10).filter((function(e){return e})),o=n[10]||"";return t+(i.length?Q(r)+" / "+Q(i):Q(r))+o}function ee(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function te(e,t,n){return t+ee(n)}function ne(e,t,n,r,i){return t+n+ee(r)+i}function re(e,t,n,r,i){return t+n+r+ee(i)}return{transform:function(n,i){var o=new r(O,"`NOFLIP_SINGLE`"),a=new r(C,"`NOFLIP_CLASS`"),s=new r(k,t);return n=s.tokenize(a.tokenize(o.tokenize(n.replace("`","%60")))),i.transformDirInUrl&&(n=n.replace(j,"$1`TMPLTR`$2").replace(N,"$1`TMPRTL`$2").replace(L,"$1"+e).replace(I,"$1ltr").replace(x,"rtl").replace(S,"ltr").replace(E,"rtl")),i.transformEdgeInUrl&&(n=n.replace(M,"$1"+e).replace(R,"$1left").replace(x,"right")),n=n.replace(A,"$1"+e).replace(T,"$1ltr").replace(x,"rtl").replace(P,"$1"+e).replace(D,"$1left").replace(x,"right").replace(B,"$1$2"+e).replace(F,"$1$2e-resize").replace(x,"w-resize").replace($,J).replace(W,te).replace(V,re).replace(K,re).replace(G,te).replace(Z,ne).replace(Y,ne).replace(z,"$1$2$3$8$5$6$7$4$9").replace(U,"$1$2$3$8$5$6$7$4$9").replace(H,X).replace(q,X),n=o.detokenize(a.detokenize(s.detokenize(n)))}}},e.exports?t.transform=function(e,t,r){var i;return"object"==typeof t?i=t:(i={},"boolean"==typeof t&&(i.transformDirInUrl=t),"boolean"==typeof r&&(i.transformEdgeInUrl=r)),n.transform(e,i)}:"undefined"!=typeof window&&(window.cssjanus=n)},54550:function(e){e.exports=[{code:"AED",number:"784",digits:2,currency:"UAE Dirham",countries:["United Arab Emirates (The)"]},{code:"AFN",number:"971",digits:2,currency:"Afghani",countries:["Afghanistan"]}
2,{code:"ALL",number:"008",digits:2,currency:"Lek",countries:["Albania"]},{code:"AMD",number:"051",digits:2,currency:"Armenian Dram",countries:["Armenia"]},{code:"ANG",number:"532",digits:2,currency:"Netherlands Antillean Guilder",countries:["Curaçao","Sint Maarten (Dutch Part)"]},{code:"AOA",number:"973",digits:2,currency:"Kwanza",countries:["Angola"]},{code:"ARS",number:"032",digits:2,currency:"Argentine Peso",countries:["Argentina"]},{code:"AUD",number:"036",digits:2,currency:"Australian Dollar",countries:["Australia","Christmas Island","Cocos (Keeling) Islands (The)","Heard Island and Mcdonald Islands","Kiribati","Nauru","Norfolk Island","Tuvalu"]},{code:"AWG",number:"533",digits:2,currency:"Aruban Florin",countries:["Aruba"]},{code:"AZN",number:"944",digits:2,currency:"Azerbaijan Manat",countries:["Azerbaijan"]},{code:"BAM",number:"977",digits:2,currency:"Convertible Mark",countries:["Bosnia and Herzegovina"]},{code:"BBD",number:"052",digits:2,currency:"Barbados Dollar",countries:["Barbados"]},{code:"BDT",number:"050",digits:2,currency:"Taka",countries:["Bangladesh"]},{code:"BGN",number:"975",digits:2,currency:"Bulgarian Lev",countries:["Bulgaria"]},{code:"BHD",number:"048",digits:3,currency:"Bahraini Dinar",countries:["Bahrain"]},{code:"BIF",number:"108",digits:0,currency:"Burundi Franc",countries:["Burundi"]},{code:"BMD",number:"060",digits:2,currency:"Bermudian Dollar",countries:["Bermuda"]},{code:"BND",number:"096",digits:2,currency:"Brunei Dollar",countries:["Brunei Darussalam"]},{code:"BOB",number:"068",digits:2,currency:"Boliviano",countries:["Bolivia (Plurinational State Of)"]},{code:"BOV",number:"984",digits:2,currency:"Mvdol",countries:["Bolivia (Plurinational State Of)"]},{code:"BRL",number:"986",digits:2,currency:"Brazilian Real",countries:["Brazil"]},{code:"BSD",number:"044",digits:2,currency:"Bahamian Dollar",countries:["Bahamas (The)"]},{code:"BTN",number:"064",digits:2,currency:"Ngultrum",countries:["Bhutan"]},{code:"BWP",number:"072",digits:2,currency:"Pula",countries:["Botswana"]},{code:"BYN",number:"933",digits:2,currency:"Belarusian Ruble",countries:["Belarus"]},{code:"BZD",number:"084",digits:2,currency:"Belize Dollar",countries:["Belize"]},{code:"CAD",number:"124",digits:2,currency:"Canadian Dollar",countries:["Canada"]},{code:"CDF",number:"976",digits:2,currency:"Congolese Franc",countries:["Congo (The Democratic Republic of The)"]},{code:"CHE",number:"947",digits:2,currency:"WIR Euro",countries:["Switzerland"]},{code:"CHF",number:"756",digits:2,currency:"Swiss Franc",countries:["Liechtenstein","Switzerland"]},{code:"CHW",number:"948",digits:2,currency:"WIR Franc",countries:["Switzerland"]},{code:"CLF",number:"990",digits:4,currency:"Unidad de Fomento",countries:["Chile"]},{code:"CLP",number:"152",digits:0,currency:"Chilean Peso",countries:["Chile"]},{code:"CNY",number:"156",digits:2,currency:"Yuan Renminbi",countries:["China"]},{code:"COP",number:"170",digits:2,currency:"Colombian Peso",countries:["Colombia"]},{code:"COU",number:"970",digits:2,currency:"Unidad de Valor Real",countries:["Colombia"]},{code:"CRC",number:"188",digits:2,currency:"Costa Rican Colon",countries:["Costa Rica"]},{code:"CUC",number:"931",digits:2,currency:"Peso Convertible",countries:["Cuba"]},{code:"CUP",number:"192",digits:2,currency:"Cuban Peso",countries:["Cuba"]},{code:"CVE",number:"132",digits:2,currency:"Cabo Verde Escudo",countries:["Cabo Verde"]},{code:"CZK",number:"203",digits:2,currency:"Czech Koruna",countries:["Czechia"]},{code:"DJF",number:"262",digits:0,currency:"Djibouti Franc",countries:["Djibouti"]},{code:"DKK",number:"208",digits:2,currency:"Danish Krone",countries:["Denmark","Faroe Islands (The)","Greenland"]},{code:"DOP",number:"214",digits:2,currency:"Dominican Peso",countries:["Dominican Republic (The)"]},{code:"DZD",number:"012",digits:2,currency:"Algerian Dinar",countries:["Algeria"]},{code:"EGP",number:"818",digits:2,currency:"Egyptian Pound",countries:["Egypt"]},{code:"ERN",number:"232",digits:2,currency:"Nakfa",countries:["Eritrea"]},{code:"ETB",number:"230",digits:2,currency:"Ethiopian Birr",countries:["Ethiopia"]},{code:"EUR",number:"978",digits:2,currency:"Euro",countries:["Ã
land Islands","Andorra","Austria","Belgium","Cyprus","Estonia","European Union","Finland","France","French Guiana","French Southern Territories (The)","Germany","Greece","Guadeloupe","Holy See (The)","Ireland","Italy","Latvia","Lithuania","Luxembourg","Malta","Martinique","Mayotte","Monaco","Montenegro","Netherlands (The)","Portugal","Réunion","Saint Barthélemy","Saint Martin (French Part)","Saint Pierre and Miquelon","San Marino","Slovakia","Slovenia","Spain"]}
2,{code:"FJD",number:"242",digits:2,currency:"Fiji Dollar",countries:["Fiji"]},{code:"FKP",number:"238",digits:2,currency:"Falkland Islands Pound",countries:["Falkland Islands (The) [Malvinas]"]},{code:"GBP",number:"826",digits:2,currency:"Pound Sterling",countries:["Guernsey","Isle of Man","Jersey","United Kingdom of Great Britain and Northern Ireland (The)"]},{code:"GEL",number:"981",digits:2,currency:"Lari",countries:["Georgia"]},{code:"GHS",number:"936",digits:2,currency:"Ghana Cedi",countries:["Ghana"]},{code:"GIP",number:"292",digits:2,currency:"Gibraltar Pound",countries:["Gibraltar"]},{code:"GMD",number:"270",digits:2,currency:"Dalasi",countries:["Gambia (The)"]},{code:"GNF",number:"324",digits:0,currency:"Guinean Franc",countries:["Guinea"]},{code:"GTQ",number:"320",digits:2,currency:"Quetzal",countries:["Guatemala"]},{code:"GYD",number:"328",digits:2,currency:"Guyana Dollar",countries:["Guyana"]},{code:"HKD",number:"344",digits:2,currency:"Hong Kong Dollar",countries:["Hong Kong"]},{code:"HNL",number:"340",digits:2,currency:"Lempira",countries:["Honduras"]},{code:"HRK",number:"191",digits:2,currency:"Kuna",countries:["Croatia"]},{code:"HTG",number:"332",digits:2,currency:"Gourde",countries:["Haiti"]},{code:"HUF",number:"348",digits:2,currency:"Forint",countries:["Hungary"]},{code:"IDR",number:"360",digits:2,currency:"Rupiah",countries:["Indonesia"]},{code:"ILS",number:"376",digits:2,currency:"New Israeli Sheqel",countries:["Israel"]},{code:"INR",number:"356",digits:2,currency:"Indian Rupee",countries:["Bhutan","India"]},{code:"IQD",number:"368",digits:3,currency:"Iraqi Dinar",countries:["Iraq"]},{code:"IRR",number:"364",digits:2,currency:"Iranian Rial",countries:["Iran (Islamic Republic Of)"]},{code:"ISK",number:"352",digits:0,currency:"Iceland Krona",countries:["Iceland"]},{code:"JMD",number:"388",digits:2,currency:"Jamaican Dollar",countries:["Jamaica"]},{code:"JOD",number:"400",digits:3,currency:"Jordanian Dinar",countries:["Jordan"]},{code:"JPY",number:"392",digits:0,currency:"Yen",countries:["Japan"]},{code:"KES",number:"404",digits:2,currency:"Kenyan Shilling",countries:["Kenya"]},{code:"KGS",number:"417",digits:2,currency:"Som",countries:["Kyrgyzstan"]},{code:"KHR",number:"116",digits:2,currency:"Riel",countries:["Cambodia"]},{code:"KMF",number:"174",digits:0,currency:"Comorian Franc ",countries:["Comoros (The)"]},{code:"KPW",number:"408",digits:2,currency:"North Korean Won",countries:["Korea (The Democratic Peopleâs Republic Of)"]},{code:"KRW",number:"410",digits:0,currency:"Won",countries:["Korea (The Republic Of)"]},{code:"KWD",number:"414",digits:3,currency:"Kuwaiti Dinar",countries:["Kuwait"]},{code:"KYD",number:"136",digits:2,currency:"Cayman Islands Dollar",countries:["Cayman Islands (The)"]},{code:"KZT",number:"398",digits:2,currency:"Tenge",countries:["Kazakhstan"]}
2,{code:"LAK",number:"418",digits:2,currency:"Lao Kip",countries:["Lao Peopleâs Democratic Republic (The)"]},{code:"LBP",number:"422",digits:2,currency:"Lebanese Pound",countries:["Lebanon"]},{code:"LKR",number:"144",digits:2,currency:"Sri Lanka Rupee",countries:["Sri Lanka"]},{code:"LRD",number:"430",digits:2,currency:"Liberian Dollar",countries:["Liberia"]},{code:"LSL",number:"426",digits:2,currency:"Loti",countries:["Lesotho"]},{code:"LYD",number:"434",digits:3,currency:"Libyan Dinar",countries:["Libya"]},{code:"MAD",number:"504",digits:2,currency:"Moroccan Dirham",countries:["Morocco","Western Sahara"]},{code:"MDL",number:"498",digits:2,currency:"Moldovan Leu",countries:["Moldova (The Republic Of)"]},{code:"MGA",number:"969",digits:2,currency:"Malagasy Ariary",countries:["Madagascar"]},{code:"MKD",number:"807",digits:2,currency:"Denar",countries:["Macedonia (The Former Yugoslav Republic Of)"]},{code:"MMK",number:"104",digits:2,currency:"Kyat",countries:["Myanmar"]},{code:"MNT",number:"496",digits:2,currency:"Tugrik",countries:["Mongolia"]},{code:"MOP",number:"446",digits:2,currency:"Pataca",countries:["Macao"]},{code:"MRU",number:"929",digits:2,currency:"Ouguiya",countries:["Mauritania"]},{code:"MUR",number:"480",digits:2,currency:"Mauritius Rupee",countries:["Mauritius"]},{code:"MVR",number:"462",digits:2,currency:"Rufiyaa",countries:["Maldives"]},{code:"MWK",number:"454",digits:2,currency:"Malawi Kwacha",countries:["Malawi"]},{code:"MXN",number:"484",digits:2,currency:"Mexican Peso",countries:["Mexico"]},{code:"MXV",number:"979",digits:2,currency:"Mexican Unidad de Inversion (UDI)",countries:["Mexico"]},{code:"MYR",number:"458",digits:2,currency:"Malaysian Ringgit",countries:["Malaysia"]},{code:"MZN",number:"943",digits:2,currency:"Mozambique Metical",countries:["Mozambique"]},{code:"NAD",number:"516",digits:2,currency:"Namibia Dollar",countries:["Namibia"]},{code:"NGN",number:"566",digits:2,currency:"Naira",countries:["Nigeria"]},{code:"NIO",number:"558",digits:2,currency:"Cordoba Oro",countries:["Nicaragua"]},{code:"NOK",number:"578",digits:2,currency:"Norwegian Krone",countries:["Bouvet Island","Norway","Svalbard and Jan Mayen"]},{code:"NPR",number:"524",digits:2,currency:"Nepalese Rupee",countries:["Nepal"]},{code:"NZD",number:"554",digits:2,currency:"New Zealand Dollar",countries:["Cook Islands (The)","New Zealand","Niue","Pitcairn","Tokelau"]},{code:"OMR",number:"512",digits:3,currency:"Rial Omani",countries:["Oman"]},{code:"PAB",number:"590",digits:2,currency:"Balboa",countries:["Panama"]},{code:"PEN",number:"604",digits:2,currency:"Sol",countries:["Peru"]},{code:"PGK",number:"598",digits:2,currency:"Kina",countries:["Papua New Guinea"]},{code:"PHP",number:"608",digits:2,currency:"Philippine Peso",countries:["Philippines (The)"]},{code:"PKR",number:"586",digits:2,currency:"Pakistan Rupee",countries:["Pakistan"]},{code:"PLN",number:"985",digits:2,currency:"Zloty",countries:["Poland"]},{code:"PYG",number:"600",digits:0,currency:"Guarani",countries:["Paraguay"]},{code:"QAR",number:"634",digits:2,currency:"Qatari Rial",countries:["Qatar"]},{code:"RON",number:"946",digits:2,currency:"Romanian Leu",countries:["Romania"]},{code:"RSD",number:"941",digits:2,currency:"Serbian Dinar",countries:["Serbia"]},{code:"RUB",number:"643",digits:2,currency:"Russian Ruble",countries:["Russian Federation (The)"]},{code:"RWF",number:"646",digits:0,currency:"Rwanda Franc",countries:["Rwanda"]},{code:"SAR",number:"682",digits:2,currency:"Saudi Riyal",countries:["Saudi Arabia"]},{code:"SBD",number:"090",digits:2,currency:"Solomon Islands Dollar",countries:["Solomon Islands"]},{code:"SCR",number:"690",digits:2,currency:"Seychelles Rupee",countries:["Seychelles"]},{code:"SDG",number:"938",digits:2,currency:"Sudanese Pound",countries:["Sudan (The)"]},{code:"SEK",number:"752",digits:2,currency:"Swedish Krona",countries:["Sweden"]},{code:"SGD",number:"702",digits:2,currency:"Singapore Dollar",countries:["Singapore"]}
2,{code:"SHP",number:"654",digits:2,currency:"Saint Helena Pound",countries:["Saint Helena, Ascension and Tristan Da Cunha"]},{code:"SLL",number:"694",digits:2,currency:"Leone",countries:["Sierra Leone"]},{code:"SOS",number:"706",digits:2,currency:"Somali Shilling",countries:["Somalia"]},{code:"SRD",number:"968",digits:2,currency:"Surinam Dollar",countries:["Suriname"]},{code:"SSP",number:"728",digits:2,currency:"South Sudanese Pound",countries:["South Sudan"]},{code:"STN",number:"930",digits:2,currency:"Dobra",countries:["Sao Tome and Principe"]},{code:"SVC",number:"222",digits:2,currency:"El Salvador Colon",countries:["El Salvador"]},{code:"SYP",number:"760",digits:2,currency:"Syrian Pound",countries:["Syrian Arab Republic"]},{code:"SZL",number:"748",digits:2,currency:"Lilangeni",countries:["Eswatini"]},{code:"THB",number:"764",digits:2,currency:"Baht",countries:["Thailand"]},{code:"TJS",number:"972",digits:2,currency:"Somoni",countries:["Tajikistan"]},{code:"TMT",number:"934",digits:2,currency:"Turkmenistan New Manat",countries:["Turkmenistan"]},{code:"TND",number:"788",digits:3,currency:"Tunisian Dinar",countries:["Tunisia"]},{code:"TOP",number:"776",digits:2,currency:"Paâanga",countries:["Tonga"]},{code:"TRY",number:"949",digits:2,currency:"Turkish Lira",countries:["Turkey"]},{code:"TTD",number:"780",digits:2,currency:"Trinidad and Tobago Dollar",countries:["Trinidad and Tobago"]},{code:"TWD",number:"901",digits:2,currency:"New Taiwan Dollar",countries:["Taiwan (Province of China)"]},{code:"TZS",number:"834",digits:2,currency:"Tanzanian Shilling",countries:["Tanzania, United Republic Of"]},{code:"UAH",number:"980",digits:2,currency:"Hryvnia",countries:["Ukraine"]},{code:"UGX",number:"800",digits:0,currency:"Uganda Shilling",countries:["Uganda"]},{code:"USD",number:"840",digits:2,currency:"US Dollar",countries:["American Samoa","Bonaire, Sint Eustatius and Saba","British Indian Ocean Territory (The)","Ecuador","El Salvador","Guam","Haiti","Marshall Islands (The)","Micronesia (Federated States Of)","Northern Mariana Islands (The)","Palau","Panama","Puerto Rico","Timor-Leste","Turks and Caicos Islands (The)","United States Minor Outlying Islands (The)","United States of America (The)","Virgin Islands (British)","Virgin Islands (U.S.)"]},{code:"USN",number:"997",digits:2,currency:"US Dollar (Next day)",countries:["United States of America (The)"]},{code:"UYI",number:"940",digits:0,currency:"Uruguay Peso en Unidades Indexadas (UI)",countries:["Uruguay"]},{code:"UYU",number:"858",digits:2,currency:"Peso Uruguayo",countries:["Uruguay"]},{code:"UYW",number:"927",digits:4,currency:"Unidad Previsional",countries:["Uruguay"]},{code:"UZS",number:"860",digits:2,currency:"Uzbekistan Sum",countries:["Uzbekistan"]},{code:"VES",number:"928",digits:2,currency:"BolÃvar Soberano",countries:["Venezuela (Bolivarian Republic Of)"]},{code:"VND",number:"704",digits:0,currency:"Dong",countries:["Viet Nam"]},{code:"VUV",number:"548",digits:0,currency:"Vatu",countries:["Vanuatu"]},{code:"WST",number:"882",digits:2,currency:"Tala",countries:["Samoa"]},{code:"XAF",number:"950",digits:0,currency:"CFA Franc BEAC",countries:["Cameroon","Central African Republic (The)","Chad","Congo (The)","Equatorial Guinea","Gabon"]},{code:"XAG",number:"961",digits:0,currency:"Silver",countries:["Zz11_silver"]},{code:"XAU",number:"959",digits:0,currency:"Gold",countries:["Zz08_gold"]},{code:"XBA",number:"955",digits:0,currency:"Bond Markets Unit European Composite Unit (EURCO)",countries:["Zz01_bond Markets Unit European_eurco"]},{code:"XBB",number:"956",digits:0,currency:"Bond Markets Unit European Monetary Unit (E.M.U.-6)",countries:["Zz02_bond Markets Unit European_emu-6"]},{code:"XBC",number:"957",digits:0,currency:"Bond Markets Unit European Unit of Account 9 (E.U.A.-9)",countries:["Zz03_bond Markets Unit European_eua-9"]},{code:"XBD",number:"958",digits:0,currency:"Bond Markets Unit European Unit of Account 17 (E.U.A.-17)",countries:["Zz04_bond Markets Unit European_eua-17"]},{code:"XCD",number:"951",digits:2,currency:"East Caribbean Dollar",countries:["Anguilla","Antigua and Barbuda","Dominica","Grenada","Montserrat","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines"]},{code:"XDR",number:"960",digits:0,currency:"SDR (Special Drawing Right)",countries:["International Monetary Fund (Imf) "]},{code:"XOF",number:"952",digits:0,currency:"CFA Franc BCEAO",countries:["Benin","Burkina Faso","Côte d'Ivoire","Guinea-Bissau","Mali","Niger (The)","Senegal","Togo"]},{code:"XPD",number:"964",digits:0,currency:"Palladium",countries:["Zz09_palladium"]},{code:"XPF",number:"953",digits:0,currency:"CFP Franc",countries:["French Polynesia","New Caledonia","Wallis and Futuna"]},{code:"XPT",number:"962",digits:0,currency:"Platinum",countries:["Zz10_platinum"]},{code:"XSU",number:"994",digits:0,currency:"Sucre",countries:['Sistema Unitario De Compensacion Regional De Pagos "Sucre"']},{code:"XTS",number:"963",digits:0,currency:"Codes specifically reserved for testing purposes",countries:["Zz06_testing_code"]},{code:"XUA",number:"965",digits:0,currency:"ADB Unit of Account",countries:["Member Countries of the African Development Bank Group"]},{code:"XXX",number:"999",digits:0,currency:"The codes assigned for transactions where no currency is involved",countries:["Zz07_no_currency"]}
vendor: 11,278 bytes, line 2
2,{code:"YER",number:"886",digits:2,currency:"Yemeni Rial",countries:["Yemen"]},{code:"ZAR",number:"710",digits:2,currency:"Rand",countries:["Lesotho","Namibia","South Africa"]},{code:"ZMW",number:"967",digits:2,currency:"Zambian Kwacha",countries:["Zambia"]},{code:"ZWL",number:"932",digits:2,currency:"Zimbabwe Dollar",countries:["Zimbabwe"]}]},93546:function(e,t,n){var r=n(27680),i=n(72719),o=n(54550),a=n(38860);t.qQ=function(){return o.map((function(e){return e.code}))}},38860:function(e){e.exports="2018-08-29"},81463:function(e,t,n){const r=n(96411);e.exports=function(e){if("string"!=typeof e)return;const t=e.toUpperCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0},e.exports.currencySymbolMap=r},96411:function(e){e.exports={AED:"د.Ø¥",AFN:"Ø",ALL:"L",AMD:"Ö",ANG:"Æ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"Æ",AZN:"â¼",BAM:"KM",BBD:"$",BDT:"à§³",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"â¿",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"Â¥",CNY:"Â¥",COP:"$",COU:"COU",CRC:"â¡",CUC:"$",CUP:"â±",CVE:"$",CZK:"KÄ",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Î",EUR:"â¬",FJD:"$",FKP:"£",GBP:"£",GEL:"â¾",GGP:"£",GHC:"âµ",GHS:"GHâµ",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"âª",IMP:"£",INR:"â¹",IQD:"ع.د",IRR:"ï·¼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"Â¥",KES:"KSh",KGS:"лв",KHR:"á",KMF:"CF",KPW:"â©",KRW:"â©",KWD:"KD",KYD:"$",KZT:"â¸",LAK:"â",LBP:"£",LKR:"â¨",LRD:"$",LSL:"M",LTC:"Å",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"â®",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"â¨",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"â¦",NIO:"C$",NOK:"kr",NPR:"â¨",NZD:"$",OMR:"ï·¼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"â±",PKR:"â¨",PLN:"zÅ",PYG:"Gs",QAR:"ï·¼",RMB:"ï¿¥",RON:"lei",RSD:"Ðин.",RUB:"â½",RWF:"Râ£",SAR:"ï·¼",SBD:"$",SCR:"â¨",SDG:"ج.س.",SEK:"kr",SGD:"S$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",STN:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"â¤",TRY:"âº",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"â´",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"лв",VEF:"Bs",VES:"Bs.S",VND:"â«",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"É",XCD:"$",XOF:"CFA",XPF:"â£",XSU:"Sucre",XUA:"XUA",YER:"ï·¼",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},70681:function(e,t,n){e.exports={graphlib:n(70574),layout:n(98123),debug:n(27570),util:{time:n(11138).time,notime:n(11138).notime},version:n(88177)}},92188:function(e,t,n){"use strict";var r=n(38436),i=n(74079);e.exports={run:function(e){var t="greedy"===e.graph().acyclicer?i(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},i={};function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.forEach(e.outEdges(a),(function(e){r.has(n,e.w)?t.push(e):o(e.w)})),delete n[a])}return r.forEach(e.nodes(),o),t}(e);r.forEach(t,(function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,r.uniqueId("rev"))}))},undo:function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))}}},61133:function(e,t,n){var r=n(38436),i=n(11138);function o(e,t,n,r,o,a){var s={width:0,height:0,rank:a,borderType:t},c=o[t][a-1],l=i.addDummyNode(e,"border",s,n);o[t][a]=l,e.setParent(l,r),c&&e.setEdge(c,l,{weight:1})}e.exports=function(e){r.forEach(e.children(),(function t(n){var i=e.children(n),a=e.node(n);if(i.length&&r.forEach(i,t),r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,c=a.maxRank+1;s<c;++s)o(e,"borderLeft","_bl",n,a,s),o(e,"borderRight","_br",n,a,s)}}))}},53258:function(e,t,n){"use strict";var r=n(38436);function i(e){r.forEach(e.nodes(),(function(t){o(e.node(t))})),r.forEach(e.edges(),(function(t){o(e.edge(t))}))}function o(e){var t=e.width;e.width=e.height,e.height=t}function a(e){e.y=-e.y}function s(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||i(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){r.forEach(e.nodes(),(function(t){a(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.forEach(n.points,a),r.has(n,"y")&&a(n)}))}(e);"lr"!==t&&"rl"!==t||(!function(e){r.forEach(e.nodes(),(function(t){s(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.forEach(n.points,s),r.has(n,"x")&&s(n)}))}(e),i(e))}}},77822:function(e){function t(){var e={};e._next=e._prev=e,this._sentinel=e}function n(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function r(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=t,t.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return n(t),t},t.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&n(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},t.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,r)),n=n._prev;return"["+e.join(", ")+"]"}},27570:function(e,t,n){var r=n(38436),i=n(11138),o=n(70574).Graph;e.exports={debugOrdering:function(e){var t=i.buildLayerMatrix(e),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(e.nodes(),(function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)})),r.forEach(e.edges(),(function(e){n.setEdge(e.v,e.w,{},e.name)})),r.forEach(t,(function(e,t){var i="layer"+t;n.setNode(i,{rank:"same"}),r.reduce(e,(function(e,t){return n.setEdge(e,t,{style:"invis"}),t}))})),n}}},70574:function(e,t,n){var r;try{r=n(28282)}catch(e){}r||(r=window.graphlib),e.exports=r},74079:function(e,t,n){var r=n(38436),i=n(70574).Graph,o=n(77822);e.exports=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new i,a=0,s=0;r.forEach(e.nodes(),(function(e){n.setNode(e,{v:e,in:0,out:0})})),r.forEach(e.edges(),(function(e){var r=n.edge(e.v,e.w)||0,i=t(e),o=r+i;n.setEdge(e.v,e.w,o),s=Math.max(s,n.node(e.v).out+=i),a=Math.max(a,n.node(e.w).in+=i)}));var l=r.range(s+a+3).map((function(){return new o})),u=a+1;return r.forEach(n.nodes(),(function(e){c(l,u,n.node(e))})),{graph:n,buckets:l,zeroIdx:u}}(e,t||a),l=function(e,t,n){var r,i=[],o=t[t.length-1],a=t[0];for(;e.nodeCount();){for(;r=a.dequeue();)s(e,t,n,r);for(;r=o.dequeue();)s(e,t,n,r);if(e.nodeCount())for(var c=t.length-2;c>0;--c)if(r=t[c].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(l,(function(t){return e.outEdges(t.v,t.w)})),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.forEach(e.inEdges(i.v),(function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,c(t,n,s)})),r.forEach(e.outEdges(i.v),(function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,c(t,n,a)})),e.removeNode(i.v),a}function c(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},98123:function(e,t,n){"use strict";var r=n(38436),i=n(92188),o=n(45995),a=n(78093),s=n(11138).normalizeRanks,c=n(24219),l=n(11138).removeEmptyRanks,u=n(72981),f=n(61133),h=n(53258),d=n(53408),p=n(17873),g=n(11138),m=n(70574).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=O(e.graph());return t.setGraph(r.merge({},y,k(n,v),r.pick(n,b))),r.forEach(e.nodes(),(function(n){var i=O(e.node(n));t.setNode(n,r.defaults(k(i,_),w)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var i=O(e.edge(n));t.setEdge(n,r.merge({},S,k(i,x),r.pick(i,E)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){i.run(e)})),t(" nestingGraph.run",(function(){u.run(e)})),t(" rank",(function(){a(g.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",i,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){l(e)})),t(" nestingGraph.cleanup",(function(){u.cleanup(e)})),t(" normalizeRanks",(function(){s(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;r.forEach(e.nodes(),(function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){o.run(e)})),t(" parentDummyChains",(function(){c(e)})),t(" addBorderSegments",(function(){f(e)})),t(" order",(function(){d(e)})),t(" insertSelfEdges",(function(){!function(e){var t=g.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,i){var o=e.node(t);o.order=i+n,r.forEach(o.selfEdges,(function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){h.adjust(e)})),t(" position",(function(){p(e)})),t(" positionSelfEdges",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){o.undo(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){h.undo(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,c=a.marginy||0;
vendor: 4,345 bytes, line 2
2function l(e){var r=e.x,a=e.y,s=e.width,c=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-c/2),o=Math.max(o,a+c/2)}r.forEach(e.nodes(),(function(t){l(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&l(n)})),t-=s,i-=c,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=i})),r.forEach(e.edges(),(function(n){var o=e.edge(n);r.forEach(o.points,(function(e){e.x-=t,e.y-=i})),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)})),a.width=n-t+s,a.height=o-i+c}(e)})),t(" assignNodeIntersects",(function(){!function(e){r.forEach(e.edges(),(function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))}))}(e)})),t(" reversePoints",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){i.undo(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(e.edges(),(function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))};var v=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],_=["width","height"],w={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],S={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function k(e,t){return r.mapValues(r.pick(e,t),Number)}function O(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},38436:function(e,t,n){var r;try{r={cloneDeep:n(50361),constant:n(75703),defaults:n(91747),each:n(66073),filter:n(63105),find:n(13311),flatten:n(85564),forEach:n(84486),forIn:n(62620),has:n(18721),isUndefined:n(52353),last:n(10928),map:n(35161),mapValues:n(66604),max:n(6162),merge:n(82492),min:n(53632),minBy:n(22762),now:n(7771),pick:n(78718),range:n(96026),reduce:n(54061),sortBy:n(89734),uniqueId:n(73955),values:n(52628),zipObject:n(7287)}}catch(e){}r||(r=window._),e.exports=r},72981:function(e,t,n){var r=n(38436),i=n(11138);function o(e,t,n,a,s,c,l){var u=e.children(l);if(u.length){var f=i.addBorderNode(e,"_bt"),h=i.addBorderNode(e,"_bb"),d=e.node(l);e.setParent(f,l),d.borderTop=f,e.setParent(h,l),d.borderBottom=h,r.forEach(u,(function(r){o(e,t,n,a,s,c,r);var i=e.node(r),u=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=u!==d?1:s-c[l]+1;e.setEdge(f,u,{weight:p,minlen:g,nestingEdge:!0}),e.setEdge(d,h,{weight:p,minlen:g,nestingEdge:!0})})),e.parent(l)||e.setEdge(t,f,{weight:0,minlen:s+c[l]})}else l!==t&&e.setEdge(t,l,{weight:0,minlen:n})}e.exports={run:function(e){var t=i.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};function n(i,o){var a=e.children(i);a&&a.length&&r.forEach(a,(function(e){n(e,o+1)})),t[i]=o}return r.forEach(e.children(),(function(e){n(e,1)})),t}(e),a=r.max(r.values(n))-1,s=2*a+1;e.graph().nestingRoot=t,r.forEach(e.edges(),(function(t){e.edge(t).minlen*=s}));var c=function(e){return r.reduce(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}(e)+1;r.forEach(e.children(),(function(r){o(e,t,s,c,a,n,r)})),e.graph().nodeRankFactor=s},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(e.edges(),(function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}}},45995:function(e,t,n){"use strict";var r=n(38436),i=n(11138);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,c=t.w,l=e.node(c).rank,u=t.name,f=e.edge(t),h=f.labelRank;if(l===s+1)return;for(e.removeEdge(t),o=0,++s;s<l;++o,++s)f.points=[],r={width:0,height:0,edgeLabel:f,edgeObj:t,rank:s},n=i.addDummyNode(e,"edge",r,"_d"),s===h&&(r.width=f.width,r.height=f.height,r.dummy="edge-label",r.labelpos=f.labelpos),e.setEdge(a,n,{weight:f.weight},u),0===o&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,c,{weight:f.weight},u)}(e,t)}))},undo:function(e){r.forEach(e.graph().dummyChains,(function(t){var n,r=e.node(t),i=r.edgeLabel;
vendor: 4,291 bytes, line 2
2for(e.setEdge(r.edgeObj,i);r.dummy;)n=e.successors(t)[0],e.removeNode(t),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),t=n,r=e.node(t)}))}}},55093:function(e,t,n){var r=n(38436);e.exports=function(e,t,n){var i,o={};r.forEach(n,(function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}}))}},35439:function(e,t,n){var r=n(38436);e.exports=function(e,t){return r.map(t,(function(t){var n=e.inEdges(t);if(n.length){var i=r.reduce(n,(function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}}),{sum:0,weight:0});return{v:t,barycenter:i.sum/i.weight,weight:i.weight}}return{v:t}}))}},23128:function(e,t,n){var r=n(38436),i=n(70574).Graph;e.exports=function(e,t,n){var o=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(t){return e.node(t)}));return r.forEach(e.nodes(),(function(i){var s=e.node(i),c=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,c||o),r.forEach(e[n](i),(function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))})),a}},56630:function(e,t,n){"use strict";var r=n(38436);function i(e,t,n){for(var i=r.zipObject(n,r.map(n,(function(e,t){return t}))),o=r.flatten(r.map(t,(function(t){return r.sortBy(r.map(e.outEdges(t),(function(t){return{pos:i[t.w],weight:e.edge(t).weight}})),"pos")})),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var c=r.map(new Array(s),(function(){return 0})),l=0;return r.forEach(o.forEach((function(e){var t=e.pos+a;c[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=c[t+1]),c[t=t-1>>1]+=e.weight;l+=e.weight*n}))),l}e.exports=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=i(e,t[r-1],t[r]);return n}},53408:function(e,t,n){"use strict";var r=n(38436),i=n(2588),o=n(56630),a=n(61026),s=n(23128),c=n(55093),l=n(70574).Graph,u=n(11138);function f(e,t,n){return r.map(t,(function(t){return s(e,t,n)}))}function h(e,t){var n=new l;r.forEach(e,(function(e){var i=e.graph().root,o=a(e,i,n,t);r.forEach(o.vs,(function(t,n){e.node(t).order=n})),c(e,n,o.vs)}))}function d(e,t){r.forEach(t,(function(t){r.forEach(t,(function(t,n){e.node(t).order=n}))}))}e.exports=function(e){var t=u.maxRank(e),n=f(e,r.range(1,t+1),"inEdges"),a=f(e,r.range(t-1,-1,-1),"outEdges"),s=i(e);d(e,s);for(var c,l=Number.POSITIVE_INFINITY,p=0,g=0;g<4;++p,++g){h(p%2?n:a,p%4>=2),s=u.buildLayerMatrix(e);var m=o(e,s);m<l&&(g=0,c=r.cloneDeep(s),l=m)}d(e,c)}},2588:function(e,t,n){"use strict";var r=n(38436);e.exports=function(e){var t={},n=r.filter(e.nodes(),(function(t){return!e.children(t).length})),i=r.max(r.map(n,(function(t){return e.node(t).rank}))),o=r.map(r.range(i+1),(function(){return[]}));var a=r.sortBy(n,(function(t){return e.node(t).rank}));return r.forEach(a,(function n(i){if(r.has(t,i))return;t[i]=!0;var a=e.node(i);o[a.rank].push(i),r.forEach(e.successors(i),n)})),o}},83678:function(e,t,n){"use strict";var r=n(38436);e.exports=function(e,t){var n={};return r.forEach(e,(function(e,t){var i=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};r.isUndefined(e.barycenter)||(i.barycenter=e.barycenter,i.weight=e.weight)})),r.forEach(t.edges(),(function(e){var t=n[e.v],i=n[e.w];r.isUndefined(t)||r.isUndefined(i)||(i.indegree++,t.out.push(n[e.w]))})),function(e){var t=[];function n(e){return function(t){t.merged||(r.isUndefined(t.barycenter)||r.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(e){return!e.indegree})))}},61026:function(e,t,n){var r=n(38436),i=n(35439),o=n(83678),a=n(87304);
vendor: 5,132 bytes, line 2
2e.exports=function e(t,n,s,c){var l=t.children(n),u=t.node(n),f=u?u.borderLeft:void 0,h=u?u.borderRight:void 0,d={};f&&(l=r.filter(l,(function(e){return e!==f&&e!==h})));var p=i(t,l);r.forEach(p,(function(n){if(t.children(n.v).length){var i=e(t,n.v,s,c);d[n.v]=i,r.has(i,"barycenter")&&(o=n,a=i,r.isUndefined(o.barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a}));var g=o(p,s);!function(e,t){r.forEach(e,(function(e){e.vs=r.flatten(e.vs.map((function(e){return t[e]?t[e].vs:e})),!0)}))}(g,d);var m=a(g,c);if(f&&(m.vs=r.flatten([f,m.vs,h],!0),t.predecessors(f).length)){var v=t.node(t.predecessors(f)[0]),y=t.node(t.predecessors(h)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+y.order)/(m.weight+2),m.weight+=2}return m}},87304:function(e,t,n){var r=n(38436),i=n(11138);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,(function(e){return r.has(e,"barycenter")})),a=n.lhs,s=r.sortBy(n.rhs,(function(e){return-e.i})),c=[],l=0,u=0,f=0;a.sort((h=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:h?t.i-e.i:e.i-t.i})),f=o(c,s,f),r.forEach(a,(function(e){f+=e.vs.length,c.push(e.vs),l+=e.barycenter*e.weight,u+=e.weight,f=o(c,s,f)}));var h;var d={vs:r.flatten(c,!0)};u&&(d.barycenter=l/u,d.weight=u);return d}},24219:function(e,t,n){var r=n(38436);e.exports=function(e){var t=function(e){var t={},n=0;function i(o){var a=n;r.forEach(e.children(o),i),t[o]={low:a,lim:n++}}return r.forEach(e.children(),i),t}(e);r.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],c=Math.min(t[n].low,t[r].low),l=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>c||l>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,c=0,l=a[c],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(l=a[c])!==s&&e.node(l).maxRank<r.rank;)c++;l===s&&(u=!1)}if(!u){for(;c<a.length-1&&e.node(l=a[c+1]).minRank<=r.rank;)c++;l=a[c]}e.setParent(n,l),n=e.successors(n)[0]}}))}},3573:function(e,t,n){"use strict";var r=n(38436),i=n(70574).Graph,o=n(11138);function a(e,t){var n={};return r.reduce(t,(function(t,i){var o=0,a=0,s=t.length,l=r.last(i);return r.forEach(i,(function(t,u){var f=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),h=f?e.node(f).order:s;(f||t===l)&&(r.forEach(i.slice(a,u+1),(function(t){r.forEach(e.predecessors(t),(function(r){var i=e.node(r),a=i.order;!(a<o||h<a)||i.dummy&&e.node(t).dummy||c(n,r,t)}))})),a=u+1,o=h)})),i})),n}function s(e,t){var n={};function i(t,i,o,a,s){var l;r.forEach(r.range(i,o),(function(i){l=t[i],e.node(l).dummy&&r.forEach(e.predecessors(l),(function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>s)&&c(n,t,l)}))}))}return r.reduce(t,(function(t,n){var o,a=-1,s=0;return r.forEach(n,(function(r,c){if("border"===e.node(r).dummy){var l=e.predecessors(r);l.length&&(o=e.node(l[0]).order,i(n,s,c,a,o),s=c,a=o)}i(n,s,n.length,o,t.length)})),n})),n}function c(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function l(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function u(e,t,n,i){var o={},a={},s={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){o[e]=e,a[e]=e,s[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var c=i(e);if(c.length){c=r.sortBy(c,(function(e){return s[e]}));for(var u=(c.length-1)/2,f=Math.floor(u),h=Math.ceil(u);f<=h;++f){var d=c[f];a[e]===e&&t<s[d]&&!l(n,e,d)&&(a[d]=e,a[e]=o[e]=o[d],t=s[d])}}}))})),{root:o,align:a}}function f(e,t,n,o,a){var s={},c=function(e,t,n,o){var a=new i,s=e.graph(),c=function(e,t,n){return function(i,o,a){var s,c=i.node(o),l=i.node(a),u=0;if(u+=c.width/2,r.has(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=-c.width/2;break;case"r":s=c.width/2}if(s&&(u+=n?s:-s),s=0,u+=(c.dummy?t:e)/2,u+=(l.dummy?t:e)/2,u+=l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=l.width/2;break;case"r":s=-l.width/2}return s&&(u+=n?s:-s),s=0,u}}(s.nodesep,s.edgesep,o);return r.forEach(t,(function(t){var i;r.forEach(t,(function(t){var r=n[t];if(a.setNode(r),i){var o=n[i],s=a.edge(o,r);a.setEdge(o,r,Math.max(c(e,t,i),s||0))}i=t}))})),a}(e,t,n,a),l=a?"borderLeft":"borderRight";function u(e,t){for(var n=c.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return u((function(e){s[e]=c.inEdges(e).reduce((function(e,t){return Math.max(e,s[t.v]+c.edge(t))}),0)}),c.predecessors.bind(c)),u((function(t){var n=c.outEdges(t).reduce((function(e,t){return Math.min(e,s[t.w]-c.edge(t))}),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==l&&(s[t]=Math.max(s[t],n))}),c.successors.bind(c)),r.forEach(o,(function(e){s[e]=s[n[e]]})),s}function h(e,t){return r.minBy(r.values(t),(function(t){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;
vendor: 4,979 bytes, line 2
2return r.forIn(t,(function(t,r){var o=function(e,t){return e.node(t).width}(e,r)/2;n=Math.max(t+o,n),i=Math.min(t-o,i)})),n-i}))}function d(e,t){var n=r.values(t),i=r.min(n),o=r.max(n);r.forEach(["u","d"],(function(n){r.forEach(["l","r"],(function(a){var s,c=n+a,l=e[c];if(l!==t){var u=r.values(l);(s="l"===a?i-r.min(u):o-r.max(u))&&(e[c]=r.mapValues(l,(function(e){return e+s})))}}))}))}function p(e,t){return r.mapValues(e.ul,(function(n,i){if(t)return e[t.toLowerCase()][i];var o=r.sortBy(r.map(e,i));return(o[1]+o[2])/2}))}e.exports={positionX:function(e){var t,n=o.buildLayerMatrix(e),i=r.merge(a(e,n),s(e,n)),c={};r.forEach(["u","d"],(function(o){t="u"===o?n:r.values(n).reverse(),r.forEach(["l","r"],(function(n){"r"===n&&(t=r.map(t,(function(e){return r.values(e).reverse()})));var a=("u"===o?e.predecessors:e.successors).bind(e),s=u(e,t,i,a),l=f(e,t,s.root,s.align,"r"===n);"r"===n&&(l=r.mapValues(l,(function(e){return-e}))),c[o+n]=l}))}));var l=h(e,c);return d(c,l),p(c,e.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:c,hasConflict:l,verticalAlignment:u,horizontalCompaction:f,alignCoordinates:d,findSmallestWidthAlignment:h,balance:p}},17873:function(e,t,n){"use strict";var r=n(38436),i=n(11138),o=n(3573).positionX;e.exports=function(e){(function(e){var t=i.buildLayerMatrix(e),n=e.graph().ranksep,o=0;r.forEach(t,(function(t){var i=r.max(r.map(t,(function(t){return e.node(t).height})));r.forEach(t,(function(t){e.node(t).y=o+i/2})),o+=i+n}))})(e=i.asNonCompoundGraph(e)),r.forEach(o(e),(function(t,n){e.node(n).x=t}))}},20300:function(e,t,n){"use strict";var r=n(38436),i=n(70574).Graph,o=n(76681).slack;function a(e,t){return r.forEach(e.nodes(),(function n(i){r.forEach(t.nodeEdges(i),(function(r){var a=r.v,s=i===a?r.w:a;e.hasNode(s)||o(t,r)||(e.setNode(s,{}),e.setEdge(i,s,{}),n(s))}))})),e.nodeCount()}function s(e,t){return r.minBy(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return o(t,n)}))}function c(e,t,n){r.forEach(e.nodes(),(function(e){t.node(e).rank+=n}))}e.exports=function(e){var t,n,r=new i({directed:!1}),l=e.nodes()[0],u=e.nodeCount();r.setNode(l,{});for(;a(r,e)<u;)t=s(r,e),n=r.hasNode(t.v)?o(e,t):-o(e,t),c(r,e,n);return r}},78093:function(e,t,n){"use strict";var r=n(76681).longestPath,i=n(20300),o=n(42472);e.exports=function(e){switch(e.graph().ranker){case"network-simplex":default:s(e);break;case"tight-tree":!function(e){r(e),i(e)}(e);break;case"longest-path":a(e)}};var a=r;function s(e){o(e)}},42472:function(e,t,n){"use strict";var r=n(38436),i=n(20300),o=n(76681).slack,a=n(76681).longestPath,s=n(70574).alg.preorder,c=n(70574).alg.postorder,l=n(11138).simplify;function u(e){e=l(e),a(e);var t,n=i(e);for(d(n),f(n,e);t=g(n);)v(n,e,t,m(n,e,t))}function f(e,t){var n=c(e,e.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(e,t,n){var r=e.node(n),i=r.parent;e.edge(n,i).cutvalue=h(e,t,n)}(e,t,n)}))}function h(e,t,n){var i=e.node(n).parent,o=!0,a=t.edge(n,i),s=0;return a||(o=!1,a=t.edge(i,n)),s=a.weight,r.forEach(t.nodeEdges(n),(function(r){var a,c,l=r.v===n,u=l?r.w:r.v;if(u!==i){var f=l===o,h=t.edge(r).weight;if(s+=f?h:-h,a=n,c=u,e.hasEdge(a,c)){var d=e.edge(n,u).cutvalue;s+=f?-d:d}}})),s}function d(e,t){arguments.length<2&&(t=e.nodes()[0]),p(e,{},1,t)}function p(e,t,n,i,o){var a=n,s=e.node(i);return t[i]=!0,r.forEach(e.neighbors(i),(function(o){r.has(t,o)||(n=p(e,t,n,o,i))})),s.low=a,s.lim=n++,o?s.parent=o:delete s.parent,n}function g(e){return r.find(e.edges(),(function(t){return e.edge(t).cutvalue<0}))}function m(e,t,n){var i=n.v,a=n.w;t.hasEdge(i,a)||(i=n.w,a=n.v);var s=e.node(i),c=e.node(a),l=s,u=!1;s.lim>c.lim&&(l=c,u=!0);var f=r.filter(t.edges(),(function(t){return u===y(e,e.node(t.v),l)&&u!==y(e,e.node(t.w),l)}));return r.minBy(f,(function(e){return o(t,e)}))}function v(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),d(e),f(e,t),function(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),i=s(e,n);i=i.slice(1),r.forEach(i,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function y(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=d,u.initCutValues=f,u.calcCutValue=h,u.leaveEdge=g,u.enterEdge=m,u.exchangeEdges=v},76681:function(e,t,n){"use strict";var r=n(38436);e.exports={longestPath:function(e){var t={};r.forEach(e.sources(),(function n(i){var o=e.node(i);if(r.has(t,i))return o.rank;t[i]=!0;var a=r.min(r.map(e.outEdges(i),(function(t){return n(t.w)-e.edge(t).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a}))},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},11138:function(e,t,n){"use strict";var r=n(38436),i=n(70574).Graph;function o(e,t,n,i){var o;do{o=r.uniqueId(i)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n})))}
vendor: 7,990 bytes, line 2
2e.exports={addDummyNode:o,simplify:function(e){var t=(new i).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,c=e.width/2,l=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*c>Math.abs(a)*l?(s<0&&(l=-l),n=l*a/s,r=l):(a<0&&(c=-c),n=c,r=c*s/a);return{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),(function(){return[]}));return r.forEach(e.nodes(),(function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)})),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank})));r.forEach(e.nodes(),(function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)}))},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];r.forEach(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=e.graph().nodeRankFactor;r.forEach(n,(function(t,n){r.isUndefined(t)&&n%o!=0?--i:i&&r.forEach(t,(function(t){e.node(t).rank+=i}))}))},addBorderNode:function(e,t,n,r){var i={width:0,height:0};arguments.length>=4&&(i.rank=n,i.order=r);return o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},88177:function(e){e.exports="0.8.5"},90669:function(e,t,n){"use strict";var r=n(67294);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=["html","dangerouslySetInnerHTML"];t.Z=function(e){var t=e.html,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,o),a=(0,r.useRef)(null),s=(0,r.useRef)(!0);return(0,r.useEffect)((function(){if(!t||!a.current)throw new Error("html prop cant't be null");if(s.current){s.current=!1;var e=document.createRange().createContextualFragment(t);a.current.innerHTML="",a.current.appendChild(e)}}),[t,a]),r.createElement("div",i({},n,{ref:a}))}},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",f="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|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,m={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"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),o=n-i<0,a=t.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:f,w:c,d:s,D:h,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=m;var w="$isDayjsObject",x=function(e){return e instanceof O||!(!e||!e[w])},S=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();_[o]&&(i=o),n&&(_[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;_[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},E=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},k=y;k.l=S,k.i=x,k.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},v.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()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===d)},v.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return E(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<E(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),d=function(e,t){var i=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},p=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case f:return r?d(1,0):d(31,11);case l:return r?d(1,m):d(0,m+1);case c:var b=this.$locale().weekStart||0,_=(g<b?g+7:g)-b;return d(r?v-_:v+(6-_),m);case s:case h:return p(y+"Hours",0);case a:return p(y+"Minutes",1);case o:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,c=k.p(e),u="set"+(this.$u?"UTC":""),d=(n={},n[s]=u+"Date",n[h]=u+"Date",n[l]=u+"Month",n[f]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],p=c===s?this.$D+(t-this.$W):t;if(c===l||c===f){var g=this.clone().set(h,1);g.$d[d](p),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,u){var h,d=this;r=Number(r);var p=k.p(u),g=function(e){var t=E(d);return k.w(t.date(t.date()+Math.round(e*r)),d)};if(p===l)return this.set(l,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===s)return g(1);if(p===c)return g(7);var m=(h={},h[o]=t,h[a]=n,h[i]=e,h)[p]||1,v=this.$d.getTime()+r*m;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),o=this.$H,a=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,f=function(e,n,i,o){return e&&(e[
2n]||e(t,r))||i[n].slice(0,o)},h=function(e){return k.s(o%12||12,e,"0")},p=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,l,3);case"MMMM":return f(l,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,c,2);case"ddd":return f(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(o);case"HH":return k.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return p(o,a,!0);case"A":return p(o,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,h,d){var p,g=this,m=k.p(h),v=E(r),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,_=function(){return k.m(g,v)};switch(m){case f:p=_()/12;break;case l:p=_();break;case u:p=_()/3;break;case c:p=(b-y)/6048e5;break;case s:p=(b-y)/864e5;break;case a:p=b/n;break;case o:p=b/t;break;case i:p=b/e;break;default:p=b}return d?p:k.a(p)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return _[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),C=O.prototype;return E.prototype=C,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",l],["$y",f],["$D",h]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,O,E),e.$i=!0),E},E.locale=S,E.isDayjs=x,E.unix=function(e){return E(1e3*e)},E.en=_[b],E.Ls=_,E.p={},E}()},29887:function(e,t,n){var r;!function(i){"use strict";var o,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,l="[DecimalError] ",u=l+"Invalid argument: ",f=l+"Exponent out of range: ",h=Math.floor,d=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,g=1e7,m=7,v=9007199254740991,y=h(v/m),b={};function _(e,t){var n,r,i,o,a,s,l,u,f=e.constructor,h=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),c?P(t,h):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(r=l,o=-o,s=u.length):(r=u,i=a,s=l.length),o>(s=(a=Math.ceil(h/m))>s?a+1:s+1)&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((s=l.length)-(o=u.length)<0&&(o=s,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/g|0,l[o]%=g;for(n&&(l.unshift(n),++i),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=i,c?P(t,h):t}function w(e,t,n){if(e!==~~e||e<t||e>n)throw Error(u+e)}function x(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)r=e[t]+"",(n=m-r.length)&&(o+=C(n)),o+=r;a=e[t],(n=m-(r=a+"").length)&&(o+=C(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,n=(r=o.d.length)<(i=e.d.length)?r:i;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*m;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return S(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return P(S(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return k(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0}
vendor: 12,484 bytes, line 2
2,b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,i=r.precision,a=i+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(o))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(o)?new r(0):(c=!1,t=S(A(n,a),A(e,a),a),c=!0,P(t,i))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?D(t,e):_(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(!(e=new r(e)).s)throw Error(l+"NaN");return n.s?(c=!1,t=S(n,e,0,1).times(e),c=!0,n.minus(t)):P(new r(n),i)},b.naturalExponential=b.exp=function(){return E(this)},b.naturalLogarithm=b.ln=function(){return A(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):D(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=k(i)+1,n=(r=i.d.length-1)*m+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,i,o,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(l+"NaN")}for(e=k(s),c=!1,0==(i=Math.sqrt(+s))||i==1/0?(((t=x(s.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=h((e+1)/2)-(e<0||e%2),r=new u(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(i.toString()),i=a=(n=u.precision)+3;;)if(r=(o=r).plus(S(s,o,a+2)).times(.5),x(o.d).slice(0,a)===(t=x(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(P(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if("9999"!=t)break;a+=4}return c=!0,P(r,n)},b.times=b.mul=function(e){var t,n,r,i,o,a,s,l,u,f=this,h=f.constructor,d=f.d,p=(e=new h(e)).d;if(!f.s||!e.s)return new h(0);for(e.s*=f.s,n=f.e+e.e,(l=d.length)<(u=p.length)&&(o=d,d=p,p=o,a=l,l=u,u=a),o=[],r=a=l+u;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,i=l+r;i>r;)s=o[i]+p[r]*d[i-r-1]+t,o[i--]=s%g|0,t=s/g|0;o[i]=(o[i]+t)%g|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,c?P(e,h.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(w(e,0,a),void 0===t?t=r.rounding:w(t,0,8),P(n,e+k(n)+1,t))},b.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=M(r,!0):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),n=M(r=P(new i(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?M(i):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),n=M((r=P(new o(i),e+k(i)+1,t)).abs(),!1,e+k(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return P(new t(e),k(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,i,a,s,u=this,f=u.constructor,d=+(e=new f(e));if(!e.s)return new f(o);if(!(u=new f(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(o))return u;if(r=f.precision,e.eq(o))return P(u,r);if(s=(t=e.e)>=(n=e.d.length-1),a=u.s,s){if((n=d<0?-d:d)<=v){for(i=new f(o),t=Math.ceil(r/m+4),c=!1;n%2&&R((i=i.times(u)).d,t),0!==(n=h(n/2));)R((u=u.times(u)).d,t);return c=!0,e.s<0?new f(o).div(i):P(i,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,c=!1,i=e.times(A(u,r+12)),c=!0,(i=E(i)).s=a,i},b.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?r=M(i,(n=k(i))<=o.toExpNeg||n>=o.toExpPos):(w(e,1,a),void 0===t?t=o.rounding:w(t,0,8),r=M(i=P(new o(i),e,t),e<=(n=k(i))||n<=o.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(w(e,1,a),void 0===t?t=n.rounding:w(t,0,8)),P(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=k(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var S=function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%g|0,r=n/g|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*g+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,a){var s,c,u,f,h,d,p,v,y,b,_,w,x,S,E,O,C,A,T=r.constructor,D=r.s==i.s?1:-1,M=r.d,R=i.d;if(!r.s)return new T(r);if(!i.s)throw Error(l+"Division by zero");for(c=r.e-i.e,C=R.length,E=M.length,v=(p=new T(D)).d=[],u=0;R[u]==(M[u]||0);)++u;if(R[u]>(M[u]||0)&&--c,(w=null==o?o=T.precision:a?o+(k(r)-k(i))+1:o)<0)return new T(0);if(w=w/m+2|0,u=0,1==C)for(f=0,R=R[0],w++;(u<E||f)&&w--;u++)x=f*g+(M[u]||0),v[u]=x/R|0,f=x%R|0;else{for((f=g/(R[0]+1)|0)>1&&(R=e(R,f),M=e(M,f),C=R.length,E=M.length),S=C,b=(y=M.slice(0,C)).length;b<C;)y[b++]=0;(A=R.slice()).unshift(0),O=R[0],R[1]>=g/2&&++O;do{f=0,(s=t(R,y,C,b))<0?(_=y[0],C!=b&&(_=_*g+(y[1]||0)),(f=_/O|0)>1?(f>=g&&(f=g-1),1==(s=t(h=e(R,f),y,d=h.length,b=y.length))&&(f--,n(h,C<d?A:R,d))):(0==f&&(s=f=1),h=R.slice()),(d=h.length)<b&&h.unshift(0),n(y,h,b),-1==s&&(s=t(R,y,C,b=y.length))<1&&(f++,n(y,C<b?A:R,b)),b=y.length):0===s&&(f++,y=[0]),v[u++]=f,s&&y[0]?y[b++]=M[S]||0:(y=[M[S]],b=1)}while((S++<E||void 0!==y[0])&&w--)}return v[0]||v.shift(),p.e=c,P(p,a?o+k(p)+1:o)}}();function E(e,t){var n,r,i,a,s,l=0,u=0,h=e.constructor,p=h.precision;if(k(e)>16)throw Error(f+k(e));if(!e.s)return new h(o);for(null==t?(c=!1,s=p):s=t,a=new h(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(s+=Math.log(d(2,u))/Math.LN10*2+5|0,n=r=i=new h(o),h.precision=s;;){if(r=P(r.times(e),s),n=n.times(++l),x((a=i.plus(S(r,n,s))).d).slice(0,s)===x(i.d).slice(0,s)){for(;u--;)i=P(i.times(i),s);return h.precision=p,null==t?(c=!0,P(i,p)):i}i=a}}function k(e){for(var t=e.e*m,n=e.d[0];n>=10;n/=10)t++;return t}function O(e,t,n){if(t>e.LN10.sd())throw c=!0,n&&(e.precision=n),Error(l+"LN10 precision limit exceeded");return P(new e(e.LN10),t)}function C(e){for(var t="";e--;)t+="0";return t}function A(e,t){var n,r,i,a,s,u,f,h,d,p=1,g=e,m=g.d,v=g.constructor,y=v.precision;if(g.s<1)throw Error(l+(g.s?"NaN":"-Infinity"));if(g.eq(o))return new v(0);if(null==t?(c=!1,h=y):h=t,g.eq(10))return null==t&&(c=!0),O(v,h);if(h+=10,v.precision=h,r=(n=x(m)).charAt(0),a=k(g),!(Math.abs(a)<15e14))return f=O(v,h+2,y).times(a+""),g=A(new v(r+"."+n.slice(1)),h-10).plus(f),v.precision=y,null==t?(c=!0,P(g,y)):g;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=x((g=g.times(e)).d)).charAt(0),p++;for(a=k(g),r>1?(g=new v("0."+n),a++):g=new v(r+"."+n.slice(1)),u=s=g=S(g.minus(o),g.plus(o),h),d=P(g.times(g),h),i=3;;){if(s=P(s.times(d),h),x((f=u.plus(S(s,new v(i),h))).d).slice(0,h)===x(u.d).slice(0,h))return u=u.times(2),0!==a&&(u=u.plus(O(v,h+2,y).times(a+""))),u=S(u,new v(p),h),v.precision=y,null==t?(c=!0,P(u,y)):u;u=f,i+=2}}function T(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(r,i)){if(i-=r,n=n-r-1,e.e=h(n/m),e.d=[],r=(n+1)%m,n<0&&(r+=m),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=m;r<i;)e.d.push(+t.slice(r,r+=m));t=t.slice(r),r=m-t.length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),c&&(e.e>y||e.e<-y))throw Error(f+n)}else e.s=0,e.e=0,e.d=[0];return e}function P(e,t,n){var r,i,o,a,s,l,u,p,v=e.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((r=t-a)<0)r+=m,i=t,u=v[p=0];else{if((p=Math.ceil((r+1)/m))>=(o=v.length))return e;for(u=o=v[p],a=1;o>=10;o/=10)a++;i=(r%=m)-m+a}if(void 0!==n&&(s=u/(o=d(10,a-i-1))%10|0,l=t<0||void 0!==v[p+1]||u%o,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?i>0?u/d(10,a-i):0:v[p-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return l?(o=k(e),v.length=1,t=t-o-1,v[0]=d(10,(m-t%m)%m),e.e=h(-t/m)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==r?(v.length=p,o=1,p--):(v.length=p+1,o=d(10,m-r),v[p]=i>0?(u/d(10,a-i)%d(10,i)|0)*o:0),l)for(;;){if(0==p){(v[0]+=o)==g&&(v[0]=1,++e.e);break}if(v[p]+=o,v[p]!=g)break;v[p--]=0,o=1}for(r=v.length;0===v[--r];)v.pop();if(c&&(e.e>y||e.e<-y))throw Error(f+k(e));return e}function D(e,t){var n,r,i,o,a,s,l,u,f,h,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),c?P(t,p):t;if(l=e.d,h=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r){for((f=a<0)?(n=l,a=-a,s=h.length):(n=h,r=u,s=l.length),a>(i=Math.max(Math.ceil(p/m),s)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((f=(i=l.length)<(s=h.length))&&(s=i),i=0;i<s;i++)if(l[i]!=h[i]){f=l[i]<h[i];break}a=0}for(f&&(n=l,l=h,h=n,t.s=-t.s),s=l.length,i=h.length-s;i>0;--i)l[s++]=0;for(i=h.length;i>a;){if(l[--i]<h[i]){for(o=i;o&&0===l[--o];)l[o]=g-1;--l[o],l[i]+=g}l[i]-=h[i]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(t.d=l,t.e=r,c?P(t,p):t):new d(0)}function M(e,t,n){var r,i=k(e),o=x(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+C(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+C(-i-1)+o,n&&(r=n-a)>0&&(o+=C(r))):i>=a?(o+=C(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+C(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=C(r))),e.s<0?"-"+o:o}function R(e,t){if(e.length>t)return e.length=t,!0}function j(e){if(!e||"object"!=typeof e)throw Error(l+"Object expected");var t,n,r,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(r=e[n=i[t]])){if(!(h(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}s=function e(t){var n,r,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):T(t,e.toString())}if("string"!=typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(u+e);T(t,e)}if(o.prototype=b,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=j,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}(s),s.default=s.Decimal=s,o=new s(1),void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}function c(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var l=c;e.exports=l},46138:function(e,t,n){var r=n(64431),i=n(51091),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i<e.length;i++){var o=e[i];
2"root"===o.type?n+=s(o.children,t):r.isTag(o)?n+=c(o,t):o.type===r.Directive?n+=l(o):o.type===r.Comment?n+=h(o):o.type===r.CDATA?n+=f(o):n+=u(o,t)}return n};function c(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var o in e)r&&(r+=" "),r+=o,(null!==(n=e[o])&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n)+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=s(e.children,t)),a[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function l(e){return"<"+e.data+">"}function u(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(n=i.encodeXML(n)),n}function f(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},64431:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},8753:function(e,t,n){var r=n(64431),i=/\s+/g,o=n(97790),a=n(74407);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=c),this._callback=e,this._options=t||c,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},74407:function(e,t,n){var r=n(97790),i=e.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(e){var t=o[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},97790:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};
2Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},12417:function(e,t,n){var r=e.exports;[n(43346),n(85010),n(26765),n(98043),n(23905),n(74975)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},74975:function(e,t){t.removeSubsets=function(e){for(var t,n,r,i=e.length;--i>-1;){for(t=n=e[i],e[i]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(i,1);break}n=n.parent}r&&(e[i]=t)}return e};var n=1,r=2,i=4,o=8,a=16,s=t.compareDocumentPosition=function(e,t){var s,c,l,u,f,h,d=[],p=[];if(e===t)return 0;for(s=e;s;)d.unshift(s),s=s.parent;for(s=t;s;)p.unshift(s),s=s.parent;for(h=0;d[h]===p[h];)h++;return 0===h?n:(l=(c=d[h-1]).children,u=d[h],f=p[h],l.indexOf(u)>l.indexOf(f)?c===t?i|a:i:c===e?r|o:r)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=s(e,t);return n&r?-1:n&i?1:0})),e}},23905:function(e,t,n){var r=n(64431),i=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var o={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var i=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):a(t,n)}));return 0===i.length?[]:this.filter(i.reduce(s),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(o.tag_type(e),t,n,r)}},26765:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},98043:function(e,t,n){var r=n(64431).isTag;function i(e,t,n,r){for(var o,a=[],s=0,c=t.length;s<c&&!(e(t[s])&&(a.push(t[s]),--r<=0))&&(o=t[s].children,!(n&&o&&o.length>0&&(o=i(e,o,n,r),a=a.concat(o),(r-=o.length)<=0)));s++);return a}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return i(e,t,!1!==n,r)},find:i,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var i=null,o=0,a=n.length;o<a&&!i;o++)r(n[o])&&(t(n[o])?i=n[o]:n[o].children.length>0&&(i=e(t,n[o].children)));return i},existsOne:function e(t,n){for(var i=0,o=n.length;i<o;i++)if(r(n[i])&&(t(n[i])||n[i].children.length>0&&e(t,n[i].children)))return!0;return!1},findAll:function e(t,n){for(var i=[],o=0,a=n.length;o<a;o++)r(n[o])&&(t(n[o])&&i.push(n[o]),n[o].children.length>0&&(i=i.concat(e(t,n[o].children))));return i}}},43346:function(e,t,n){var r=n(64431),i=n(46138),o=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""},getOuterHTML:i,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):o(t)||t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},85010:function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},96504:function(e,t,n){"use strict";var r,i=n(40319),o=n(27296);try{r=[].__proto__===Array.prototype}
2catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&o&&o(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},57434:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(67294);function i(e){return"number"==typeof e}function o(e){return"string"==typeof e}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return a(e)||function(e){return Array.isArray(e)}(e)}function c(e){return Math.abs(e)}function l(e){return e?e/c(e):0}function u(e,t){return c(e-t)}function f(e){return p(e).map(Number)}function h(e){return e[d(e)]}function d(e){return Math.max(0,e.length-1)}function p(e){return Object.keys(e)}function g(e,t){return[e,t].reduce((function(e,t){return p(t).forEach((function(n){var r=e[n],i=t[n],o=a(r)&&a(i);e[n]=o?g(r,i):i})),e}),{})}function m(e,t){var n=p(e),r=p(t);return n.length===r.length&&n.every((function(n){var r=e[n],i=t[n];return"function"==typeof r?"".concat(r)==="".concat(i):s(r)&&s(i)?m(r,i):r===i}))}function v(e,t){var n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r){return i(e)?t*Number(e):n[e](r)}}}function y(e,t){var n=c(e-t);function r(t){return t<e}function i(e){return e>t}function o(e){return r(e)||i(e)}return{length:n,max:t,min:e,constrain:function(n){return o(n)?r(n)?e:t:n},reachedAny:o,reachedMax:i,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function b(e,t,n){var r=y(0,e),i=r.min,o=r.constrain,a=e+1,s=l(t);function l(e){return n?c((a+e)%a):o(e)}function u(){return s}function f(e){return s=l(e),h}var h={add:function(e){return f(u()+e)},clone:function(){return b(e,u(),n)},get:u,set:f,min:i,max:e};return h}function _(){var e=[];var t={add:function(n,r,i,o){return void 0===o&&(o={passive:!0}),n.addEventListener(r,i,o),e.push((function(){return n.removeEventListener(r,i,o)})),t},removeAll:function(){return e=e.filter((function(e){return e()})),t}};return t}function w(e){var t=e;function n(e){return t/=e,o}function r(e){return i(e)?e:e.get()}var o={add:function(e){return t+=r(e),o},divide:n,get:function(){return t},multiply:function(e){return t*=e,o},normalize:function(){return 0!==t&&n(t),o},set:function(e){return t=r(e),o},subtract:function(e){return t-=r(e),o}};return o}function x(e,t,n,r,i,o,a,s,f,h,d,p,g,m,v,y){var b=e.cross,x=["INPUT","SELECT","TEXTAREA"],S={passive:!1},E=w(0),k=_(),O=_(),C=g.measure(20),A={mouse:300,touch:400},T={mouse:500,touch:600},P=v?5:16,D=1,M=0,R=0,j=!1,N=!1,L=!1,I=!1;function B(e){if(!((I=!i.isTouchEvent(e))&&0!==e.button||(t=e.target,a=t.nodeName||"",x.indexOf(a)>-1))){var t,a,s=u(r.get(),o.get())>=2,c=I||!s;j=!0,i.pointerDown(e),E.set(r),r.set(o),f.useBaseMass().useSpeed(80),function(){var e=I?document:n;O.add(e,"touchmove",F,S).add(e,"touchend",z).add(e,"mousemove",F,S).add(e,"mouseup",z)}(),M=i.readPoint(e),R=i.readPoint(e,b),p.emit("pointerDown"),c&&(L=!1)}}function F(e){if(!N&&!I){if(!e.cancelable)return z(e);var n=i.readPoint(e),o=i.readPoint(e,b),s=u(n,M),c=u(o,R);if(!(N=s>c)&&!L)return z(e)}var l=i.pointerMove(e);!L&&l&&(L=!0),a.start(),r.add(t.apply(l)),e.preventDefault()}function z(e){var n=h.byDistance(0,!1).index!==d.get(),o=i.pointerUp(e)*(v?T:A)[I?"mouse":"touch"],a=function(e,t){var n=d.clone().add(-1*l(e)),r=n.get()===d.min||n.get()===d.max,i=h.byDistance(e,!v).distance;return v||c(e)<C?i:!m&&r?.4*i:y&&t?.5*i:h.byIndex(n.get(),0).distance}(t.apply(o),n),g=function(e,t){if(0===e||0===t)return 0;if(c(e)<=c(t))return 0;var n=u(c(e),c(t));return c(n/e)}(o,a),b=u(r.get(),E.get())>=.5,_=n&&g>.75,w=c(o)<C,x=_?10:P,S=_?D+2.5*g:D;b&&!I&&(L=!0),N=!1,j=!1,O.removeAll(),f.useSpeed(w?9:x).useMass(S),s.distance(a,!v),I=!1,p.emit("pointerUp")}function U(e){L&&(e.stopPropagation(),e.preventDefault())}return{addActivationEvents:function(){var e=n;k.add(e,"dragstart",(function(e){return e.preventDefault()}),S).add(e,"touchmove",(function(){}),S).add(e,"touchend",(function(){})).add(e,"touchstart",B).add(e,"mousedown",B).add(e,"touchcancel",z).add(e,"contextmenu",z).add(e,"click",U,!0)},clickAllowed:function(){return!L},pointerDown:function(){return j},removeAllEvents:function(){k.removeAll(),O.removeAll()}}}function S(e,t,n){var r,i,o=(r=2,i=Math.pow(10,r),function(e){return Math.round(e*i)/i}),a=w(0),s=w(0),c=w(0),u=0,f=t,h=n;function d(e){return f=e,g}function p(e){return h=e,g}var g={direction:function(){return u},seek:function(t){c.set(t).subtract(e);var n,r,i,o,d=(n=c.get(),(i=0)+(n-(r=0))/(100-r)*(f-i));return u=l(c.get()),c.normalize().multiply(d).subtract(a),(o=c).divide(h),s.add(o),g}
2,settle:function(t){var n=t.get()-e.get(),r=!o(n);return r&&e.set(t),r},update:function(){a.add(s),e.add(a),s.multiply(0)},useBaseMass:function(){return p(n)},useBaseSpeed:function(){return d(t)},useMass:p,useSpeed:d};return g}function E(e,t,n,r,i){var o=i.measure(10),a=i.measure(50),s=.85,l=!1;return{constrain:function(i){if(!l&&e.reachedAny(n.get())&&e.reachedAny(t.get())){var u=e.reachedMin(t.get())?"min":"max",f=c(e[u]-t.get()),h=n.get()-t.get(),d=Math.min(f/a,s);n.subtract(h*d),!i&&c(h)<o&&(n.set(e.constrain(n.get())),r.useSpeed(10).useMass(3))}},toggleActive:function(e){l=!e}}}function k(e,t,n,r){var i=y(-t+e,n[0]),o=n.map(i.constrain);return{snapsContained:function(){if(t<=e)return[i.max];if("keepSnaps"===r)return o;var n=function(){var e=o[0],t=h(o),n=o.lastIndexOf(e),r=o.indexOf(t)+1;return y(n,r)}(),a=n.min,s=n.max;return o.slice(a,s)}()}}function O(e,t,n,r){var i=y(t.min+.1,t.max+.1),o=i.reachedMin,a=i.reachedMax;return{loop:function(t){if(function(e){return 1===e?a(n.get()):-1===e&&o(n.get())}(t)){var i=e*(-1*t);r.forEach((function(e){return e.add(i)}))}}}}function C(e){var t=e.max,n=e.length;return{get:function(e){return(e-t)/-n}}}function A(e,t,n,r,i){var o=r.reachedAny,a=r.removeOffset,s=r.constrain;function u(e){return e.concat().sort((function(e,t){return c(e)-c(t)}))[0]}function f(t,r){var i=[t,t+n,t-n];return e?u(r?i.filter((function(e){return l(e)===r})):i):i[0]}return{byDistance:function(n,r){var l=i.get()+n,u=function(n){var r=e?a(n):s(n);return{index:t.map((function(e){return e-r})).map((function(e){return f(e,0)})).map((function(e,t){return{diff:e,index:t}})).sort((function(e,t){return c(e.diff)-c(t.diff)}))[0].index,distance:r}}(l),h=u.index,d=u.distance,p=!e&&o(l);return!r||p?{index:h,distance:n}:{index:h,distance:n+f(t[h]-d,0)}},byIndex:function(e,n){return{index:e,distance:f(t[e]-i.get(),n)}},shortcut:f}}function T(e,t,n){var r="x"===e.scroll?function(e){return"translate3d(".concat(e,"px,0px,0px)")}:function(e){return"translate3d(0px,".concat(e,"px,0px)")},i=n.style,o=!1;return{clear:function(){o||(i.transform="",n.getAttribute("style")||n.removeAttribute("style"))},to:function(e){o||(i.transform=r(t.apply(e.get())))},toggleActive:function(e){o=!e}}}function P(e,t,n,r,i,o,a,s,c){var l,u=f(i),h=f(i).reverse(),d=(l=o[0]-1,m(g(h,l),"end")).concat(function(){var e=n-o[0]-1,t=g(u,e);return m(t,"start")}());function p(e,t){return e.reduce((function(e,t){return e-i[t]}),t)}function g(e,t){return e.reduce((function(e,n){return p(e,t)>0?e.concat([n]):e}),[])}function m(n,i){var o="start"===i,l=o?-r:r,u=a.findSlideBounds([l]);return n.map((function(n){var i=o?0:-r,a=o?r:0,l=u.filter((function(e){return e.index===n}))[0][o?"end":"start"],f=w(-1),h=w(-1),d=T(e,t,c[n]);return{index:n,location:h,translate:d,target:function(){return f.set(s.get()>l?i:a)}}}))}return{canLoop:function(){return d.every((function(e){var t=e.index;return p(u.filter((function(e){return e!==t})),n)<=.1}))},clear:function(){d.forEach((function(e){return e.translate.clear()}))},loop:function(){d.forEach((function(e){var t=e.target,n=e.translate,r=e.location,i=t();i.get()!==r.get()&&(0===i.get()?n.clear():n.to(i),r.set(i))}))},loopPoints:d}}function D(e,t,n,r,i,o,a){var s=i.removeOffset,c=i.constrain,l=.5,u=o?[0,t,-t]:[0],f=h(u,a);function h(t,i){var o=t||u,a=function(e){var t=e||0;return n.map((function(e){return y(l,e-l).constrain(e*t)}))}(i);return o.reduce((function(t,i){var o=r.map((function(t,r){return{start:t-n[r]+a[r]+i,end:t+e-a[r]+i,index:r}}));return t.concat(o)}),[])}return{check:function(e,t){var n=o?s(e):c(e);return(t||f).reduce((function(e,t){var r=t.index,i=t.start,o=t.end;return!(-1!==e.indexOf(r))&&(i<n&&o>n)?e.concat([r]):e}),[])},findSlideBounds:h}}function M(e,t,n){var r=i(n);return{groupSlides:function(i){return r?function(e,t){return f(e).filter((function(e){return e%t==0})).map((function(n){return e.slice(n,n+t)}))}(i,n):function(n){return f(n).reduce((function(n,r){var i=t.slice(h(n),r+1).reduce((function(e,t){return e+t}),0);return!r||i>e?n.concat(r):n}),[]).map((function(e,t,r){return n.slice(e,r[t+1])}))}(i)}}}function R(e,t,n,r,i){var o=r.align,a=r.axis,s=r.direction,l=r.startIndex,u=r.inViewThreshold,p=r.loop,g=r.speed,m=r.dragFree,R=r.
2slidesToScroll,j=r.skipSnaps,N=r.containScroll,L=t.getBoundingClientRect(),I=n.map((function(e){return e.getBoundingClientRect()})),B=function(e){var t="rtl"===e?-1:1;return{apply:function(e){return e*t}}}(s),F=function(e,t){var n="y"===e?"y":"x";return{scroll:n,cross:"y"===e?"x":"y",startEdge:"y"===n?"top":"rtl"===t?"right":"left",endEdge:"y"===n?"bottom":"rtl"===t?"left":"right",measureSize:function(e){var t=e.width,r=e.height;return"x"===n?t:r}}}(a,s),z=F.measureSize(L),U=function(e){return{measure:function(t){return e*(t/100)}}}(z),H=v(o,z),q=!p&&""!==N,$=function(e,t,n,r,i){var o=e.measureSize,a=e.startEdge,s=e.endEdge,l=n[0]&&i,u=function(){if(!l)return 0;var e=n[0];return c(t[a]-e[a])}(),f=function(){if(!l)return 0;var e=window.getComputedStyle(h(r));return parseFloat(e.getPropertyValue("margin-".concat(s)))}(),p=n.map(o),g=n.map((function(e,t,n){var r=!t,i=t===d(n);return r?p[t]+u:i?p[t]+f:n[t+1][a]-e[a]})).map(c);return{slideSizes:p,slideSizesWithGaps:g}}(F,L,I,n,p||""!==N),W=$.slideSizes,V=$.slideSizesWithGaps,K=M(z,V,R),G=function(e,t,n,r,i,o,a){var s,l=e.startEdge,u=e.endEdge,f=o.groupSlides,p=f(r).map((function(e){return h(e)[u]-e[0][l]})).map(c).map(t.measure),g=r.map((function(e){return n[l]-e[l]})).map((function(e){return-c(e)})),m=(s=h(g)-h(i),f(g).map((function(e){return e[0]})).map((function(e,t,n){var r=!t,i=t===d(n);return a&&r?0:a&&i?s:e+p[t]})));return{snaps:g,snapsAligned:m}}(F,H,L,I,V,K,q),Z=G.snaps,Y=G.snapsAligned,X=-h(Z)+h(V),Q=k(z,X,Y,N).snapsContained,J=q?Q:Y,ee=function(e,t,n){var r,i;return{limit:(r=t[0],i=h(t),y(n?r-e:i,r))}}(X,J,p).limit,te=b(d(J),l,p),ne=te.clone(),re=f(n),ie=function(e){var t=0;function n(e,n){return function(){e===!!t&&n()}}function r(){t=window.requestAnimationFrame(e)}return{proceed:n(!0,r),start:n(!1,r),stop:n(!0,(function(){window.cancelAnimationFrame(t),t=0}))}}((function(){p||de.scrollBounds.constrain(de.dragHandler.pointerDown()),de.scrollBody.seek(se).update();var e=de.scrollBody.settle(se);e&&!de.dragHandler.pointerDown()&&(de.animation.stop(),i.emit("settle")),e||i.emit("scroll"),p&&(de.scrollLooper.loop(de.scrollBody.direction()),de.slideLooper.loop()),de.translate.to(ae),de.animation.proceed()})),oe=J[te.get()],ae=w(oe),se=w(oe),ce=S(ae,g,1),le=A(p,J,X,ee,se),ue=function(e,t,n,r,i,o){function a(r){var a=r.distance,s=r.index!==t.get();a&&(e.start(),i.add(a)),s&&(n.set(t.get()),t.set(r.index),o.emit("select"))}return{distance:function(e,t){a(r.byDistance(e,t))},index:function(e,n){var i=t.clone().set(e);a(r.byIndex(i.get(),n))}}}(ie,te,ne,le,se,i),fe=D(z,X,W,Z,ee,p,u),he=x(F,B,e,se,function(e){var t,n,r=170;function i(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function o(e){return e.timeStamp}function a(t,n){var r=n||e.scroll,o="client".concat("x"===r?"X":"Y");return(i(t)?t.touches[0]:t)[o]}return{isTouchEvent:i,pointerDown:function(e){return t=e,n=e,a(e)},pointerMove:function(e){var i=a(e)-a(n),s=o(e)-o(t)>r;return n=e,s&&(t=e),i},pointerUp:function(e){if(!t||!n)return 0;var i=a(n)-a(t),s=o(e)-o(t),l=o(e)-o(n)>r,u=i/s;return s&&!l&&c(u)>.1?u:0},readPoint:a}}(F),ae,ie,ue,ce,le,te,i,U,p,m,j),de={containerRect:L,slideRects:I,animation:ie,axis:F,direction:B,dragHandler:he,eventStore:_(),percentOfView:U,index:te,indexPrevious:ne,limit:ee,location:ae,options:r,scrollBody:ce,scrollBounds:E(ee,ae,se,ce,U),scrollLooper:O(X,ee,ae,[ae,se]),scrollProgress:C(ee),scrollSnaps:J,scrollTarget:le,scrollTo:ue,slideLooper:P(F,B,z,X,V,J,fe,ae,n),slidesToScroll:K,slidesInView:fe,slideIndexes:re,target:se,translate:T(F,B,t)};return de}var j={align:"center",axis:"x",container:null,slides:null,containScroll:"",direction:"ltr",slidesToScroll:1,breakpoints:{},dragFree:!1,draggable:!0,inViewThreshold:0,loop:!1,skipSnaps:!1,speed:10,startIndex:0,active:!0};function N(){function e(e,t){return g(e,t||{})}return{merge:e,areEqual:function(e,t){return JSON.stringify(p(e.breakpoints||{}))===JSON.stringify(p(t.breakpoints||{}))&&m(e,t)},atMedia:function(t){var n=t.breakpoints||{},r=p(n).filter((function(e){return window.matchMedia(e).matches})).map((function(e){return n[e]})).reduce((function(t,n){return e(t,n)}),{});return e(t,r)}}}function L(e,t,n){var r,i,a,s,c=_(),l=N(),u=function(){var e=N(),t=e.atMedia,n=e.areEqual,r=[],i=[];function o(e){var r=t(e.options);return function(){return!n(r,t(e.options))}}var a={init:function(e,n){return i=e.map(o),(r=e.filter((function(e){return t(e.options).active}
2))).forEach((function(e){return e.init(n)})),e.reduce((function(e,t){var n;return Object.assign(e,((n={})[t.name]=t,n))}),{})},destroy:function(){r=r.filter((function(e){return e.destroy()}))},haveChanged:function(){return i.some((function(e){return e()}))}};return a}(),f=function(){var e={};function t(t){return e[t]||[]}var n={emit:function(e){return t(e).forEach((function(t){return t(e)})),n},off:function(r,i){return e[r]=t(r).filter((function(e){return e!==i})),n},on:function(r,i){return e[r]=t(r).concat([i]),n}};return n}(),h=f.on,d=f.off,p=x,g=!1,m=l.merge(j,L.globalOptions),v=l.merge(m),y=[],b=0;function w(t,n){if(!g){if(m=l.merge(m,t),v=l.atMedia(m),function(){var t=v.container,n=v.slides,r=o(t)?e.querySelector(t):t;a=r||e.children[0];var i=o(n)?a.querySelectorAll(n):n;s=[].slice.call(i||a.children)}(),r=R(e,a,s,v,f),b=r.axis.measureSize(e.getBoundingClientRect()),!v.active)return S();if(r.translate.to(r.location),y=n||y,i=u.init(y,C),v.loop){if(!r.slideLooper.canLoop())return S(),w({loop:!1},n),void(m=l.merge(m,{loop:!0}));r.slideLooper.loop()}v.draggable&&a.offsetParent&&s.length&&r.dragHandler.addActivationEvents()}}function x(e,t){var n=O();S(),w(l.merge({startIndex:n},e),t),f.emit("reInit")}function S(){r.dragHandler.removeAllEvents(),r.animation.stop(),r.eventStore.removeAll(),r.translate.clear(),r.slideLooper.clear(),u.destroy()}function E(e){var t=r[e?"target":"location"].get(),n=v.loop?"removeOffset":"constrain";return r.slidesInView.check(r.limit[n](t))}function k(e,t,n){v.active&&!g&&(r.scrollBody.useBaseMass().useSpeed(t?100:v.speed),r.scrollTo.index(e,n||0))}function O(){return r.index.get()}var C={canScrollNext:function(){return r.index.clone().add(1).get()!==O()},canScrollPrev:function(){return r.index.clone().add(-1).get()!==O()},clickAllowed:function(){return r.dragHandler.clickAllowed()},containerNode:function(){return a},internalEngine:function(){return r},destroy:function(){g||(g=!0,c.removeAll(),S(),f.emit("destroy"))},off:d,on:h,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:p,rootNode:function(){return e},scrollNext:function(e){k(r.index.clone().add(1).get(),!0===e,-1)},scrollPrev:function(e){k(r.index.clone().add(-1).get(),!0===e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnaps.map(r.scrollProgress.get)},scrollTo:k,selectedScrollSnap:O,slideNodes:function(){return s},slidesInView:E,slidesNotInView:function(e){var t=E(e);return r.slideIndexes.filter((function(e){return-1===t.indexOf(e)}))}};return w(t,n),c.add(window,"resize",(function(){var t=l.atMedia(m),n=!l.areEqual(t,v),i=r.axis.measureSize(e.getBoundingClientRect()),o=b!==i,a=u.haveChanged();(o||n||a)&&x(),f.emit("resize")})),setTimeout((function(){return f.emit("init")}),0),C}function I(e){return e.concat().sort((function(e,t){return e.name>t.name?1:-1})).map((function(e){return e.options}))}function B(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var n=(0,r.useRef)(L.optionsHandler()),i=(0,r.useRef)(e),o=(0,r.useRef)(t),a=(0,r.useState)(),s=a[0],c=a[1],l=(0,r.useState)(),u=l[0],f=l[1],h=(0,r.useCallback)((function(){s&&s.reInit(i.current,o.current)}),[s]);return(0,r.useEffect)((function(){if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){L.globalOptions=B.globalOptions;var e=L(u,i.current,o.current);return c(e),function(){return e.destroy()}}c(void 0)}),[u,c]),(0,r.useEffect)((function(){n.current.areEqual(i.current,e)||(i.current=e,h())}),[e,h]),(0,r.useEffect)((function(){(function(e,t){if(e.length!==t.length)return!1;var n=L.optionsHandler().areEqual,r=I(e),i=I(t);return r.every((function(e,t){var r=i[t];return n(e,r)}))})(o.current,t)||(o.current=t,h())}),[t,h]),[f,s]}L.globalOptions=void 0,L.optionsHandler=N,B.globalOptions=void 0},51091:function(e,t,n){var r=n(87322),i=n(44076);t.decode=function(e,t){return(!t||t<=0?i.XML:i.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?i.XML:i.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=i.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=i.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=i.HTMLStrict,t.escape=r.escape},44076:function(e,t,n){var r=n(19489),i=n(40490),o=n(41344),a=n(26),s=l(o
2),c=l(r);function l(e){var t=Object.keys(e).join("|"),n=h(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}var u=function(){for(var e=Object.keys(i).sort(f),t=Object.keys(r).sort(f),n=0,o=0;n<t.length;n++)e[o]===t[n]?(t[n]+=";?",o++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=h(r);function c(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,c)}}();function f(e,t){return e<t?1:-1}function h(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?a(parseInt(t.substr(3),16)):a(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}e.exports={XML:s,HTML:u,HTMLStrict:c}},26:function(e,t,n){var r=n(79545);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)}},87322:function(e,t,n){var r=s(n(41344)),i=c(r);t.XML=d(r,i);var o=s(n(19489)),a=c(o);function s(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=d(o,a);var l=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function h(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function d(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(u,h).replace(l,f)}}var p=c(r);t.escape=function(e){return e.replace(p,f).replace(u,h).replace(l,f)}},24429:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},53981:function(e){"use strict";e.exports=EvalError},81648:function(e){"use strict";e.exports=Error},24726:function(e){"use strict";e.exports=RangeError},26712:function(e){"use strict";e.exports=ReferenceError},33464:function(e){"use strict";e.exports=SyntaxError},14453:function(e){"use strict";e.exports=TypeError},43915:function(e){"use strict";e.exports=URIError},68892:function(e){"use strict";e.exports=Object},13352:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.value=n,this.name=null,this.children=[]}return n(e,[{key:"addChild",value:function(e){return this.children.push(e),this}},{key:"evaluate",value:function(t){var n=0;switch(this.type){case e.TYPE_FUNCTION:var r=this.children.map((function(e){return e.evaluate(t)}));n=this.value.apply(this,r);break;case e.TYPE_INVERSE:n=1/this.child.evaluate(t);break;case e.TYPE_NEGATE:n=-this.child.evaluate(t);break;case e.TYPE_NUMBER:n=this.value;break;case e.TYPE_POWER:n=Math.pow(this.children[0].evaluate(t),this.children[1].evaluate(t));break;case e.TYPE_PRODUCT:n=this.children.reduce((function(e,n){return e*n.evaluate(t)}),1);break;case e.TYPE_SUM:n=this.children.reduce((function(e,n){return e+n.evaluate(t)}),0);break;case e.TYPE_SYMBOL:if(isFinite(t[this.value]))return t[this.value];throw new Error("Symbol "+this.value+" is undefined or not a number")}return n}},{key:"isUnary",value:function(){return i.indexOf(this.type)>=0}},{key:"printTree",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t="",n=0;n<e;n++)t+=" ";for(var r in console.log(t+this.toString()),this.children)this.children[r].printTree(e+1)}},{key:"simplify",value:function(){if(this.children.length>
21||this.isUnary()){var t=new e(this.type,this.value);for(var n in this.children)t.addChild(this.children[n].simplify());return t}return 1===this.children.length?this.children[0].simplify():this}},{key:"toString",value:function(){var e="function"==typeof this.value?this.name:this.value;return this.children.length+" "+this.type+" ["+e+"]"}},{key:"child",get:function(){return this.children[0]}},{key:"nodeCount",get:function(){var e=1,t=!0,n=!1,r=void 0;try{for(var i,o=this.children[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){e+=i.value.nodeCount}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}return e}}]),e}();r.TYPE_FUNCTION="FUNCTION",r.TYPE_INVERSE="INVERSE",r.TYPE_NEGATE="NEGATE",r.TYPE_NUMBER="NUMBER",r.TYPE_POWER="POWER",r.TYPE_PRODUCT="PRODUCT",r.TYPE_SUM="SUM",r.TYPE_SYMBOL="SYMBOL",t.default=r;var i=["FACTORIAL","FUNCTION","INVERSE","NEGATE"]},21006:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.value=n,this.name=null}return n(e,[{key:"equals",value:function(e){return this.type===e.type&&this.value===e.value}},{key:"toString",value:function(){if(i.indexOf(this.type)>=0)return this.type;var e="function"==typeof this.value?this.name:this.value;return this.type+"["+e+"]"}}]),e}();r.TYPE_LPAREN="LPAREN",r.TYPE_RPAREN="RPAREN",r.TYPE_PLUS="PLUS",r.TYPE_MINUS="MINUS",r.TYPE_TIMES="TIMES",r.TYPE_DIVIDE="DIVIDE",r.TYPE_COMMAND="COMMAND",r.TYPE_SYMBOL="SYMBOL",r.TYPE_WHITESPACE="WHITESPACE",r.TYPE_ABS="ABSOLUTEVAL",r.TYPE_BANG="BANG",r.TYPE_COMMA="COMMA",r.TYPE_POWER="POWER",r.TYPE_NUMBER="NUMBER",r.patterns=new Map([[r.TYPE_LPAREN,/(\(|\[|{|\\left\(|\\left\[)/],[r.TYPE_RPAREN,/(\)|]|}|\\right\)|\\right])/],[r.TYPE_PLUS,/\+/],[r.TYPE_MINUS,/-/],[r.TYPE_TIMES,/\*/],[r.TYPE_DIVIDE,/\//],[r.TYPE_COMMAND,/\\[A-Za-z]+/],[r.TYPE_SYMBOL,/[A-Za-z_][A-Za-z_0-9]*/],[r.TYPE_WHITESPACE,/\s+/],[r.TYPE_ABS,/\|/],[r.TYPE_BANG,/!/],[r.TYPE_COMMA,/,/],[r.TYPE_POWER,/\^/],[r.TYPE_NUMBER,/\d+(\.\d+)?/]]),t.default=r;var i=["TPLUS","TMINUS","TTIMES","TDIVIDE","TWS","TABS","TBANG","TCOMMA","TPOWER"]},22554:function(e,t,n){"use strict";t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,r.default)(e,t,n),a=(0,i.default)(o).simplify(),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.evaluate(e)};return s.ast=a,s.expression=e,s.tokens=o,s};var r=o(n(44483)),i=o(n(37146));function o(e){return e&&e.__esModule?e:{default:e}}},44483:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,r=new h(e,t,n);return r.lex(),r.tokens.toString=function(){return r.tokens.map((function(e){return e.toString()})).join(" ")},r.tokens};var o=l(n(21006)),a=l(n(38999)),s=l(n(36354)),c=l(n(64657));
2function l(e){return e&&e.__esModule?e:{default:e}}var u=[o.default.TYPE_POWER,o.default.TYPE_COMMAND],f={latex:!1};var h=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.buffer=t,this.constants=Object.assign({},n,s.default),this.opts=r,this.tokens=[]}return i(e,[{key:"lex",value:function(){this.lexExpression(),this.replaceConstants(),this.replaceCommands()}},{key:"lexExpression",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.hasNext();){var t=e?this.nextCharToken():this.next();if(this.tokens.push((0,c.default)(t)),this.opts.latex&&d(t)){var n=1;t.type===o.default.TYPE_COMMAND&&(n=a.default[t.value.substr(1).toLowerCase()]);for(var r=0;r<n;r++)this.lexExpression(!0)}else p(t)&&this.lexExpression(!1);if(e||g(t))return}}},{key:"hasNext",value:function(){return this.buffer.length>0}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this.skipWhitespace(),!this.hasNext())throw"Lexer error: reached end of stream";var t=!0,n=!1,i=void 0;try{for(var a,s=o.default.patterns[Symbol.iterator]();!(t=(a=s.next()).done);t=!0){var c=a.value,l=r(c,2),u=l[0],f=l[1],h=new RegExp(/^/.source+f.source).exec(this.buffer.substr(0,e));if(h)return this.buffer=this.buffer.substr(h[0].length),new o.default(u,h[0])}}catch(e){n=!0,i=e}finally{try{!t&&s.return&&s.return()}finally{if(n)throw i}}throw"Lexer error: can't match any token"}},{key:"nextCharToken",value:function(){return this.skipWhitespace(),"\\"===this.buffer.charAt(0)?this.next():this.next(1)}},{key:"replaceCommands",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.tokens[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var a=r.value;a.type===o.default.TYPE_COMMAND&&(a.value=a.value.substr(1).toLowerCase(),a.name=a.value,a.value=this.constants[a.name])}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}}},{key:"replaceConstants",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.tokens[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var a=r.value;a.type===o.default.TYPE_SYMBOL&&("function"==typeof this.constants[a.value]?(a.type=o.default.TYPE_FUNCTION,a.name=a.value,a.value=this.constants[a.value]):"number"==typeof this.constants[a.value]&&(a.type=o.default.TYPE_NUMBER,a.value=a.fn=this.constants[a.value]))}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}}},{key:"skipWhitespace",value:function(){var e=new RegExp(/^/.source+o.default.patterns.get(o.default.TYPE_WHITESPACE).source);this.buffer=this.buffer.replace(e,"")}}]),e}();function d(e){return-1!==u.indexOf(e.type)}function p(e){return e.type===o.default.TYPE_LPAREN&&"{"===e.value}function g(e){return e.type===o.default.TYPE_RPAREN&&"}"===e.value}},37146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e).parse()};var i=c(n(13352)),o=c(n(21006)),a=c(n(38999)),s=n(36354);function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cursor=0,this.tokens=t}return r(e,[{key:"parse",value:function(){var e=this.sum();if(e=e.simplify(),void 0!==this.currentToken)throw console.log(e.printTree()),"Parsing error: Expected end of input, but got "+this.currentToken.type+" "+this.currentToken.value;return e}},{key:"accept",value:function(e){return!(!this.currentToken||this.currentToken.type!==e)&&(this.cursor++,!0)}},{key:"expect",value:function(e){if(!this.accept(e))throw"Expected "+e+" but got "+(this.currentToken?this.currentToken.toString():"end of input.")}},{key:"sum",value:function(){var e=new i.default(i.default.TYPE_SUM);for(e.addChild(this.product());;)if(this.accept(o.default.TYPE_PLUS))e.addChild(this.product());else{if(!this.accept(o.default.TYPE_MINUS))break;e.addChild(new i.default(i.default.TYPE_NEGATE).addChild(this.product()))}return e}},{key:"product",value:function(){var e=new i.default(i.default.TYPE_PRODUCT);for(e.addChild(this.power());;)if(this.accept(o.default.TYPE_TIMES))e.addChild(this.power());else if(this.accept(o.default.TYPE_DIVIDE))e.addChild(new i.default(i.default.TYPE_INVERSE).addChild(this.power()));else if(this.accept(o.default.TYPE_LPAREN))this.cursor--,e.addChild(this.power());else{if(!(this.accept(o.default.TYPE_SYMBOL)||this.accept(o.default.TYPE_NUMBER)||this.accept(o.default.TYPE_FUNCTION)))break;this.cursor--,e.addChild(this.power())}return e}},{key:"power",value:function(){var e=new i.default(i.default.TYPE_POWER);return e.addChild(this.val()),this.accept(o.default.TYPE_POWER)&&e.addChild(this.power()),e}},{key:"val",value:function(){var e={};
vendor: 8,295 bytes, line 2
2if(this.accept(o.default.TYPE_SYMBOL))e=new i.default(i.default.TYPE_SYMBOL,this.prevToken.value);else if(this.accept(o.default.TYPE_NUMBER))e=new i.default(i.default.TYPE_NUMBER,parseFloat(this.prevToken.value));else if(this.accept(o.default.TYPE_COMMAND)){var t=this.prevToken;(e=new i.default(i.default.TYPE_FUNCTION,t.value)).name=t.name;for(var n=0;n<a.default[t.name];n++)e.addChild(this.val())}else if(this.accept(o.default.TYPE_FUNCTION))if((e=new i.default(i.default.TYPE_FUNCTION,this.prevToken.value)).name=this.prevToken.name,this.accept(o.default.TYPE_LPAREN)){for(e.addChild(this.sum());this.accept(o.default.TYPE_COMMA);)e.addChild(this.sum());this.expect(o.default.TYPE_RPAREN)}else e.addChild(this.power());else if(this.accept(o.default.TYPE_MINUS))e=new i.default(i.default.TYPE_NEGATE).addChild(this.power());else if(this.accept(o.default.TYPE_LPAREN))e=this.sum(),this.expect(o.default.TYPE_RPAREN);else{if(!this.accept(o.default.TYPE_ABS))throw"Unexpected "+this.currentToken.toString()+" at token "+this.cursor;(e=new i.default(i.default.TYPE_FUNCTION,Math.abs)).addChild(this.sum()),this.expect(o.default.TYPE_ABS)}if(this.accept(o.default.TYPE_BANG)){var r=new i.default(i.default.TYPE_FUNCTION,s.fact);return r.addChild(e),r}return e}},{key:"currentToken",get:function(){return this.tokens[this.cursor]}},{key:"prevToken",get:function(){return this.tokens[this.cursor-1]}}]),e}()},38999:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={frac:2,sqrt:1,sin:1,cos:1,tan:1,asin:1,acos:1,atan:1,sec:1,csc:1,cot:1,asec:1,acsc:1,acot:1}},36354:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={fact:t.fact=function(e){var t=1;if((e=Math.round(e))<0)throw"Can't factorial a negative.";for(;e>1;e--)t*=e;return t},frac:t.frac=function(e,t){return e/t},logn:t.logn=function(e,t){return Math.log(e)/Math.log(t)},rootn:t.rootn=function(e,t){return Math.pow(e,1/t)},sec:t.sec=function(e){return 1/Math.cos(e)},csc:t.csc=function(e){return 1/Math.sin(e)},cot:t.cot=function(e){return 1/Math.tan(e)}},r=!0,i=!1,o=void 0;try{for(var a,s=Object.getOwnPropertyNames(Math)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;n[c]=Math[c]}}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}t.default=n},64657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e.type===o.default.TYPE_COMMAND&&["\\cdot","\\times"].includes(e.value))return new o.default(o.default.TYPE_TIMES,"*");return e};var r,i=n(21006),o=(r=i)&&r.__esModule?r:{default:r}},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(l=1,c=new Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var h,d=u.length;for(l=0;l<d;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,i);break;default:if(!c)for(h=1,c=new Array(f-1);h<f;h++)c[h-1]=arguments[h];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&l.push(s[c]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},17187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,o,a,l;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):p(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a}
vendor: 4,669 bytes, line 2
2,set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)r(c,this,t);else{var l=c.length,u=p(c,l);for(n=0;n<l;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},69942:function(e,t,n){"use strict";var r=n(48764).Buffer;const i=n(52905),o=n(86492).unescape,a=n(43726),s=n(31373);function c(e){const t=i.load(e),n=t("p").filter(((e,n)=>!(e=>0===t(e).text().trim().length)(n))).first(),r=n.length?n.html().trim():e;return o(r)}function l(e,t){return t||(t=/\s*<!--\s*more\s*-->/i),function(e,t){const n=(e=i.load("<root>"+e+"</root>")("root").html()).search(t);if(n>-1){const t=e.slice(0,r.byteLength(e.slice(0,n)));return o(t)}}(e,t)||c(e)}e.exports=function(e,t){t||(t={});const n=l(e,t.moreRegExp);return!1===t.stripTags?n:function(e,t){e=(e=a(e)).replace(/^\s+|\s+$|\s+(?=\s)/g,"");const n="number"==typeof t.pruneLength?t.pruneLength:140;return n>0&&(e=s(e,{length:n,omission:"string"==typeof t.pruneString?t.pruneString:"â¦",separator:"string"==typeof t.pruneSeparator?t.pruneSeparator:" "})),e}(n,t)}},64063:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}}
vendor: 5,174 bytes, line 2
2,95650:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(97582),i=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function o(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=i.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var a=[".DS_Store","Thumbs.db"];function s(e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return c(e)&&c(e.dataTransfer)?[2,f(e.dataTransfer,e.type)]:function(e){return c(e)&&c(e.target)}(e)?[2,l(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,u(e)]:[2,[]]}))}))}function c(e){return"object"==typeof e&&null!==e}function l(e){return d(e.target.files).map((function(e){return o(e)}))}function u(e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return o(e)}))]}}))}))}function f(e,t){return(0,r.mG)(this,void 0,void 0,(function(){var n;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return e.items?(n=d(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(p))]):[3,2];case 1:return[2,h(g(r.sent()))];case 2:return[2,h(d(e.files).map((function(e){return o(e)})))]}}))}))}function h(e){return e.filter((function(e){return-1===a.indexOf(e.name)}))}function d(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function p(e){if("function"!=typeof e.webkitGetAsEntry)return m(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?y(t):m(e)}function g(e){return e.reduce((function(e,t){return(0,r.ev)((0,r.ev)([],(0,r.CR)(e),!1),(0,r.CR)(Array.isArray(t)?g(t):[t]),!1)}),[])}function m(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=o(t);return Promise.resolve(n)}function v(e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return[2,e.isDirectory?y(e):b(e)]}))}))}function y(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function o(){var a=this;t.readEntries((function(t){return(0,r.mG)(a,void 0,void 0,(function(){var a,s,c;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:if(t.length)return[3,5];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=r.sent(),e(a),[3,4];case 3:return s=r.sent(),n(s),[3,4];case 4:return[3,6];case 5:c=Promise.all(t.map(v)),i.push(c),o(),r.label=6;case 6:return[2]}}
2))}))}),(function(e){n(e)}))}()}))}function b(e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=o(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}},44202:function(e,t,n){"use strict";n.d(t,{g9:function(){return z}});var r=n(67294),i=n(34944);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var s="function"==typeof Symbol&&Symbol.for,c=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,u=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,p=s?Symbol.for("react.context"):60110,g=s?Symbol.for("react.async_mode"):60111,m=s?Symbol.for("react.concurrent_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112,y=s?Symbol.for("react.suspense"):60113,b=s?Symbol.for("react.suspense_list"):60120,_=s?Symbol.for("react.memo"):60115,w=s?Symbol.for("react.lazy"):60116,x=s?Symbol.for("react.block"):60121,S=s?Symbol.for("react.fundamental"):60117,E=s?Symbol.for("react.responder"):60118,k=s?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case c:switch(e=e.type){case g:case m:case u:case h:case f:case y:return e;default:switch(e=e&&e.$$typeof){case p:case v:case w:case _:case d:return e;default:return t}}case l:return t}}}function C(e){return O(e)===m}var A={AsyncMode:g,ConcurrentMode:m,ContextConsumer:p,ContextProvider:d,Element:c,ForwardRef:v,Fragment:u,Lazy:w,Memo:_,Portal:l,Profiler:h,StrictMode:f,Suspense:y,isAsyncMode:function(e){return C(e)||O(e)===g},isConcurrentMode:C,isContextConsumer:function(e){return O(e)===p},isContextProvider:function(e){return O(e)===d},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},isForwardRef:function(e){return O(e)===v},isFragment:function(e){return O(e)===u},isLazy:function(e){return O(e)===w},isMemo:function(e){return O(e)===_},isPortal:function(e){return O(e)===l},isProfiler:function(e){return O(e)===h},isStrictMode:function(e){return O(e)===f},isSuspense:function(e){return O(e)===y},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===u||e===m||e===h||e===f||e===y||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===w||e.$$typeof===_||e.$$typeof===d||e.$$typeof===p||e.$$typeof===v||e.$$typeof===S||e.$$typeof===E||e.$$typeof===k||e.$$typeof===x)},typeOf:O},T=(a((function(e,t){0})),a((function(e){e.exports=A})),Object.getOwnPropertySymbols),P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}})()&&Object.assign;var M="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function R(e,t,n,r,i){}R.resetWarningCache=function(){0};Function.call.bind(Object.prototype.hasOwnProperty);function j(){}function N(){}N.resetWarningCache=j;var L=a((function(e){e.exports=function(){function e(e,t,n,r,i,o){if(o!==M){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:N,resetWarningCache:j};return n.PropTypes=n,n}()})),I={apikey:L.string,pickerOptions:L.object,clientOptions:L.object,onSuccess:L.func,onUploadDone:L.func,onError:L.func},B=function(){return"x"+Math.random().toString(36).substr(2,5)},F=function(e){var t=e.apikey,n=e.pickerOptions,a=void 0===n?{}:n,s=e.clientOptions,c=void 0===s?{}:s,l=e.onSuccess,u=void 0===l?console.log:l,f=e.onUploadDone,h=void 0===f?console.log:f,d=e.onError,p=void 0===d?console.error:d,g=function(e){p(e)},m=function(e){u(e),h(e)},v=B(),y=B();return(0,r.useEffect)((function(){var e=(0,i.QZ)(t,c).picker(o({rootId:v,container:"#"+y,onUploadDone:m},a));return e.open().then().catch(g),function(){e&&e.close()}}),[v,y,t,c,a,m]),{containerId:y}},z=function(e){var t=e.apikey,n=e.pickerOptions,a=e.clientOptions,s=e.onSuccess,c=e.onUploadDone,l=e.onError,u=e.children,f=F({apikey:t,pickerOptions:o({displayMode:i.i6.overlay},n),clientOptions:a,onSuccess:s,onUploadDone:c,onError:l}
2).containerId;return u?r.cloneElement(u,{id:f}):r.createElement("div",{id:f})};z.propTypes=I},27680:function(e){function t(e){return e}e.exports=function(e,n,r){n=n||t,r=r||e;for(var i=0,o=e.length;i<o;i+=1)if(n.call(r,e[i],i))return e[i]}},17648:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,i="[object Function]",o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var c=this;if("function"!=typeof c||n.apply(c)!==i)throw new TypeError(t+c);for(var l,u=a(arguments,1),f=r(0,c.length-u.length),h=[],d=0;d<f;d++)h[d]="$"+d;if(l=Function("binder","return function ("+s(h,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof l){var t=c.apply(this,o(u,arguments));return Object(t)===t?t:this}return c.apply(e,o(u,arguments))})),c.prototype){var p=function(){};p.prototype=c.prototype,l.prototype=new p,p.prototype=null}return l}},58612:function(e,t,n){"use strict";var r=n(17648);e.exports=Function.prototype.bind||r},40210:function(e,t,n){"use strict";var r,i=n(68892),o=n(81648),a=n(53981),s=n(24726),c=n(26712),l=n(33464),u=n(14453),f=n(43915),h=n(59738),d=n(76329),p=n(52264),g=n(55730),m=n(20707),v=n(63862),y=n(29550),b=Function,_=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(27296),x=n(24429),S=function(){throw new u},E=w?function(){try{return S}catch(e){try{return w(arguments,"callee").get}catch(e){return S}}}():S,k=n(41405)(),O=n(81618),C=n(68899),A=n(10443),T=n(1768),P=n(68928),D={},M="undefined"!=typeof Uint8Array&&O?O(Uint8Array):r,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":k&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":D,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":k&&O?O(O([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&O?O((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&O?O((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&O?O(""[Symbol.iterator]()):r,"%Symbol%":k?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":E,"%TypedArray%":M,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":T,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":C,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":m,"%Math.round%":v,"%Math.sign%":y,"%Reflect.getPrototypeOf%":A};if(O)try{null.error}catch(e){var j=O(O(e));R["%Error.prototype%"]=j}var N=function e(t){var n;if("%AsyncFunction%"===t)n=_("async function () {}");else if("%GeneratorFunction%"===t)n=_("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=_("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&O&&(n=O(i.prototype))}return R[t]=n,n},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},I=n(58612),B=n(48824),F=I.call(P,Array.prototype.concat),z=I.call(T,Array.prototype.splice),U=I.call(P,String.prototype.replace),H=I.call(P,String.prototype.slice),q=I.call(P,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,V=function(e){var t=H(e,0,1),n=H(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,$,(function(e,t,n,i){r[r.length]=n?U(i,W,"$1"):t||e})),r},K=function(e,t){var n,r=e;if(B(L,r)&&(r="%"+(n=L[r])[0]+"%"),B(R,r)){var i=R[r];if(i===D&&(i=N(r)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=V(e),r=n.length>0?n[0]:"",i=K("%"+r+"%",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],z(n,F([0,1],c)));for(var f=1,h=!0;f<n.length;f+=1){var d=n[f],p=H(d,0,1),g=H(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&h||(s=!0),B(R,o="%"+(r+="."+d)+"%"))a=R[o];
2else if(null!=a){if(!(d in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&f+1>=n.length){var m=w(a,d);a=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[d]}else h=B(a,d),a=a[d];h&&!s&&(R[o]=a)}}return a}},5356:function(e,t,n){"use strict";var r;n.d(t,{V:function(){return i}});var i=function(){return r||n.nc}},68899:function(e,t,n){"use strict";var r=n(68892);e.exports=r.getPrototypeOf||null},10443:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},81618:function(e,t,n){"use strict";var r=n(10443),i=n(68899),o=n(96504);e.exports=r?function(e){return r(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},40690:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},27296:function(e,t,n){"use strict";var r=n(40690);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},28282:function(e,t,n){var r=n(82354);e.exports={Graph:r.Graph,json:n(28974),alg:n(12440),version:r.version}},2842:function(e,t,n){var r=n(89126);e.exports=function(e){var t,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,t.push(i),r.each(e.successors(i),o),r.each(e.predecessors(i),o))}return r.each(e.nodes(),(function(e){t=[],o(e),t.length&&i.push(t)})),i}},53984:function(e,t,n){var r=n(89126);function i(e,t,n,o,a,s){r.has(o,t)||(o[t]=!0,n||s.push(t),r.each(a(t),(function(t){i(e,t,n,o,a,s)})),n&&s.push(t))}e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],s={};return r.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);i(e,t,"post"===n,s,o,a)})),a}},84847:function(e,t,n){var r=n(63763),i=n(89126);e.exports=function(e,t,n){return i.transform(e.nodes(),(function(i,o){i[o]=r(e,o,t,n)}),{})}},63763:function(e,t,n){var r=n(89126),i=n(75639);e.exports=function(e,t,n,r){return function(e,t,n,r){var o,a,s={},c=new i,l=function(e){var t=e.v!==o?e.v:e.w,r=s[t],i=n(e),l=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+i);l<r.distance&&(r.distance=l,r.predecessor=o,c.decrease(t,l))};e.nodes().forEach((function(e){var n=e===t?0:Number.POSITIVE_INFINITY;s[e]={distance:n},c.add(e,n)}));for(;c.size()>0&&(o=c.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(l);return s}(e,String(t),n||o,r||function(t){return e.outEdges(t)})};var o=r.constant(1)},9096:function(e,t,n){var r=n(89126),i=n(5023);e.exports=function(e){return r.filter(i(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))}},38924:function(e,t,n){var r=n(89126);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0}
vendor: 4,224 bytes, line 2
2,i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s<a.distance&&(a.distance=s,a.predecessor=i.predecessor)}))}))})),r}(e,t||i,n||function(t){return e.outEdges(t)})};var i=r.constant(1)},12440:function(e,t,n){e.exports={components:n(2842),dijkstra:n(63763),dijkstraAll:n(84847),findCycles:n(9096),floydWarshall:n(38924),isAcyclic:n(62707),postorder:n(58828),preorder:n(92648),prim:n(80514),tarjan:n(5023),topsort:n(2166)}},62707:function(e,t,n){var r=n(2166);e.exports=function(e){try{r(e)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},58828:function(e,t,n){var r=n(53984);e.exports=function(e,t){return r(e,t,"post")}},92648:function(e,t,n){var r=n(53984);e.exports=function(e,t){return r(e,t,"pre")}},80514:function(e,t,n){var r=n(89126),i=n(30771),o=n(75639);e.exports=function(e,t){var n,a=new i,s={},c=new o;function l(e){var r=e.v===n?e.w:e.v,i=c.priority(r);if(void 0!==i){var o=t(e);o<i&&(s[r]=n,c.decrease(r,o))}}if(0===e.nodeCount())return a;r.each(e.nodes(),(function(e){c.add(e,Number.POSITIVE_INFINITY),a.setNode(e)})),c.decrease(e.nodes()[0],0);var u=!1;for(;c.size()>0;){if(n=c.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(l)}return a}},5023:function(e,t,n){var r=n(89126);e.exports=function(e){var t=0,n=[],i={},o=[];function a(s){var c=i[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach((function(e){r.has(i,e)?i[e].onStack&&(c.lowlink=Math.min(c.lowlink,i[e].index)):(a(e),c.lowlink=Math.min(c.lowlink,i[e].lowlink))})),c.lowlink===c.index){var l,u=[];do{l=n.pop(),i[l].onStack=!1,u.push(l)}while(s!==l);o.push(u)}}return e.nodes().forEach((function(e){r.has(i,e)||a(e)})),o}},2166:function(e,t,n){var r=n(89126);function i(e){var t={},n={},i=[];if(r.each(e.sinks(),(function a(s){if(r.has(n,s))throw new o;r.has(t,s)||(n[s]=!0,t[s]=!0,r.each(e.predecessors(s),a),delete n[s],i.push(s))})),r.size(t)!==e.nodeCount())throw new o;return i}function o(){}e.exports=i,i.CycleException=o,o.prototype=new Error},75639:function(e,t,n){var r=n(89126);function i(){this._arr=[],this._keyIndices={}}e.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},i.prototype.has=function(e){return r.has(this._keyIndices,e)},i.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var i=this._arr,o=i.length;return n[e]=o,i.push({key:e,priority:t}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},i.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},i.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,r<t.length&&(i=t[r].priority<t[i].priority?r:i),i!==e&&(this._swap(e,i),this._heapify(i)))},i.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},i.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t}},30771:function(e,t,n){"use strict";var r=n(89126);e.exports=s;var i="\0",o="\0",a="�";function s(e){this._isDirected=!r.has(e,"directed")||e.directed,this._isMultigraph=!!r.has(e,"multigraph")&&e.multigraph,this._isCompound=!!r.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={}
vendor: 6,004 bytes, line 2
2,this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function c(e,t){e[t]?e[t]++:e[t]=1}function l(e,t){--e[t]||delete e[t]}function u(e,t,n,o){var s=""+t,c=""+n;if(!e&&s>c){var l=s;s=c,c=l}return s+a+c+a+(r.isUndefined(o)?i:o)}function f(e,t){return u(e,t.v,t.w,t.name)}s.prototype._nodeCount=0,s.prototype._edgeCount=0,s.prototype.isDirected=function(){return this._isDirected},s.prototype.isMultigraph=function(){return this._isMultigraph},s.prototype.isCompound=function(){return this._isCompound},s.prototype.setGraph=function(e){return this._label=e,this},s.prototype.graph=function(){return this._label},s.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},s.prototype.nodeCount=function(){return this._nodeCount},s.prototype.nodes=function(){return r.keys(this._nodes)},s.prototype.sources=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._in[t])}))},s.prototype.sinks=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._out[t])}))},s.prototype.setNodes=function(e,t){var n=arguments,i=this;return r.each(e,(function(e){n.length>1?i.setNode(e,t):i.setNode(e)})),this},s.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},s.prototype.node=function(e){return this._nodes[e]},s.prototype.hasNode=function(e){return r.has(this._nodes,e)},s.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},s.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=o;else{for(var n=t+="";!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},s.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},s.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}},s.prototype.children=function(e){if(r.isUndefined(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}},s.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},s.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},s.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},s.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},s.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),r.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var i={};function o(e){var r=n.parent(e);return void 0===r||t.hasNode(r)?(i[e]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(t.nodes(),(function(e){t.setParent(e,o(e))})),t},s.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},s.prototype.edgeCount=function(){return this._edgeCount},s.prototype.edges=function(){return r.values(this._edgeObjs)},s.prototype.setPath=function(e,t){var n=this,i=arguments;return r.reduce(e,(function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r})),this},s.prototype.setEdge=function(){var e,t,n,i,o=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(e=a.v,t=a.w,n=a.name,2===arguments.length&&(i=arguments[1],o=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var s=u(this._isDirected,e,t,n);if(r.has(this._edgeLabels,s))return o&&(this._edgeLabels[s]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[s]=o?i:this._defaultEdgeLabelFn(e,t,n);var l=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};r&&(s.name=r);return s}(this._isDirected,e,t,n);return e=l.v,t=l.w,Object.freeze(l),this._edgeObjs[s]=l,c(this._preds[t],e),c(this._sucs[e],t),this._in[t][s]=l,this._out[e][s]=l,this._edgeCount++,this},s.prototype.edge=function(e,t,n){var r=1===arguments.length?f(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[r]},s.prototype.hasEdge=function(e,t,n){var i=1===arguments.length?f(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return r.has(this._edgeLabels,i)},s.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?f(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],l(this._preds[t],e),l(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},s.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var i=r.values(n);return t?r.filter(i,(function(e){return e.v===t})):i}},s.prototype.outEdges=function(e,t){var n=this._out[e];
2if(n){var i=r.values(n);return t?r.filter(i,(function(e){return e.w===t})):i}},s.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},82354:function(e,t,n){e.exports={Graph:n(30771),version:n(49631)}},28974:function(e,t,n){var r=n(89126),i=n(30771);function o(e){return r.map(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),o={v:t};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o}))}function a(e){return r.map(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.isUndefined(t.name)||(i.name=t.name),r.isUndefined(n)||(i.value=n),i}))}e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:a(e)};r.isUndefined(e.graph())||(t.value=r.clone(e.graph()));return t},read:function(e){var t=new i(e.options).setGraph(e.value);return r.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),r.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}}},89126:function(e,t,n){var r;try{r={clone:n(66678),constant:n(75703),each:n(66073),filter:n(63105),has:n(18721),isArray:n(1469),isEmpty:n(41609),isFunction:n(23560),isUndefined:n(52353),keys:n(3674),map:n(35161),reduce:n(54061),size:n(84238),transform:n(68718),union:n(93386),values:n(52628)}}catch(e){}r||(r=window._),e.exports=r},49631:function(e){e.exports="2.1.8"},41405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(55419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},48824:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(58612);e.exports=o.call(r,i)},86492:function(e,t,n){var r;e=n.nmd(e),function(i){var o=t,a=(e&&e.exports,"object"==typeof n.g&&n.g);a.global!==a&&a.window;var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E
25\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f
vendor: 21,211 bytes, line 2
2={"Â":"shy","â":"zwnj","â":"zwj","â":"lrm","â£":"ic","â¢":"it","â¡":"af","â":"rlm","â":"ZeroWidthSpace","â ":"NoBreak","Ì":"DownBreve","â":"tdot","â":"DotDot","\t":"Tab","\n":"NewLine","â":"puncsp","â":"MediumSpace","â":"thinsp","â":"hairsp","â":"emsp13","â":"ensp","â
":"emsp14","â":"emsp","â":"numsp"," ":"nbsp","ââ":"ThickSpace","â¾":"oline",_:"lowbar","â":"dash","â":"ndash","â":"mdash","â":"horbar",",":"comma",";":"semi","â":"bsemi",":":"colon","â©´":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","â¥":"nldr","â¦":"mldr","·":"middot","'":"apos","â":"lsquo","â":"rsquo","â":"sbquo","â¹":"lsaquo","âº":"rsaquo",'"':"quot","â":"ldquo","â":"rdquo","â":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","â":"lceil","â":"rceil","â":"lfloor","â":"rfloor","â¦
":"lopar","â¦":"ropar","â¦":"lbrke","â¦":"rbrke","â¦":"lbrkslu","â¦":"rbrksld","â¦":"lbrksld","â¦":"rbrkslu","â¦":"langd","â¦":"rangd","â¦":"lparlt","â¦":"rpargt","â¦":"gtlPar","â¦":"ltrPar","â¦":"lobrk","â§":"robrk","â¨":"lang","â©":"rang","âª":"Lang","â«":"Rang","â¬":"loang","â":"roang","â²":"lbbrk","â³":"rbbrk","â":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","â°":"permil","â±":"pertenk","â ":"dagger","â¡":"Dagger","â¢":"bull","â":"hybull","â²":"prime","â³":"Prime","â´":"tprime","â":"qprime","âµ":"bprime","â":"caret","`":"grave","´":"acute","Ë":"tilde","^":"Hat","¯":"macr","Ë":"breve","Ë":"dot","¨":"die","Ë":"ring","Ë":"dblac","¸":"cedil","Ë":"ogon","Ë":"circ","Ë":"caron","°":"deg","©":"copy","®":"reg","â":"copysr","â":"wp","â":"rx","â§":"mho","â©":"iiota","â":"larr","â":"nlarr","â":"rarr","â":"nrarr","â":"uarr","â":"darr","â":"harr","â®":"nharr","â":"varr","â":"nwarr","â":"nearr","â":"searr","â":"swarr","â":"rarrw","â̸":"nrarrw","â":"Larr","â":"Uarr","â ":"Rarr","â¡":"Darr","â¢":"larrtl","â£":"rarrtl","â¤":"mapstoleft","â¥":"mapstoup","â¦":"map","â§":"mapstodown","â©":"larrhk","âª":"rarrhk","â«":"larrlp","â¬":"rarrlp","â":"harrw","â°":"lsh","â±":"rsh","â²":"ldsh","â³":"rdsh","âµ":"crarr","â¶":"cularr","â·":"curarr","âº":"olarr","â»":"orarr","â¼":"lharu","â½":"lhard","â¾":"uharr","â¿":"uharl","â":"rharu","â":"rhard","â":"dharr","â":"dharl","â":"rlarr","â
":"udarr","â":"lrarr","â":"llarr","â":"uuarr","â":"rrarr","â":"ddarr","â":"lrhar","â":"rlhar","â":"lArr","â":"nlArr","â":"uArr","â":"rArr","â":"nrArr","â":"dArr","â":"iff","â":"nhArr","â":"vArr","â":"nwArr","â":"neArr","â":"seArr","â":"swArr","â":"lAarr","â":"rAarr","â":"zigrarr","â¤":"larrb","â¥":"rarrb","âµ":"duarr","â½":"loarr","â¾":"roarr","â¿":"hoarr","â":"forall","â":"comp","â":"part","â̸":"npart","â":"exist","â":"nexist","â
":"empty","â":"Del","â":"in","â":"notin","â":"ni","â":"notni","϶":"bepsi","â":"prod","â":"coprod","â":"sum","+":"plus","±":"pm","÷":"div","Ã":"times","<":"lt","â®":"nlt","<â":"nvlt","=":"equals","â ":"ne","=â¥":"bne","⩵":"Equal",">":"gt","â¯":"ngt",">â":"nvgt","¬":"not","|":"vert","¦":"brvbar","â":"minus","â":"mp","â":"plusdo","â":"frasl","â":"setmn","â":"lowast","â":"compfn","â":"Sqrt","â":"prop","â":"infin","â":"angrt","â ":"ang","â â":"nang","â¡":"angmsd","â¢":"angsph","â£":"mid","â¤":"nmid","â¥":"par","â¦":"npar","â§":"and","â¨":"or","â©":"cap","â©ï¸":"caps","âª":"cup","âªï¸":"cups","â«":"int","â¬":"Int","â":"tint","â¨":"qint","â®":"oint","â¯":"Conint","â°":"Cconint","â±":"cwint","â²":"cwconint","â³":"awconint","â´":"there4","âµ":"becaus","â¶":"ratio","â·":"Colon","â¸":"minusd","âº":"mDDot","â»":"homtht","â¼":"sim","â":"nsim","â¼â":"nvsim","â½":"bsim","â½Ì±":"race","â¾":"ac","â¾Ì³":"acE","â¿":"acd","â":"wr","â":"esim","â̸":"nesim","â":"sime","â":"nsime","â
":"cong","â":"ncong","â":"simne","â":"ap","â":"nap","â":"ape","â":"apid","â̸":"napid","â":"bcong","â":"CupCap","â":"NotCupCap","ââ":"nvap","â":"bump","â̸":"nbump","â":"bumpe","â̸":"nbumpe","â":"doteq","â̸":"nedot","â":"eDot","â":"efDot","â":"erDot","â":"colone","â":"ecolon","â":"ecir","â":"cire","â":"wedgeq","â":"veeeq","â":"trie","â":"equest","â¡":"equiv","â¢":"nequiv","â¡â¥":"bnequiv","â¤":"le","â°":"nle","â¤â":"nvle","â¥":"ge","â±":"nge","â¥â":"nvge","â¦":"lE","â¦Ì¸":"nlE","â§":"gE","â§Ì¸":"ngE","â¨ï¸":"lvnE","â¨":"lnE","â©":"gnE","â©ï¸":"gvnE","âª":"ll","âªÌ¸":"nLtv","âªâ":"nLt","â«":"gg","â«Ì¸":"nGtv","â«â":"nGt","â¬":"twixt","â²":"lsim","â´":"nlsim","â³":"gsim","âµ":"ngsim","â¶":"lg","â¸":"ntlg","â·":"gl","â¹":"ntgl","âº":"pr","â":"npr","â»":"sc","â":"nsc","â¼":"prcue","â ":"nprcue","â½":"sccue","â¡":"nsccue","â¾":"prsim","â¿":"scsim","â¿Ì¸":"NotSucceedsTilde","â":"sub","â":"nsub","ââ":"vnsub","â":"sup","â
":"nsup","ââ":"vnsup","â":"sube","â":"nsube","â":"supe","â":"nsupe","âï¸":"vsubne","â":"subne","âï¸":"vsupne","â":"supne","â":"cupdot","â":"uplus","â":"sqsub","â̸":"NotSquareSubset","â":"sqsup","â̸":"NotSquareSuperset","â":"sqsube","â¢":"nsqsube","â":"sqsupe","â£":"nsqsupe","â":"sqcap","âï¸":"sqcaps","â":"sqcup","âï¸":"sqcups","â":"oplus","â":"ominus","â":"otimes","â":"osol","â":"odot","â":"ocir","â":"oast","â":"odash","â":"plusb","â":"minusb","â ":"timesb","â¡":"sdotb","â¢":"vdash","â¬":"nvdash","â£":"dashv","â¤":"top","â¥":"bot","â§":"models","â¨":"vDash","â":"nvDash","â©":"Vdash","â®":"nVdash","âª":"Vvdash","â«":"VDash","â¯":"nVDash","â°":"prurel","â²":"vltri","âª":"nltri","â³":"vrtri","â«":"nrtri","â´":"ltrie","â¬":"nltrie","â´â":"nvltrie","âµ":"rtrie","â":"nrtrie","âµâ":"nvrtrie","â¶":"origof","â·":"imof","â¸":"mumap","â¹":"hercon","âº":"intcal","â»":"veebar","â½":"barvee","â¾":"angrtvb","â¿":"lrtri","â":"Wedge","â":"Vee","â":"xcap","â":"xcup","â":"diam","â
":"sdot","â":"Star","â":"divonx","â":"bowtie","â":"ltimes","â":"rtimes","â":"lthree","â":"rthree","â":"bsime","â":"cuvee","â":"cuwed","â":"Sub","â":"Sup","â":"Cap","â":"Cup","â":"fork","â":"epar","â":"ltdot","â":"gtdot","â":"Ll","â̸":"nLl","â":"Gg","â̸":"nGg","âï¸":"lesg","â":"leg","â":"gel","âï¸":"gesl","â":"cuepr","â":"cuesc","â¦":"lnsim","â§":"gnsim","â¨":"prnsim","â©":"scnsim","â®":"vellip","â¯":"ctdot","â°":"utdot","â±":"dtdot","â²":"disin","â³":"isinsv","â´":"isins","âµ":"isindot","âµÌ¸":"notindot","â¶":"notinvc","â·":"notinvb","â¹":"isinE","â¹Ì¸":"notinE","âº":"nisd","â»":"xnis","â¼":"nis","â½":"notnivc","â¾":"notnivb","â
":"barwed","â":"Barwed","â":"drcrop","â":"dlcrop","â":"urcrop","â":"ulcrop","â":"bnot","â":"profline","â":"profsurf","â":"telrec","â":"target","â":"ulcorn","â":"urcorn","â":"dlcorn","â":"drcorn","â¢":"frown","â£":"smile","â":"cylcty","â®":"profalar","â¶":"topbot","â½":"ovbar","â¿":"solbar","â¼":"angzarr","â°":"lmoust","â±":"rmoust","â´":"tbrk","âµ":"bbrk","â¶":"bbrktbrk","â":"OverParenthesis","â":"UnderParenthesis","â":"OverBrace","â":"UnderBrace","â¢":"trpezium","â§":"elinters","â£":"blank","â":"boxh","â":"boxv","â":"boxdr","â":"boxdl","â":"boxur","â":"boxul","â":"boxvr","â¤":"boxvl","â¬":"boxhd","â´":"boxhu","â¼":"boxvh","â":"boxH","â":"boxV","â":"boxdR","â":"boxDr","â":"boxDR","â":"boxdL","â":"boxDl","â":"boxDL","â":"boxuR","â":"boxUr","â":"boxUR","â":"boxuL","â":"boxUl","â":"boxUL","â":"boxvR","â":"boxVr","â ":"boxVR","â¡":"boxvL","â¢":"boxVl","â£":"boxVL","â¤":"boxHd","â¥":"boxhD","â¦":"boxHD","â§":"boxHu","â¨":"boxhU","â©":"boxHU","âª":"boxvH","â«":"boxVh","â¬":"boxVH","â":"uhblk","â":"lhblk","â":"block","â":"blk14","â":"blk12","â":"blk34","â¡":"squ","âª":"squf","â«":"EmptyVerySmallSquare","â":"rect","â®":"marker","â±":"fltns","â³":"xutri","â´":"utrif","âµ":"utri","â¸":"rtrif","â¹":"rtri","â½":"xdtri","â¾":"dtrif","â¿":"dtri","â":"ltrif","â":"ltri","â":"loz","â":"cir","â¬":"tridot","â¯":"xcirc","â¸":"ultri","â¹":"urtri","âº":"lltri","â»":"EmptySmallSquare","â¼":"FilledSmallSquare","â
":"starf","â":"star","â":"phone","â":"female","â":"male","â ":"spades","â£":"clubs","â¥":"hearts","â¦":"diams","âª":"sung","â":"check","â":"cross","â ":"malt","â¶":"sext","â":"VerticalSeparator","â":"bsolhsub","â":"suphsol","âµ":"xlarr","â¶":"xrarr","â·":"xharr","â¸":"xlArr","â¹":"xrArr","âº":"xhArr","â¼":"xmap","â¿":"dzigrarr","â¤":"nvlArr","â¤":"nvrArr","â¤":"nvHarr","â¤
":"Map","â¤":"lbarr","â¤":"rbarr","â¤":"lBarr","â¤":"rBarr","â¤":"RBarr","â¤":"DDotrahd","â¤":"UpArrowBar","â¤":"DownArrowBar","â¤":"Rarrtl","â¤":"latail","â¤":"ratail","â¤":"lAtail","â¤":"rAtail","â¤":"larrfs","â¤":"rarrfs","â¤":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","â¥
":"rarrpl","â¥":"harrcir","â¥":"Uarrocir","â¥":"lurdshar","â¥":"ldrushar","â¥":"LeftRightVector","â¥":"RightUpDownVector","â¥":"DownLeftRightVector","â¥":"LeftUpDownVector","â¥":"LeftVectorBar","â¥":"RightVectorBar","â¥":"RightUpVectorBar","â¥":"RightDownVectorBar","â¥":"DownLeftVectorBar","â¥":"DownRightVectorBar","â¥":"LeftUpVectorBar","â¥":"LeftDownVectorBar","â¥":"LeftTeeVector","â¥":"RightTeeVector","â¥":"RightUpTeeVector","â¥":"RightDownTeeVector","â¥":"DownLeftTeeVector","â¥":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","â¥":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","â¦":"vzigzag","â¦":"vangrt","â¦":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","â¦":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","â§":"olt","â§":"ogt","â§":"cirscir","â§":"cirE","â§":"solb","â§
":"bsolb","â§":"boxbox","â§":"trisb","â§":"rtriltri","â§":"LeftTriangleBar","â§Ì¸":"NotLeftTriangleBar","â§":"RightTriangleBar","â§Ì¸":"NotRightTriangleBar","â§":"iinfin","â§":"infintie","â§":"nvinfin","â§£":"eparsl","⧤":"smeparsl","â§¥":"eqvparsl","â§«":"lozf","â§´":"RuleDelayed","â§¶":"dsol","â¨":"xodot","â¨":"xoplus","â¨":"xotime","â¨":"xuplus","â¨":"xsqcup","â¨":"fpartint","â¨":"cirfnint","â¨":"awint","â¨":"rppolint","â¨":"scpolint","â¨":"npolint","â¨":"pointint","â¨":"quatint","â¨":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","â¨":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","â©":"capdot","â©":"ncup","â©":"ncap","â©":"capand","â©
":"cupor","â©":"cupcap","â©":"capcup","â©":"cupbrcap","â©":"capbrcup","â©":"cupcup","â©":"capcap","â©":"ccups","â©":"ccaps","â©":"ccupssm","â©":"And","â©":"Or","â©":"andand","â©":"oror","â©":"orslope","â©":"andslope","â©":"andv","â©":"orv","â©":"andd","â©":"ord","â©":"wedbar","⩦":"sdote","⩪":"simdot","â©":"congdot","â©Ì¸":"ncongdot","â©®":"easter","⩯":"apacir","â©°":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","â©·":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","â©»":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","â©¿":"lesdot","âª":"gesdot","âª":"lesdoto","âª":"gesdoto","âª":"lesdotor","âª":"gesdotol","âª
":"lap","âª":"gap","âª":"lne","âª":"gne","âª":"lnap","âª":"gnap","âª":"lEg","âª":"gEl","âª":"lsime","âª":"gsime","âª":"lsimg","âª":"gsiml","âª":"lgE","âª":"glE","âª":"lesges","âª":"gesles","âª":"els","âª":"egs","âª":"elsdot","âª":"egsdot","âª":"el","âª":"eg","âª":"siml","âª":"simg","âª":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬ï¸":"smtes","âª":"late","âªï¸":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","â«":"supplus","â«":"submult","â«":"supmult","â«":"subedot","â«":"supedot","â«
":"subE","â«
̸":"nsubE","â«":"supE","â«Ì¸":"nsupE","â«":"subsim","â«":"supsim","â«ï¸":"vsubnE","â«":"subnE","â«ï¸":"vsupnE","â«":"supnE","â«":"csub","â«":"csup","â«":"csube","â«":"csupe","â«":"subsup","â«":"supsub","â«":"subsub","â«":"supsup","â«":"suphsub","â«":"supdsub","â«":"forkv","â«":"topfork","â«":"mlcp","⫤":"Dashv","⫦":"Vdashl","â«§":"Barv","⫨":"vBar","â«©":"vBarv","â««":"Vbar","⫬":"Not","â«":"bNot","â«®":"rnmid","⫯":"cirmid","â«°":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽â¥":"nparsl","â":"flat","â®":"natur","â¯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","Â¥":"yen","â¬":"euro","¹":"sup1","½":"half","â
":"frac13","¼":"frac14","â
":"frac15","â
":"frac16","â
":"frac18","²":"sup2","â
":"frac23","â
":"frac25","³":"sup3","¾":"frac34","â
":"frac35","â
":"frac38","â
":"frac45","â
":"frac56","â
":"frac58","â
":"frac78","ð¶":"ascr","ð":"aopf","ð":"afr","ð¸":"Aopf","ð":"Afr","ð":"Ascr","ª":"ordf","á":"aacute","Ã":"Aacute","à ":"agrave","Ã":"Agrave","Ä":"abreve","Ä":"Abreve","â":"acirc","Ã":"Acirc","Ã¥":"aring","Ã
":"angst","ä":"auml","Ã":"Auml","ã":"atilde","Ã":"Atilde","Ä
":"aogon","Ä":"Aogon","Ä":"amacr","Ä":"Amacr","æ":"aelig","Ã":"AElig","ð·":"bscr","ð":"bopf","ð":"bfr","ð¹":"Bopf","â¬":"Bscr","ð
":"Bfr","ð ":"cfr","ð¸":"cscr","ð":"copf","â":"Cfr","ð":"Cscr","â":"Copf","Ä":"cacute","Ä":"Cacute","Ä":"ccirc","Ä":"Ccirc","Ä":"ccaron","Ä":"Ccaron","Ä":"cdot","Ä":"Cdot","ç":"ccedil","Ã":"Ccedil","â
":"incare","ð¡":"dfr","â
":"dd","ð":"dopf","ð¹":"dscr","ð":"Dscr","ð":"Dfr","â
":"DD","ð»":"Dopf","Ä":"dcaron","Ä":"Dcaron","Ä":"dstrok","Ä":"Dstrok","ð":"eth","Ã":"ETH","â
":"ee","â¯":"escr","ð¢":"efr","ð":"eopf","â°":"Escr","ð":"Efr","ð¼":"Eopf","é":"eacute","Ã":"Eacute","è":"egrave","Ã":"Egrave","ê":"ecirc","Ã":"Ecirc","Ä":"ecaron","Ä":"Ecaron","ë":"euml","Ã":"Euml","Ä":"edot","Ä":"Edot","Ä":"eogon","Ä":"Eogon","Ä":"emacr","Ä":"Emacr","ð£":"ffr","ð":"fopf","ð»":"fscr","ð":"Ffr","ð½":"Fopf","â±":"Fscr","ï¬":"fflig","ï¬":"ffilig","ï¬":"ffllig","ï¬":"filig",fj:"fjlig","ï¬":"fllig","Æ":"fnof","â":"gscr","ð":"gopf","ð¤":"gfr","ð¢":"Gscr","ð¾":"Gopf","ð":"Gfr","ǵ":"gacute","Ä":"gbreve","Ä":"Gbreve","Ä":"gcirc","Ä":"Gcirc","Ä¡":"gdot","Ä ":"Gdot","Ä¢":"Gcedil","ð¥":"hfr","â":"planckh","ð½":"hscr","ð":"hopf","â":"Hscr","â":"Hfr","â":"Hopf","Ä¥":"hcirc","Ĥ":"Hcirc","â":"hbar","ħ":"hstrok","Ħ":"Hstrok","ð":"iopf","ð¦":"ifr","ð¾":"iscr","â
":"ii","ð":"Iopf","â":"Iscr","â":"Im","Ã":"iacute","Ã":"Iacute","ì":"igrave","Ã":"Igrave","î":"icirc","Ã":"Icirc","ï":"iuml","Ã":"Iuml","Ä©":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Ä®":"Iogon","Ä«":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","ð¿":"jscr","ð":"jopf","ð§":"jfr","ð¥":"Jscr","ð":"Jfr","ð":"Jopf","ĵ":"jcirc","Ä´":"Jcirc","È·":"jmath","ð":"kopf","ð":"kscr","ð¨":"kfr","ð¦":"Kscr","ð":"Kopf","ð":"Kfr","Ä·":"kcedil","Ķ":"Kcedil","ð©":"lfr","ð":"lscr","â":"ell","ð":"lopf","â":"Lscr","ð":"Lfr","ð":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ä»":"Lcedil","Å":"lstrok","Å":"Lstrok","Å":"lmidot","Ä¿":"Lmidot","ðª":"mfr","ð":"mopf","ð":"mscr","ð":"Mfr","ð":"Mopf","â³":"Mscr","ð«":"nfr","ð":"nopf","ð":"nscr","â":"Nopf","ð©":"Nscr","ð":"Nfr","Å":"nacute","Å":"Nacute","Å":"ncaron","Å":"Ncaron","ñ":"ntilde","Ã":"Ntilde","Å":"ncedil","Å
":"Ncedil","â":"numero","Å":"eng","Å":"ENG","ð ":"oopf","ð¬":"ofr","â´":"oscr","ðª":"Oscr","ð":"Ofr","ð":"Oopf","º":"ordm","ó":"oacute","Ã":"Oacute","ò":"ograve","Ã":"Ograve","ô":"ocirc","Ã":"Ocirc","ö":"ouml","Ã":"Ouml","Å":"odblac","Å":"Odblac","õ":"otilde","Ã":"Otilde","ø":"oslash","Ã":"Oslash","Å":"omacr","Å":"Omacr","Å":"oelig","Å":"OElig","ð":"pfr","ð
":"pscr","ð¡":"popf","â":"Popf","ð":"Pfr","ð«":"Pscr","ð¢":"qopf","ð®":"qfr","ð":"qscr","ð¬":"Qscr","ð":"Qfr","â":"Qopf","ĸ":"kgreen","ð¯":"rfr","ð£":"ropf","ð":"rscr","â":"Rscr","â":"Re","â":"Ropf","Å":"racute","Å":"Racute","Å":"rcaron","Å":"Rcaron","Å":"rcedil","Å":"Rcedil","ð¤":"sopf","ð":"sscr","ð°":"sfr","ð":"Sopf","ð":"Sfr","ð®":"Sscr","â":"oS","Å":"sacute","Å":"Sacute","Å":"scirc","Å":"Scirc","Å¡":"scaron","Å ":"Scaron","Å":"scedil","Å":"Scedil","Ã":"szlig","ð±":"tfr","ð":"tscr","ð¥":"topf","ð¯":"Tscr","ð":"Tfr","ð":"Topf","Å¥":"tcaron","Ť":"Tcaron","Å£":"tcedil","Å¢":"Tcedil","â¢":"trade","ŧ":"tstrok","Ŧ":"Tstrok","ð":"uscr","ð¦":"uopf","ð²":"ufr","ð":"Uopf","ð":"Ufr","ð°":"Uscr","ú":"uacute","Ã":"Uacute","ù":"ugrave","Ã":"Ugrave","Å":"ubreve","Ŭ":"Ubreve","û":"ucirc","Ã":"Ucirc","ů":"uring","Å®":"Uring","ü":"uuml","Ã":"Uuml","ű":"udblac","Ű":"Udblac","Å©":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","Å«":"umacr","Ū":"Umacr","ð³":"vfr","ð§":"vopf","ð":"vscr","ð":"Vfr","ð":"Vopf","ð±":"Vscr","ð¨":"wopf","ð":"wscr","ð´":"wfr","ð²":"Wscr","ð":"Wopf","ð":"Wfr","ŵ":"wcirc","Å´":"Wcirc","ðµ":"xfr","ð":"xscr","ð©":"xopf","ð":"Xopf","ð":"Xfr","ð³":"Xscr","ð¶":"yfr","ð":"yscr","ðª":"yopf","ð´":"Yscr","ð":"Yfr","ð":"Yopf","ý":"yacute","Ã":"Yacute","Å·":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","ð":"zscr","ð·":"zfr","ð«":"zopf","â¨":"Zfr","â¤":"Zopf","ðµ":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Å»":"Zdot","Ƶ":"imped","þ":"thorn","Ã":"THORN","Å":"napos","α":"alpha","Î":"Alpha","β":"beta","Î":"Beta","γ":"gamma","Î":"Gamma","δ":"delta","Î":"Delta","ε":"epsi","ϵ":"epsiv","Î":"Epsilon","Ï":"gammad","Ï":"Gammad","ζ":"zeta","Î":"Zeta","η":"eta","Î":"Eta","θ":"theta","Ï":"thetav","Î":"Theta","ι":"iota","Î":"Iota","κ":"kappa","ϰ":"kappav","Î":"Kappa","λ":"lambda","Î":"Lambda","μ":"mu","µ":"micro","Î":"Mu","ν":"nu","Î":"Nu","ξ":"xi","Î":"Xi","ο":"omicron","Î":"Omicron","Ï":"pi","Ï":"piv","Î ":"Pi","Ï":"rho","ϱ":"rhov","Ρ":"Rho","Ï":"sigma","Σ":"Sigma","Ï":"sigmaf","Ï":"tau","Τ":"Tau","Ï
":"upsi","Î¥":"Upsilon","Ï":"Upsi","Ï":"phi","Ï":"phiv","Φ":"Phi","Ï":"chi","Χ":"Chi","Ï":"psi","Ψ":"Psi","Ï":"omega","Ω":"ohm","а":"acy","Ð":"Acy","б":"bcy","Ð":"Bcy","в":"vcy","Ð":"Vcy","г":"gcy","Ð":"Gcy","Ñ":"gjcy","Ð":"GJcy","д":"dcy","Ð":"Dcy","Ñ":"djcy","Ð":"DJcy","е":"iecy","Ð":"IEcy","Ñ":"iocy","Ð":"IOcy","Ñ":"jukcy","Ð":"Jukcy","ж":"zhcy","Ð":"ZHcy","з":"zcy","Ð":"Zcy","Ñ":"dscy","Ð
":"DScy","и":"icy","Ð":"Icy","Ñ":"iukcy","Ð":"Iukcy","Ñ":"yicy","Ð":"YIcy","й":"jcy","Ð":"Jcy","Ñ":"jsercy","Ð":"Jsercy","к":"kcy","Ð":"Kcy","Ñ":"kjcy","Ð":"KJcy","л":"lcy","Ð":"Lcy","Ñ":"ljcy","Ð":"LJcy","м":"mcy","Ð":"Mcy","н":"ncy","Ð":"Ncy","Ñ":"njcy","Ð":"NJcy","о":"ocy","Ð":"Ocy","п":"pcy","Ð":"Pcy","Ñ":"rcy","Ð ":"Rcy","Ñ":"scy","С":"Scy","Ñ":"tcy","Т":"Tcy","Ñ":"tshcy","Ð":"TSHcy","Ñ":"ucy","У":"Ucy","Ñ":"ubrcy","Ð":"Ubrcy","Ñ":"fcy","Ф":"Fcy","Ñ
":"khcy","Ð¥":"KHcy","Ñ":"tscy","Ц":"TScy","Ñ":"chcy","Ч":"CHcy","Ñ":"dzcy","Ð":"DZcy","Ñ":"shcy","Ш":"SHcy","Ñ":"shchcy","Щ":"SHCHcy","Ñ":"hardcy","Ъ":"HARDcy","Ñ":"ycy","Ы":"Ycy","Ñ":"softcy","Ь":"SOFTcy","Ñ":"ecy","Ð":"Ecy","Ñ":"yucy","Ю":"YUcy","Ñ":"yacy","Я":"YAcy","âµ":"aleph","â¶":"beth","â·":"gimel","â¸":"daleth"},
2h=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m
vendor: 16,834 bytes, line 2
2=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,
2v
vendor: 29,870 bytes, line 2
2={aacute:"á",Aacute:"Ã",abreve:"Ä",Abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",acirc:"â",Acirc:"Ã",acute:"´",acy:"а",Acy:"Ð",aelig:"æ",AElig:"Ã",af:"â¡",afr:"ð",Afr:"ð",agrave:"à ",Agrave:"Ã",alefsym:"âµ",aleph:"âµ",alpha:"α",Alpha:"Î",amacr:"Ä",Amacr:"Ä",amalg:"⨿",amp:"&",AMP:"&",and:"â§",And:"â©",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",aogon:"Ä
",Aogon:"Ä",aopf:"ð",Aopf:"ð¸",ap:"â",apacir:"⩯",ape:"â",apE:"â©°",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",aring:"Ã¥",Aring:"Ã
",ascr:"ð¶",Ascr:"ð",Assign:"â",ast:"*",asymp:"â",asympeq:"â",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ã",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",barwed:"â
",Barwed:"â",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",bcy:"б",Bcy:"Ð",bdquo:"â",becaus:"âµ",because:"âµ",Because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",beta:"β",Beta:"Î",beth:"â¶",between:"â¬",bfr:"ð",Bfr:"ð
",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bnot:"â",bNot:"â«",bopf:"ð",Bopf:"ð¹",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxdl:"â",boxdL:"â",boxDl:"â",boxDL:"â",boxdr:"â",boxdR:"â",boxDr:"â",boxDR:"â",boxh:"â",boxH:"â",boxhd:"â¬",boxhD:"â¥",boxHd:"â¤",boxHD:"â¦",boxhu:"â´",boxhU:"â¨",boxHu:"â§",boxHU:"â©",boxminus:"â",boxplus:"â",boxtimes:"â ",boxul:"â",boxuL:"â",boxUl:"â",boxUL:"â",boxur:"â",boxuR:"â",boxUr:"â",boxUR:"â",boxv:"â",boxV:"â",boxvh:"â¼",boxvH:"âª",boxVh:"â«",boxVH:"â¬",boxvl:"â¤",boxvL:"â¡",boxVl:"â¢",boxVL:"â£",boxvr:"â",boxvR:"â",boxVr:"â",boxVR:"â ",bprime:"âµ",breve:"Ë",Breve:"Ë",brvbar:"¦",bscr:"ð·",Bscr:"â¬",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpe:"â",bumpE:"⪮",bumpeq:"â",Bumpeq:"â",cacute:"Ä",Cacute:"Ä",cap:"â©",Cap:"â",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",ccaron:"Ä",Ccaron:"Ä",ccedil:"ç",Ccedil:"Ã",ccirc:"Ä",Ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",cdot:"Ä",Cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"ð ",Cfr:"â",chcy:"Ñ",CHcy:"Ч",check:"â",checkmark:"â",chi:"Ï",Chi:"Χ",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"®",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cire:"â",cirE:"â§",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",colon:":",Colon:"â·",colone:"â",Colone:"â©´",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",conint:"â®",Conint:"â¯",ContourIntegral:"â®",copf:"ð",Copf:"â",coprod:"â",Coproduct:"â",copy:"©",COPY:"©",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",cross:"â",Cross:"⨯",cscr:"ð¸",Cscr:"ð",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",cup:"âª",Cup:"â",cupbrcap:"â©",cupcap:"â©",CupCap:"â",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",dagger:"â ",Dagger:"â¡",daleth:"â¸",darr:"â",dArr:"â",Darr:"â¡",dash:"â",dashv:"â£",Dashv:"⫤",dbkarow:"â¤",dblac:"Ë",dcaron:"Ä",Dcaron:"Ä",dcy:"д",Dcy:"Ð",dd:"â
",DD:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"°",Del:"â",delta:"δ",Delta:"Î",demptyv:"⦱",dfisht:"⥿",dfr:"ð¡",Dfr:"ð",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",diamond:"â",Diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",djcy:"Ñ",DJcy:"Ð",dlcorn:"â",dlcrop:"â",dollar:"$",dopf:"ð",Dopf:"ð»",dot:"Ë",Dot:"¨",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",downarrow:"â",Downarrow:"â",DownArrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",dscr:"ð¹",Dscr:"ð",dscy:"Ñ",DScy:"Ð
",dsol:"â§¶",dstrok:"Ä",Dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",dzcy:"Ñ",DZcy:"Ð",dzigrarr:"â¿",eacute:"é",Eacute:"Ã",easter:"â©®",ecaron:"Ä",Ecaron:"Ä",ecir:"â",ecirc:"ê",Ecirc:"Ã",ecolon:"â",ecy:"Ñ",Ecy:"Ð",eDDot:"â©·",edot:"Ä",eDot:"â",Edot:"Ä",ee:"â
",efDot:"â",efr:"ð¢",Efr:"ð",eg:"âª",egrave:"è",Egrave:"Ã",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",emacr:"Ä",Emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",eng:"Å",ENG:"Å",ensp:"â",eogon:"Ä",Eogon:"Ä",eopf:"ð",Eopf:"ð¼",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Î",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",escr:"â¯",Escr:"â°",esdot:"â",esim:"â",Esim:"⩳",eta:"η",Eta:"Î",eth:"ð",ETH:"Ã",euml:"ë",Euml:"Ã",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",exponentiale:"â
",ExponentialE:"â
",fallingdotseq:"â",fcy:"Ñ",Fcy:"Ф",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",ffr:"ð£",Ffr:"ð",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",fopf:"ð",Fopf:"ð½",forall:"â",ForAll:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",fscr:"ð»",Fscr:"â±",gacute:"ǵ",gamma:"γ",Gamma:"Î",gammad:"Ï",Gammad:"Ï",gap:"âª",gbreve:"Ä",Gbreve:"Ä",Gcedil:"Ä¢",gcirc:"Ä",Gcirc:"Ä",gcy:"г",Gcy:"Ð",gdot:"Ä¡",Gdot:"Ä ",ge:"â¥",gE:"â§",gel:"â",gEl:"âª",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",gfr:"ð¤",Gfr:"ð",gg:"â«",Gg:"â",ggg:"â",gimel:"â·",gjcy:"Ñ",GJcy:"Ð",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gne:"âª",gnE:"â©",gneq:"âª",gneqq:"â©",gnsim:"â§",gopf:"ð",Gopf:"ð¾",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",gscr:"â",Gscr:"ð¢",gsim:"â³",gsime:"âª",gsiml:"âª",gt:">",Gt:"â«",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"½",hamilt:"â",hardcy:"Ñ",HARDcy:"Ъ",harr:"â",hArr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",hcirc:"Ä¥",Hcirc:"Ĥ",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",hfr:"ð¥",Hfr:"â",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",hopf:"ð",Hopf:"â",horbar:"â",HorizontalLine:"â",hscr:"ð½",Hscr:"â",hslash:"â",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",iacute:"Ã",Iacute:"Ã",ic:"â£",icirc:"î",Icirc:"Ã",icy:"и",Icy:"Ð",Idot:"İ",iecy:"е",IEcy:"Ð",iexcl:"¡",iff:"â",ifr:"ð¦",Ifr:"â",igrave:"ì",Igrave:"Ã",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",ijlig:"ij",IJlig:"IJ",Im:"â",imacr:"Ä«",Imacr:"Ī",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",int:"â«",Int:"â¬",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",iocy:"Ñ",IOcy:"Ð",iogon:"į",Iogon:"Ä®",iopf:"ð",Iopf:"ð",iota:"ι",Iota:"Î",iprod:"⨼",iquest:"¿",iscr:"ð¾",Iscr:"â",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",itilde:"Ä©",Itilde:"Ĩ",iukcy:"Ñ",Iukcy:"Ð",iuml:"ï",Iuml:"Ã",jcirc:"ĵ",Jcirc:"Ä´",jcy:"й",Jcy:"Ð",jfr:"ð§",Jfr:"ð",jmath:"È·",jopf:"ð",Jopf:"ð",jscr:"ð¿",Jscr:"ð¥",jsercy:"Ñ",Jsercy:"Ð",jukcy:"Ñ",Jukcy:"Ð",kappa:"κ",Kappa:"Î",kappav:"ϰ",kcedil:"Ä·",Kcedil:"Ķ",kcy:"к",Kcy:"Ð",kfr:"ð¨",Kfr:"ð",kgreen:"ĸ",khcy:"Ñ
",KHcy:"Ð¥",kjcy:"Ñ",KJcy:"Ð",kopf:"ð",Kopf:"ð",kscr:"ð",Kscr:"ð¦",lAarr:"â",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"â",lambda:"λ",Lambda:"Î",lang:"â¨",Lang:"âª",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"«",larr:"â",lArr:"â",Larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",latail:"â¤",lAtail:"â¤",late:"âª",lates:"âªï¸",lbarr:"â¤",lBarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ä»",lceil:"â",lcub:"{",lcy:"л",Lcy:"Ð",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",le:"â¤",lE:"â¦",LeftAngleBracket:"â¨",leftarrow:"â",Leftarrow:"â",LeftArrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",leftrightarrow:"â",Leftrightarrow:"â",LeftRightArrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",leg:"â",lEg:"âª",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",lfr:"ð©",Lfr:"ð",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",ljcy:"Ñ",LJcy:"Ð",ll:"âª",Ll:"â",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",lmidot:"Å",Lmidot:"Ä¿",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lne:"âª",lnE:"â¨",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",longleftarrow:"âµ",Longleftarrow:"â¸",LongLeftArrow:"âµ",longleftrightarrow:"â·",Longleftrightarrow:"âº",LongLeftRightArrow:"â·",longmapsto:"â¼",longrightarrow:"â¶",Longrightarrow:"â¹",LongRightArrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",lopf:"ð",Lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",lscr:"ð",Lscr:"â",lsh:"â°",Lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",lstrok:"Å",Lstrok:"Å",lt:"<",Lt:"âª",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"¯",male:"â",malt:"â ",maltese:"â ",map:"â¦",Map:"â¤
",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",mcy:"м",Mcy:"Ð",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",mfr:"ðª",Mfr:"ð",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",mopf:"ð",Mopf:"ð",mp:"â",mscr:"ð",Mscr:"â³",mstpos:"â¾",mu:"μ",Mu:"Î",multimap:"â¸",mumap:"â¸",nabla:"â",nacute:"Å",Nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",ncaron:"Å",Ncaron:"Å",ncedil:"Å",Ncedil:"Å
",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",ncy:"н",Ncy:"Ð",ndash:"â",ne:"â ",nearhk:"⤤",nearr:"â",neArr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:"\n",nexist:"â",nexists:"â",nfr:"ð«",Nfr:"ð",nge:"â±",ngE:"â§Ì¸",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",ngt:"â¯",nGt:"â«â",ngtr:"â¯",nGtv:"â«Ì¸",nharr:"â®",nhArr:"â",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",njcy:"Ñ",NJcy:"Ð",nlarr:"â",nlArr:"â",nldr:"â¥",nle:"â°",nlE:"â¦Ì¸",nleftarrow:"â",nLeftarrow:"â",nleftrightarrow:"â®",nLeftrightarrow:"â",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nlt:"â®",nLt:"âªâ",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:" ",nopf:"ð",Nopf:"â",not:"¬",Not:"⫬",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrarr:"â",nrArr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nrightarrow:"â",nRightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",nscr:"ð",Nscr:"ð©",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsube:"â",nsubE:"â«
̸",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupe:"â",nsupE:"â«Ì¸",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",ntilde:"ñ",Ntilde:"Ã",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",nu:"ν",Nu:"Î",num:"#",numero:"â",numsp:"â",nvap:"ââ",nvdash:"â¬",nvDash:"â",nVdash:"â®",nVDash:"â¯",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwarr:"â",nwArr:"â",nwarrow:"â",nwnear:"⤧",oacute:"ó",Oacute:"Ã",oast:"â",ocir:"â",ocirc:"ô",Ocirc:"Ã",ocy:"о",Ocy:"Ð",odash:"â",odblac:"Å",Odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",oelig:"Å",OElig:"Å",ofcir:"⦿",ofr:"ð¬",Ofr:"ð",ogon:"Ë",ograve:"ò",Ograve:"Ã",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",omacr:"Å",Omacr:"Å",omega:"Ï",Omega:"Ω",omicron:"ο",Omicron:"Î",omid:"⦶",ominus:"â",oopf:"ð ",Oopf:"ð",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",or:"â¨",Or:"â©",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",oscr:"â´",Oscr:"ðª",oslash:"ø",Oslash:"Ã",osol:"â",otilde:"õ",Otilde:"Ã",otimes:"â",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ã",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",pcy:"п",Pcy:"Ð",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",pfr:"ð",Pfr:"ð",phi:"Ï",Phi:"Φ",phiv:"Ï",phmmat:"â³",phone:"â",pi:"Ï",Pi:"Î ",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â",pointint:"â¨",popf:"ð¡",Popf:"â",pound:"£",pr:"âº",Pr:"⪻",prap:"⪷",prcue:"â¼",pre:"⪯",prE:"⪳",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",prime:"â²",Prime:"â³",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",pscr:"ð
",Pscr:"ð«",psi:"Ï",Psi:"Ψ",puncsp:"â",qfr:"ð®",Qfr:"ð",qint:"â¨",qopf:"ð¢",Qopf:"â",qprime:"â",qscr:"ð",Qscr:"ð¬",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",quot:'"',QUOT:'"',rAarr:"â",race:"â½Ì±",racute:"Å",Racute:"Å",radic:"â",raemptyv:"⦳",rang:"â©",Rang:"â«",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",rarr:"â",rArr:"â",Rarr:"â ",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",rarrtl:"â£",Rarrtl:"â¤",rarrw:"â",ratail:"â¤",rAtail:"â¤",ratio:"â¶",rationals:"â",rbarr:"â¤",rBarr:"â¤",RBarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",rcaron:"Å",Rcaron:"Å",rcedil:"Å",Rcedil:"Å",rceil:"â",rcub:"}",rcy:"Ñ",Rcy:"Ð ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",reg:"®",REG:"®",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"â",rfr:"ð¯",Rfr:"â",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",rho:"Ï",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"â©",rightarrow:"â",Rightarrow:"â",RightArrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",ropf:"ð£",Ropf:"â",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",rscr:"ð",Rscr:"â",rsh:"â±",Rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",sacute:"Å",Sacute:"Å",sbquo:"â",sc:"â»",Sc:"⪼",scap:"⪸",scaron:"Å¡",Scaron:"Å ",sccue:"â½",sce:"⪰",scE:"⪴",scedil:"Å",Scedil:"Å",scirc:"Å",Scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",scy:"Ñ",Scy:"С",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",searr:"â",seArr:"â",searrow:"â",sect:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",sfr:"ð°",Sfr:"ð",sfrown:"â¢",sharp:"â¯",shchcy:"Ñ",SHCHcy:"Щ",shcy:"Ñ",SHcy:"Ш",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"Â",sigma:"Ï",Sigma:"Σ",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",softcy:"Ñ",SOFTcy:"Ь",sol:"/",solb:"â§",solbar:"â¿",sopf:"ð¤",Sopf:"ð",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",square:"â¡",Square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",sscr:"ð",Sscr:"ð®",ssetmn:"â",ssmile:"â£",sstarf:"â",star:"â",Star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",sub:"â",Sub:"â",subdot:"⪽",sube:"â",subE:"â«
",subedot:"â«",submult:"â«",subne:"â",subnE:"â«",subplus:"⪿",subrarr:"⥹",subset:"â",Subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",sum:"â",Sum:"â",sung:"âª",sup:"â",Sup:"â",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"â«",supe:"â",supE:"â«",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supne:"â",supnE:"â«",supplus:"â«",supset:"â",Supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swarr:"â",swArr:"â",swarrow:"â",swnwar:"⤪",szlig:"Ã",Tab:"\t",target:"â",tau:"Ï",Tau:"Τ",tbrk:"â´",tcaron:"Å¥",Tcaron:"Ť",tcedil:"Å£",Tcedil:"Å¢",tcy:"Ñ",Tcy:"Т",tdot:"â",telrec:"â",tfr:"ð±",Tfr:"ð",there4:"â´",therefore:"â´",Therefore:"â´",theta:"θ",Theta:"Î",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickSpace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",thorn:"þ",THORN:"Ã",tilde:"Ë",Tilde:"â¼",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",topf:"ð¥",Topf:"ð",topfork:"â«",tosa:"⤩",tprime:"â´",trade:"â¢",TRADE:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",tscr:"ð",Tscr:"ð¯",tscy:"Ñ",TScy:"Ц",tshcy:"Ñ",TSHcy:"Ð",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",uacute:"ú",Uacute:"Ã",uarr:"â",uArr:"â",Uarr:"â",Uarrocir:"â¥",ubrcy:"Ñ",Ubrcy:"Ð",ubreve:"Å",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Ã",ucy:"Ñ",Ucy:"У",udarr:"â
",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"ð²",Ufr:"ð",ugrave:"ù",Ugrave:"Ã",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",umacr:"Å«",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",uogon:"ų",Uogon:"Ų",uopf:"ð¦",Uopf:"ð",uparrow:"â",Uparrow:"â",UpArrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",updownarrow:"â",Updownarrow:"â",UpDownArrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",upsi:"Ï
",Upsi:"Ï",upsih:"Ï",upsilon:"Ï
",Upsilon:"Î¥",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",uring:"ů",Uring:"Å®",urtri:"â¹",uscr:"ð",Uscr:"ð°",utdot:"â°",utilde:"Å©",Utilde:"Ũ",utri:"âµ",utrif:"â´",uuarr:"â",uuml:"ü",Uuml:"Ã",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",varr:"â",vArr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",vBar:"⫨",Vbar:"â««",vBarv:"â«©",vcy:"в",Vcy:"Ð",vdash:"â¢",vDash:"â¨",Vdash:"â©",VDash:"â«",Vdashl:"⫦",vee:"â¨",Vee:"â",veebar:"â»",veeeq:"â",vellip:"â®",verbar:"|",Verbar:"â",vert:"|",Vert:"â",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",vfr:"ð³",Vfr:"ð",vltri:"â²",vnsub:"ââ",vnsup:"ââ",vopf:"ð§",Vopf:"ð",vprop:"â",vrtri:"â³",vscr:"ð",Vscr:"ð±",vsubne:"âï¸",vsubnE:"â«ï¸",vsupne:"âï¸",vsupnE:"â«ï¸",Vvdash:"âª",vzigzag:"â¦",wcirc:"ŵ",Wcirc:"Å´",wedbar:"â©",wedge:"â§",Wedge:"â",wedgeq:"â",weierp:"â",wfr:"ð´",Wfr:"ð",wopf:"ð¨",Wopf:"ð",wp:"â",wr:"â",wreath:"â",wscr:"ð",Wscr:"ð²",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",xfr:"ðµ",Xfr:"ð",xharr:"â·",xhArr:"âº",xi:"ξ",Xi:"Î",xlarr:"âµ",xlArr:"â¸",xmap:"â¼",xnis:"â»",xodot:"â¨",xopf:"ð©",Xopf:"ð",xoplus:"â¨",xotime:"â¨",xrarr:"â¶",xrArr:"â¹",xscr:"ð",Xscr:"ð³",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",yacute:"ý",Yacute:"Ã",yacy:"Ñ",YAcy:"Я",ycirc:"Å·",Ycirc:"Ŷ",ycy:"Ñ",Ycy:"Ы",yen:"Â¥",yfr:"ð¶",Yfr:"ð",yicy:"Ñ",YIcy:"Ð",yopf:"ðª",Yopf:"ð",yscr:"ð",Yscr:"ð´",yucy:"Ñ",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"Ð",zdot:"ż",Zdot:"Å»",zeetrf:"â¨",ZeroWidthSpace:"â",zeta:"ζ",Zeta:"Î",zfr:"ð·",Zfr:"â¨",zhcy:"ж",ZHcy:"Ð",zigrarr:"â",zopf:"ð«",Zopf:"â¤",zscr:"ð",Zscr:"ðµ",zwj:"â",zwnj:"â"},y={aacute:"á",Aacute:"Ã",acirc:"â",Acirc:"Ã",acute:"´",aelig:"æ",AElig:"Ã",agrave:"à ",Agrave:"Ã",amp:"&",AMP:"&",aring:"Ã¥",Aring:"Ã
",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ã",brvbar:"¦",ccedil:"ç",Ccedil:"Ã",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"Ã",ecirc:"ê",Ecirc:"Ã",egrave:"è",Egrave:"Ã",eth:"ð",ETH:"Ã",euml:"ë",Euml:"Ã",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"Ã",Iacute:"Ã",icirc:"î",Icirc:"Ã",iexcl:"¡",igrave:"ì",Igrave:"Ã",iquest:"¿",iuml:"ï",Iuml:"Ã",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ã",oacute:"ó",Oacute:"Ã",ocirc:"ô",Ocirc:"Ã",ograve:"ò",Ograve:"Ã",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ã",otilde:"õ",Otilde:"Ã",ouml:"ö",Ouml:"Ã",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"Â",sup1:"¹",sup2:"²",sup3:"³",szlig:"Ã",thorn:"þ",THORN:"Ã",times:"Ã",uacute:"ú",Uacute:"Ã",ucirc:"û",Ucirc:"Ã",ugrave:"ù",Ugrave:"Ã",uml:"¨",uuml:"ü",Uuml:"Ã",yacute:"ý",Yacute:"Ã",yen:"Â¥",yuml:"ÿ"},
vendor: 2,694 bytes, line 2
2b={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,x={}.hasOwnProperty,S=function(e,t){return x.call(e,t)},E=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=S(e,n)?e[n]:t[n];return r},k=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&A("character reference outside the permissible Unicode range"),"�"):S(b,e)?(t&&A("disallowed character reference"),b[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(_,e)&&A("disallowed character reference"),e>65535&&(n+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=w(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},C=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=E(t,T.options)).strict&&g.test(e)&&A("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,i=t.allowUnsafeSymbols,o=t.decimal?C:O,a=function(e){return o(e.charCodeAt(0))};return n?(e=e.replace(c,(function(e){return r&&S(f,e)?"&"+f[e]+";":a(e)})),r&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),r&&(e=e.replace(u,(function(e){return"&"+f[e]+";"})))):r?(i||(e=e.replace(h,(function(e){return"&"+f[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(u,(function(e){return"&"+f[e]+";"}))):i||(e=e.replace(h,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return o(1024*(t-55296)+n-56320+65536)})).replace(l,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var P=function(e,t){var n=(t=E(t,P.options)).strict;return n&&p.test(e)&&A("malformed character reference"),e.replace(m,(function(e,r,i,o,a,s,c,l,u){var f,h,d,p,g,m;return r?v[g=r]:i?(g=i,(m=o)&&t.isAttributeValue?(n&&"="==m&&A("`&` did n
2ot start a character reference"),e):(n&&A("named character reference was not terminated by a semicolon"),y[g]+(m||""))):a?(d=a,h=s,n&&!h&&A("character reference was not terminated by a semicolon"),f=parseInt(d,10),k(f,n)):c?(p=c,h=l,n&&!h&&A("character reference was not terminated by a semicolon"),f=parseInt(p,16),k(f,n)):(n&&A("named character reference was not terminated by a semicolon"),e)}))};P.options={isAttributeValue:!1,strict:!1};var D={version:"1.2.0",encode:T,decode:P,escape:function(e){return e.replace(h,(function(e){return d[e]}))},unescape:P};void 0===(r=function(){return D}.call(t,n,t,e))||(e.exports=r)}()},42358:function(e,t,n){"use strict";n.r(t),n.d(t,{createBrowserHistory:function(){return E},createHashHistory:function(){return P},createLocation:function(){return m},createMemoryHistory:function(){return M},createPath:function(){return g},locationsAreEqual:function(){return v},parsePath:function(){return p}});var r=n(87462);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&i(e),c=t&&i(t),l=s||c;if(e&&i(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var f=0,h=a.length;h>=0;h--){var d=a[h];"."===d?o(a,h):".."===d?(o(a,h),f++):f&&(o(a,h),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),i=s(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(38776);function u(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function g(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(e,t,n,i){var o;"string"==typeof e?(o=p(e)).state=t:(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function _(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function S(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),b||(0,l.Z)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,c=void 0!==s&&s,f=a.getUserConfirmation,p=void 0===f?_:f,v=a.keyLength,E=void 0===v?6:v,k=e.basename?d(u(e.basename)):"";function O(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;
vendor: 6,752 bytes, line 2
2return k&&(o=h(o,k)),m(o,r,n)}function C(){return Math.random().toString(36).substr(2,E)}var A=y();function T(e){(0,r.Z)(U,e),U.length=n.length,A.notifyListeners(U.location,U.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||R(O(e.state))}function D(){R(O(S()))}var M=!1;function R(e){if(M)M=!1,T();else{A.confirmTransitionTo(e,"POP",p,(function(t){t?T({action:"POP",location:e}):function(e){var t=U.location,n=N.indexOf(t.key);-1===n&&(n=0);var r=N.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(M=!0,I(i))}(e)}))}}var j=O(S()),N=[j.key];function L(e){return k+g(e)}function I(e){n.go(e)}var B=0;function F(e){1===(B+=e)&&1===e?(window.addEventListener(w,P),o&&window.addEventListener(x,D)):0===B&&(window.removeEventListener(w,P),o&&window.removeEventListener(x,D))}var z=!1;var U={length:n.length,action:"POP",location:j,createHref:L,push:function(e,t){var r="PUSH",o=m(e,t,C(),U.location);A.confirmTransitionTo(o,r,p,(function(e){if(e){var t=L(o),a=o.key,s=o.state;if(i)if(n.pushState({key:a,state:s},null,t),c)window.location.href=t;else{var l=N.indexOf(U.location.key),u=N.slice(0,l+1);u.push(o.key),N=u,T({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,C(),U.location);A.confirmTransitionTo(o,r,p,(function(e){if(e){var t=L(o),a=o.key,s=o.state;if(i)if(n.replaceState({key:a,state:s},null,t),c)window.location.replace(t);else{var l=N.indexOf(U.location.key);-1!==l&&(N[l]=o.key),T({action:r,location:o})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),t()}},listen:function(e){var t=A.appendListener(e);return F(1),function(){F(-1),t()}}};return U}var k="hashchange",O={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:u},slash:{encodePath:u,decodePath:u}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function A(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(C(window.location.href)+"#"+e)}function P(e){void 0===e&&(e={}),b||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?_:i,a=n.hashType,s=void 0===a?"slash":a,c=e.basename?d(u(e.basename)):"",f=O[s],p=f.encodePath,v=f.decodePath;function w(){var e=v(A());return c&&(e=h(e,c)),m(e)}var x=y();function S(e){(0,r.Z)(z,e),z.length=t.length,x.notifyListeners(z.location,z.action)}var E=!1,P=null;function D(){var e,t,n=A(),r=p(n);if(n!==r)T(r);else{var i=w(),a=z.location;if(!E&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(P===g(i))return;P=null,function(e){if(E)E=!1,S();else{var t="POP";x.confirmTransitionTo(e,t,o,(function(n){n?S({action:t,location:e}):function(e){var t=z.location,n=N.lastIndexOf(g(t));-1===n&&(n=0);var r=N.lastIndexOf(g(e));-1===r&&(r=0);var i=n-r;i&&(E=!0,L(i))}(e)}))}}(i)}}var M=A(),R=p(M);M!==R&&T(R);var j=w(),N=[g(j)];function L(e){t.go(e)}var I=0;function B(e){1===(I+=e)&&1===e?window.addEventListener(k,D):0===I&&window.removeEventListener(k,D)}var F=!1;var z={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+p(c+g(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,z.location);x.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),i=p(c+t);if(A()!==i){P=t,function(e){window.location.hash=e}(i);var o=N.lastIndexOf(g(z.location)),a=N.slice(0,o+1);a.push(t),N=a,S({action:n,location:r})}else S()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,z.location);x.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),i=p(c+t);A()!==i&&(P=t,T(i));var o=N.indexOf(g(z.location));-1!==o&&(N[o]=t),S({action:n,location:r})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=x.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function D(e,t,n){return Math.min(Math.max(e,t),n)}function M(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,a=t.initialIndex,s=void 0===a?0:a,c=t.keyLength,l=void 0===c?6:c,u=y();function f(e){(0,r.Z)(_,e),_.length=_.entries.length,u.notifyListeners(_.location,_.action)}function h(){return Math.random().toString(36).substr(2,l)}var d=D(s,0,o.length-1),p=o.map((function(e){return m(e,void 0,"string"==typeof e?h():e.key||h())})),v=g;function b(e){var t=D(_.index+e,0,_.entries.length-1),r=_.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var _={length:p.length,action:"POP",location:p[d],index:d,entries:p,createHref:v,push:function(e,t){var r="PUSH",i=m(e,t,h(),_.location);u.confirmTransitionTo(i,r,n,(function(e){if(e){var t=_.index+1,n=_.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),f({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=m(e,t,h(),_.location);u.confirmTransitionTo(i,r,n,(function(e){e&&(_.entries[_.index]=i,f({action:r,location:i}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=_.index+e;return t>=0&&t<_.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return _}},8679:function(e,t,n){"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=c(t),g=c(n),m=0;m<a.length;++m){var v=a[m];if(!(o[v]||r&&r[v]||g&&g[v]||s&&s[v])){var y=h(n,v);try{l(t,v,y)}catch(e){}}}}return t}},95449:function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(23719).EVENTS;
2Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},63870:function(e,t,n){var r=n(8753),i=n(12417);function o(e,t){this.init(e,t)}function a(e,t){return i.getElementsByTagName(e,t,!0)}function s(e,t){return i.getElementsByTagName(e,t,!0,1)[0]}function c(e,t,n){return i.getText(i.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=c(n,r,i);o&&(e[t]=o)}n(35717)(o,r),o.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};o.prototype.onend=function(){var e,t,n={},i=s(u,this.dom);i&&("feed"===i.name?(t=i.children,n.type="atom",l(n,"id","id",t),l(n,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=c("updated",t))&&(n.updated=new Date(e)),l(n,"author","email",t,!0),n.items=a("entry",t).map((function(e){var t,n={};return l(n,"id","id",e=e.children),l(n,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=c("summary",e)||c("content",e))&&(n.description=t),(t=c("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=s("channel",i.children).children,n.type=i.name.substr(0,3),n.id="",l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t),(e=c("lastBuildDate",t))&&(n.updated=new Date(e)),l(n,"author","managingEditor",t,!0),n.items=a("item",i.children).map((function(e){var t,n={};return l(n,"id","guid",e=e.children),l(n,"title","title",e),l(n,"link","link",e),l(n,"description","description",e),(t=c("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},e.exports=o},50763:function(e,t,n){var r=n(39889),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(35717)(u,n(17187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in o)for(var t;(t=this._stack[this._stack.length-1])in o[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in s?this._foreignContext.push(!0):e in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in s||e in c)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(l),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataen
2d&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},76321:function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},89924:function(e,t,n){e.exports=i;var r=n(83621);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(35717)(i,r),i.prototype.readable=!0;var a=n(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},39889:function(e,t,n){e.exports=me;var r=n(26),i=n(19489),o=n(40490),a=n(41344),s=0,c=s++,l=s++,u=s++,f=s++,h=s++,d=s++,p=s++,g=s++,m=s++,v=s++,y=s++,b=s++,_=s++,w=s++,x=s++,S=s++,E=s++,k=s++,O=s++,C=s++,A=s++,T=s++,P=s++,D=s++,M=s++,R=s++,j=s++,N=s++,L=s++,I=s++,B=s++,F=s++,z=s++,U=s++,H=s++,q=s++,$=s++,W=s++,V=s++,K=s++,G=s++,Z=s++,Y=s++,X=s++,Q=s++,J=s++,ee=s++,te=s++,ne=s++,re=s++,ie=s++,oe=s++,ae=s++,se=s++,ce=s++,le=0,ue=le++,fe=le++,he=le++;function de(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function pe(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function ge(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=u,this._index--)}}function me(e,t){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=ie,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||de(e)?this._state=c:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=E,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:B,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||de(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){de(e)||(">"===e?this._state=c:this._special!==ue?"s"===e||"S"===e?this._state=F:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||de(e))&&(this._emitToken("onclosetag"),this._state=p,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=c,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===e?this._state=f:de(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):de(e)||(this._state=g,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||de(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):de(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=b,this._sectionStart=this._index+1):"'"===e?(this._state=_,this._sectionStart=this._index+1):de(e)||(this._state=w,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){de(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?T:"-"===e?k:S},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=O,this._sectionStart=this._index+1):this._state=S},me.prototype._stateInComment=function(e){"-"===e&&(this._state=C)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?A:O},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==e&&(this._state=O)},me.prototype._stateBeforeCdata1=pe("C",P,S),me.prototype._stateBeforeCdata2=pe("D",D,S),me.prototype._stateBeforeCdata3=pe("A",M,S),me.prototype._stateBeforeCdata4=pe("T",R,S),me.prototype._stateBeforeCdata5=pe("A",j,S),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=N,this._sectionStart=this._index+1):(this._state=S,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=L)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?I:N},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==e&&(this._state=N)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=z:"t"===e||"T"===e?this._state=Y:(this._state=u,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==fe||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=c:this._state=ee:this._state=W},me.prototype._stateBeforeScript1=ge("R",U),me.prototype._stateBeforeScript2=ge("I",H),me.prototype._stateBeforeScript3=ge("P",q),me.prototype._stateBeforeScript4=ge("T",$),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||de(e))&&(this._special=fe),this._state=u,this._index--},me.prototype._stateAfterScript1=pe("R",V,c),me.prototype._stateAfterScript2=pe("I",K,c),me.prototype._stateAfterScript3=pe("P",G,c),me.prototype._stateAfterScript4=pe("T",Z,c),me.prototype._stateAfterScript5=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},me.prototype._stateBeforeStyle1=ge("Y",X),me.prototype._stateBeforeStyle2=ge("L",Q),me.prototype._stateBeforeStyle3=ge("E",J),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||de(e))&&(this._special=he),this._state=u,this._index--},me.prototype._stateAfterStyle1=pe("Y",te,c),me.prototype._stateAfterStyle2=pe("L",ne,c),me.prototype._stateAfterStyle3=pe("E",re,c),me.prototype._stateAfterStyle4=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},me.prototype._stateBeforeEntity=pe("#",oe,ae),me.prototype._stateBeforeNumericEntity=pe("X",ce,se),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:i;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},me.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(o.hasOwnProperty(n))return this._emitPartial(o[n]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var i=this._buffer.substring(n,this._index),o=parseInt(i,t);this._emitPartial(r(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)}
2,me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===c?this._stateText(e):this._state===l?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===d?this._stateInCloseingTagName(e):this._state===p?this._stateAfterCloseingTagName(e):this._state===f?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===m?this._stateInAttributeName(e):this._state===v?this._stateAfterAttributeName(e):this._state===y?this._stateBeforeAttributeValue(e):this._state===b?this._stateInAttributeValueDoubleQuotes(e):this._state===_?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===E?this._stateInProcessingInstruction(e):this._state===k?this._stateBeforeComment(e):this._state===O?this._stateInComment(e):this._state===C?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===T?this._stateBeforeCdata1(e):this._state===P?this._stateBeforeCdata2(e):this._state===D?this._stateBeforeCdata3(e):this._state===M?this._stateBeforeCdata4(e):this._state===R?this._stateBeforeCdata5(e):this._state===j?this._stateBeforeCdata6(e):this._state===N?this._stateInCdata(e):this._state===L?this._stateAfterCdata1(e):this._state===I?this._stateAfterCdata2(e):this._state===B?this._stateBeforeSpecial(e):this._state===F?this._stateBeforeSpecialEnd(e):this._state===z?this._stateBeforeScript1(e):this._state===U?this._stateBeforeScript2(e):this._state===H?this._stateBeforeScript3(e):this._state===q?this._stateBeforeScript4(e):this._state===$?this._stateBeforeScript5(e):this._state===W?this._stateAfterScript1(e):this._state===V?this._stateAfterScript2(e):this._state===K?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===Z?this._stateAfterScript5(e):this._state===Y?this._stateBeforeStyle1(e):this._state===X?this._stateBeforeStyle2(e):this._state===Q?this._stateBeforeStyle3(e):this._state===J?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===ne?this._stateAfterStyle3(e):this._state===re?this._stateAfterStyle4(e):this._state===ie?this._stateBeforeEntity(e):this._state===oe?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===se?this._stateInNumericEntity(e):this._state===ce?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},me.prototype.pause=function(){this._running=!1},me.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},me.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},me.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},me.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===N||this._state===L||this._state===I?this._cbs.oncdata(e):this._state===O||this._state===C||this._state===A?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==se||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==u&&this._state!==g&&this._state!==y&&this._state!==v&&this._state!==m&&this._state!==_&&this._state!==b&&this._state!==w&&this._state!==d&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},me.prototype.reset=function(){me.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},me.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},me.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},me.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},me.prototype._emitPartial=function(e){this._baseState!==c?this._cbs.onattribdata(e):this._cbs.ontext(e)}},83621:function(e,t,n){e.exports=s;var r=n(50763),i=n(50247).Writable,o=n(32553).s,a=n(48764).Buffer;function s(e,t){var n=this._parser=new r(e,t),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(a.end())}))}n(35717)(s,i),s.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},23719:function(e,t,n){var r=n(50763),i=n(8753);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(39889),ElementType:n(64431),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(63870))},get Stream(){return o("Stream",n(89924))},get WritableStream(){return o("WritableStream",n(83621))},get ProxyHandler(){return o("ProxyHandler",n(76321))},get DomUtils(){return o("DomUtils",n(12417))},get CollectingHandler(){return o("CollectingHandler",n(95449))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new i(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var i=new e.exports.FeedHandler(n);return new r(i,n).end(t),i.dom}
vendor: 1,468 bytes, line 2
2,createDomStream:function(e,t,n){var o=new i(e,t,n);return new r(o,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,l=c>>1,u=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+e[t+f],f+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=h,u-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,l=8*o-i-1,u=(1<<l)-1,f=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+d]=255&a,d+=p,a/=256,l-=8);e[n+d-p]|=128*g}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},41143:function(e){"use strict";
2e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},84554:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function f(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}n.d(t,{Z:function(){return T}});var d=function(){function e(){i(this,e)}return a(e,[{key:"listenForWhisper",value:function(e,t){return this.listen(".client-"+e,t)}},{key:"notification",value:function(e){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",e)}},{key:"stopListeningForWhisper",value:function(e,t){return this.stopListening(".client-"+e,t)}}]),e}(),p=function(){function e(t){i(this,e),this.setNamespace(t)}return a(e,[{key:"format",value:function(e){return"."===e.charAt(0)||"\\"===e.charAt(0)?e.substr(1):(this.namespace&&(e=this.namespace+"."+e),e.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(e){this.namespace=e}}]),e}(),g=function(e){c(n,e);var t=h(n);function n(e,r,o){var a;return i(this,n),(a=t.call(this)).name=r,a.pusher=e,a.options=o,a.eventFormatter=new p(a.options.namespace),a.subscribe(),a}return a(n,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(e,t){return this.on(this.eventFormatter.format(e),t),this}},{key:"listenToAll",value:function(e){var t=this;return this.subscription.bind_global((function(n,r){if(!n.startsWith("pusher:")){var i=t.options.namespace.replace(/\./g,"\\"),o=n.startsWith(i)?n.substring(i.length+1):"."+n;e(o,r)}})),this}},{key:"stopListening",value:function(e,t){return t?this.subscription.unbind(this.eventFormatter.format(e),t):this.subscription.unbind(this.eventFormatter.format(e)),this}},{key:"stopListeningToAll",value:function(e){return e?this.subscription.unbind_global(e):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(e){return this.on("pusher:subscription_succeeded",(function(){e()})),this}},{key:"error",value:function(e){return this.on("pusher:subscription_error",(function(t){e(t)})),this}},{key:"on",value:function(e,t){return this.subscription.bind(e,t),this}}]),n}(d),m=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"whisper",value:function(e,t){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),t),this}}]),n}(g),v=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"whisper",value:function(e,t){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),t),this}}]),n}(g),y=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"here",value:function(e){return this.on("pusher:subscription_succeeded",(function(t){e(Object.keys(t.members).map((function(e){return t.members[e]})))}
2)),this}},{key:"joining",value:function(e){return this.on("pusher:member_added",(function(t){e(t.info)})),this}},{key:"leaving",value:function(e){return this.on("pusher:member_removed",(function(t){e(t.info)})),this}},{key:"whisper",value:function(e,t){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),t),this}}]),n}(g),b=function(e){c(n,e);var t=h(n);function n(e,r,o){var a;return i(this,n),(a=t.call(this)).events={},a.listeners={},a.name=r,a.socket=e,a.options=o,a.eventFormatter=new p(a.options.namespace),a.subscribe(),a}return a(n,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(e,t){return this.on(this.eventFormatter.format(e),t),this}},{key:"stopListening",value:function(e,t){return this.unbindEvent(this.eventFormatter.format(e),t),this}},{key:"subscribed",value:function(e){return this.on("connect",(function(t){e(t)})),this}},{key:"error",value:function(e){return this}},{key:"on",value:function(e,t){var n=this;return this.listeners[e]=this.listeners[e]||[],this.events[e]||(this.events[e]=function(t,r){n.name===t&&n.listeners[e]&&n.listeners[e].forEach((function(e){return e(r)}))},this.socket.on(e,this.events[e])),this.listeners[e].push(t),this}},{key:"unbind",value:function(){var e=this;Object.keys(this.events).forEach((function(t){e.unbindEvent(t)}))}},{key:"unbindEvent",value:function(e,t){this.listeners[e]=this.listeners[e]||[],t&&(this.listeners[e]=this.listeners[e].filter((function(e){return e!==t}))),t&&0!==this.listeners[e].length||(this.events[e]&&(this.socket.removeListener(e,this.events[e]),delete this.events[e]),delete this.listeners[e])}}]),n}(d),_=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"whisper",value:function(e,t){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(e),data:t}),this}}]),n}(b),w=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"here",value:function(e){return this.on("presence:subscribed",(function(t){e(t.map((function(e){return e.user_info})))})),this}},{key:"joining",value:function(e){return this.on("presence:joining",(function(t){return e(t.user_info)})),this}},{key:"leaving",value:function(e){return this.on("presence:leaving",(function(t){return e(t.user_info)})),this}}]),n}(_),x=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(e,t){return this}},{key:"listenToAll",value:function(e){return this}},{key:"stopListening",value:function(e,t){return this}},{key:"subscribed",value:function(e){return this}},{key:"error",value:function(e){return this}},{key:"on",value:function(e,t){return this}}]),n}(d),S=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"whisper",value:function(e,t){return this}}]),n}(x),E=function(e){c(n,e);var t=h(n);function n(){return i(this,n),t.apply(this,arguments)}return a(n,[{key:"here",value:function(e){return this}},{key:"joining",value:function(e){return this}},{key:"leaving",value:function(e){return this}},{key:"whisper",value:function(e,t){return this}}]),n}(x),k=function(){function e(t){i(this,e),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(t),this.connect()}return a(e,[{key:"setOptions",value:function(e){this.options=s(this._defaultOptions,e);var t=this.csrfToken();return t&&(this.options.auth.headers["X-CSRF-TOKEN"]=t,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=t),(t=this.options.bearerToken)&&(this.options.auth.headers.Authorization="Bearer "+t,this.options.userAuthentication.headers.Authorization="Bearer "+t),e}},{key:"csrfToken",value:function(){var e;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(e=document.querySelector('meta[name="csrf-token"]'))?e.getAttribute("content"):null}}]),e}(),O=function(e){c(n,e);var t=h(n);function n(){var e;return i(this,n),(e=t.apply(this,arguments)).channels={},e}
2return a(n,[{key:"connect",value:function(){void 0!==this.options.client?this.pusher=this.options.client:this.options.Pusher?this.pusher=new this.options.Pusher(this.options.key,this.options):this.pusher=new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(e,t,n){return this.channel(e).listen(t,n)}},{key:"channel",value:function(e){return this.channels[e]||(this.channels[e]=new g(this.pusher,e,this.options)),this.channels[e]}},{key:"privateChannel",value:function(e){return this.channels["private-"+e]||(this.channels["private-"+e]=new m(this.pusher,"private-"+e,this.options)),this.channels["private-"+e]}},{key:"encryptedPrivateChannel",value:function(e){return this.channels["private-encrypted-"+e]||(this.channels["private-encrypted-"+e]=new v(this.pusher,"private-encrypted-"+e,this.options)),this.channels["private-encrypted-"+e]}},{key:"presenceChannel",value:function(e){return this.channels["presence-"+e]||(this.channels["presence-"+e]=new y(this.pusher,"presence-"+e,this.options)),this.channels["presence-"+e]}},{key:"leave",value:function(e){var t=this;[e,"private-"+e,"private-encrypted-"+e,"presence-"+e].forEach((function(e,n){t.leaveChannel(e)}))}},{key:"leaveChannel",value:function(e){this.channels[e]&&(this.channels[e].unsubscribe(),delete this.channels[e])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),n}(k),C=function(e){c(n,e);var t=h(n);function n(){var e;return i(this,n),(e=t.apply(this,arguments)).channels={},e}return a(n,[{key:"connect",value:function(){var e=this,t=this.getSocketIO();return this.socket=t(this.options.host,this.options),this.socket.on("reconnect",(function(){Object.values(e.channels).forEach((function(e){e.subscribe()}))})),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(e,t,n){return this.channel(e).listen(t,n)}},{key:"channel",value:function(e){return this.channels[e]||(this.channels[e]=new b(this.socket,e,this.options)),this.channels[e]}},{key:"privateChannel",value:function(e){return this.channels["private-"+e]||(this.channels["private-"+e]=new _(this.socket,"private-"+e,this.options)),this.channels["private-"+e]}},{key:"presenceChannel",value:function(e){return this.channels["presence-"+e]||(this.channels["presence-"+e]=new w(this.socket,"presence-"+e,this.options)),this.channels["presence-"+e]}},{key:"leave",value:function(e){var t=this;[e,"private-"+e,"presence-"+e].forEach((function(e){t.leaveChannel(e)}))}},{key:"leaveChannel",value:function(e){this.channels[e]&&(this.channels[e].unsubscribe(),delete this.channels[e])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),n}(k),A=function(e){c(n,e);var t=h(n);function n(){var e;return i(this,n),(e=t.apply(this,arguments)).channels={},e}return a(n,[{key:"connect",value:function(){}},{key:"listen",value:function(e,t,n){return new x}},{key:"channel",value:function(e){return new x}},{key:"privateChannel",value:function(e){return new S}},{key:"encryptedPrivateChannel",value:function(e){return new S}},{key:"presenceChannel",value:function(e){return new E}},{key:"leave",value:function(e){}},{key:"leaveChannel",value:function(e){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),n}(k),T=function(){function e(t){i(this,e),this.options=t,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return a(e,[{key:"channel",value:function(e){return this.connector.channel(e)}},{key:"connect",value:function(){"pusher"==this.options.broadcaster?this.connector=new O(this.options):"socket.io"==this.options.broadcaster?this.connector=new C(this.options):"null"==this.options.broadcaster?this.connector=new A(this.options):"function"==typeof this.options.broadcaster&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(e){return this.connector.presenceChannel(e)}},{key:"leave",value:function(e){this.connector.leave(e)}},{key:"leaveChannel",value:function(e){this.connector.leaveChannel(e)}},{key:"leaveAllChannels",value:function(){for(var e in this.connector.channels)this.leaveChannel(e)}},{key:"listen",value:function(e,t,n){return this.connector.listen(e,t,n
2)}},{key:"private",value:function(e){return this.connector.privateChannel(e)}},{key:"encryptedPrivate",value:function(e){return this.connector.encryptedPrivateChannel(e)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup(),"object"===("undefined"==typeof Turbo?"undefined":r(Turbo))&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var e=this;Vue.http.interceptors.push((function(t,n){e.socketId()&&t.headers.set("X-Socket-ID",e.socketId()),n()}))}},{key:"registerAxiosRequestInterceptor",value:function(){var e=this;axios.interceptors.request.use((function(t){return e.socketId()&&(t.headers["X-Socket-Id"]=e.socketId()),t}))}},{key:"registerjQueryAjaxSetup",value:function(){var e=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter((function(t,n,r){e.socketId()&&r.setRequestHeader("X-Socket-Id",e.socketId())}))}},{key:"registerTurboRequestInterceptor",value:function(){var e=this;document.addEventListener("turbo:before-fetch-request",(function(t){t.detail.fetchOptions.headers["X-Socket-Id"]=e.socketId()}))}}]),e}()},49090:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},92694:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8273));var c=/(\{[\d|\w]+\})/,l=/(\$ref\{[\w|.]+\})/,u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"function"==typeof n&&(n={customLanguageInterface:n}),this._opts=o({},{customLanguageInterface:s.getInterfaceLanguage,pseudo:!1,pseudoMultipleLanguages:!1,logsEnabled:!0},n),this._interfaceLanguage=this._opts.customLanguageInterface(),this._language=this._interfaceLanguage,this.setContent(t)}return a(e,[{key:"setContent",value:function(e){var t=this,n=Object.keys(e),r=i(n,1)[0];this._defaultLanguage=r,this._defaultLanguageFirstLevelKeys=[],this._props=e,s.validateTranslationKeys(Object.keys(e[this._defaultLanguage])),Object.keys(this._props[this._defaultLanguage]).forEac
2h((function(e){"string"==typeof t._props[t._defaultLanguage][e]&&t._defaultLanguageFirstLevelKeys.push(e)})),this.setLanguage(this._interfaceLanguage),this._opts.pseudo&&this._pseudoAllValues(this._props)}},{key:"_pseudoAllValues",value:function(e){var t=this;Object.keys(e).forEach((function(n){if("object"===r(e[n]))t._pseudoAllValues(e[n]);else if("string"==typeof e[n]){if(0===e[n].indexOf("[")&&e[n].lastIndexOf("]")===e[n].length-1)return;for(var i=e[n].split(" "),o=0;o<i.length;o+=1)if(i[o].match(c));else if(i[o].match(l));else{var a=i[o].length;t._opts.pseudoMultipleLanguages&&(a=parseInt(1.4*a,10)),i[o]=s.randomPseudo(a)}e[n]="["+i.join(" ")+"]"}}))}},{key:"setLanguage",value:function(e){var t=this,n=s.getBestMatchingLanguage(e,this._props),r=Object.keys(this._props)[0];if(this._language=n,this._props[n]){for(var i=0;i<this._defaultLanguageFirstLevelKeys.length;i+=1)delete this[this._defaultLanguageFirstLevelKeys[i]];var a=o({},this._props[this._language]);Object.keys(a).forEach((function(e){t[e]=a[e]})),r!==this._language&&(a=this._props[r],this._fallbackValues(a,this))}}},{key:"_fallbackValues",value:function(e,t){var n=this;Object.keys(e).forEach((function(r){Object.prototype.hasOwnProperty.call(e,r)&&!t[r]&&""!==t[r]?(t[r]=e[r],n._opts.logsEnabled&&console.log("ð§ ð· key '"+r+"' not found in localizedStrings for language "+n._language+" ð§")):"string"!=typeof t[r]&&n._fallbackValues(e[r],t[r])}))}},{key:"getLanguage",value:function(){return this._language}},{key:"getInterfaceLanguage",value:function(){return this._interfaceLanguage}},{key:"getAvailableLanguages",value:function(){var e=this;return this._availableLanguages||(this._availableLanguages=[],Object.keys(this._props).forEach((function(t){e._availableLanguages.push(t)}))),this._availableLanguages}},{key:"formatString",value:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=e||"";return"string"==typeof o&&(o=this.getString(e,null,!0)||o),o.split(l).filter((function(e){return!!e})).map((function(n){if(n.match(l)){var r=n.slice(5,-1),i=t.getString(r);return i||(t._opts.logsEnabled&&console.log("No Localization ref found for '"+n+"' in string '"+e+"'"),"$ref(id:"+r+")")}return n})).join("").split(c).filter((function(e){return!!e})).map((function(e){if(e.match(c)){var t=e.slice(1,-1),n=r[t];if(void 0===n){var i=r[0][t];if(void 0===i)return n;n=i}return n}return e})).join("")}},{key:"getString",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{for(var r=this._props[t||this._language],i=e.split("."),o=0;o<i.length;o+=1){if(void 0===r[i[o]])throw Error(i[o]);r=r[i[o]]}return r}catch(r){!n&&this._opts.logsEnabled&&console.log("No localization found for key '"+e+"' and language '"+t+"', failed on "+r.message)}return null}},{key:"getContent",value:function(){return this._props}}]),e}();t.default=u},8273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInterfaceLanguage=function(){var e="en-US";if("undefined"==typeof navigator)return e;var t=navigator;if(t){if(t.language)return t.language;if(t.languages&&t.languages[0])return t.languages[0];if(t.userLanguage)return t.userLanguage;if(t.browserLanguage)return t.browserLanguage}return e},t.getBestMatchingLanguage=function(e,t){if(t[e])return e;var n=e.indexOf("-"),r=n>=0?e.substring(0,n):e;return t[r]?r:Object.keys(t)[0]},t.validateTranslationKeys=function(e){var t=["_interfaceLanguage","_language","_defaultLanguage","_defaultLanguageFirstLevelKeys","_props"];e.forEach((function(e){if(-1!==t.indexOf(e))throw new Error(e+" cannot be used as a key. It is a reserved word.")}))},t.randomPseudo=function(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<e;r+=1)t+=n.charAt(Math.floor(Math.random()*n.length));return t}},5089:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;var a=Object.prototype,s=a.hasOwnProperty,c=a.toString,l=a.propertyIsEnumerable,u=Math.max;function f(e,t){var r=m(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&v(e)}(e)&&s.call(e,"callee")&&(!l.call(e,"callee")||c.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!s.call(e,a)||o&&("length"==a||p(a,i))||r.push(a);return r}function h(e,t,n){var r=e[t];s.call(e,t)&&g(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function d(e){if(!y(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n,r,i=(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||a,t===r),o=[];
2for(var c in e)("constructor"!=c||!i&&s.call(e,c))&&o.push(c);return o}function p(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}function g(e,t){return e===t||e!=e&&t!=t}var m=Array.isArray;function v(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=y(e)?c.call(e):"";return t==r||t==i}(e)}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var b,_,w,x=(b=function(e,t){!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;h(n,a,void 0===s?e[a]:s)}}(t,function(e){return v(e)?f(e,!0):d(e)}(t),e)},_=function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=b.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!y(n))return!1;var r=typeof t;return!!("number"==r?v(n)&&p(t,n.length):"string"==r&&t in n)&&g(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&b(e,a,n,i)}return e},w=u(void 0===w?_.length-1:w,0),function(){for(var e=arguments,t=-1,n=u(e.length-w,0),r=Array(n);++t<n;)r[t]=e[w+t];t=-1;for(var i=Array(w+1);++t<w;)i[t]=e[t];return i[w]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(_,this,i)});e.exports=x},74067:function(e,t,n){var r="Expected a function",i="__lodash_placeholder__",o=1,a=2,s=4,c=8,l=16,u=32,f=64,h=128,d=512,p=1/0,g=9007199254740991,m=17976931348623157e292,v=NaN,y=[["ary",h],["bind",o],["bindKey",a],["curry",c],["curryRight",l],["flip",d],["partial",u],["partialRight",f],["rearg",256]],b="[object Function]",_="[object GeneratorFunction]",w="[object Symbol]",x=/^\s+|\s+$/g,S=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E=/\{\n\/\* \[wrapped with (.+)\] \*/,k=/,? & /,O=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,A=/^\[object .+?Constructor\]$/,T=/^0o[0-7]+$/i,P=/^(?:0|[1-9]\d*)$/,D=parseInt,M="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,R="object"==typeof self&&self&&self.Object===Object&&self,j=M||R||Function("return this")();function N(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function L(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){var i=e.length,o=n+(r?1:-1);for(;r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,I,n);var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function I(e){return e!=e}function B(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}var F,z,U,H=Function.prototype,q=Object.prototype,$=j["__core-js_shared__"],W=(F=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",V=H.toString,K=q.hasOwnProperty,G=q.toString,Z=RegExp("^"+V.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=Object.create,X=Math.max,Q=Math.min,J=(z=ae(Object,"defineProperty"),(U=ae.name)&&U.length>2?z:void 0);function ee(e){if(!de(e)||function(e){return!!W&&W in e}(e))return!1;var t=function(e){var t=de(e)?G.call(e):"";return t==b||t==_}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Z:A;return t.test(function(e){if(null!=e){try{return V.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function te(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n,r=de(n=e.prototype)?Y(n):{},i=e.apply(r,t);return de(i)?i:r}}function ne(e,t,n,r,i,s,u,f,p,g){var m=t&h,v=t&o,y=t&a,b=t&(c|l),_=t&d,w=y?void 0:te(e);return function o(){for(var a=arguments.length,c=Array(a),l=a;l--;)c[l]=arguments[l];if(b)var h=oe(o),d=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}(c,h);if(r&&(c=function(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,l=X(o-a,0),u=Array(c+l),f=!r;++s<c;)u[s]=t[s];for(;++i<a;)(f||i<o)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}(c,r,i,b)),s&&(c=function(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,l=t.length,u=X(o-s,0),f=Array(u+l),h=!r;++i<u;)f[i]=e[i];for(var d=i;++c<l;)f[d+c]=t[c];for(;++a<s;)(h||i<o)&&(f[d+n[a]]=e[i++]);return f}(c,s,u,b)),a-=d,b&&a<g){var x=B(c,h);return re(e,t,ne,o.placeholder,n,c,x,f,p,g-a)}var S=v?n:this,E=y?S[e]:e;return a=c.length,f?c=function(e,t){var n=e.length,r=Q(t.length,n),i=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);for(;r--;){var o=t[r];e[r]=le(o,n)?i[o]:void 0}return e}(c,f):_&&a>1&&c.reverse(),m&&p<a&&(c.length=p),this&&this!==j&&this instanceof o&&(E=w||te(E)),E.apply(S,c)}}function re(e,t,n,r,i,l,h,d,p,g){var m=t&c;t|=m?u:f,(t&=~(m?f:u))&s||(t&=~(o|a));var v=n(e,t,i,m?l:void 0,m?h:void 0,m?void 0:l,m?void 0:h,d,p,g);return v.placeholder=r,ue(v,e,t)}function ie(e,t,n,i,s,h,d,p){var g=t&a;if(!g&&"function"!=typeof e)throw new TypeError(r);var m=i?i.length:0;if(m||(t&=~(u|f),i=s=void 0),d=void 0===d?d:X(ge(d),0),p=void 0===p?p:ge(p),m-=s?s.length:0,t&f){var v=i,y=s;i=s=void 0}var b=[e,t,n,i,s,v,y,h,d,p];if(e=b[0],t=b[1],n=b[2],i=b[3],s=b[4],!(p=b[9]=null==b[9]?g?0:e.length:X(b[9]-m,0))&&t&(c|l)&&(t&=~(c|l)),t&&t!=o)_=t==c||t==l?function(e,t,n){var r=te(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,c=oe(i);s--;)a[s]=arguments[s];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:B(a,c);return(o-=l.length)<n?re(e,t,ne,i.placeholder,void 0,a,l,void 0,void 0,n-o):N(this&&this!==j&&this instanceof i?r:e,this,a)}}(e,t,p):t!=u&&t!=(o|u)||s.length?ne.apply(void 0,b):function(e,t,n,r){var i=t&o,a=te(e);return function t(){for(var o=-1,s=arguments.length,c=-1,l=r.length,u=Array(l+s),f=this&&this!==j&&this instanceof t?a:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++o];return N(f,i?n:this,u)}}(e,t,n,i);else var _=function(e,t,n){var r=t&o,i=te(e);return function t(){return(this&&this!==j&&this instanceof t?i:e).apply(r?n:this,arguments)}}
2(e,t,n);return ue(_,e,t)}function oe(e){return e.placeholder}function ae(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ee(n)?n:void 0}function se(e){var t=e.match(E);return t?t[1].split(k):[]}function ce(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(S,"{\n/* [wrapped with "+t+"] */\n")}function le(e,t){return!!(t=null==t?g:t)&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}var ue=J?function(e,t,n){var r,i=t+"";return J(e,"toString",{configurable:!0,enumerable:!1,value:(r=ce(i,fe(se(i),n)),function(){return r})})}:function(e){return e};function fe(e,t){return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(y,(function(n){var r="_."+n[0];t&n[1]&&!L(e,r)&&e.push(r)})),e.sort()}var he=function(e,t){return t=X(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=X(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=n[r];return a[t]=o,N(e,this,a)}}((function(e,t,n){var r=o;if(n.length){var i=B(n,oe(he));r|=u}return ie(e,r,t,n,i)}));function de(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function pe(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&G.call(e)==w}(e))return v;if(de(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=de(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(x,"");var n=C.test(e);return n||T.test(e)?D(e.slice(2),n?2:8):O.test(e)?v:+e}(e))===p||e===-p?(e<0?-1:1)*m:e==e?e:0:0===e?e:0}function ge(e){var t=pe(e),n=t%1;return t==t?n?t-n:t:0}he.placeholder={},e.exports=he},83465:function(e,t,n){e=n.nmd(e);var r=200,i="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",s="[object Boolean]",c="[object Date]",l="[object Function]",u="[object GeneratorFunction]",f="[object Map]",h="[object Number]",d="[object Object]",p="[object Promise]",g="[object RegExp]",m="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",x="[object Float32Array]",S="[object Float64Array]",E="[object Int8Array]",k="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",A="[object Uint8ClampedArray]",T="[object Uint16Array]",P="[object Uint32Array]",D=/\w*$/,M=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,j={};j[a]=j["[object Array]"]=j[_]=j[w]=j[s]=j[c]=j[x]=j[S]=j[E]=j[k]=j[O]=j[f]=j[h]=j[d]=j[g]=j[m]=j[v]=j[y]=j[C]=j[A]=j[T]=j[P]=!0,j["[object Error]"]=j[l]=j[b]=!1;var N="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,L="object"==typeof self&&self&&self.Object===Object&&self,I=N||L||Function("return this")(),B=t&&!t.nodeType&&t,F=B&&e&&!e.nodeType&&e,z=F&&F.exports===B;function U(e,t){return e.set(t[0],t[1]),e}function H(e,t){return e.add(t),e}function q(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function $(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function V(e,t){return function(n){return e(t(n))}}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var G,Z=Array.prototype,Y=Function.prototype,X=Object.prototype,Q=I["__core-js_shared__"],J=(G=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",ee=Y.toString,te=X.hasOwnProperty,ne=X.toString,re=RegExp("^"+ee.call(te).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ie=z?I.Buffer:void 0,oe=I.Symbol,ae=I.Uint8Array,se=V(Object.getPrototypeOf,Object),ce=Object.create,le=X.propertyIsEnumerable,ue=Z.splice,fe=Object.getOwnPropertySymbols,he=ie?ie.isBuffer:void 0,de=V(Object.keys,Object),pe=Fe(I,"DataView"),ge=Fe(I,"Map"),me=Fe(I,"Promise"),ve=Fe(I,"Set"),ye=Fe(I,"WeakMap"),be=Fe(Object,"create"),_e=$e(pe),we=$e(ge),xe=$e(me),Se=$e(ve),Ee=$e(ye),ke=oe?oe.prototype:void 0,Oe=ke?ke.valueOf:void 0;function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Pe(e){this.__data__=new Ae(e)}function De(e,t){var n=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ke(e)}(e)&&te.call(e,"callee")&&(!le.call(e,"callee")||ne.call(e)==a)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!te.call(e,o)||i&&("length"==o||He(o,r))||n.push(o);return n}function Me(e,t,n){var r=e[t];
vendor: 6,532 bytes, line 2
2te.call(e,t)&&We(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Re(e,t){for(var n=e.length;n--;)if(We(e[n][0],t))return n;return-1}function je(e,t,n,r,i,o,p){var b;if(r&&(b=o?r(e,i,o,p):r(e)),void 0!==b)return b;if(!Ye(e))return e;var M=Ve(e);if(M){if(b=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,b)}else{var R=Ue(e),N=R==l||R==u;if(Ge(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(R==d||R==a||N&&!o){if($(e))return o?e:{};if(b=function(e){return"function"!=typeof e.constructor||qe(e)?{}:(t=se(e),Ye(t)?ce(t):{});var t}(N?{}:e),!t)return function(e,t){return Ie(e,ze(e),t)}(e,function(e,t){return e&&Ie(t,Xe(t),e)}(b,e))}else{if(!j[R])return o?e:{};b=function(e,t,n,r){var i=e.constructor;switch(t){case _:return Le(e);case s:case c:return new i(+e);case w:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case x:case S:case E:case k:case O:case C:case A:case T:case P:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case f:return function(e,t,n){var r=t?n(W(e),!0):W(e);return q(r,U,new e.constructor)}(e,r,n);case h:case v:return new i(e);case g:return function(e){var t=new e.constructor(e.source,D.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,n){var r=t?n(K(e),!0):K(e);return q(r,H,new e.constructor)}(e,r,n);case y:return o=e,Oe?Object(Oe.call(o)):{}}var o}(e,R,je,t)}}p||(p=new Pe);var L=p.get(e);if(L)return L;if(p.set(e,b),!M)var I=n?function(e){return function(e,t,n){var r=t(e);return Ve(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Xe,ze)}(e):Xe(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(I||e,(function(i,o){I&&(i=e[o=i]),Me(b,o,je(i,t,n,r,o,e,p))})),b}function Ne(e){return!(!Ye(e)||(t=e,J&&J in t))&&(Ze(e)||$(e)?re:M).test($e(e));var t}function Le(e){var t=new e.constructor(e.byteLength);return new ae(t).set(new ae(e)),t}function Ie(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Me(n,a,void 0===s?e[a]:s)}return n}function Be(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Fe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ne(n)?n:void 0}Ce.prototype.clear=function(){this.__data__=be?be(null):{}},Ce.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ce.prototype.get=function(e){var t=this.__data__;if(be){var n=t[e];return n===i?void 0:n}return te.call(t,e)?t[e]:void 0},Ce.prototype.has=function(e){var t=this.__data__;return be?void 0!==t[e]:te.call(t,e)},Ce.prototype.set=function(e,t){return this.__data__[e]=be&&void 0===t?i:t,this},Ae.prototype.clear=function(){this.__data__=[]},Ae.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},Ae.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Ae.prototype.has=function(e){return Re(this.__data__,e)>-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new Ce,map:new(ge||Ae),string:new Ce}},Te.prototype.delete=function(e){return Be(this,e).delete(e)},Te.prototype.get=function(e){return Be(this,e).get(e)},Te.prototype.has=function(e){return Be(this,e).has(e)},Te.prototype.set=function(e,t){return Be(this,e).set(e,t),this},Pe.prototype.clear=function(){this.__data__=new Ae},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var i=n.__data__;if(!ge||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Te(i)}return n.set(e,t),this};var ze=fe?V(fe,Object):function(){return[]},Ue=function(e){return ne.call(e)};function He(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||R.test(e))&&e>-1&&e%1==0&&e<t}function qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}function $e(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(e,t){return e===t||e!=e&&t!=t}(pe&&Ue(new pe(new ArrayBuffer(1)))!=w||ge&&Ue(new ge)!=f||me&&Ue(me.resolve())!=p||ve&&Ue(new ve)!=m||ye&&Ue(new ye)!=b)&&(Ue=function(e){var t=ne.call(e),n=t==d?e.constructor:void 0,r=n?$e(n):void 0;if(r)switch(r){case _e:return w;case we:return f;case xe:return p;case Se:return m;case Ee:return b}return t});var Ve=Array.isArray;function Ke(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}(e.length)&&!Ze(e)}var Ge=he||function(){return!1};function Ze(e){var t=Ye(e)?ne.call(e):"";return t==l||t==u}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Xe(e){return Ke(e)?De(e):function(e){if(!qe(e))return de(e);var t=[];for(var n in Object(e))te.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return je(e,!0,!0)}},55402:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var s=Object.prototype,c=s.hasOwnProperty,l=s.toString,u=s.propertyIsEnumerable,f=Math.max;function h(e,t){var r=b(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&_(e)}(e)&&c.call(e,"callee")&&(!u.call(e,"callee")||l.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!c.call(e,a)||o&&("length"==a||v(a,i))||r.push(a);return r}function d(e,t,n,r){return void 0===e||y(e,s[n])&&!c.call(r,n)?t:e}function p(e,t,n){var r=e[t];c.call(e,t)&&y(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function g(e){if(!w(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n,r,i=(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||s,t===r),o=[];
vendor: 6,615 bytes, line 2
2for(var a in e)("constructor"!=a||!i&&c.call(e,a))&&o.push(a);return o}function m(e,t){return t=f(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=f(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=n[r];return s[t]=o,a(e,this,s)}}function v(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}function y(e,t){return e===t||e!=e&&t!=t}var b=Array.isArray;function _(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=w(e)?l.call(e):"";return t==r||t==i}(e)}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var x,S=(x=function(e,t,n,r){!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;p(n,a,void 0===s?e[a]:s)}}(t,function(e){return _(e)?h(e,!0):g(e)}(t),e,r)},m((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=x.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!w(n))return!1;var r=typeof t;return!!("number"==r?_(n)&&v(t,n.length):"string"==r&&t in n)&&y(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&x(e,a,n,i)}return e}))),E=m((function(e){return e.push(void 0,d),a(S,void 0,e)}));e.exports=E},4474:function(e,t,n){e=n.nmd(e);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,l=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",_="[object Promise]",w="[object RegExp]",x="[object Set]",S="[object String]",E="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,P=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[u]=N[f]=N[O]=N[h]=N[C]=N[d]=N[p]=N[g]=N[v]=N[y]=N[b]=N[w]=N[x]=N[S]=N[k]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=L||I||Function("return this")(),F=t&&!t.nodeType&&t,z=F&&e&&!e.nodeType&&e,U=z&&z.exports===F&&L.process,H=function(){try{return U&&U.binding("util")}catch(e){}}(),q=H&&H.isTypedArray;function $(e,t){for(var n=-1,r=e?e.length:0,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function W(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Z,Y,X,Q=Array.prototype,J=Function.prototype,ee=Object.prototype,te=B["__core-js_shared__"],ne=(Z=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",re=J.toString,ie=ee.hasOwnProperty,oe=ee.toString,ae=RegExp("^"+re.call(ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),se=B.Symbol,ce=B.Uint8Array,le=ee.propertyIsEnumerable,ue=Q.splice,fe=(Y=Object.keys,X=Object,function(e){return Y(X(e))}),he=Ke(B,"DataView"),de=Ke(B,"Map"),pe=Ke(B,"Promise"),ge=Ke(B,"Set"),me=Ke(B,"WeakMap"),ve=Ke(Object,"create"),ye=tt(he),be=tt(de),_e=tt(pe),we=tt(ge),xe=tt(me),Se=se?se.prototype:void 0,Ee=Se?Se.valueOf:void 0,ke=Se?Se.toString:void 0;function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ae;++t<n;)this.add(e[t])}function Pe(e){this.__data__=new Ce(e)}function De(e,t){var n=ot(e)||it(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ie.call(e,o)||i&&("length"==o||Ze(o,r))||n.push(o);return n}function Me(e,t){for(var n=e.length;n--;)if(rt(e[n][0],t))return n;return-1}Oe.prototype.clear=function(){this.__data__=ve?ve(null):{}},Oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Oe.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===o?void 0:n}return ie.call(t,e)?t[e]:void 0},Oe.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ie.call(t,e)},Oe.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?o:t,this},Ce.prototype.clear=function(){this.__data__=[]},Ce.prototype.delete=function(e){var t=this.__data__,n=Me(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},Ce.prototype.get=function(e){var t=this.__data__,n=Me(t,e);return n<0?void 0:t[n][1]},Ce.prototype.has=function(e){return Me(this.__data__,e)>-1},Ce.prototype.set=function(e,t){var n=this.__data__,r=Me(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new Oe,map:new(de||Ce),string:new Oe}},Ae.prototype.delete=function(e){return Ve(this,e).delete(e)},Ae.prototype.get=function(e){return Ve(this,e).get(e)},Ae.prototype.has=function(e){return Ve(this,e).has(e)},Ae.prototype.set=function(e,t){return Ve(this,e).set(e,t),this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,o),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new Ce},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var i=n.__data__;if(!de||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ae(i)}return n.set(e,t),this};var Re,je,Ne=(Re=function(e,t){return e&&Ie(e,t,dt)},function(e,t){if(null==e)return e;if(!at(e))return Re(e,t);for(var n=e.length,r=je?n:-1,i=Object(e);(je?r--:++r<n)&&!1!==t(i[r],r,i););return e});function Le(e,t){var n=[];return Ne(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}var Ie=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r
vendor: 7,675 bytes, line 2
2(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function Be(e,t){for(var n=0,r=(t=Ye(t,e)?[t]:$e(t)).length;null!=e&&n<r;)e=e[et(t[n++])];return n&&n==r?e:void 0}function Fe(e,t){return null!=e&&t in Object(e)}function ze(e,t,n,r,i){return e===t||(null==e||null==t||!lt(e)&&!ut(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var c=ot(e),l=ot(t),g=f,m=f;c||(g=(g=Ge(e))==u?b:g);l||(m=(m=Ge(t))==u?b:m);var _=g==b&&!V(e),k=m==b&&!V(t),A=g==m;if(A&&!_)return o||(o=new Pe),c||ht(e)?We(e,t,n,r,i,o):function(e,t,n,r,i,o,c){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!r(new ce(e),new ce(t)));case h:case d:case y:return rt(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case v:var l=K;case x:var u=o&s;if(l||(l=G),e.size!=t.size&&!u)return!1;var f=c.get(e);if(f)return f==t;o|=a,c.set(e,t);var g=We(l(e),l(t),r,i,o,c);return c.delete(e),g;case E:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,g,n,r,i,o);if(!(i&s)){var T=_&&ie.call(e,"__wrapped__"),P=k&&ie.call(t,"__wrapped__");if(T||P){var D=T?e.value():e,M=P?t.value():t;return o||(o=new Pe),n(D,M,r,i,o)}}if(!A)return!1;return o||(o=new Pe),function(e,t,n,r,i,o){var a=i&s,c=dt(e),l=c.length,u=dt(t),f=u.length;if(l!=f&&!a)return!1;var h=l;for(;h--;){var d=c[h];if(!(a?d in t:ie.call(t,d)))return!1}var p=o.get(e);if(p&&o.get(t))return p==t;var g=!0;o.set(e,t),o.set(t,e);var m=a;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=a?r(y,v,d,t,e,o):r(v,y,d,e,t,o);if(!(void 0===b?v===y||n(v,y,r,i,o):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,i,o)}(e,t,ze,n,r,i))}function Ue(e){return!(!lt(e)||function(e){return!!ne&&ne in e}(e))&&(st(e)||V(e)?ae:R).test(tt(e))}function He(e){return"function"==typeof e?e:null==e?pt:"object"==typeof e?ot(e)?function(e,t){if(Ye(e)&&Xe(t))return Qe(et(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Be(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Ye(t,e)?[t]:$e(t);var r,i=-1,o=t.length;for(;++i<o;){var a=et(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;o=e?e.length:0;return!!o&&ct(o)&&Ze(a,o)&&(ot(e)||it(e))}(e,t,Fe)}(n,e):ze(t,r,void 0,a|s)}}(e[0],e[1]):function(e){var t=function(e){var t=dt(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Xe(i)]}return t}(e);if(1==t.length&&t[0][2])return Qe(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,c=!r;if(null==e)return!o;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var u=(l=n[i])[0],f=e[u],h=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var d=new Pe;if(r)var p=r(f,h,u,e,t,d);if(!(void 0===p?ze(h,f,r,a|s,d):p))return!1}}return!0}(n,e,t)}}(e):Ye(t=e)?(n=et(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Be(t,e)}}(t);var t,n}function qe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||ee,t!==r)return fe(e);var t,n,r,i=[];for(var o in Object(e))ie.call(e,o)&&"constructor"!=o&&i.push(o);return i}function $e(e){return ot(e)?e:Je(e)}function We(e,t,n,r,i,o){var c=i&s,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var h=-1,d=!0,p=i&a?new Te:void 0;for(o.set(e,t),o.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,o):r(g,m,h,e,t,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!W(t,(function(e,t){if(!p.has(t)&&(g===e||n(g,e,r,i,o)))return p.add(t)}))){d=!1;break}}else if(g!==m&&!n(g,m,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ue(n)?n:void 0}var Ge=function(e){return oe.call(e)};function Ze(e,t){return!!(t=null==t?l:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ye(e,t){if(ot(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ft(e))||(T.test(e)||!A.test(e)||null!=t&&e in Object(t))}function Xe(e){return e==e&&!lt(e)}function Qe(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(he&&Ge(new he(new ArrayBuffer(1)))!=C||de&&Ge(new de)!=v||pe&&Ge(pe.resolve())!=_||ge&&Ge(new ge)!=x||me&&Ge(new me)!=k)&&(Ge=function(e){var t=oe.call(e),n=t==b?e.constructor:void 0,r=n?tt(n):void 0;if(r)switch(r){case ye:return C;case be:return v;case _e:return _;case we:return x;case xe:return k}return t});var Je=nt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ft(e))return ke?ke.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}(t);var n=[];return P.test(e)&&n.push(""),e.replace(D,(function(e,t,r,i){n.push(r?i.replace(M,"$1"):t||e)})),n}));function et(e){if("string"==typeof e||ft(e))return e;var t=e+"";return"0"==t&&1/e==-c?"-0":t}function tt(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function nt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(nt.Cache||Ae),n}function rt(e,t){return e===t||e!=e&&t!=t}function it(e){return function(e){return ut(e)&&at(e)}(e)&&ie.call(e,"callee")&&(!le.call(e,"callee")||oe.call(e)==u)}nt.Cache=Ae;var ot=Array.isArray;function at(e){return null!=e&&ct(e.length)&&!st(e)}function st(e){var t=lt(e)?oe.call(e):"";return t==g||t==m}function ct(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function lt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ut(e){return!!e&&"object"==typeof e}function ft(e){return"symbol"==typeof e||ut(e)&&oe.call(e)==E}var ht=q?function(e){return function(t){return e(t)}}(q):function(e){return ut(e)&&ct(e.length)&&!!N[oe.call(e)]};function dt(e){return at(e)?De(e):qe(e)}function pt(e){return e}e.exports=function(e,t){return(ot(e)?$:Le)(e,He(t))}},5800:function(e,t,n){var r=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=s||c||Function("return this")();function u(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var f=Object.prototype,h=f.hasOwnProperty,d=f.toString,p=l.Symbol,g=f.propertyIsEnumerable,m=p?p.isConcatSpreadable:void 0;function v(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=y),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?v(s,t-1,n,r,i):u(i,s):r||(i[i.length]=s)}return i}function y(e){return b(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?d.call(e):"";return t==o||t==a}(e)}(e)}(e)&&h.call(e,"callee")&&(!g.call(e,"callee")||d.call(e)==i)}(e)||!!(m&&e&&e[m])}var b=Array.isArray;e.exports=function(e){return(e?e.length:0)?v(e,1):[]}},43590:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;function a(e,t){for(var n=-1,r=e?e.length:0;
vendor: 4,684 bytes, line 2
2++n<r&&!1!==t(e[n],n,e););return e}var s,c,l=Object.prototype,u=l.hasOwnProperty,f=l.toString,h=l.propertyIsEnumerable,d=(s=Object.keys,c=Object,function(e){return s(c(e))});function p(e,t){var r=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&x(e)}(e)&&u.call(e,"callee")&&(!h.call(e,"callee")||f.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!u.call(e,a)||o&&("length"==a||_(a,i))||r.push(a);return r}var g,m,v=(g=function(e,t){return e&&y(e,t,S)},function(e,t){if(null==e)return e;if(!x(e))return g(e,t);for(var n=e.length,r=m?n:-1,i=Object(e);(m?r--:++r<n)&&!1!==t(i[r],r,i););return e}),y=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function b(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||l,t!==r)return d(e);var t,n,r,i=[];for(var o in Object(e))u.call(e,o)&&"constructor"!=o&&i.push(o);return i}function _(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}var w=Array.isArray;function x(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?f.call(e):"";return t==r||t==i}(e)}function S(e){return x(e)?p(e):b(e)}function E(e){return e}e.exports=function(e,t){return(w(e)?a:v)(e,"function"==typeof t?t:E)}},72307:function(e,t,n){e=n.nmd(e);var r=200,i="__lodash_hash_undefined__",o=1,a=2,s=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",f="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",g="[object GeneratorFunction]",m="[object Map]",v="[object Number]",y="[object Null]",b="[object Object]",_="[object Promise]",w="[object Proxy]",x="[object RegExp]",S="[object Set]",E="[object String]",k="[object Symbol]",O="[object Undefined]",C="[object WeakMap]",A="[object ArrayBuffer]",T="[object DataView]",P=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[c]=M[l]=M[A]=M[f]=M[T]=M[h]=M[d]=M[p]=M[m]=M[v]=M[b]=M[x]=M[S]=M[E]=M[C]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,N=R||j||Function("return this")(),L=t&&!t.nodeType&&t,I=L&&e&&!e.nodeType&&e,B=I&&I.exports===L,F=B&&R.process,z=function(){try{return F&&F.binding&&F.binding("util")}catch(e){}}(),U=z&&z.isTypedArray;function H(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function q(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function $(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var W,V,K,G=Array.prototype,Z=Function.prototype,Y=Object.prototype,X=N["__core-js_shared__"],Q=Z.toString,J=Y.hasOwnProperty,ee=(W=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",te=Y.toString,ne=RegExp("^"+Q.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=B?N.Buffer:void 0,ie=N.Symbol,oe=N.Uint8Array,ae=Y.propertyIsEnumerable,se=G.splice,ce=ie?ie.toStringTag:void 0,le=Object.getOwnPropertySymbols,ue=re?re.isBuffer:void 0,fe=(V=Object.keys,K=Object,function(e){return V(K(e))}),he=ze(N,"DataView"),de=ze(N,"Map"),pe=ze(N,"Promise"),ge=ze(N,"Set"),me=ze(N,"WeakMap"),ve=ze(Object,"create"),ye=$e(he),be=$e(de),_e=$e(pe),we=$e(ge),xe=$e(me),Se=ie?ie.prototype:void 0,Ee=Se?Se.valueOf:void 0;function ke(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ce;++t<n;)this.add(e[t])}function Te(e){var t=this.__data__=new Oe(e);this.size=t.size}function Pe(e,t){var n=Ke(e),r=!n&&Ve(e),i=!n&&!r&&Ge(e),o=!n&&!r&&!i&&Je(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!J.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qe(l,c))||s.push(l);return s}function De(e,t){for(var n=e.length;n--;
vendor: 1,220 bytes, line 2
2)if(We(e[n][0],t))return n;return-1}function Me(e){return null==e?void 0===e?O:y:ce&&ce in Object(e)?function(e){var t=J.call(e,ce),n=e[ce];try{e[ce]=void 0;var r=!0}catch(e){}var i=te.call(e);r&&(t?e[ce]=n:delete e[ce]);return i}(e):function(e){return te.call(e)}(e)}function Re(e){return Qe(e)&&Me(e)==c}function je(e,t,n,r,i){return e===t||(null==e||null==t||!Qe(e)&&!Qe(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var u=Ke(e),p=Ke(t),g=u?l:He(e),y=p?l:He(t),_=(g=g==c?b:g)==b,w=(y=y==c?b:y)==b,O=g==y;if(O&&Ge(e)){if(!Ge(t))return!1;u=!0,_=!1}if(O&&!_)return s||(s=new Te),u||Je(e)?Ie(e,t,n,r,i,s):function(e,t,n,r,i,s,c){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!s(new oe(e),new oe(t)));case f:case h:case v:return We(+e,+t);case d:return e.name==t.name&&e.message==t.message;case x:case E:return e==t+"";case m:var l=q;case S:var u=r&o;if(l||(l=$),e.size!=t.size&&!u)return!1;var p=c.get(e);if(p)return p==t;r|=a,c.set(e,t);var g=Ie(l(e),l(t),r,i,s,c);return c.delete(e),g;case k:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,g,n,r,i,s);if(!(n&o)){var C=_&&J.call(e,"__wrapped__"),P=w&&J.call(t,"__wrapped__");
vendor: 6,089 bytes, line 2
2if(C||P){var D=C?e.value():e,M=P?t.value():t;return s||(s=new Te),i(D,M,n,r,s)}}if(!O)return!1;return s||(s=new Te),function(e,t,n,r,i,a){var s=n&o,c=Be(e),l=c.length,u=Be(t),f=u.length;if(l!=f&&!s)return!1;var h=l;for(;h--;){var d=c[h];if(!(s?d in t:J.call(t,d)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var g=!0;a.set(e,t),a.set(t,e);var m=s;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=s?r(y,v,d,t,e,a):r(v,y,d,e,t,a);if(!(void 0===b?v===y||i(v,y,n,r,a):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,r,i,s)}(e,t,n,r,je,i))}function Ne(e){return!(!Xe(e)||function(e){return!!ee&&ee in e}(e))&&(Ze(e)?ne:P).test($e(e))}function Le(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||Y,t!==r)return fe(e);var t,n,r,i=[];for(var o in Object(e))J.call(e,o)&&"constructor"!=o&&i.push(o);return i}function Ie(e,t,n,r,i,s){var c=n&o,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=s.get(e);if(f&&s.get(t))return f==t;var h=-1,d=!0,p=n&a?new Ae:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,s):r(g,m,h,e,t,s);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!H(t,(function(e,t){if(o=t,!p.has(o)&&(g===e||i(g,e,n,r,s)))return p.push(t);var o}))){d=!1;break}}else if(g!==m&&!i(g,m,n,r,s)){d=!1;break}}return s.delete(e),s.delete(t),d}function Be(e){return function(e,t,n){var r=t(e);return Ke(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,et,Ue)}function Fe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ze(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ne(n)?n:void 0}ke.prototype.clear=function(){this.__data__=ve?ve(null):{},this.size=0},ke.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ke.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===i?void 0:n}return J.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:J.call(t,e)},ke.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ve&&void 0===t?i:t,this},Oe.prototype.clear=function(){this.__data__=[],this.size=0},Oe.prototype.delete=function(e){var t=this.__data__,n=De(t,e);return!(n<0)&&(n==t.length-1?t.pop():se.call(t,n,1),--this.size,!0)},Oe.prototype.get=function(e){var t=this.__data__,n=De(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return De(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=De(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ce.prototype.clear=function(){this.size=0,this.__data__={hash:new ke,map:new(de||Oe),string:new ke}},Ce.prototype.delete=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t},Ce.prototype.get=function(e){return Fe(this,e).get(e)},Ce.prototype.has=function(e){return Fe(this,e).has(e)},Ce.prototype.set=function(e,t){var n=Fe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ae.prototype.add=Ae.prototype.push=function(e){return this.__data__.set(e,i),this},Ae.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.clear=function(){this.__data__=new Oe,this.size=0},Te.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Te.prototype.get=function(e){return this.__data__.get(e)},Te.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var i=n.__data__;if(!de||i.length<r-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ce(i)}return n.set(e,t),this.size=n.size,this};var Ue=le?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(le(e),(function(t){return ae.call(e,t)})))}:function(){return[]},He=Me;function qe(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function $e(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(e,t){return e===t||e!=e&&t!=t}(he&&He(new he(new ArrayBuffer(1)))!=T||de&&He(new de)!=m||pe&&He(pe.resolve())!=_||ge&&He(new ge)!=S||me&&He(new me)!=C)&&(He=function(e){var t=Me(e),n=t==b?e.constructor:void 0,r=n?$e(n):"";if(r)switch(r){case ye:return T;case be:return m;case _e:return _;case we:return S;case xe:return C}return t});var Ve=Re(function(){return arguments}())?Re:function(e){return Qe(e)&&J.call(e,"callee")&&!ae.call(e,"callee")},Ke=Array.isArray;var Ge=ue||function(){return!1};function Ze(e){if(!Xe(e))return!1;var t=Me(e);return t==p||t==g||t==u||t==w}function Ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Xe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Je=U?function(e){return function(t){return e(t)}}(U):function(e){return Qe(e)&&Ye(e.length)&&!!M[Me(e)]};function et(e){return null!=(t=e)&&Ye(t.length)&&!Ze(t)?Pe(e):Le(e);var t}e.exports=function(e,t){return je(e,t)}},80820:function(e,t,n){e=n.nmd(e);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,l=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",_="[object Promise]",w="[object RegExp]",x="[object Set]",S="[object String]",E="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,P=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};
vendor: 4,484 bytes, line 2
2N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[u]=N[f]=N[O]=N[h]=N[C]=N[d]=N[p]=N[g]=N[v]=N[y]=N[b]=N[w]=N[x]=N[S]=N[k]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=L||I||Function("return this")(),F=t&&!t.nodeType&&t,z=F&&e&&!e.nodeType&&e,U=z&&z.exports===F&&L.process,H=function(){try{return U&&U.binding("util")}catch(e){}}(),q=H&&H.isTypedArray;function $(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function W(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Z,Y,X,Q=Array.prototype,J=Function.prototype,ee=Object.prototype,te=B["__core-js_shared__"],ne=(Z=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",re=J.toString,ie=ee.hasOwnProperty,oe=ee.toString,ae=RegExp("^"+re.call(ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),se=B.Symbol,ce=B.Uint8Array,le=ee.propertyIsEnumerable,ue=Q.splice,fe=(Y=Object.keys,X=Object,function(e){return Y(X(e))}),he=Ke(B,"DataView"),de=Ke(B,"Map"),pe=Ke(B,"Promise"),ge=Ke(B,"Set"),me=Ke(B,"WeakMap"),ve=Ke(Object,"create"),ye=tt(he),be=tt(de),_e=tt(pe),we=tt(ge),xe=tt(me),Se=se?se.prototype:void 0,Ee=Se?Se.valueOf:void 0,ke=Se?Se.toString:void 0;function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ae;++t<n;)this.add(e[t])}function Pe(e){this.__data__=new Ce(e)}function De(e,t){var n=ot(e)||it(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ie.call(e,o)||i&&("length"==o||Ze(o,r))||n.push(o);return n}function Me(e,t){for(var n=e.length;n--;)if(rt(e[n][0],t))return n;return-1}Oe.prototype.clear=function(){this.__data__=ve?ve(null):{}},Oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Oe.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===o?void 0:n}return ie.call(t,e)?t[e]:void 0},Oe.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ie.call(t,e)},Oe.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?o:t,this},Ce.prototype.clear=function(){this.__data__=[]},Ce.prototype.delete=function(e){var t=this.__data__,n=Me(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},Ce.prototype.get=function(e){var t=this.__data__,n=Me(t,e);return n<0?void 0:t[n][1]},Ce.prototype.has=function(e){return Me(this.__data__,e)>-1},Ce.prototype.set=function(e,t){var n=this.__data__,r=Me(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new Oe,map:new(de||Ce),string:new Oe}},Ae.prototype.delete=function(e){return Ve(this,e).delete(e)},Ae.prototype.get=function(e){return Ve(this,e).get(e)},Ae.prototype.has=function(e){return Ve(this,e).has(e)},Ae.prototype.set=function(e,t){return Ve(this,e).set(e,t),this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,o),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new Ce},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var i=n.__data__;if(!de||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ae(i)}return n.set(e,t),this};var Re,je,Ne=(Re=function(e,t){return e&&Le(e,t,dt)},function(e,t){if(null==e)return e;if(!at(e))return Re(e,t);for(var n=e.length,r=je?n:-1,i=Object(e);(je?r--:++r<n)&&!1!==t(i[r],r,i););return e}),Le=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r
vendor: 6,765 bytes, line 2
2(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function Ie(e,t){for(var n=0,r=(t=Ye(t,e)?[t]:$e(t)).length;null!=e&&n<r;)e=e[et(t[n++])];return n&&n==r?e:void 0}function Be(e,t){return null!=e&&t in Object(e)}function Fe(e,t,n,r,i){return e===t||(null==e||null==t||!lt(e)&&!ut(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var c=ot(e),l=ot(t),g=f,m=f;c||(g=(g=Ge(e))==u?b:g);l||(m=(m=Ge(t))==u?b:m);var _=g==b&&!V(e),k=m==b&&!V(t),A=g==m;if(A&&!_)return o||(o=new Pe),c||ht(e)?We(e,t,n,r,i,o):function(e,t,n,r,i,o,c){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!r(new ce(e),new ce(t)));case h:case d:case y:return rt(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case v:var l=K;case x:var u=o&s;if(l||(l=G),e.size!=t.size&&!u)return!1;var f=c.get(e);if(f)return f==t;o|=a,c.set(e,t);var g=We(l(e),l(t),r,i,o,c);return c.delete(e),g;case E:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,g,n,r,i,o);if(!(i&s)){var T=_&&ie.call(e,"__wrapped__"),P=k&&ie.call(t,"__wrapped__");if(T||P){var D=T?e.value():e,M=P?t.value():t;return o||(o=new Pe),n(D,M,r,i,o)}}if(!A)return!1;return o||(o=new Pe),function(e,t,n,r,i,o){var a=i&s,c=dt(e),l=c.length,u=dt(t),f=u.length;if(l!=f&&!a)return!1;var h=l;for(;h--;){var d=c[h];if(!(a?d in t:ie.call(t,d)))return!1}var p=o.get(e);if(p&&o.get(t))return p==t;var g=!0;o.set(e,t),o.set(t,e);var m=a;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=a?r(y,v,d,t,e,o):r(v,y,d,e,t,o);if(!(void 0===b?v===y||n(v,y,r,i,o):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,i,o)}(e,t,Fe,n,r,i))}function ze(e){return!(!lt(e)||function(e){return!!ne&&ne in e}(e))&&(st(e)||V(e)?ae:R).test(tt(e))}function Ue(e){return"function"==typeof e?e:null==e?pt:"object"==typeof e?ot(e)?function(e,t){if(Ye(e)&&Xe(t))return Qe(et(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Ie(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Ye(t,e)?[t]:$e(t);var r,i=-1,o=t.length;for(;++i<o;){var a=et(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;o=e?e.length:0;return!!o&&ct(o)&&Ze(a,o)&&(ot(e)||it(e))}(e,t,Be)}(n,e):Fe(t,r,void 0,a|s)}}(e[0],e[1]):function(e){var t=function(e){var t=dt(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Xe(i)]}return t}(e);if(1==t.length&&t[0][2])return Qe(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,c=!r;if(null==e)return!o;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var u=(l=n[i])[0],f=e[u],h=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var d=new Pe;if(r)var p=r(f,h,u,e,t,d);if(!(void 0===p?Fe(h,f,r,a|s,d):p))return!1}}return!0}(n,e,t)}}(e):Ye(t=e)?(n=et(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Ie(t,e)}}(t);var t,n}function He(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||ee,t!==r)return fe(e);var t,n,r,i=[];for(var o in Object(e))ie.call(e,o)&&"constructor"!=o&&i.push(o);return i}function qe(e,t){var n=-1,r=at(e)?Array(e.length):[];return Ne(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function $e(e){return ot(e)?e:Je(e)}function We(e,t,n,r,i,o){var c=i&s,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var h=-1,d=!0,p=i&a?new Te:void 0;for(o.set(e,t),o.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,o):r(g,m,h,e,t,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!W(t,(function(e,t){if(!p.has(t)&&(g===e||n(g,e,r,i,o)))return p.add(t)}))){d=!1;break}}else if(g!==m&&!n(g,m,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ze(n)?n:void 0}var Ge=function(e){return oe.call(e)};function Ze(e,t){return!!(t=null==t?l:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ye(e,t){if(ot(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ft(e))||(T.test(e)||!A.test(e)||null!=t&&e in Object(t))}function Xe(e){return e==e&&!lt(e)}function Qe(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(he&&Ge(new he(new ArrayBuffer(1)))!=C||de&&Ge(new de)!=v||pe&&Ge(pe.resolve())!=_||ge&&Ge(new ge)!=x||me&&Ge(new me)!=k)&&(Ge=function(e){var t=oe.call(e),n=t==b?e.constructor:void 0,r=n?tt(n):void 0;if(r)switch(r){case ye:return C;case be:return v;case _e:return _;case we:return x;case xe:return k}return t});var Je=nt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ft(e))return ke?ke.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}(t);var n=[];return P.test(e)&&n.push(""),e.replace(D,(function(e,t,r,i){n.push(r?i.replace(M,"$1"):t||e)})),n}));function et(e){if("string"==typeof e||ft(e))return e;var t=e+"";return"0"==t&&1/e==-c?"-0":t}function tt(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function nt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(nt.Cache||Ae),n}function rt(e,t){return e===t||e!=e&&t!=t}function it(e){return function(e){return ut(e)&&at(e)}(e)&&ie.call(e,"callee")&&(!le.call(e,"callee")||oe.call(e)==u)}nt.Cache=Ae;var ot=Array.isArray;function at(e){return null!=e&&ct(e.length)&&!st(e)}function st(e){var t=lt(e)?oe.call(e):"";return t==g||t==m}function ct(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function lt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ut(e){return!!e&&"object"==typeof e}function ft(e){return"symbol"==typeof e||ut(e)&&oe.call(e)==E}var ht=q?function(e){return function(t){return e(t)}}(q):function(e){return ut(e)&&ct(e.length)&&!!N[oe.call(e)]};function dt(e){return at(e)?De(e):He(e)}function pt(e){return e}e.exports=function(e,t){return(ot(e)?$:qe)(e,Ue(t))}},72378:function(e,t,n){e=n.nmd(e);var r=200,i="__lodash_hash_undefined__",o=800,a=16,s=9007199254740991,c="[object Arguments]",l="[object AsyncFunction]",u="[object Function]",f="[object GeneratorFunction]",h="[object Null]",d="[object Object]",p="[object Proxy]",g="[object Undef
2ined]",m=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[c]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y[u]=y["[object Map]"]=y["[object Number]"]=y[d]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1;var b="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,_="object"==typeof self&&self&&self.Object===Object&&self,w=b||_||Function("return this")(),x=t&&!t.nodeType&&t,S=x&&e&&!e.nodeType&&e,E=S&&S.exports===x,k=E&&b.process,O=function(){try{var e=S&&S.require&&S.require("util").types;return e||k&&k.binding&&k.binding("util")}catch(e){}}(),C=O&&O.isTypedArray;var A,T,P,D=Array.prototype,M=Function.prototype,R=Object.prototype,j=w["__core-js_shared__"],N=M.toString,L=R.hasOwnProperty,I=(A=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"",B=R.toString,F=N.call(Object),z=RegExp("^"+N.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=E?w.Buffer:void 0,H=w.Symbol,q=w.Uint8Array,$=U?U.allocUnsafe:void 0,W=(T=Object.getPrototypeOf,P=Object,function(e){return T(P(e))}),V=Object.create,K=R.propertyIsEnumerable,G=D.splice,Z=H?H.toStringTag:void 0,Y=function(){try{var e=xe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),X=U?U.isBuffer:void 0,Q=Math.max,J=Date.now,ee=xe(w,"Map"),te=xe(Object,"create"),ne=function(){function e(){}return function(t){if(!je(t))return{};if(V)return V(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=this.__data__=new ie(e);this.size=t.size}function se(e,t){var n=Te(e),r=!n&&Ae(e),i=!n&&!r&&De(e),o=!n&&!r&&!i&&Le(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!L.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Se(l,c))||s.push(l);return s}function ce(e,t,n){(void 0!==n&&!Ce(e[t],n)||void 0===n&&!(t in e))&&fe(e,t,n)}function le(e,t,n){var r=e[t];L.call(e,t)&&Ce(r,n)&&(void 0!==n||t in e)||fe(e,t,n)}function ue(e,t){for(var n=e.length;n--;)if(Ce(e[n][0],t))return n;return-1}function fe(e,t,n){"__proto__"==t&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}re.prototype.clear=function(){this.__data__=te?te(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(te){var n=t[e];return n===i?void 0:n}return L.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:L.call(t,e)},re.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=te&&void 0===t?i:t,this},ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=ue(t,e);return!(n<0)&&(n==t.length-1?t.pop():G.call(t,n,1),--this.size,!0)},ie.prototype.get=function(e){var t=this.__data__,n=ue(t,e);return n<0?void 0:t[n][1]},ie.prototype.has=function(e){return ue(this.__data__,e)>-1},ie.prototype.set=function(e,t){var n=this.__data__,r=ue(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(ee||ie),string:new re}},oe.prototype.delete=function(e){var t=we(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return we(this,e).get(e)},oe.prototype.has=function(e){return we(this,e).has(e)},oe.prototype.set=function(e,t){var n=we(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ae.prototype.clear=function(){this.__data__=new ie,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ie){var i=n.__data__;if(!ee||i.length<r-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(i)}return n.set(e,t),this.size=n.size,this};var he,de=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[he?a:++r];if(!1===t(i[s],s,i))break}return e};function pe(e){return null==e?void 0===e?g:h:Z&&Z in Object(e)?function(e){var t=L.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0}catch(e){}var i=B.call(e);r&&(t?e[Z]=n:delete e[Z]);return i}(e):function(e){return B.call(e)}(e)}function ge(e){return Ne(e)&&pe(e)==c}function me(e){return!(!je(e)||function(e){return!!I&&I in e}(e))&&(Me(e)?z:m).test(function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ve(e){if(!je(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ee(e),n=[];
vendor: 6,446 bytes, line 2
2for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}function ye(e,t,n,r,i){e!==t&&de(t,(function(o,a){if(i||(i=new ae),je(o))!function(e,t,n,r,i,o,a){var s=ke(e,n),c=ke(t,n),l=a.get(c);if(l)return void ce(e,n,l);var u=o?o(s,c,n+"",e,t,a):void 0,f=void 0===u;if(f){var h=Te(c),p=!h&&De(c),g=!h&&!p&&Le(c);u=c,h||p||g?Te(s)?u=s:Ne(_=s)&&Pe(_)?u=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):p?(f=!1,u=function(e,t){if(t)return e.slice();var n=e.length,r=$?$(n):new e.constructor(n);return e.copy(r),r}(c,!0)):g?(f=!1,m=c,v=!0?(y=m.buffer,b=new y.constructor(y.byteLength),new q(b).set(new q(y)),b):m.buffer,u=new m.constructor(v,m.byteOffset,m.length)):u=[]:function(e){if(!Ne(e)||pe(e)!=d)return!1;var t=W(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&N.call(n)==F}(c)||Ae(c)?(u=s,Ae(s)?u=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?fe(n,s,c):le(n,s,c)}return n}(e,Ie(e))}(s):je(s)&&!Me(s)||(u=function(e){return"function"!=typeof e.constructor||Ee(e)?{}:ne(W(e))}(c))):f=!1}var m,v,y,b;var _;f&&(a.set(c,u),i(u,c,r,o,a),a.delete(c));ce(e,n,u)}(e,t,a,n,ye,r,i);else{var s=r?r(ke(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ce(e,a,s)}}),Ie)}function be(e,t){return Oe(function(e,t,n){return t=Q(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Q(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,ze),e+"")}var _e=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ze;function we(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function xe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return me(n)?n:void 0}function Se(e,t){var n=typeof e;return!!(t=null==t?s:t)&&("number"==n||"symbol"!=n&&v.test(e))&&e>-1&&e%1==0&&e<t}function Ee(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||R)}function ke(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oe=function(e){var t=0,n=0;return function(){var r=J(),i=a-(r-n);if(n=r,i>0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(_e);function Ce(e,t){return e===t||e!=e&&t!=t}var Ae=ge(function(){return arguments}())?ge:function(e){return Ne(e)&&L.call(e,"callee")&&!K.call(e,"callee")},Te=Array.isArray;function Pe(e){return null!=e&&Re(e.length)&&!Me(e)}var De=X||function(){return!1};function Me(e){if(!je(e))return!1;var t=pe(e);return t==u||t==f||t==l||t==p}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function je(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}var Le=C?function(e){return function(t){return e(t)}}(C):function(e){return Ne(e)&&Re(e.length)&&!!y[pe(e)]};function Ie(e){return Pe(e)?se(e,!0):ve(e)}var Be,Fe=(Be=function(e,t,n){ye(e,t,n)},be((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Be.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!je(n))return!1;var r=typeof t;return!!("number"==r?Pe(n)&&Se(t,n.length):"string"==r&&t in n)&&Ce(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Be(e,a,n,i)}return e})));function ze(e){return e}e.exports=Fe},25030:function(e,t,n){var r=1/0,i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object GeneratorFunction]",c="[object Symbol]",l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,f=l||u||Function("return this")();function h(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var d=Object.prototype,p=d.hasOwnProperty,g=d.toString,m=f.Symbol,v=d.propertyIsEnumerable,y=m?m.isConcatSpreadable:void 0,b=Math.max;function _(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=w),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?_(s,t-1,n,r,i):h(i,s):r||(i[i.length]=s)}return i}function w(e){return S(e)||function(e){return function(e){return E(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?g.call(e):"";return t==a||t==s}(e)}(e)}(e)&&p.call(e,"callee")&&(!v.call(e,"callee")||g.call(e)==o)}(e)||!!(y&&e&&e[y])}function x(e){if("string"==typeof e||function(e){return"symbol"==typeof e||E(e)&&g.call(e)==c}(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}var S=Array.isArray;function E(e){return!!e&&"object"==typeof e}var k,O,C=(k=function(e,t){return null==e?{}:function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=e[a];n(s,a)&&(o[a]=s)}return o}(e=Object(e),t,(function(t,n){return n in e}))}(e,function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(_(t,1),x))},O=b(void 0===O?k.length-1:O,0),function(){for(var e=arguments,t=-1,n=b(e.length-O,0),r=Array(n);++t<n;)r[t]=e[O+t];t=-1;for(var i=Array(O+1);++t<O;)i[t]=e[t];return i[O]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(k,this,i)});e.exports=C},34766:function(e,t,n){e=n.nmd(e);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,l=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",_="[object Promise]",w="[object RegExp]",x="[object Set]",S="[object String]",E="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,P=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};
vendor: 4,212 bytes, line 2
2N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[u]=N[f]=N[O]=N[h]=N[C]=N[d]=N[p]=N[g]=N[v]=N[y]=N[b]=N[w]=N[x]=N[S]=N[k]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=L||I||Function("return this")(),F=t&&!t.nodeType&&t,z=F&&e&&!e.nodeType&&e,U=z&&z.exports===F&&L.process,H=function(){try{return U&&U.binding("util")}catch(e){}}(),q=H&&H.isTypedArray;function $(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function W(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function V(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function K(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Z(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Y,X,Q,J=Array.prototype,ee=Function.prototype,te=Object.prototype,ne=B["__core-js_shared__"],re=(Y=/[^.]+$/.exec(ne&&ne.keys&&ne.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",ie=ee.toString,oe=te.hasOwnProperty,ae=te.toString,se=RegExp("^"+ie.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=B.Symbol,le=B.Uint8Array,ue=te.propertyIsEnumerable,fe=J.splice,he=(X=Object.keys,Q=Object,function(e){return X(Q(e))}),de=Ke(B,"DataView"),pe=Ke(B,"Map"),ge=Ke(B,"Promise"),me=Ke(B,"Set"),ve=Ke(B,"WeakMap"),ye=Ke(Object,"create"),be=tt(de),_e=tt(pe),we=tt(ge),xe=tt(me),Se=tt(ve),Ee=ce?ce.prototype:void 0,ke=Ee?Ee.valueOf:void 0,Oe=Ee?Ee.toString:void 0;function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Pe(e){var t=-1,n=e?e.length:0;for(this.__data__=new Te;++t<n;)this.add(e[t])}function De(e){this.__data__=new Ae(e)}function Me(e,t){var n=ot(e)||it(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!oe.call(e,o)||i&&("length"==o||Ze(o,r))||n.push(o);return n}function Re(e,t){for(var n=e.length;n--;)if(rt(e[n][0],t))return n;return-1}Ce.prototype.clear=function(){this.__data__=ye?ye(null):{}},Ce.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ce.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===o?void 0:n}return oe.call(t,e)?t[e]:void 0},Ce.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:oe.call(t,e)},Ce.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?o:t,this},Ae.prototype.clear=function(){this.__data__=[]},Ae.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0)&&(n==t.length-1?t.pop():fe.call(t,n,1),!0)},Ae.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Ae.prototype.has=function(e){return Re(this.__data__,e)>-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new Ce,map:new(pe||Ae),string:new Ce}},Te.prototype.delete=function(e){return Ve(this,e).delete(e)},Te.prototype.get=function(e){return Ve(this,e).get(e)},Te.prototype.has=function(e){return Ve(this,e).has(e)},Te.prototype.set=function(e,t){return Ve(this,e).set(e,t),this},Pe.prototype.add=Pe.prototype.push=function(e){return this.__data__.set(e,o),this},Pe.prototype.has=function(e){return this.__data__.has(e)},De.prototype.clear=function(){this.__data__=new Ae},De.prototype.delete=function(e){return this.__data__.delete(e)},De.prototype.get=function(e){return this.__data__.get(e)},De.prototype.has=function(e){return this.__data__.has(e)},De.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var i=n.__data__;
vendor: 7,530 bytes, line 2
2if(!pe||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Te(i)}return n.set(e,t),this};var je,Ne,Le=(je=function(e,t){return e&&Ie(e,t,dt)},function(e,t){if(null==e)return e;if(!at(e))return je(e,t);for(var n=e.length,r=Ne?n:-1,i=Object(e);(Ne?r--:++r<n)&&!1!==t(i[r],r,i););return e}),Ie=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function Be(e,t){for(var n=0,r=(t=Ye(t,e)?[t]:$e(t)).length;null!=e&&n<r;)e=e[et(t[n++])];return n&&n==r?e:void 0}function Fe(e,t){return null!=e&&t in Object(e)}function ze(e,t,n,r,i){return e===t||(null==e||null==t||!lt(e)&&!ut(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var c=ot(e),l=ot(t),g=f,m=f;c||(g=(g=Ge(e))==u?b:g);l||(m=(m=Ge(t))==u?b:m);var _=g==b&&!K(e),k=m==b&&!K(t),A=g==m;if(A&&!_)return o||(o=new De),c||ht(e)?We(e,t,n,r,i,o):function(e,t,n,r,i,o,c){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!r(new le(e),new le(t)));case h:case d:case y:return rt(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case v:var l=G;case x:var u=o&s;if(l||(l=Z),e.size!=t.size&&!u)return!1;var f=c.get(e);if(f)return f==t;o|=a,c.set(e,t);var g=We(l(e),l(t),r,i,o,c);return c.delete(e),g;case E:if(ke)return ke.call(e)==ke.call(t)}return!1}(e,t,g,n,r,i,o);if(!(i&s)){var T=_&&oe.call(e,"__wrapped__"),P=k&&oe.call(t,"__wrapped__");if(T||P){var D=T?e.value():e,M=P?t.value():t;return o||(o=new De),n(D,M,r,i,o)}}if(!A)return!1;return o||(o=new De),function(e,t,n,r,i,o){var a=i&s,c=dt(e),l=c.length,u=dt(t),f=u.length;if(l!=f&&!a)return!1;var h=l;for(;h--;){var d=c[h];if(!(a?d in t:oe.call(t,d)))return!1}var p=o.get(e);if(p&&o.get(t))return p==t;var g=!0;o.set(e,t),o.set(t,e);var m=a;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=a?r(y,v,d,t,e,o):r(v,y,d,e,t,o);if(!(void 0===b?v===y||n(v,y,r,i,o):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,i,o)}(e,t,ze,n,r,i))}function Ue(e){return!(!lt(e)||function(e){return!!re&&re in e}(e))&&(st(e)||K(e)?se:R).test(tt(e))}function He(e){return"function"==typeof e?e:null==e?pt:"object"==typeof e?ot(e)?function(e,t){if(Ye(e)&&Xe(t))return Qe(et(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Be(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Ye(t,e)?[t]:$e(t);var r,i=-1,o=t.length;for(;++i<o;){var a=et(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;o=e?e.length:0;return!!o&&ct(o)&&Ze(a,o)&&(ot(e)||it(e))}(e,t,Fe)}(n,e):ze(t,r,void 0,a|s)}}(e[0],e[1]):function(e){var t=function(e){var t=dt(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Xe(i)]}return t}(e);if(1==t.length&&t[0][2])return Qe(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,c=!r;if(null==e)return!o;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var u=(l=n[i])[0],f=e[u],h=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var d=new De;if(r)var p=r(f,h,u,e,t,d);if(!(void 0===p?ze(h,f,r,a|s,d):p))return!1}}return!0}(n,e,t)}}(e):Ye(t=e)?(n=et(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Be(t,e)}}(t);var t,n}function qe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||te,t!==r)return he(e);var t,n,r,i=[];for(var o in Object(e))oe.call(e,o)&&"constructor"!=o&&i.push(o);return i}function $e(e){return ot(e)?e:Je(e)}function We(e,t,n,r,i,o){var c=i&s,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var h=-1,d=!0,p=i&a?new Pe:void 0;for(o.set(e,t),o.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,o):r(g,m,h,e,t,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!W(t,(function(e,t){if(!p.has(t)&&(g===e||n(g,e,r,i,o)))return p.add(t)}))){d=!1;break}}else if(g!==m&&!n(g,m,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ue(n)?n:void 0}var Ge=function(e){return ae.call(e)};function Ze(e,t){return!!(t=null==t?l:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ye(e,t){if(ot(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ft(e))||(T.test(e)||!A.test(e)||null!=t&&e in Object(t))}function Xe(e){return e==e&&!lt(e)}function Qe(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(de&&Ge(new de(new ArrayBuffer(1)))!=C||pe&&Ge(new pe)!=v||ge&&Ge(ge.resolve())!=_||me&&Ge(new me)!=x||ve&&Ge(new ve)!=k)&&(Ge=function(e){var t=ae.call(e),n=t==b?e.constructor:void 0,r=n?tt(n):void 0;if(r)switch(r){case be:return C;case _e:return v;case we:return _;case xe:return x;case Se:return k}return t});var Je=nt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ft(e))return Oe?Oe.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}(t);var n=[];return P.test(e)&&n.push(""),e.replace(D,(function(e,t,r,i){n.push(r?i.replace(M,"$1"):t||e)})),n}));function et(e){if("string"==typeof e||ft(e))return e;var t=e+"";return"0"==t&&1/e==-c?"-0":t}function tt(e){if(null!=e){try{return ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function nt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(nt.Cache||Te),n}function rt(e,t){return e===t||e!=e&&t!=t}function it(e){return function(e){return ut(e)&&at(e)}(e)&&oe.call(e,"callee")&&(!ue.call(e,"callee")||ae.call(e)==u)}nt.Cache=Te;var ot=Array.isArray;function at(e){return null!=e&&ct(e.length)&&!st(e)}function st(e){var t=lt(e)?ae.call(e):"";return t==g||t==m}function ct(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function lt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ut(e){return!!e&&"object"==typeof e}function ft(e){return"symbol"==typeof e||ut(e)&&ae.call(e)==E}var ht=q?function(e){return function(t){return e(t)}}(q):function(e){return ut(e)&&ct(e.length)&&!!N[ae.call(e)]};function dt(e){return at(e)?Me(e):qe(e)}function pt(e){return e}e.exports=function(e,t,n){var r=ot(e)?$:V,i=arguments.length<3;return r(e,He(t),n,i,Le)}},16273:function(e,t,n){e=n.nmd(e);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,l=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",_="[object Promise]",w="[object RegExp]",x="[object Set]",S="[object String]",E="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,P=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};
vendor: 4,582 bytes, line 2
2N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[u]=N[f]=N[O]=N[h]=N[C]=N[d]=N[p]=N[g]=N[v]=N[y]=N[b]=N[w]=N[x]=N[S]=N[k]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=L||I||Function("return this")(),F=t&&!t.nodeType&&t,z=F&&e&&!e.nodeType&&e,U=z&&z.exports===F&&L.process,H=function(){try{return U&&U.binding("util")}catch(e){}}(),q=H&&H.isTypedArray;function $(e,t){for(var n=-1,r=e?e.length:0,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function W(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Z,Y,X,Q=Array.prototype,J=Function.prototype,ee=Object.prototype,te=B["__core-js_shared__"],ne=(Z=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",re=J.toString,ie=ee.hasOwnProperty,oe=ee.toString,ae=RegExp("^"+re.call(ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),se=B.Symbol,ce=B.Uint8Array,le=ee.propertyIsEnumerable,ue=Q.splice,fe=(Y=Object.keys,X=Object,function(e){return Y(X(e))}),he=Ke(B,"DataView"),de=Ke(B,"Map"),pe=Ke(B,"Promise"),ge=Ke(B,"Set"),me=Ke(B,"WeakMap"),ve=Ke(Object,"create"),ye=tt(he),be=tt(de),_e=tt(pe),we=tt(ge),xe=tt(me),Se=se?se.prototype:void 0,Ee=Se?Se.valueOf:void 0,ke=Se?Se.toString:void 0;function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ae;++t<n;)this.add(e[t])}function Pe(e){this.__data__=new Ce(e)}function De(e,t){var n=ot(e)||it(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ie.call(e,o)||i&&("length"==o||Ze(o,r))||n.push(o);return n}function Me(e,t){for(var n=e.length;n--;)if(rt(e[n][0],t))return n;return-1}Oe.prototype.clear=function(){this.__data__=ve?ve(null):{}},Oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Oe.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===o?void 0:n}return ie.call(t,e)?t[e]:void 0},Oe.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ie.call(t,e)},Oe.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?o:t,this},Ce.prototype.clear=function(){this.__data__=[]},Ce.prototype.delete=function(e){var t=this.__data__,n=Me(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},Ce.prototype.get=function(e){var t=this.__data__,n=Me(t,e);return n<0?void 0:t[n][1]},Ce.prototype.has=function(e){return Me(this.__data__,e)>-1},Ce.prototype.set=function(e,t){var n=this.__data__,r=Me(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new Oe,map:new(de||Ce),string:new Oe}},Ae.prototype.delete=function(e){return Ve(this,e).delete(e)},Ae.prototype.get=function(e){return Ve(this,e).get(e)},Ae.prototype.has=function(e){return Ve(this,e).has(e)},Ae.prototype.set=function(e,t){return Ve(this,e).set(e,t),this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,o),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new Ce},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var i=n.__data__;if(!de||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ae(i)}return n.set(e,t),this};var Re,je,Ne=(Re=function(e,t){return e&&Ie(e,t,dt)},function(e,t){if(null==e)return e;if(!at(e))return Re(e,t);for(var n=e.length,r=je?n:-1,i=Object(e);(je?r--:++r<n)&&!1!==t(i[r],r,i););return e});function Le(e,t){var n=[];return Ne(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}var Ie=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r
vendor: 7,405 bytes, line 2
2(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function Be(e,t){for(var n=0,r=(t=Ye(t,e)?[t]:$e(t)).length;null!=e&&n<r;)e=e[et(t[n++])];return n&&n==r?e:void 0}function Fe(e,t){return null!=e&&t in Object(e)}function ze(e,t,n,r,i){return e===t||(null==e||null==t||!lt(e)&&!ut(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var c=ot(e),l=ot(t),g=f,m=f;c||(g=(g=Ge(e))==u?b:g);l||(m=(m=Ge(t))==u?b:m);var _=g==b&&!V(e),k=m==b&&!V(t),A=g==m;if(A&&!_)return o||(o=new Pe),c||ht(e)?We(e,t,n,r,i,o):function(e,t,n,r,i,o,c){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!r(new ce(e),new ce(t)));case h:case d:case y:return rt(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case v:var l=K;case x:var u=o&s;if(l||(l=G),e.size!=t.size&&!u)return!1;var f=c.get(e);if(f)return f==t;o|=a,c.set(e,t);var g=We(l(e),l(t),r,i,o,c);return c.delete(e),g;case E:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,g,n,r,i,o);if(!(i&s)){var T=_&&ie.call(e,"__wrapped__"),P=k&&ie.call(t,"__wrapped__");if(T||P){var D=T?e.value():e,M=P?t.value():t;return o||(o=new Pe),n(D,M,r,i,o)}}if(!A)return!1;return o||(o=new Pe),function(e,t,n,r,i,o){var a=i&s,c=dt(e),l=c.length,u=dt(t),f=u.length;if(l!=f&&!a)return!1;var h=l;for(;h--;){var d=c[h];if(!(a?d in t:ie.call(t,d)))return!1}var p=o.get(e);if(p&&o.get(t))return p==t;var g=!0;o.set(e,t),o.set(t,e);var m=a;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=a?r(y,v,d,t,e,o):r(v,y,d,e,t,o);if(!(void 0===b?v===y||n(v,y,r,i,o):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,i,o)}(e,t,ze,n,r,i))}function Ue(e){return!(!lt(e)||function(e){return!!ne&&ne in e}(e))&&(st(e)||V(e)?ae:R).test(tt(e))}function He(e){return"function"==typeof e?e:null==e?pt:"object"==typeof e?ot(e)?function(e,t){if(Ye(e)&&Xe(t))return Qe(et(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Be(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Ye(t,e)?[t]:$e(t);var r,i=-1,o=t.length;for(;++i<o;){var a=et(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;o=e?e.length:0;return!!o&&ct(o)&&Ze(a,o)&&(ot(e)||it(e))}(e,t,Fe)}(n,e):ze(t,r,void 0,a|s)}}(e[0],e[1]):function(e){var t=function(e){var t=dt(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Xe(i)]}return t}(e);if(1==t.length&&t[0][2])return Qe(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,c=!r;if(null==e)return!o;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var u=(l=n[i])[0],f=e[u],h=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var d=new Pe;if(r)var p=r(f,h,u,e,t,d);if(!(void 0===p?ze(h,f,r,a|s,d):p))return!1}}return!0}(n,e,t)}}(e):Ye(t=e)?(n=et(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Be(t,e)}}(t);var t,n}function qe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||ee,t!==r)return fe(e);var t,n,r,i=[];for(var o in Object(e))ie.call(e,o)&&"constructor"!=o&&i.push(o);return i}function $e(e){return ot(e)?e:Je(e)}function We(e,t,n,r,i,o){var c=i&s,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var h=-1,d=!0,p=i&a?new Te:void 0;for(o.set(e,t),o.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,o):r(g,m,h,e,t,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!W(t,(function(e,t){if(!p.has(t)&&(g===e||n(g,e,r,i,o)))return p.add(t)}))){d=!1;break}}else if(g!==m&&!n(g,m,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ue(n)?n:void 0}var Ge=function(e){return oe.call(e)};function Ze(e,t){return!!(t=null==t?l:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ye(e,t){if(ot(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ft(e))||(T.test(e)||!A.test(e)||null!=t&&e in Object(t))}function Xe(e){return e==e&&!lt(e)}function Qe(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(he&&Ge(new he(new ArrayBuffer(1)))!=C||de&&Ge(new de)!=v||pe&&Ge(pe.resolve())!=_||ge&&Ge(new ge)!=x||me&&Ge(new me)!=k)&&(Ge=function(e){var t=oe.call(e),n=t==b?e.constructor:void 0,r=n?tt(n):void 0;if(r)switch(r){case ye:return C;case be:return v;case _e:return _;case we:return x;case xe:return k}return t});var Je=nt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ft(e))return ke?ke.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}(t);var n=[];return P.test(e)&&n.push(""),e.replace(D,(function(e,t,r,i){n.push(r?i.replace(M,"$1"):t||e)})),n}));function et(e){if("string"==typeof e||ft(e))return e;var t=e+"";return"0"==t&&1/e==-c?"-0":t}function tt(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function nt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(nt.Cache||Ae),n}function rt(e,t){return e===t||e!=e&&t!=t}function it(e){return function(e){return ut(e)&&at(e)}(e)&&ie.call(e,"callee")&&(!le.call(e,"callee")||oe.call(e)==u)}nt.Cache=Ae;var ot=Array.isArray;function at(e){return null!=e&&ct(e.length)&&!st(e)}function st(e){var t=lt(e)?oe.call(e):"";return t==g||t==m}function ct(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function lt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ut(e){return!!e&&"object"==typeof e}function ft(e){return"symbol"==typeof e||ut(e)&&oe.call(e)==E}var ht=q?function(e){return function(t){return e(t)}}(q):function(e){return ut(e)&&ct(e.length)&&!!N[oe.call(e)]};function dt(e){return at(e)?De(e):qe(e)}function pt(e){return e}e.exports=function(e,t){return(ot(e)?$:Le)(e,function(e){if("function"!=typeof e)throw new TypeError(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}(He(t)))}},1054:function(e,t,n){e=n.nmd(e);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,l=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",_="[object Promise]",w="[object RegExp]",x="[object Set]",S="[object String]",E="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,P=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};
vendor: 4,239 bytes, line 2
2N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[u]=N[f]=N[O]=N[h]=N[C]=N[d]=N[p]=N[g]=N[v]=N[y]=N[b]=N[w]=N[x]=N[S]=N[k]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=L||I||Function("return this")(),F=t&&!t.nodeType&&t,z=F&&e&&!e.nodeType&&e,U=z&&z.exports===F&&L.process,H=function(){try{return U&&U.binding("util")}catch(e){}}(),q=H&&H.isTypedArray;function $(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function W(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var G,Z,Y,X=Array.prototype,Q=Function.prototype,J=Object.prototype,ee=B["__core-js_shared__"],te=(G=/[^.]+$/.exec(ee&&ee.keys&&ee.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",ne=Q.toString,re=J.hasOwnProperty,ie=J.toString,oe=RegExp("^"+ne.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ae=B.Symbol,se=B.Uint8Array,ce=J.propertyIsEnumerable,le=X.splice,ue=(Z=Object.keys,Y=Object,function(e){return Z(Y(e))}),fe=Ve(B,"DataView"),he=Ve(B,"Map"),de=Ve(B,"Promise"),pe=Ve(B,"Set"),ge=Ve(B,"WeakMap"),me=Ve(Object,"create"),ve=et(fe),ye=et(he),be=et(de),_e=et(pe),we=et(ge),xe=ae?ae.prototype:void 0,Se=xe?xe.valueOf:void 0,Ee=xe?xe.toString:void 0;function ke(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ce;++t<n;)this.add(e[t])}function Te(e){this.__data__=new Oe(e)}function Pe(e,t){var n=it(e)||rt(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!re.call(e,o)||i&&("length"==o||Ge(o,r))||n.push(o);return n}function De(e,t){for(var n=e.length;n--;)if(nt(e[n][0],t))return n;return-1}ke.prototype.clear=function(){this.__data__=me?me(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(me){var n=t[e];return n===o?void 0:n}return re.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:re.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=me&&void 0===t?o:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,n=De(t,e);return!(n<0)&&(n==t.length-1?t.pop():le.call(t,n,1),!0)},Oe.prototype.get=function(e){var t=this.__data__,n=De(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return De(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=De(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ce.prototype.clear=function(){this.__data__={hash:new ke,map:new(he||Oe),string:new ke}},Ce.prototype.delete=function(e){return We(this,e).delete(e)},Ce.prototype.get=function(e){return We(this,e).get(e)},Ce.prototype.has=function(e){return We(this,e).has(e)},Ce.prototype.set=function(e,t){return We(this,e).set(e,t),this},Ae.prototype.add=Ae.prototype.push=function(e){return this.__data__.set(e,o),this},Ae.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.clear=function(){this.__data__=new Oe},Te.prototype.delete=function(e){return this.__data__.delete(e)},Te.prototype.get=function(e){return this.__data__.get(e)},Te.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var i=n.__data__;if(!he||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ce(i)}return n.set(e,t),this};var Me,Re,je=(Me=function(e,t){return e&&Ne(e,t,ht)},function(e,t){if(null==e)return e;if(!ot(e))return Me(e,t);
vendor: 6,902 bytes, line 2
2for(var n=e.length,r=Re?n:-1,i=Object(e);(Re?r--:++r<n)&&!1!==t(i[r],r,i););return e}),Ne=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}();function Le(e,t){for(var n=0,r=(t=Ze(t,e)?[t]:qe(t)).length;null!=e&&n<r;)e=e[Je(t[n++])];return n&&n==r?e:void 0}function Ie(e,t){return null!=e&&t in Object(e)}function Be(e,t,n,r,i){return e===t||(null==e||null==t||!ct(e)&&!lt(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var c=it(e),l=it(t),g=f,m=f;c||(g=(g=Ke(e))==u?b:g);l||(m=(m=Ke(t))==u?b:m);var _=g==b&&!W(e),k=m==b&&!W(t),A=g==m;if(A&&!_)return o||(o=new Te),c||ft(e)?$e(e,t,n,r,i,o):function(e,t,n,r,i,o,c){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!r(new se(e),new se(t)));case h:case d:case y:return nt(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case v:var l=V;case x:var u=o&s;if(l||(l=K),e.size!=t.size&&!u)return!1;var f=c.get(e);if(f)return f==t;o|=a,c.set(e,t);var g=$e(l(e),l(t),r,i,o,c);return c.delete(e),g;case E:if(Se)return Se.call(e)==Se.call(t)}return!1}(e,t,g,n,r,i,o);if(!(i&s)){var T=_&&re.call(e,"__wrapped__"),P=k&&re.call(t,"__wrapped__");if(T||P){var D=T?e.value():e,M=P?t.value():t;return o||(o=new Te),n(D,M,r,i,o)}}if(!A)return!1;return o||(o=new Te),function(e,t,n,r,i,o){var a=i&s,c=ht(e),l=c.length,u=ht(t),f=u.length;if(l!=f&&!a)return!1;var h=l;for(;h--;){var d=c[h];if(!(a?d in t:re.call(t,d)))return!1}var p=o.get(e);if(p&&o.get(t))return p==t;var g=!0;o.set(e,t),o.set(t,e);var m=a;for(;++h<l;){var v=e[d=c[h]],y=t[d];if(r)var b=a?r(y,v,d,t,e,o):r(v,y,d,e,t,o);if(!(void 0===b?v===y||n(v,y,r,i,o):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,i,o)}(e,t,Be,n,r,i))}function Fe(e){return!(!ct(e)||function(e){return!!te&&te in e}(e))&&(at(e)||W(e)?oe:R).test(et(e))}function ze(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?it(e)?function(e,t){if(Ze(e)&&Ye(t))return Xe(Je(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Le(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Ze(t,e)?[t]:qe(t);var r,i=-1,o=t.length;for(;++i<o;){var a=Je(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;o=e?e.length:0;return!!o&&st(o)&&Ge(a,o)&&(it(e)||rt(e))}(e,t,Ie)}(n,e):Be(t,r,void 0,a|s)}}(e[0],e[1]):function(e){var t=function(e){var t=ht(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ye(i)]}return t}(e);if(1==t.length&&t[0][2])return Xe(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,c=!r;if(null==e)return!o;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var u=(l=n[i])[0],f=e[u],h=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var d=new Te;if(r)var p=r(f,h,u,e,t,d);if(!(void 0===p?Be(h,f,r,a|s,d):p))return!1}}return!0}(n,e,t)}}(e):Ze(t=e)?(n=Je(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Le(t,e)}}(t);var t,n}function Ue(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||J,t!==r)return ue(e);var t,n,r,i=[];for(var o in Object(e))re.call(e,o)&&"constructor"!=o&&i.push(o);return i}function He(e,t){var n;return je(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function qe(e){return it(e)?e:Qe(e)}function $e(e,t,n,r,i,o){var c=i&s,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var h=-1,d=!0,p=i&a?new Ae:void 0;for(o.set(e,t),o.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var v=c?r(m,g,h,t,e,o):r(g,m,h,e,t,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!$(t,(function(e,t){if(!p.has(t)&&(g===e||n(g,e,r,i,o)))return p.add(t)}))){d=!1;break}}else if(g!==m&&!n(g,m,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function We(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Fe(n)?n:void 0}var Ke=function(e){return ie.call(e)};function Ge(e,t){return!!(t=null==t?l:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ze(e,t){if(it(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ut(e))||(T.test(e)||!A.test(e)||null!=t&&e in Object(t))}function Ye(e){return e==e&&!ct(e)}function Xe(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(fe&&Ke(new fe(new ArrayBuffer(1)))!=C||he&&Ke(new he)!=v||de&&Ke(de.resolve())!=_||pe&&Ke(new pe)!=x||ge&&Ke(new ge)!=k)&&(Ke=function(e){var t=ie.call(e),n=t==b?e.constructor:void 0,r=n?et(n):void 0;if(r)switch(r){case ve:return C;case ye:return v;case be:return _;case _e:return x;case we:return k}return t});var Qe=tt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ut(e))return Ee?Ee.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}(t);var n=[];return P.test(e)&&n.push(""),e.replace(D,(function(e,t,r,i){n.push(r?i.replace(M,"$1"):t||e)})),n}));function Je(e){if("string"==typeof e||ut(e))return e;var t=e+"";return"0"==t&&1/e==-c?"-0":t}function et(e){if(null!=e){try{return ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function tt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(tt.Cache||Ce),n}function nt(e,t){return e===t||e!=e&&t!=t}function rt(e){return function(e){return lt(e)&&ot(e)}(e)&&re.call(e,"callee")&&(!ce.call(e,"callee")||ie.call(e)==u)}tt.Cache=Ce;var it=Array.isArray;function ot(e){return null!=e&&st(e.length)&&!at(e)}function at(e){var t=ct(e)?ie.call(e):"";return t==g||t==m}function st(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function ct(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function lt(e){return!!e&&"object"==typeof e}function ut(e){return"symbol"==typeof e||lt(e)&&ie.call(e)==E}var ft=q?function(e){return function(t){return e(t)}}(q):function(e){return lt(e)&&st(e.length)&&!!N[ie.call(e)]};function ht(e){return ot(e)?Pe(e):Ue(e)}function dt(e){return e}e.exports=function(e,t,n){var r=it(e)?$:He;return n&&function(e,t,n){if(!ct(n))return!1;var r=typeof t;return!!("number"==r?ot(n)&&Ge(t,n.length):"string"==r&&t in n)&&nt(n[t],e)}(e,t,n)&&(t=void 0),r(e,ze(t))}},31373:function(e,t,n){e=n.nmd(e);var r,i=30,o="...",a=1/0,s=17976931348623157e292,c=NaN,l="[object RegExp]",u="[object Symbol]",f=
2/^\s+|\s+$/g,h=/\w*$/,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,g=/^0o[0-7]+$/i,m="\\ud800-\\udfff",v="\\u0300-\\u036f\\ufe20-\\ufe23",y="\\u20d0-\\u20f0",b="\\ufe0e\\ufe0f",_="["+m+"]",w="["+v+y+"]",x="\\ud83c[\\udffb-\\udfff]",S="[^"+m+"]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",C="(?:"+w+"|"+x+")"+"?",A="["+b+"]?",T=A+C+("(?:"+O+"(?:"+[S,E,k].join("|")+")"+A+C+")*"),P="(?:"+[S+w+"?",w,E,k,_].join("|")+")",D=RegExp(x+"(?="+x+")|"+P+T,"g"),M=RegExp("["+O+m+v+y+b+"]"),R=parseInt,j="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,N="object"==typeof self&&self&&self.Object===Object&&self,L=j||N||Function("return this")(),I=t&&!t.nodeType&&t,B=I&&e&&!e.nodeType&&e,F=B&&B.exports===I&&j.process,z=function(){try{return F&&F.binding("util")}catch(e){}}(),U=z&&z.isRegExp,H=(r="length",function(e){return null==e?void 0:e[r]});function q(e){return M.test(e)}function $(e){return q(e)?function(e){var t=D.lastIndex=0;for(;D.test(e);)t++;return t}(e):H(e)}function W(e){return q(e)?function(e){return e.match(D)||[]}(e):function(e){return e.split("")}(e)}var V=Object.prototype.toString,K=L.Symbol,G=K?K.prototype:void 0,Z=G?G.toString:void 0;function Y(e){if("string"==typeof e)return e;if(te(e))return Z?Z.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}function X(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}(e,t,n)}function Q(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var J,ee=U?(J=U,function(e){return J(e)}):function(e){return Q(e)&&V.call(e)==l};function te(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&V.call(e)==u}function ne(e){return e?(e=function(e){if("number"==typeof e)return e;if(te(e))return c;if(Q(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Q(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var n=p.test(e);return n||g.test(e)?R(e.slice(2),n?2:8):d.test(e)?c:+e}(e))===a||e===-a?(e<0?-1:1)*s:e==e?e:0:0===e?e:0}function re(e){return null==e?"":Y(e)}e.exports=function(e,t){var n=i,r=o;if(Q(t)){var a="separator"in t?t.separator:a;n="length"in t?function(e){var t=ne(e),n=t%1;return t==t?n?t-n:t:0}(t.length):n,r="omission"in t?Y(t.omission):r}var s=(e=re(e)).length;if(q(e)){var c=W(e);s=c.length}if(n>=s)return e;var l=n-$(r);if(l<1)return r;var u=c?X(c,0,l).join(""):e.slice(0,l);if(void 0===a)return u+r;if(c&&(l+=u.length-l),ee(a)){if(e.slice(l).search(a)){var f,d=u;for(a.global||(a=RegExp(a.source,re(h.exec(a))+"g")),a.lastIndex=0;f=a.exec(d);)var p=f.index;u=u.slice(0,void 0===p?l:p)}}else if(e.indexOf(Y(a),l)!=l){var g=u.lastIndexOf(a);g>-1&&(u=u.slice(0,g))}return u+r}},59738:function(e){"use strict";e.exports=Math.abs},76329:function(e){"use strict";e.exports=Math.floor},43678:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},52264:function(e){"use strict";e.exports=Math.max},55730:function(e){"use strict";e.exports=Math.min},20707:function(e){"use strict";e.exports=Math.pow},63862:function(e){"use strict";e.exports=Math.round},29550:function(e,t,n){"use strict";var r=n(43678);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},30845:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(i=e[n],o=t[n],!(i===o||r(i)&&r(o)))return!1;var i,o;return!0}t.default=function(e,t){var n;void 0===t&&(t=i);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}},52796:function(e,t,n){e.exports=n(10643)},13264:function(e){"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},84518:function(e){var t,n,r,i,o,a,s,c,l,u,f,h,d,p,g,m=!1;function v(){if(!m){m=!0;var e=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Ice
2weasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(h=/\b(iPhone|iP[ao]d)/.exec(e),d=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),p=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),f=!!/Win64/.exec(e),v){(t=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);a=b?parseFloat(b[1])+4:t,n=v[2]?parseFloat(v[2]):NaN,r=v[3]?parseFloat(v[3]):NaN,(i=v[4]?parseFloat(v[4]):NaN)?(v=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=v&&v[1]?parseFloat(v[1]):NaN):o=NaN}else t=n=r=o=i=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!_||parseFloat(_[1].replace("_","."))}else s=!1;c=!!y[2],l=!!y[3]}else s=c=l=!1}}var y={ie:function(){return v()||t},ieCompatibilityMode:function(){return v()||a>t},ie64:function(){return y.ie()&&f},firefox:function(){return v()||n},opera:function(){return v()||r},webkit:function(){return v()||i},safari:function(){return y.webkit()},chrome:function(){return v()||o},windows:function(){return v()||c},osx:function(){return v()||s},linux:function(){return v()||l},iphone:function(){return v()||h},mobile:function(){return v()||h||d||u||g},nativeApp:function(){return v()||p},android:function(){return v()||u},ipad:function(){return v()||d}};e.exports=y},96534:function(e,t,n){"use strict";var r,i=n(13264);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},10643:function(e,t,n){"use strict";var r=n(84518),i=n(96534),o=10,a=40,s=800;function c(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=a,i*=a):(r*=s,i*=s)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}c.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=c},46685:function(e,t,n){"use strict";n.d(t,{Iq:function(){return u}});var r,i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){var n=this.listeners[e]||[];this.listeners[e]=n.concat([t])},e.prototype.triggerEvent=function(e,t){var n=this;(this.listeners[e]||[]).forEach((function(e){return e({target:n,event:t})}))},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(r||(r={}));var a,s=function(){function e(){this.notifications=[]}return e.prototype.push=function(e){this.notifications.push(e),this.updateFn(e,r.Add,this.notifications)},e.prototype.splice=function(e,t){var n=this.notifications.splice(e,t)[0];return this.updateFn(n,r.Remove,this.notifications),n},e.prototype.indexOf=function(e){return this.notifications.indexOf(e)},e.prototype.onUpdate=function(e){this.updateFn=e},e}();!function(e){e.Dismiss="dismiss",e.Click="click"}(a||(a={}));var c={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},l=function(){function e(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTMLElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return e.prototype.on=function(e,t){var n;this.events=i(i({},this.events),((n={})[e]=t,n))},e.prototype.update=function(e,t){t===r.Add?this.addNotification(e):t===r.Remove&&this.removeNotification(e)},e.prototype.removeNotification=function(e){var t,n,r=this,i=this._popRenderedNotification(e);i&&((t=i.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,n=function(e){e.target===t&&(t.removeEventListener(r.animationEndEventName,n),r.container.removeChild(t))}))},e.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},e.prototype._renderNotification=function(e){var t,n=this._buildNotificationCard(e),r=e.options.className;return r&&(t=n.classList).add.apply(t,r.split(" ")),this.container.appendChild(n),n},e.prototype._popRenderedNotification=function(e){for(var t=-1,n=0;n<this.notifications.length&&t<0;n++)this.notifications[n].notification===e&&(t=n);if(-1!==t)return this.notifications.splice(t,1)[0]},e.prototype.getXPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},e.prototype.getYPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},e.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],r=this.container.style;r.setProperty("justify-content",n),r.setProperty("align-items",t)},e.prototype._buildNotificationCard=function(e){var t=this,n=e.options,r=n.icon;this.adjustContainerAlignment(n);var i=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),o=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),s=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),c=this._createHTMLElement({tagName:"div",className:"notyf__message"});c.innerHTML=n.message||"";var l=n.background||n.backgroundColor;if(r){var u=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof r||r instanceof String)&&(u.innerHTML=new String(r).valueOf()),"object"==typeof r){var f=r.tagName,h=void 0===f?"i":f,d=r.className,p=r.text,g=r.color,m=void 0===g?l:g,v=this._createHTMLElement({tagName:h,className:d,text:p});m&&(v.style.color=m),u.appendChild(v)}s.appendChild(u)}if(s.appendChild(c),i.appendChild(s),l&&(n.ripple?(o.style.background=l,i.appendChild(o)):i.style.background=l),n.dismissible){var y=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),b=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});y.appendChild(b),s.appendChild(y),i.classList.add("notyf__toast--dismissible"),b.addEventListener("click",(function(n){var r,i;
2null===(i=(r=t.events)[a.Dismiss])||void 0===i||i.call(r,{target:e,event:n}),n.stopPropagation()}))}i.addEventListener("click",(function(n){var r,i;return null===(i=(r=t.events)[a.Click])||void 0===i?void 0:i.call(r,{target:e,event:n})}));var _="top"===this.getYPosition(n)?"upper":"lower";return i.classList.add("notyf__toast--"+_),i},e.prototype._createHTMLElement=function(e){var t=e.tagName,n=e.className,r=e.text,i=document.createElement(t);return n&&(i.className=n),i.textContent=r||null,i},e.prototype._createA11yContainer=function(){var e=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},e.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout((function(){t.a11yContainer.textContent=e}),100)},e.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in n)if(void 0!==t.style[e])return n[e];return"animationend"},e}(),u=function(){function e(e){var t=this;this.dismiss=this._removeNotification,this.notifications=new s,this.view=new l;var n=this.registerTypes(e);this.options=i(i({},c),e),this.options.types=n,this.notifications.onUpdate((function(e,n){return t.view.update(e,n)})),this.view.on(a.Dismiss,(function(e){var n=e.target,r=e.event;t._removeNotification(n),n.triggerEvent(a.Dismiss,r)})),this.view.on(a.Click,(function(e){var t=e.target,n=e.event;return t.triggerEvent(a.Click,n)}))}return e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var t=this.options.types.find((function(t){return t.type===e.type}))||{},n=i(i({},t),e);this.assignProps(["ripple","position","dismissible"],n);var r=new o(n);return this._pushNotification(r),r},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var n=this;e.forEach((function(e){t[e]=null==t[e]?n.options[e]:t[e]}))},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var n=void 0!==e.options.duration?e.options.duration:this.options.duration;n&&setTimeout((function(){return t._removeNotification(e)}),n)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,t){var n={type:e};return"string"==typeof t?n.message=t:"object"==typeof t&&(n=i(i({},n),t)),n},e.prototype.registerTypes=function(e){var t=(e&&e.types||[]).slice();return c.types.map((function(e){var n=-1;t.forEach((function(t,r){t.type===e.type&&(n=r)}));var r=-1!==n?t.splice(n,1)[0]:{};return i(i({},e),r)})).concat(t)},e}()},67368:function(e,t,n){e.exports=function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return o;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?i:function(e){return e>=n};var r=n%t;r<0&&(r+=t);if(t>1)return function(e){return e>=n&&e%t===r};return t*=-1,function(e){return e<=n&&e%t===r}};var r=n(11073),i=r.trueFunc,o=r.falseFunc},94882:function(e,t,n){var r=n(31367),i=n(67368);e.exports=function(e){return i(r(e))},e.exports.parse=r,e.exports.compile=i},31367:function(e){e.exports=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var n,r=e.match(t);if(!r)throw new SyntaxError("n-th rule couldn't be parsed ('"+e+"')");return r[1]?(n=parseInt(r[1],10),isNaN(n)&&(n="-"===r[1].charAt(0)?-1:1)):n=0,[n,r[3]?parseInt((r[2]||"")+r[3],10):0]};var t=/^([+\-]?\d*n)?\s*(?:([+\-]?)\s*(\d+))?$/},72719:function(e){var t=e.exports=function(e,n){if("function"==typeof e||n)return t.by(e,n);for(var r={object:[],function:[],string:{},number:{},boolean:{},undefined:{}},i=[],o=0;o<e.length;o++){var a=e[o],s="__proto__"===a?r.objects:r[typeof a]||r.objects;Array.isArray(s)?s.indexOf(a)<0&&(s.push(a),i.push(a)):Object.hasOwnProperty.call(s,a)||(s[a]=!0,i.push(a))}return i};t.by=function(e,t){if("function"==typeof e){var n=t;t=e,e=n}for(var r=[],i=0;i<e.length;i++){for(var o=e[i],a=!1,s=0;s<r.length;s++){var c=r[s];if(t.call(r,o,c)){a=!0;break}}a||r.push(o)}return r}},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;
vendor: 7,869 bytes, line 2
2if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in o=Object(arguments[c]))n.call(o,l)&&(s[l]=o[l]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},70631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,_=String.prototype.toUpperCase,w=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,E=Array.prototype.join,k=Array.prototype.slice,O=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,D="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P||"symbol")?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var N=n(24654),L=N.custom,I=H(L)?L:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return b.call(String(e),/"/g,""")}function z(e){return!("[object Array]"!==W(e)||D&&"object"==typeof e&&D in e)}function U(e){return!("[object RegExp]"!==W(e)||D&&"object"==typeof e&&D in e)}function H(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,i){var s=n||{};if($(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!$(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return g?j(t,_):_}if("bigint"==typeof t){var x=String(t)+"n";return g?j(t,x):x}var O=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=O&&O>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var A=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(s,r);if(void 0===i)i=[];else if(V(i,t)>=0)return"[Circular]";function L(t,n,o){if(n&&(i=k.call(i)).push(n),o){var a={depth:s.depth};return $(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"==typeof t&&!U(t)){var q=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=J(t,L);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(G.length>0?" { "+E.call(G,", ")+" }":"")}if(H(t)){var ee=P?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||P?ee:Z(ee)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var te="<"+w.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+B(F(ne[re].value),"double",s);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+w.call(String(t.nodeName))+">"}if(z(t)){if(0===t.length)return"[]";var ie=J(t,L);return A&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,A)+"]":"[ "+E.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||D&&"object"==typeof e&&D in e)}(t)){var oe=J(t,L);return"cause"in Error.prototype||!("cause"in t)||M.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(oe,", ")+" }":"{ ["+String(t)+"] "+E.call(S.call("[cause]: "+L(t.cause),oe),", ")+" }"}if("object"==typeof t&&c){if(I&&"function"==typeof t[I]&&N)return N(t,{depth:O-r});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push(L(n,t,!0)+" => "+L(e,t))})),X("Map",o.call(t),ae,A)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var se=[];return u&&u.call(t,(function(e){se.push(L(e,t))})),X("Set",l.call(t),se,A)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return Z(L(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return Z(L(C.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return Z(p.call(t));if(function(e){return!("[object String]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return Z(L(String(t)));if(!function(e){return!("[object Date]"!==W(e)||D&&"object"==typeof e&&D in e)}(t)&&!U(t)){var ce=J(t,L),le=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",fe=!le&&D&&Object(t)===t&&D in t?y.call(W
2(t),8,-1):ue?"Object":"",he=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||ue?"["+E.call(S.call([],fe||[],ue||[]),": ")+"] ":"");return 0===ce.length?he+"{}":A?he+"{"+Q(ce,A)+"}":he+"{ "+E.call(ce,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return q.call(e,t)}function W(e){return g.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return K(y.call(e,0,t.maxStringLength),t)+r}return B(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+_.call(t.toString(16))}function Z(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):E.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=z(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=$(e,i)?t(e[i],e):""}var o,a="function"==typeof A?A(e):[];if(P){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var c in e)$(e,c)&&(n&&String(Number(c))===c&&c<e.length||P&&o["$"+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof A)for(var l=0;l<a.length;l++)M.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},57460:function(e,t){var n,r,i;r=[],n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,i={},o=0,a={parse:function(n,r){var s=(r=r||{}).dynamicTyping||!1;if(w(s)&&(r.dynamicTypingFunction=s,s={}),r.dynamicTyping=s,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var c=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,s=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),c=new t.Worker(s);return c.onmessage=m,c.id=o++,i[c.id]=c}();return c.userStep=r.step,c.userChunk=r.chunk,c.userComplete=r.complete,c.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void c.postMessage({input:n,config:r,workerId:c.id})}var d=null;return a.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),d=r.download?new l(r):new f(r)):!0===n.readable&&w(n.read)&&w(n.on)?d=new h(r):(t.File&&n instanceof File||n instanceof Object)&&(d=new u(r)),d.stream(n)},unparse:function(e,t){var n=!1,r=!0,i=",",o="\r\n",s='"',c=s+s,l=!1,u=null,f=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(i=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(l=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(s=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(c=t.escapeChar+s),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(f=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var h=new RegExp(p(s),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return d(null,e,l);if("object"==typeof e[0])return d(u||Object.keys(e[0]),e,l)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),d(e.f
vendor: 15,194 bytes, line 2
2ields||[],e.data||[],l);throw new Error("Unable to serialize unrecognized input");function d(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var s=Array.isArray(e)&&0<e.length,c=!Array.isArray(t[0]);if(s&&r){for(var l=0;l<e.length;l++)0<l&&(a+=i),a+=g(e[l],l);0<t.length&&(a+=o)}for(var u=0;u<t.length;u++){var f=s?e.length:t[u].length,h=!1,d=s?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!s&&(h="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&s){for(var p=[],m=0;m<f;m++){var v=c?e[m]:m;p.push(t[u][v])}h=""===p.join("").trim()}if(!h){for(var y=0;y<f;y++){0<y&&!d&&(a+=i);var b=s&&c?e[y]:y;a+=g(t[u][b],y)}u<t.length-1&&(!n||0<f&&!d)&&(a+=o)}}return a}function g(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;f&&"string"==typeof e&&f.test(e)&&(e="'"+e,r=!0);var o=e.toString().replace(h,c);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(o,a.BAD_DELIMITERS)||-1<o.indexOf(i)||" "===o.charAt(0)||" "===o.charAt(o.length-1))?s+o+s:o}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=g,a.ParserHandle=d,a.NetworkStreamer=l,a.FileStreamer=u,a.StringStreamer=f,a.ReadableStreamStreamer=h,t.jQuery){var s=t.jQuery;s.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==s(this).prop("tagName").toUpperCase()||"file"!==s(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)r.push({file:this.files[i],inputElem:this,instanceConfig:s.extend({},n)})})),i(),this;function i(){if(0!==r.length){var t,n,i,c,l=r[0];if(w(e.before)){var u=e.before(l.file,l.inputElem);if("object"==typeof u){if("abort"===u.action)return t="AbortError",n=l.file,i=l.inputElem,c=u.reason,void(w(e.error)&&e.error({name:t},n,i,c));if("skip"===u.action)return void o();"object"==typeof u.config&&(l.instanceConfig=s.extend(l.instanceConfig,u.config))}else if("skip"===u)return void o()}var f=l.instanceConfig.complete;l.instanceConfig.complete=function(e){w(f)&&f(e,l.file,l.inputElem),o()},a.parse(l.file,l.instanceConfig)}else w(e.complete)&&e.complete()}function o(){r.splice(0,1),i()}}}function c(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new d(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i)}this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+e;this._partialLine="";var s=this._handle.parse(o,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var c=s.meta.cursor;this._finished||(this._partialLine=o.substring(c-this._baseIndex),this._baseIndex=c),s&&s.data&&(this._rowCount+=s.data.length);var l=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:s,workerId:a.WORKER_ID,finished:l});else if(w(this._config.chunk)&&!n){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);s=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!l||!w(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),l||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function l(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),c.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),c.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var i=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,i)}var o=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;c.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function h(e){c.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=_((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=_((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=_((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=_((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function d(e){var t,n,r,i=Math.pow(2,53),o=-i,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,c=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,l=this,u=0,f=0,h=!1,d=!1,m=[],v={data:[],errors:[],meta:{}};if(w(e.step)){var y=e.step;e.step=function(t){if(v=t,S())x();else{if(x(),0===v.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(v.data=v.data[0],y(v,l))}}}function _(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function x(){return v&&r&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(v.data=v.data.filter((function(e){return!_(e)}))),S()&&function(){if(v)if(Array.isArray(v.data[0])){for(var t=0;S()&&t<v.data.length;t++)v.data[t].forEach(n);v.data.splice(0,1)}else v.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),m.push(t)}}(),function(){if(!v||!e.header&&!e.dynamicTyping&&!e.transform)return v;function t(t,n){var r,i=e.header?{}:[];for(r=0;r<t.length;r++){var o=r,a=t[r];e.header&&(o=r>=m.length?"__parsed_extra":m[r]),e.transform&&(a=e.transform(a,o)),a=E(o,a),"__parsed_extra"===o?(i[o]=i[o]||[],i[o].push(a)):i[o]=a}return e.header&&(r>m.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+r,f+n):r<m.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+r,f+n)),i}var n=1;return!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(t),n=v.data.length):v.data=t(v.data,0),e.header&&v.meta&&(v.meta.fields=m),f+=n,v}()}function S(){return e.header&&0===m.length}function E(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(s.test(e)){var t=parseFloat(e);if(o<t&&t<i)return!0}return!1}(n)?parseFloat(n):c.test(n)?new Date(n):""===n?null:n):n;var r}function k(e,t,n,r){var i={type:e,code:t,message:n};void 0!==r&&(i.row=r),v.errors.push(i)}this.parse=function(i,o,s){var c=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(p(t)+"([^]*?)"+p(t),"gm"),r=(e=e.replace(n,"")).split("\r"),i=e.split("\n"),o=1<i.length&&i[0].length<r[0].length;if(1===r.length||o)return"\n";for(var a=0,s=0;s<r.length;s++)"\n"===r[s][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(i,c)),r=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(i),v.meta.delimiter=e.delimiter);else{var l=function(t,n,r,i,o){var s,c,l,u;o=o||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var f=0;f<o.length;f++){var h=o[f],d=0,p=0,m=0;l=void 0;for(var v=new g({comments:i,delimiter:h,newline:n,preview:10}).parse(t),y=0;y<v.data.length;y++)if(r&&_(v.data[y]))m++;else{var b=v.data[y].length;p+=b,void 0!==l?0<b&&(d+=Math.abs(b-l),l=b):l=b}0<v.data.length&&(p/=v.data.length-m),(void 0===c||d<=c)&&(void 0===u||u<p)&&1.99<p&&(c=d,s=h,u=p)}return{successful:!!(e.delimiter=s),bestDelimiter:s}}(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);l.successful?e.delimiter=l.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),v.meta.delimiter=e.delimiter}var u=b(e);return e.preview&&e.header&&u.preview++,t=i,n=new g(u),v=n.parse(t,o,s),x(),h?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return h},this.pause=function(){h=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){l.streamer._halted?(h=!1,l.streamer.parseChunk(t,!0)):setTimeout(l.resume,3)},this.aborted=function(){return d},this.abort=function(){d=!0,n.abort(),v.meta.aborted=!0,w(e.complete)&&e.complete(v),t=""}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t,n=(e=e||{}).delimiter,r=e.newline,i=e.comments,o=e.step,s=e.preview,c=e.fastMode,l=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(l=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),i===n)throw new Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,f=!1;this.parse=function(a,h,d){if("string"!=typeof a)throw new Error("Input must be a string");var g=a.length,m=n.length,v=r.length,y=i.length,b=w(o),_=[],x=[],S=[],E=u=0;if(!a)return V();if(e.header&&!h){var k=a.split(r)[0].split(n),O=[],C={},A=!1;for(var T in k){var P=k[T];w(e.transformHeader)&&(P=e.transformHeader(P,T));var D=P,M=C[P]||0;for(0<M&&(A=!0,D=P+"_"+M),C[P]=M+1;O.includes(D);)D=D+"_"+M;O.push(D)}if(A){var R=a.split(r);R[0]=O.join(n),a=R.join(r)}}if(c||!1!==c&&-1===a.indexOf(t)){for(var j=a.split(r),N=0;N<j.length;N++){if(S=j[N],u+=S.length,N!==j.length-1)u+=r.length;else if(d)return V();if(!i||S.substring(0,y)!==i){if(b){if(_=[],H(S.split(n)),K(),f)return V()}else H(S.split(n));if(s&&s<=N)return _=_.slice(0,s),V(!0)}}return V()}for(var L=a.indexOf(n,u),I=a.indexOf(r,u),B=new RegExp(p(l)+p(t),"g"),F=a.indexOf(t,u);;)if(a[u]!==t)if(i&&0===S.length&&a.substring(u,u+y)===i){if(-1===I)return V();u=I+v,I=a.indexOf(r,u),L=a.indexOf(n,u)}else if(-1!==L&&(L<I||-1===I))S.push(a.substring(u,L)),u=L+m,L=a.indexOf(n,u);else{if(-1===I)break;if(S.push(a.substring(u,I)),W(I+v),b&&(K(),f))return V();if(s&&_.length>=s)return V(!0)}else for(F=u,u++;;){if(-1===(F=a.indexOf(t,F+1)))return d||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:u}),$();if(F===g-1)return $(a.substring(u,F).replace(B,t));if(t!==l||a[F+1]!==l){if(t===l||0===F||a[F-1]!==l){-1!==L&&L<F+1&&(L=a.indexOf(n,F+1)),-1!==I&&I<F+1&&(I=a.indexOf(r,F+1));var z=q(-1===I?L:Math.min(L,I));if(a.substr(F+1+z,m)===n){S.push(a.substring(u,F).replace(B,t)),a[u=F+1+z+m]!==t&&(F=a.indexOf(t,u)),L=a.indexOf(n,u),I=a.indexOf(r,u);break}var U=q(I);if(a.substring(F+1+U,F+1+U+v)===r){if(S.push(a.substring(u,F).replace(B,t)),W(F+1+U+v),L=a.indexOf(n,u),F=a.indexOf(t,u),b&&(K(),f))return V();if(s&&_.length>=s)return V(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:u}),F++}}else F++}return $();function H(e){_.push(e),E=u}function q(e){var t=0;if(-1!==e){var n=a.substring(F+1,e);n&&""===n.trim()&&(t=n.length)}return t}function $(e){return d||(void 0===e&&(e=a.substring(u)),S.push(e),u=g,H(S),b&&K()),V()}function W(e){u=e,H(S),S=[],I=a.indexOf(r,u)}function V(e){return{data:_,errors:x,meta:{delimiter:n,linebreak:r,aborted:f,truncated:!!e,cursor:E+(h||0)}}}function K(){o(V()),_=[],x=[]}},this.abort=function(){f=!0},this.getCharIndex=function(){return u}}function m(e){var t=e.data,n=i[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y}
vendor: 4,462 bytes, line 2
2;if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},o),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,o,t.file),delete t.results)}t.finished&&!r&&v(t.workerId,t.results)}function v(e,t){var n=i[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete i[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=b(e[n]);return t}function _(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(l.prototype=Object.create(c.prototype)).constructor=l,(u.prototype=Object.create(c.prototype)).constructor=u,(f.prototype=Object.create(f.prototype)).constructor=f,(h.prototype=Object.create(c.prototype)).constructor=h,a},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)},14779:function(e,t,n){var r=n(96173);e.exports=d,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=h;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],h=n[1],d=n.index;if(s+=e.slice(a,d),a=d+f.length,h)s+=h[1];else{var p=e[a],g=n[2],m=n[3],v=n[4],y=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=p&&p!==g,x="+"===b||"*"===b,S="?"===b||"*"===b,E=n[2]||u,k=v||y;r.push({name:m||o++,prefix:g||"",delimiter:E,optional:S,repeat:x,partial:w,asterisk:!!_,pattern:k?l(k):_?".*":"[^"+c(E)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",f(t)));return function(t,i){for(var o="",s=t||{},c=(i||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var f,h=s[u.name];if(null==h){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(f=c(h[d]),!n[l].test(f))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===d?u.prefix:u.delimiter)+f}}else{if(f=u.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(h),!n[l].test(f))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+f+'"');o+=u.prefix+f}}else o+=u}return o}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)a+=c(l);else{var h=c(l.prefix),d="(?:"+l.pattern+")";t.push(l),l.repeat&&(d+="(?:"+h+d+")*"),a+=d=l.optional?l.partial?h+"("+d+")?":"(?:"+h+"("+d+"))?":h+"("+d+")"}}var p=c(n.delimiter||"/"),g=a.slice(-p.length)===p;return i||(a=(g?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&g?"":"(?="+p+"|$)",u(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(d(e[i],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return h(o(e,n),t,n)}
vendor: 2,320 bytes, line 2
2(e,t,n)}},96173:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},75:function(e,t,n){var r=n(34155);(function(){var t,n,i,o,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-a)/1e6},n=r.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*r.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)},34155:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,c=[],l=!1,u=-1;function f(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&h())}function h(){if(!l){var e=a(f);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u<t;)s&&s[u].run();u=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||l||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},92703:function(e,t,n){"use strict";
vendor: 5,204 bytes, line 2
2var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86606:function(e){var t;window,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=256,a=function(){function e(e){void 0===e&&(e="="),this._paddingCharacter=e}return e.prototype.encodedLength=function(e){return this._paddingCharacter?(e+2)/3*4|0:(8*e+5)/6|0},e.prototype.encode=function(e){for(var t="",n=0;n<e.length-2;n+=3){var r=e[n]<<16|e[n+1]<<8|e[n+2];t+=this._encodeByte(r>>>18&63),t+=this._encodeByte(r>>>12&63),t+=this._encodeByte(r>>>6&63),t+=this._encodeByte(r>>>0&63)}var i=e.length-n;return i>0&&(r=e[n]<<16|(2===i?e[n+1]<<8:0),t+=this._encodeByte(r>>>18&63),t+=this._encodeByte(r>>>12&63),t+=2===i?this._encodeByte(r>>>6&63):this._paddingCharacter||"",t+=this._paddingCharacter||""),t},e.prototype.maxDecodedLength=function(e){return this._paddingCharacter?e/4*3|0:(6*e+7)/8|0},e.prototype.decodedLength=function(e){return this.maxDecodedLength(e.length-this._getPaddingLength(e))},e.prototype.decode=function(e){if(0===e.length)return new Uint8Array(0);for(var t=this._getPaddingLength(e),n=e.length-t,r=new Uint8Array(this.maxDecodedLength(n)),i=0,a=0,s=0,c=0,l=0,u=0,f=0;a<n-4;a+=4)c=this._decodeChar(e.charCodeAt(a+0)),l=this._decodeChar(e.charCodeAt(a+1)),u=this._decodeChar(e.charCodeAt(a+2)),f=this._decodeChar(e.charCodeAt(a+3)),r[i++]=c<<2|l>>>4,r[i++]=l<<4|u>>>2,r[i++]=u<<6|f,s|=c&o,s|=l&o,s|=u&o,s|=f&o;if(a<n-1&&(c=this._decodeChar(e.charCodeAt(a)),l=this._decodeChar(e.charCodeAt(a+1)),r[i++]=c<<2|l>>>4,s|=c&o,s|=l&o),a<n-2&&(u=this._decodeChar(e.charCodeAt(a+2)),r[i++]=l<<4|u>>>2,s|=u&o),a<n-3&&(f=this._decodeChar(e.charCodeAt(a+3)),r[i++]=u<<6|f,s|=f&o),0!==s)throw new Error("Base64Coder: incorrect characters for decoding");return r},e.prototype._encodeByte=function(e){var t=e;return t+=65,t+=25-e>>>8&6,t+=51-e>>>8&-75,t+=61-e>>>8&-15,t+=62-e>>>8&3,String.fromCharCode(t)},e.prototype._decodeChar=function(e){var t=o;return t+=(42-e&e-44)>>>8&-256+e-43+62,t+=(46-e&e-48)>>>8&-256+e-47+63,t+=(47-e&e-58)>>>8&-256+e-48+52,t+=(64-e&e-91)>>>8&-256+e-65+0,t+=(96-e&e-123)>>>8&-256+e-97+26},e.prototype._getPaddingLength=function(e){var t=0;if(this._paddingCharacter){for(var n=e.length-1;n>=0&&e[n]===this._paddingCharacter;n--)t++;if(e.length<4||t>2)throw new Error("Base64Coder: incorrect padding")}return t},e}();t.Coder=a;var s=new a;t.encode=function(e){return s.encode(e)},t.decode=function(e){return s.decode(e)};var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._encodeByte=function(e){var t=e;return t+=65,t+=25-e>>>8&6,t+=51-e>>>8&-75,t+=61-e>>>8&-13,t+=62-e>>>8&49,String.fromCharCode(t)},t.prototype._decodeChar=function(e){var t=o;return t+=(44-e&e-46)>>>8&-256+e-45+62,t+=(94-e&e-96)>>>8&-256+e-95+63,t+=(47-e&e-58)>>>8&-256+e-48+52,t+=(64-e&e-91)>>>8&-256+e-65+0,t+=(96-e&e-123)>>>8&-256+e-97+26},t}(a);t.URLSafeCoder=c;var l=new c;t.encodeURLSafe=function(e){return l.encode(e)},t.decodeURLSafe=function(e){return l.decode(e)},t.encodedLength=function(e){return s.encodedLength(e)},t.maxDecodedLength=function(e){return s.maxDecodedLength(e)},t.decodedLength=function(e){return s.decodedLength(e)}},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r="utf8: invalid string",i="utf8: invalid source encoding";function o(e){for(var t=0,n=0;n<e.length;n++){var i=e.charCodeAt(n);if(i<128)t+=1;else if(i<2048)t+=2;else if(i<55296)t+=3;else{if(!(i<=57343))throw new Error(r);if(n>=e.length-1)throw new Error(r);n++,t+=4}}return t}t.encode=function(e){for(var t=new Uint8Array(o(e)),n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=192|i>>6,t[n++]=128|63&i):i<55296?(t[n++]=224|i>>12,t[n++]=128|i>>6&63,t[n++]=128|63&i):(r++,i=(1023&i)<<10,i|=1023&e.charCodeAt(r),i+=65536,t[n++]=240|i>>18,t[n++]=128|i>>12&63,t[n++]=128|i>>6&63,t[n++]=128|63&i)}return t},t.encodedLength=o,t.decode=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(128&r){var o=void 0;if(r<224){if(n>=e.length)throw new Error(i);if(128!=(192&(a=e[++n])))throw new Error(i);r=(31&r)<<6|63&a,o=128}else if(r<240){if(n>=e.length-1)throw new Error(i);var a=e[++n],s=e[++n];if(128!=(192&a)||128!=(192&s))throw new Error(i);r=(15&r)<<12|(63&a)<<6|63&s,o=2048}else{if(!(r<248))throw new Error(i);if(n>=e.length-2)throw new Error(i);a=e[++n],s=e[++n];var c=e[++n];if(128!=(192&a)||128!=(192&s)||128!=(192&c))throw new Error(i);r=(15&r)<<18|(63&a)<<12|(63&s)<<6|63&c,o=65536}if(r<o||r>=55296&&r<=57343)throw new Error(i);if(r>=65536){if(r>1114111)throw new Error(i);r-=65536,t.push(String.fromCharCode(55296|r>>10)),r=56320|1023&r}}t.push(String.fromCharCode(r))}return t.join("")}},function(e,t,n){e.exports=n(3).default},function(e,t,n){"use strict";n.r(t);var r,i=function(){function e(e,t){this.lastId=0,this.prefix=e,this.name=t}return e.prototype.create=function(e){this.lastId++;var t=this.lastId,n=this.prefix+t,r=this.name+"["+t+"]",i=!1,o=function(){i||(e.apply(null,arguments),i=!0)};return this[t]=o,{number:t,id:n,name:r,callback:o}},e.prototype.remove=function(e){delete this[e.number]},e}(),o=new i("_pusher_script_","Pusher.ScriptReceivers"),a={VERSION:"7.6.0",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",userAuthentication:{endpoint:"/pusher/user-auth",transport:"ajax"},channelAuthorization:{endpoint:"/pusher/auth",transport:"ajax"},cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},s=function(){function e(e){this.options=e,this.receivers=e.receivers||o,this.loading={}}return e.prototype.load=function(e,t,n){var r=this;if(r.loading[e]&&r.loading[e].length>0)r.loading[e].push(n);else{r.loading[e]=[n];var i=Pt.createScriptRequest(r.getPath(e,t)),o=r.receivers.create((function(t){if(r.receivers.remove(o),r.loading[e]){var n=r.loading[e];delete r.loading[e];for(var a=function(e){e||i.cleanup()},s=0;s<n.length;s++)n[s](t,a)}}));i.send(o)}},e.prototype.getRoot=function(e){var t=Pt.getDocument().location.protocol;return(e&&e.useTLS||"https:"===t?this.options.cdn_https:this.options.cdn_http).replace(/\/*$/,"")+"/"+this.options.version},e.prototype.getPath=function(e,t){return this.getRoot(t)+"/"+e+this.options.suffix+".js"},e}(),c=new i("_pusher_dependencies","Pusher.DependenciesReceivers"),l=new s({cdn_http:a.cdn_http,cdn_https:a.cdn_https,version:a.VERSION,suffix:a.dependency_suffix,receivers:c}),u={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/channels/server_api/authenticating_users"},authorizationEndpoint:{path:"/docs/channels/server_api/authorizing-users/"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}},f={buildLogSuffix:function(e){var t,n=u.urls[e];return n?(n.fullUrl?t=n.fullUrl:n.path&&(t=u.baseUrl+n.path),t?"See: "+t:""):""}};!function(e){e.UserAuthentication="user-authentication",e.ChannelAuthorization="channel-authorization"}(r||(r={}));
2for(var h,d=(h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},h(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),g=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),m=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),v=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),y=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),b=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),_=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),w=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.setPrototypeOf(r,n.prototype),r}return d(t,e),t}(Error),x=function(e){function t(t,n){var r=this.constructor,i=e.call(this,n)||this;return i.status=t,Object.setPrototypeOf(i,r.prototype),i}return d(t,e),t}(Error),S=function(e,t,n,i,o){var a=Pt.createXHR();for(var s in a.open("POST",n.endpoint,!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.headers)a.setRequestHeader(s,n.headers[s]);if(null!=n.headersProvider){var c=n.headersProvider();for(var s in c)a.setRequestHeader(s,c[s])}return a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status){var e=void 0,t=!1;try{e=JSON.parse(a.responseText),t=!0}catch(e){o(new x(200,"JSON returned from "+i.toString()+" endpoint was invali
2d, yet status code was 200. Data was: "+a.responseText),null)}t&&o(null,e)}else{var s="";switch(i){case r.UserAuthentication:s=f.buildLogSuffix("authenticationEndpoint");break;case r.ChannelAuthorization:s="Clients must be authorized to join private or presence channels. "+f.buildLogSuffix("authorizationEndpoint")}o(new x(a.status,"Unable to retrieve auth string from "+i.toString()+" endpoint - received status: "+a.status+" from "+n.endpoint+". "+s),null)}},a.send(t),a},E=String.fromCharCode,k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O={},C=0,A=k.length;C<A;C++)O[k.charAt(C)]=C;var T=function(e){var t=e.charCodeAt(0);return t<128?e:t<2048?E(192|t>>>6)+E(128|63&t):E(224|t>>>12&15)+E(128|t>>>6&63)+E(128|63&t)},P=function(e){return e.replace(/[^\x00-\x7F]/g,T)},D=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[k.charAt(n>>>18),k.charAt(n>>>12&63),t>=2?"=":k.charAt(n>>>6&63),t>=1?"=":k.charAt(63&n)].join("")},M=window.btoa||function(e){return e.replace(/[\s\S]{1,3}/g,D)},R=function(){function e(e,t,n,r){var i=this;this.clear=t,this.timer=e((function(){i.timer&&(i.timer=r(i.timer))}),n)}return e.prototype.isRunning=function(){return null!==this.timer},e.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},e}(),j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function N(e){window.clearTimeout(e)}function L(e){window.clearInterval(e)}var I=function(e){function t(t,n){return e.call(this,setTimeout,N,t,(function(e){return n(),null}))||this}return j(t,e),t}(R),B=function(e){function t(t,n){return e.call(this,setInterval,L,t,(function(e){return n(),e}))||this}return j(t,e),t}(R),F={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(e){return new I(0,e)},method:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.prototype.slice.call(arguments,1);return function(t){return t[e].apply(t,r.concat(arguments))}}},z=F;function U(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var i=t[r];for(var o in i)i[o]&&i[o].constructor&&i[o].constructor===Object?e[o]=U(e[o]||{},i[o]):e[o]=i[o]}return e}function H(){for(var e=["Pusher"],t=0;t<arguments.length;t++)"string"==typeof arguments[t]?e.push(arguments[t]):e.push(J(arguments[t]));return e.join(" : ")}function q(e,t){var n=Array.prototype.indexOf;if(null===e)return-1;if(n&&e.indexOf===n)return e.indexOf(t);for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}function $(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(e[n],n,e)}function W(e){var t=[];return $(e,(function(e,n){t.push(n)})),t}function V(e,t,n){for(var r=0;r<e.length;r++)t.call(n||window,e[r],r,e)}function K(e,t){for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r,e,n));return n}function G(e,t){t=t||function(e){return!!e};for(var n=[],r=0;r<e.length;r++)t(e[r],r,e,n)&&n.push(e[r]);return n}function Z(e,t){var n={};return $(e,(function(r,i){(t&&t(r,i,e,n)||Boolean(r))&&(n[i]=r)})),n}function Y(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return!0;return!1}function X(e){return t=function(e){return"object"==typeof e&&(e=J(e)),encodeURIComponent(function(e){return M(P(e))}(e.toString()))},n={},$(e,(function(e,r){n[r]=t(e)})),n;var t,n}function Q(e){var t,n,r=Z(e,(function(e){return void 0!==e}));return K((t=X(r),n=[],$(t,(function(e,t){n.push([t,e])})),n),z.method("join","=")).join("&")}function J(e){try{return JSON.stringify(e)}catch(r){return JSON.stringify((t=[],n=[],function e(r,i){var o,a,s;switch(typeof r){case"object":if(!r)return null;for(o=0;o<t.length;o+=1)if(t[o]===r)return{$ref:n[o]};if(t.push(r),n.push(i),"[object Array]"===Object.prototype.toString.apply(r))for(s=[],o=0;o<r.length;o+=1)s[o]=e(r[o],i+"["+o+"]");else for(a in s={},r)Object.prototype.hasOwnProperty.call(r,a)&&(s[a]=e(r[a],i+"["+JSON.stringify(a)+"]"));return s;case"number":case"string":case"boolean":return r}}(e,"$")))}var t,n}var ee=function(){function e(){this.globalLog=function(e){window.console&&window.console.log&&window.console.log(e)}}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.log(this.globalLog,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.log(this.globalLogWarn,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.log(this.globalLogError,e)},e.prototype.globalLogWarn=function(e){window.console&&window.console.warn?window.console.warn(e):this.globalLog(e)},e.prototype.globalLogError=function(e){window.console&&window.console.error?window.console.error(e):this.globalLogWarn(e)},e.prototype.log=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=H.apply(this,arguments);tn.log?tn.log(r):tn.logToConsole&&e.bind(this)(r)},e}(),te=new ee,ne=function(e,t,n,r,i){void 0===n.headers&&null==n.headersProvider||te.warn("To send headers with the "+r.toString()+" request, you must use AJAX, rather than JSONP.");var o=e.nextAuthCallbackID.toString();e.nextAuthCallbackID++;var a=e.getDocument(),s=a.createElement("script");e.auth_callbacks[o]=function(e){i(null,e)};var c="Pusher.auth_callbacks['"+o+"']";s.src=n.endpoint+"?callback="+encodeURIComponent(c)+"&"+t;var l=a.getElementsByTagName("head")[0]||a.documentElement;l.insertBefore(s,l.firstChild)},re=function(){function e(e){this.src=e}return e.prototype.send=function(e){var t=this,n="Error loading "+t.src;t.script=document.createElement("script"),t.script.id=e.id,t.script.src=t.src,t.script.type="text/javascript",t.script.charset="UTF-8",t.script.addEventListener?(t.script.onerror=function(){e.callback(n)},t.script.onload=function(){e.callback(null)}):t.script.onreadystatechange=function(){"loaded"!==t.script.readyState&&"complete"!==t.script.readyState||e.callback(null)},void 0===t.script.async&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(t.errorScript=document.createElement("script"),t.errorScript.id=e.id+"_error",t.errorScript.text=e.name+"('"+n+"');",t.script.async=t.errorScript.async=!1):t.script.async=!0;var r=document.getElementsByTagName("head")[0];r.insertBefore(t.script,r.firstChild),t.errorScript&&r.insertBefore(t.errorScript,t.script.nextSibling)},e.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},e}(),ie=function(){function e(e,t){this.url=e,this.data=t}return e.prototype.send=function(e){if(!this.request){var t=Q(this.data),n=this.url+"/"+e.number+"?"+t;this.request=Pt.createScriptRequest(n),this.request.send(e)}},e.prototype.cleanup=function(){this.request&&this.request.cleanup()},e}(),oe={name:"jsonp",getAgent:function(e,t){return function(n,r){var i="http"+(t?"s":"")+"://"+(e.host||e.options.host)+e.options.path,a=Pt.createJSONPRequest(i,n),s=Pt.ScriptReceivers.create((function(t,n){o.remove(s),a.cleanup(),n&&n.host&&(e.host=n.host),r&&r(t,n)}
2));a.send(s)}}};function ae(e,t,n){return e+(t.useTLS?"s":"")+"://"+(t.useTLS?t.hostTLS:t.hostNonTLS)+n}function se(e,t){return"/app/"+e+"?protocol="+a.PROTOCOL+"&client=js&version="+a.VERSION+(t?"&"+t:"")}var ce={getInitial:function(e,t){return ae("ws",t,(t.httpPath||"")+se(e,"flash=false"))}},le={getInitial:function(e,t){return ae("http",t,(t.httpPath||"/pusher")+se(e))}},ue={getInitial:function(e,t){return ae("http",t,t.httpPath||"/pusher")},getPath:function(e,t){return se(e)}},fe=function(){function e(){this._callbacks={}}return e.prototype.get=function(e){return this._callbacks[he(e)]},e.prototype.add=function(e,t,n){var r=he(e);this._callbacks[r]=this._callbacks[r]||[],this._callbacks[r].push({fn:t,context:n})},e.prototype.remove=function(e,t,n){if(e||t||n){var r=e?[he(e)]:W(this._callbacks);t||n?this.removeCallback(r,t,n):this.removeAllCallbacks(r)}else this._callbacks={}},e.prototype.removeCallback=function(e,t,n){V(e,(function(e){this._callbacks[e]=G(this._callbacks[e]||[],(function(e){return t&&t!==e.fn||n&&n!==e.context})),0===this._callbacks[e].length&&delete this._callbacks[e]}),this)},e.prototype.removeAllCallbacks=function(e){V(e,(function(e){delete this._callbacks[e]}),this)},e}();function he(e){return"_"+e}var de=function(){function e(e){this.callbacks=new fe,this.global_callbacks=[],this.failThrough=e}return e.prototype.bind=function(e,t,n){return this.callbacks.add(e,t,n),this},e.prototype.bind_global=function(e){return this.global_callbacks.push(e),this},e.prototype.unbind=function(e,t,n){return this.callbacks.remove(e,t,n),this},e.prototype.unbind_global=function(e){return e?(this.global_callbacks=G(this.global_callbacks||[],(function(t){return t!==e})),this):(this.global_callbacks=[],this)},e.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},e.prototype.emit=function(e,t,n){for(var r=0;r<this.global_callbacks.length;r++)this.global_callbacks[r](e,t);var i=this.callbacks.get(e),o=[];if(n?o.push(t,n):t&&o.push(t),i&&i.length>0)for(r=0;r<i.length;r++)i[r].fn.apply(i[r].context||window,o);else this.failThrough&&this.failThrough(e,t);return this},e}(),pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a.initialize=Pt.transportConnectionInitializer,a.hooks=t,a.name=n,a.priority=r,a.key=i,a.options=o,a.state="new",a.timeline=o.timeline,a.activityTimeout=o.activityTimeout,a.id=a.timeline.generateUniqueID(),a}return pe(t,e),t.prototype.handlesActivityChecks=function(){return Boolean(this.hooks.handlesActivityChecks)},t.prototype.supportsPing=function(){return Boolean(this.hooks.supportsPing)},t.prototype.connect=function(){var e=this;if(this.socket||"initialized"!==this.state)return!1;var t=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(t,this.options)}catch(t){return z.defer((function(){e.onError(t),e.changeState("closed")})),!1}return this.bindListeners(),te.debug("Connecting",{transport:this.name,url:t}),this.changeState("connecting"),!0},t.prototype.close=function(){return!!this.socket&&(this.socket.close(),!0)},t.prototype.send=function(e){var t=this;return"open"===this.state&&(z.defer((function(){t.socket&&t.socket.send(e)})),!0)},t.prototype.ping=function(){"open"===this.state&&this.supportsPing()&&this.socket.ping()},t.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0},t.prototype.onError=function(e){this.emit("error",{type:"WebSocketError",error:e}),this.timeline.error(this.buildTimelineMessage({error:e.toString()}))},t.prototype.onClose=function(e){e?this.changeState("closed",{code:e.code,reason:e.reason,wasClean:e.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0}
2,t.prototype.onMessage=function(e){this.emit("message",e)},t.prototype.onActivity=function(){this.emit("activity")},t.prototype.bindListeners=function(){var e=this;this.socket.onopen=function(){e.onOpen()},this.socket.onerror=function(t){e.onError(t)},this.socket.onclose=function(t){e.onClose(t)},this.socket.onmessage=function(t){e.onMessage(t)},this.supportsPing()&&(this.socket.onactivity=function(){e.onActivity()})},t.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))},t.prototype.changeState=function(e,t){this.state=e,this.timeline.info(this.buildTimelineMessage({state:e,params:t})),this.emit(e,t)},t.prototype.buildTimelineMessage=function(e){return U({cid:this.id},e)},t}(de),me=ge,ve=function(){function e(e){this.hooks=e}return e.prototype.isSupported=function(e){return this.hooks.isSupported(e)},e.prototype.createConnection=function(e,t,n,r){return new me(this.hooks,e,t,n,r)},e}(),ye=new ve({urls:ce,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(Pt.getWebSocketAPI())},isSupported:function(){return Boolean(Pt.getWebSocketAPI())},getSocket:function(e){return Pt.createWebSocket(e)}}),be={urls:le,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},_e=U({getSocket:function(e){return Pt.HTTPFactory.createStreamingSocket(e)}},be),we=U({getSocket:function(e){return Pt.HTTPFactory.createPollingSocket(e)}},be),xe={isSupported:function(){return Pt.isXHRSupported()}},Se={ws:ye,xhr_streaming:new ve(U({},_e,xe)),xhr_polling:new ve(U({},we,xe))},Ee=new ve({file:"sockjs",urls:ue,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return void 0!==window.SockJS},getSocket:function(e,t){return new window.SockJS(e,null,{js_path:l.getPath("sockjs",{useTLS:t.useTLS}),ignore_null_origin:t.ignoreNullOrigin})},beforeOpen:function(e,t){e.send(JSON.stringify({path:t}))}}),ke={isSupported:function(e){return Pt.isXDRSupported(e.useTLS)}},Oe=new ve(U({},_e,ke)),Ce=new ve(U({},we,ke));Se.xdr_streaming=Oe,Se.xdr_polling=Ce,Se.sockjs=Ee;var Ae=Se,Te=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pe=new(function(e){function t(){var t=e.call(this)||this,n=t;return void 0!==window.addEventListener&&(window.addEventListener("online",(function(){n.emit("online")}),!1),window.addEventListener("offline",(function(){n.emit("offline")}),!1)),t}return Te(t,e),t.prototype.isOnline=function(){return void 0===window.navigator.onLine||window.navigator.onLine},t}(de)),De=function(){function e(e,t,n){this.manager=e,this.transport=t,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return e.prototype.createConnection=function(e,t,n,r){var i=this;r=U({},r,{activityTimeout:this.pingDelay});var o=this.transport.createConnection(e,t,n,r),a=null,s=function(){o.unbind("open",s),o.bind("closed",c),a=z.now()},c=function(e){if(o.unbind("closed",c),1002===e.code||1003===e.code)i.manager.reportDeath();else if(!e.wasClean&&a){var t=z.now()-a;t<2*i.maxPingDelay&&(i.manager.reportDeath(),i.pingDelay=Math.max(t/2,i.minPingDelay))}};return o.bind("open",s),o},e.prototype.isSupported=function(e){return this.manager.isAlive()&&this.transport.isSupported(e)},e}(),Me={decodeMessage:function(e){try{var t=JSON.parse(e.data),n=t.data;if("string"==typeof n)try{n=JSON.parse(t.data)}catch(e){}var r={event:t.event,channel:t.channel,data:n};return t.user_id&&(r.user_id=t.user_id),r}catch(t){throw{type:"MessageParseError",error:t,data:e.data}}},encodeMessage:function(e){return JSON.stringify(e)},processHandshake:function(e){var t=Me.decodeMessage(e);if("pusher:connection_established"===t.event){if(!t.data.activity_timeout)throw"No activity timeout specified in handshake";
2return{action:"connected",id:t.data.socket_id,activityTimeout:1e3*t.data.activity_timeout}}if("pusher:error"===t.event)return{action:this.getCloseAction(t.data),error:this.getCloseError(t.data)};throw"Invalid handshake"},getCloseAction:function(e){return e.code<4e3?e.code>=1002&&e.code<=1004?"backoff":null:4e3===e.code?"tls_only":e.code<4100?"refused":e.code<4200?"backoff":e.code<4300?"retry":"refused"},getCloseError:function(e){return 1e3!==e.code&&1001!==e.code?{type:"PusherError",data:{code:e.code,message:e.reason||e.message}}:null}},Re=Me,je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ne=function(e){function t(t,n){var r=e.call(this)||this;return r.id=t,r.transport=n,r.activityTimeout=n.activityTimeout,r.bindListeners(),r}return je(t,e),t.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},t.prototype.send=function(e){return this.transport.send(e)},t.prototype.send_event=function(e,t,n){var r={event:e,data:t};return n&&(r.channel=n),te.debug("Event sent",r),this.send(Re.encodeMessage(r))},t.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},t.prototype.close=function(){this.transport.close()},t.prototype.bindListeners=function(){var e=this,t={message:function(t){var n;try{n=Re.decodeMessage(t)}catch(n){e.emit("error",{type:"MessageParseError",error:n,data:t.data})}if(void 0!==n){switch(te.debug("Event recd",n),n.event){case"pusher:error":e.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":e.emit("ping");break;case"pusher:pong":e.emit("pong")}e.emit("message",n)}},activity:function(){e.emit("activity")},error:function(t){e.emit("error",t)},closed:function(t){n(),t&&t.code&&e.handleCloseEvent(t),e.transport=null,e.emit("closed")}},n=function(){$(t,(function(t,n){e.transport.unbind(n,t)}))};$(t,(function(t,n){e.transport.bind(n,t)}))},t.prototype.handleCloseEvent=function(e){var t=Re.getCloseAction(e),n=Re.getCloseError(e);n&&this.emit("error",n),t&&this.emit(t,{action:t,error:n})},t}(de),Le=function(){function e(e,t){this.transport=e,this.callback=t,this.bindListeners()}return e.prototype.close=function(){this.unbindListeners(),this.transport.close()},e.prototype.bindListeners=function(){var e=this;this.onMessage=function(t){var n;e.unbindListeners();try{n=Re.processHandshake(t)}catch(t){return e.finish("error",{error:t}),void e.transport.close()}"connected"===n.action?e.finish("connected",{connection:new Ne(n.id,e.transport),activityTimeout:n.activityTimeout}):(e.finish(n.action,{error:n.error}),e.transport.close())},this.onClosed=function(t){e.unbindListeners();var n=Re.getCloseAction(t)||"backoff",r=Re.getCloseError(t);e.finish(n,{error:r})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},e.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},e.prototype.finish=function(e,t){this.callback(U({transport:this.transport,action:e},t))},e}(),Ie=function(){function e(e,t){this.timeline=e,this.options=t||{}}return e.prototype.send=function(e,t){this.timeline.isEmpty()||this.timeline.send(Pt.TimelineTransport.getAgent(this,e),t)},e}(),Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fe=function(e){function t(t,n){var r=e.call(this,(function(e,n){te.debug("No callbacks on "+t+" for "+e)}))||this;return r.name=t,r.pusher=n,r.subscribed=!1,r.subscriptionPending=!1,r.subscriptionCancelled=!1,r}return Be(t,e),t.prototype.authorize=function(e,t){return t(null,{auth:""})},t.prototype.trigger=function(e,t){if(0!==e.indexOf("client-"))throw new p("Event '"+e+"' does not start with 'client-'");
2if(!this.subscribed){var n=f.buildLogSuffix("triggeringClientEvents");te.warn("Client event triggered before channel 'subscription_succeeded' event . "+n)}return this.pusher.send_event(e,t,this.name)},t.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},t.prototype.handleEvent=function(e){var t=e.event,n=e.data;"pusher_internal:subscription_succeeded"===t?this.handleSubscriptionSucceededEvent(e):"pusher_internal:subscription_count"===t?this.handleSubscriptionCountEvent(e):0!==t.indexOf("pusher_internal:")&&this.emit(t,n,{})},t.prototype.handleSubscriptionSucceededEvent=function(e){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",e.data)},t.prototype.handleSubscriptionCountEvent=function(e){e.data.subscription_count&&(this.subscriptionCount=e.data.subscription_count),this.emit("pusher:subscription_count",e.data)},t.prototype.subscribe=function(){var e=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(function(t,n){t?(e.subscriptionPending=!1,te.error(t.toString()),e.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:t.message},t instanceof x?{status:t.status}:{}))):e.pusher.send_event("pusher:subscribe",{auth:n.auth,channel_data:n.channel_data,channel:e.name})})))},t.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},t.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},t.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},t}(de),ze=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ze(t,e),t.prototype.authorize=function(e,t){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:e},t)},t}(Fe),He=Ue,qe=function(){function e(){this.reset()}return e.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.members,e)?{id:e,info:this.members[e]}:null},e.prototype.each=function(e){var t=this;$(this.members,(function(n,r){e(t.get(r))}))},e.prototype.setMyID=function(e){this.myID=e},e.prototype.onSubscription=function(e){this.members=e.presence.hash,this.count=e.presence.count,this.me=this.get(this.myID)},e.prototype.addMember=function(e){return null===this.get(e.user_id)&&this.count++,this.members[e.user_id]=e.user_info,this.get(e.user_id)},e.prototype.removeMember=function(e){var t=this.get(e.user_id);return t&&(delete this.members[e.user_id],this.count--),t},e.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},e}(),$e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),We=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Ve=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Ke=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.members=new qe,r}return $e(t,e),t.prototype.authorize=function(t,n){var r=this;e.prototype.authorize.call(this,t,(function(e,t){return We(r,void 0,void 0,(function(){var r,i;return Ve(this,(function(o){switch(o.label){case 0:return e?[3,3]:null==t.channel_data?[3,1]:(r=JSON.parse(t.channel_data),this.members.setMyID(r.user_id),[3,3]);case 1:return[4,this.pusher.user.signinDonePromise];case 2:if(o.sent(),null==this.pusher.user.user_data)return i=f.buildLogSuffix("authorizationEndpoint"),te.error("Invalid auth response for channel '"+this.name+"', expected 'channel_data' field. "+i+", or the user should be signed in."),n("Invalid auth response"),[2];this.members.setMyID(this.pusher.user.user_data.id),o.label=3;case 3:return n(e,t),[2]}}))}))}))},t.prototype.handleEvent=function(e){var t=e.event;if(0===t.indexOf("pusher_internal:"))this.handleInternalEvent(e);else{var n=e.data,r={};
2e.user_id&&(r.user_id=e.user_id),this.emit(t,n,r)}},t.prototype.handleInternalEvent=function(e){var t=e.event,n=e.data;switch(t){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(e);break;case"pusher_internal:subscription_count":this.handleSubscriptionCountEvent(e);break;case"pusher_internal:member_added":var r=this.members.addMember(n);this.emit("pusher:member_added",r);break;case"pusher_internal:member_removed":var i=this.members.removeMember(n);i&&this.emit("pusher:member_removed",i)}},t.prototype.handleSubscriptionSucceededEvent=function(e){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(e.data),this.emit("pusher:subscription_succeeded",this.members))},t.prototype.disconnect=function(){this.members.reset(),e.prototype.disconnect.call(this)},t}(He),Ge=n(1),Ze=n(0),Ye=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Xe=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.key=null,i.nacl=r,i}return Ye(t,e),t.prototype.authorize=function(t,n){var r=this;e.prototype.authorize.call(this,t,(function(e,t){if(e)n(e,t);else{var i=t.shared_secret;i?(r.key=Object(Ze.decode)(i),delete t.shared_secret,n(null,t)):n(new Error("No shared_secret key in auth payload for encrypted channel: "+r.name),null)}}))},t.prototype.trigger=function(e,t){throw new b("Client events are not currently supported for encrypted channels")},t.prototype.handleEvent=function(t){var n=t.event,r=t.data;0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")?this.handleEncryptedEvent(n,r):e.prototype.handleEvent.call(this,t)},t.prototype.handleEncryptedEvent=function(e,t){var n=this;if(this.key)if(t.ciphertext&&t.nonce){var r=Object(Ze.decode)(t.ciphertext);if(r.length<this.nacl.secretbox.overheadLength)te.error("Expected encrypted event ciphertext length to be "+this.nacl.secretbox.overheadLength+", got: "+r.length);else{var i=Object(Ze.decode)(t.nonce);if(i.length<this.nacl.secretbox.nonceLength)te.error("Expected encrypted event nonce length to be "+this.nacl.secretbox.nonceLength+", got: "+i.length);else{var o=this.nacl.secretbox.open(r,i,this.key);if(null===o)return te.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),void this.authorize(this.pusher.connection.socket_id,(function(t,a){t?te.error("Failed to make a request to the authEndpoint: "+a+". Unable to fetch new key, so dropping encrypted event"):null!==(o=n.nacl.secretbox.open(r,i,n.key))?n.emit(e,n.getDataToEmit(o)):te.error("Failed to decrypt event with new key. Dropping encrypted event")}));this.emit(e,this.getDataToEmit(o))}}}else te.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+t);else te.debug("Received encrypted event before key has been retrieved from the authEndpoint")},t.prototype.getDataToEmit=function(e){var t=Object(Ge.decode)(e);try{return JSON.parse(t)}catch(e){return t}},t}(He),Qe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Je=function(e){function t(t,n){var r=e.call(this)||this;r.state="initialized",r.connection=null,r.key=t,r.options=n,r.timeline=r.options.timeline,r.usingTLS=r.options.useTLS,r.errorCallbacks=r.buildErrorCallbacks(),r.connectionCallbacks=r.buildConnectionCallbacks(r.errorCallbacks),r.handshakeCallbacks=r.buildHandshakeCallbacks(r.errorCallbacks);var i=Pt.getNetwork();return i.bind("online",(function(){r.timeline.info({netinfo:"online"}),"connecting"!==r.state&&"unavailable"!==r.state||r.retryIn(0)})),i.bind("offline",(function(){r.timeline.info({netinfo:"offline"}),r.connection&&r.sendActivityCheck()})),r.updateStrategy(),r}return Qe(t,e),t.prototype.connect=function(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))},t.prototype.send=function(e){return!!this.connection&&this.connection.send(e)},t.prototype.send_event=function(e,t,n){return!!this.connection&&this.connection.send_event(e,t,n)},t.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},t.prototype.isUsingTLS=function(){return this.usingTLS},t.prototype.startConnecting=function(){var e=this,t=function(n,r){n?e.runner=e.strategy.connect(0,t):"error"===r.action?(e.emit("error",{type:"HandshakeError",error:r.error}
2),e.timeline.error({handshakeError:r.error})):(e.abortConnecting(),e.handshakeCallbacks[r.action](r))};this.runner=this.strategy.connect(0,t)},t.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},t.prototype.disconnectInternally=function(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()},t.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},t.prototype.retryIn=function(e){var t=this;this.timeline.info({action:"retry",delay:e}),e>0&&this.emit("connecting_in",Math.round(e/1e3)),this.retryTimer=new I(e||0,(function(){t.disconnectInternally(),t.connect()}))},t.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},t.prototype.setUnavailableTimer=function(){var e=this;this.unavailableTimer=new I(this.options.unavailableTimeout,(function(){e.updateState("unavailable")}))},t.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},t.prototype.sendActivityCheck=function(){var e=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new I(this.options.pongTimeout,(function(){e.timeline.error({pong_timed_out:e.options.pongTimeout}),e.retryIn(0)}))},t.prototype.resetActivityCheck=function(){var e=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new I(this.activityTimeout,(function(){e.sendActivityCheck()})))},t.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},t.prototype.buildConnectionCallbacks=function(e){var t=this;return U({},e,{message:function(e){t.resetActivityCheck(),t.emit("message",e)},ping:function(){t.send_event("pusher:pong",{})},activity:function(){t.resetActivityCheck()},error:function(e){t.emit("error",e)},closed:function(){t.abandonConnection(),t.shouldRetry()&&t.retryIn(1e3)}})},t.prototype.buildHandshakeCallbacks=function(e){var t=this;return U({},e,{connected:function(e){t.activityTimeout=Math.min(t.options.activityTimeout,e.activityTimeout,e.connection.activityTimeout||1/0),t.clearUnavailableTimer(),t.setConnection(e.connection),t.socket_id=t.connection.id,t.updateState("connected",{socket_id:t.socket_id})}})},t.prototype.buildErrorCallbacks=function(){var e=this,t=function(t){return function(n){n.error&&e.emit("error",{type:"WebSocketError",error:n.error}),t(n)}};return{tls_only:t((function(){e.usingTLS=!0,e.updateStrategy(),e.retryIn(0)})),refused:t((function(){e.disconnect()})),backoff:t((function(){e.retryIn(1e3)})),retry:t((function(){e.retryIn(0)}))}},t.prototype.setConnection=function(e){for(var t in this.connection=e,this.connectionCallbacks)this.connection.bind(t,this.connectionCallbacks[t]);this.resetActivityCheck()},t.prototype.abandonConnection=function(){if(this.connection){for(var e in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(e,this.connectionCallbacks[e]);var t=this.connection;return this.connection=null,t}},t.prototype.updateState=function(e,t){var n=this.state;if(this.state=e,n!==e){var r=e;"connected"===r&&(r+=" with new socket ID "+t.socket_id),te.debug("State changed",n+" -> "+r),this.timeline.info({state:e,params:t}),this.emit("state_change",{previous:n,current:e}),this.emit(e,t)}},t.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},t}(de),et=function(){function e(){this.channels={}}return e.prototype.add=function(e,t){return this.channels[e]||(this.channels[e]=function(e,t){if(0===e.indexOf("private-encrypted-")){if(t.config.nacl)return nt.createEncryptedChannel(e,t,t.config.nacl);var n="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",r=f.buildLogSuffix("encryptedChannelSupport");throw new b(n+". "+r)}if(0===e.indexOf("private-"))return nt.createPrivateChannel(e,t);if(0===e.indexOf("presence-"))return nt.createPresenceChannel(e,t);if(0===e.indexOf("#"))throw new g('Cannot create a channel with name "'+e+'".');return nt.createChannel(e,t)}(e,t)),this.channels[e]},e.prototype.all=function(){return function(e){var t=[];return $(e,(function(e){t.push(e)})),t}(this.channels)},e.prototype.find=function(e){return this.channels[e]},e.prototype.remove=function(e){var t=this.channels[e];return delete this.channels[e],t},e.prototype.disconnect=function(){$(this.channels,(function(e){e.disconnect()}))},e}(),tt=et,nt={createChannels:function(){return new tt},createConnectionManager:function(e,t){return new Je(e,t)},createChannel:function(e,t){return new Fe(e,t)},createPrivateChannel:function(e,t){return new He(e,t)},createPresenceChannel:function(e,t){return new Ke(e,t)},createEncryptedChannel:function(e,t,n){return new Xe(e,t,n)},createTimelineSender:function(e,t){return new Ie(e,t)},createHandshake:function(e,t){return new Le(e,t)},createAssistantToTheTransportManager:function(e,t,n){return new De(e,t,n)}},rt=function(){function e(e){this.options=e||{},this.livesLeft=this.options.lives||1/0}return e.prototype.getAssistant=function(e){return nt.createAssistantToTheTransportManager(this,e,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},e.prototype.isAlive=function(){return this.livesLeft>0},e.prototype.reportDeath=function(){this.livesLeft-=1},e}(),it=function(){function e(e,t){this.strategies=e,this.loop=Boolean(t.loop),this.failFast=Boolean(t.failFast),this.timeout=t.timeout,this.timeoutLimit=t.timeoutLimit}return e.prototype.isSupported=function(){return Y(this.strategies,z.method("isSupported"))},e.prototype.connect=function(e,t){var n=this,r=this.strategies,i=0,o=this.timeout,a=null,s=function(c,l){l?t(null,l):(i+=1,n.loop&&(i%=r.length),i<r.length?(o&&(o*=2,n.timeoutLimit&&(o=Math.min(o,n.timeoutLimit))),a=n.tryStrategy(r[i],e,{timeout:o,failFast:n.failFast},s)):t(!0))};return a=this.tryStrategy(r[i],e,{timeout:o,failFast:this.failFast},s),{abort:function(){a.abort()},forceMinPriority:function(t){e=t,a&&a.forceMinPriority(t)}}},e.prototype.tryStrategy=function(e,t,n,r){var i=null,o=null;return n.timeout>0&&(i=new I(n.timeout,(function(){o.abort(),r(!0)}))),o=e.connect(t,(function(e,t){e&&i&&i.isRunning()&&!n.failFast||(i&&i.ensureAborted(),r(e,t))})),{abort:function(){i&&i.ensureAborted(),o.abort()},forceMinPriority:function(e){o.forceMinPriority(e)}}},e}(),ot=function(){function e(e){this.strategies=e}return e.prototype.isSupported=function(){return Y(this.strategies,z.method("isSupported"))},e.prototype.connect=function(e,t){return function(e,t,n){var r=K(e,(function(e,r,i,o){return e.connect(t,n(r,o))}));return{abort:function(){V(r,at)},forceMinPriority:function(e){V(r,(function(t){t.forceMinPriority(e)}))}}}(this.strategies,e,(function(e,n){return function(r,i){n[e].error=r,r?function(e){return function(e,t){for(var n=0;n<e.length;
2n++)if(!t(e[n],n,e))return!1;return!0}(e,(function(e){return Boolean(e.error)}))}(n)&&t(!0):(V(n,(function(e){e.forceMinPriority(i.transport.priority)})),t(null,i))}}))},e}();function at(e){e.error||e.aborted||(e.abort(),e.aborted=!0)}var st=function(){function e(e,t,n){this.strategy=e,this.transports=t,this.ttl=n.ttl||18e5,this.usingTLS=n.useTLS,this.timeline=n.timeline}return e.prototype.isSupported=function(){return this.strategy.isSupported()},e.prototype.connect=function(e,t){var n=this.usingTLS,r=function(e){var t=Pt.getLocalStorage();if(t)try{var n=t[lt(e)];if(n)return JSON.parse(n)}catch(t){ut(e)}return null}(n),i=[this.strategy];if(r&&r.timestamp+this.ttl>=z.now()){var o=this.transports[r.transport];o&&(this.timeline.info({cached:!0,transport:r.transport,latency:r.latency}),i.push(new it([o],{timeout:2*r.latency+1e3,failFast:!0})))}var a=z.now(),s=i.pop().connect(e,(function r(o,c){o?(ut(n),i.length>0?(a=z.now(),s=i.pop().connect(e,r)):t(o)):(function(e,t,n){var r=Pt.getLocalStorage();if(r)try{r[lt(e)]=J({timestamp:z.now(),transport:t,latency:n})}catch(e){}}(n,c.transport.name,z.now()-a),t(null,c))}));return{abort:function(){s.abort()},forceMinPriority:function(t){e=t,s&&s.forceMinPriority(t)}}},e}(),ct=st;function lt(e){return"pusherTransport"+(e?"TLS":"NonTLS")}function ut(e){var t=Pt.getLocalStorage();if(t)try{delete t[lt(e)]}catch(e){}}var ft=function(){function e(e,t){var n=t.delay;this.strategy=e,this.options={delay:n}}return e.prototype.isSupported=function(){return this.strategy.isSupported()},e.prototype.connect=function(e,t){var n,r=this.strategy,i=new I(this.options.delay,(function(){n=r.connect(e,t)}));return{abort:function(){i.ensureAborted(),n&&n.abort()},forceMinPriority:function(t){e=t,n&&n.forceMinPriority(t)}}},e}(),ht=function(){function e(e,t,n){this.test=e,this.trueBranch=t,this.falseBranch=n}return e.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},e.prototype.connect=function(e,t){return(this.test()?this.trueBranch:this.falseBranch).connect(e,t)},e}(),dt=function(){function e(e){this.strategy=e}return e.prototype.isSupported=function(){return this.strategy.isSupported()},e.prototype.connect=function(e,t){var n=this.strategy.connect(e,(function(e,r){r&&n.abort(),t(e,r)}));return n},e}();function pt(e){return function(){return e.isSupported()}}var gt,mt=function(e,t,n){var r={};function i(t,i,o,a,s){var c=n(e,t,i,o,a,s);return r[t]=c,c}var o,a=Object.assign({},t,{hostNonTLS:e.wsHost+":"+e.wsPort,hostTLS:e.wsHost+":"+e.wssPort,httpPath:e.wsPath}),s=Object.assign({},a,{useTLS:!0}),c=Object.assign({},t,{hostNonTLS:e.httpHost+":"+e.httpPort,hostTLS:e.httpHost+":"+e.httpsPort,httpPath:e.httpPath}),l={loop:!0,timeout:15e3,timeoutLimit:6e4},u=new rt({lives:2,minPingDelay:1e4,maxPingDelay:e.activityTimeout}),f=new rt({lives:2,minPingDelay:1e4,maxPingDelay:e.activityTimeout}),h=i("ws","ws",3,a,u),d=i("wss","ws",3,s,u),p=i("sockjs","sockjs",1,c),g=i("xhr_streaming","xhr_streaming",1,c,f),m=i("xdr_streaming","xdr_streaming",1,c,f),v=i("xhr_polling","xhr_polling",1,c),y=i("xdr_polling","xdr_polling",1,c),b=new it([h],l),_=new it([d],l),w=new it([p],l),x=new it([new ht(pt(g),g,m)],l),S=new it([new ht(pt(v),v,y)],l),E=new it([new ht(pt(x),new ot([x,new ft(S,{delay:4e3})]),S)],l),k=new ht(pt(E),E,w);return o=t.useTLS?new ot([b,new ft(k,{delay:2e3})]):new ot([b,new ft(_,{delay:2e3}),new ft(k,{delay:5e3})]),new ct(new dt(new ht(pt(h),o,k)),r,{ttl:18e5,timeline:t.timeline,useTLS:t.useTLS})},vt={getRequest:function(e){var t=new window.XDomainRequest;return t.ontimeout=function(){e.emit("error",new m),e.close()},t.onerror=function(t){e.emit("error",t),e.close()},t.onprogress=function(){t.responseText&&t.responseText.length>0&&e.onChunk(200,t.responseText)},t.onload=function(){t.responseText&&t.responseText.length>0&&e.onChunk(200,t.responseText),e.emit("finished",200),e.close()},t},abortRequest:function(e){e.ontimeout=e.onerror=e.onprogress=e.onload=null,e.abort()}},yt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}
2(),bt=function(e){function t(t,n,r){var i=e.call(this)||this;return i.hooks=t,i.method=n,i.url=r,i}return yt(t,e),t.prototype.start=function(e){var t=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){t.close()},Pt.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(e)},t.prototype.close=function(){this.unloader&&(Pt.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},t.prototype.onChunk=function(e,t){for(;;){var n=this.advanceBuffer(t);if(!n)break;this.emit("chunk",{status:e,data:n})}this.isBufferTooLong(t)&&this.emit("buffer_too_long")},t.prototype.advanceBuffer=function(e){var t=e.slice(this.position),n=t.indexOf("\n");return-1!==n?(this.position+=n+1,t.slice(0,n)):null},t.prototype.isBufferTooLong=function(e){return this.position===e.length&&e.length>262144},t}(de);!function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSED=3]="CLOSED"}(gt||(gt={}));var _t=gt,wt=1;function xt(e){var t=-1===e.indexOf("?")?"?":"&";return e+t+"t="+ +new Date+"&n="+wt++}function St(e){return Pt.randomInt(e)}var Et,kt=function(){function e(e,t){this.hooks=e,this.session=St(1e3)+"/"+function(e){for(var t=[],n=0;n<e;n++)t.push(St(32).toString(32));return t.join("")}(8),this.location=function(e){var t=/([^\?]*)\/*(\??.*)/.exec(e);return{base:t[1],queryString:t[2]}}(t),this.readyState=_t.CONNECTING,this.openStream()}return e.prototype.send=function(e){return this.sendRaw(JSON.stringify([e]))},e.prototype.ping=function(){this.hooks.sendHeartbeat(this)},e.prototype.close=function(e,t){this.onClose(e,t,!0)},e.prototype.sendRaw=function(e){if(this.readyState!==_t.OPEN)return!1;try{return Pt.createSocketRequest("POST",xt((t=this.location,n=this.session,t.base+"/"+n+"/xhr_send"))).start(e),!0}catch(e){return!1}var t,n},e.prototype.reconnect=function(){this.closeStream(),this.openStream()},e.prototype.onClose=function(e,t,n){this.closeStream(),this.readyState=_t.CLOSED,this.onclose&&this.onclose({code:e,reason:t,wasClean:n})},e.prototype.onChunk=function(e){var t;if(200===e.status)switch(this.readyState===_t.OPEN&&this.onActivity(),e.data.slice(0,1)){case"o":t=JSON.parse(e.data.slice(1)||"{}"),this.onOpen(t);break;case"a":t=JSON.parse(e.data.slice(1)||"[]");for(var n=0;n<t.length;n++)this.onEvent(t[n]);break;case"m":t=JSON.parse(e.data.slice(1)||"null"),this.onEvent(t);break;case"h":this.hooks.onHeartbeat(this);break;case"c":t=JSON.parse(e.data.slice(1)||"[]"),this.onClose(t[0],t[1],!0)}},e.prototype.onOpen=function(e){var t,n,r;this.readyState===_t.CONNECTING?(e&&e.hostname&&(this.location.base=(t=this.location.base,n=e.hostname,(r=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(t))[1]+n+r[3])),this.readyState=_t.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},e.prototype.onEvent=function(e){this.readyState===_t.OPEN&&this.onmessage&&this.onmessage({data:e})},e.prototype.onActivity=function(){this.onactivity&&this.onactivity()},e.prototype.onError=function(e){this.onerror&&this.onerror(e)},e.prototype.openStream=function(){var e=this;this.stream=Pt.createSocketRequest("POST",xt(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",(function(t){e.onChunk(t)})),this.stream.bind("finished",(function(t){e.hooks.onFinished(e,t)})),this.stream.bind("buffer_too_long",(function(){e.reconnect()}));try{this.stream.start()}catch(t){z.defer((function(){e.onError(t),e.onClose(1006,"Could not start streaming",!1)}))}},e.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},e}(),Ot={getReceiveURL:function(e,t){return e.base+"/"+t+"/xhr_streaming"+e.queryString},onHeartbeat:function(e){e.sendRaw("[]")},sendHeartbeat:function(e){e.sendRaw("[]")},onFinished:function(e,t){e.onClose(1006,"Connection interrupted ("+t+")",!1)}},Ct={getReceiveURL:function(e,t){return e.base+"/"+t+"/xhr"+e.queryString},onHeartbeat:function(){},sendHeartbeat:function(e){e.sendRaw("[]")},onFinished:function(e,t){200===t?e.reconnect():e.onClose(1006,"Connection interrupted ("+t+")",!1)}},At={getRequest:function(e){var t=new(Pt.getXHRAPI());return t.onreadystatechange=t.onprogress=function(){switch(t.readyState){case 3:t.responseText&&t.responseText.length>0&&e.onChunk(t.status,t.responseText);break;case 4:t.responseText&&t.responseText.length>0&&e.onChunk(t.status,t.responseText),e.emit("finished",t.status),e.close()}},t},abortRequest:function(e){e.onreadystatechange=null,e.abort()}},Tt={createStreamingSocket:function(e){return this.createSocket(Ot,e)},createPollingSocket:function(e){return this.createSocket(Ct,e)},createSocket:function(e,t){return new kt(e,t)},createXHR:function(e,t){return this.createRequest(At,e,t)},createRequest:function(e,t,n){return new bt(e,t,n)},createXDR:function(e,t){return this.createRequest(vt,e,t)}},Pt={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:o,DependenciesReceivers:c,getDefaultStrategy:mt,Transports:Ae,transportConnectionInitializer:function(){var e=this;e.timeline.info(e.buildTimelineMessage({transport:e.name+(e.options.useTLS?"s":"")})),e.hooks.isInitialized()?e.changeState("initialized"):e.hooks.file?(e.changeState("initializing"),l.load(e.hooks.file,{useTLS:e.options.useTLS},(function(t,n){e.hooks.isInitialized()?(e.changeState("initialized"),n(!0)):(t&&e.onError(t),e.onClose(),n(!1))}))):e.onClose()},HTTPFactory:Tt,TimelineTransport:oe,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(e){var t=this;window.Pusher=e;var n=function(){t.onDocumentBody(e.ready)};window.JSON?n():l.load("json2",{},n)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:S,jsonp:ne}},onDocumentBody:function(e){var t=this;document.body?e():setTimeout((function(){t.onDocumentBody(e)}),0)},createJSONPRequest:function(e,t){return new ie(e,t)},createScriptRequest:function(e){return new re(e)},getLocalStorage:function(){try{return window.localStorage}catch(e){return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){return new(this.getXHRAPI())},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return Pe},createWebSocket:function(e){return new(this.getWebSocketAPI())(e)},createSocketRequest:function(e,t){if(this.isXHRSupported())return this.HTTPFactory.createXHR(e,t);if(this.isXDRSupported(0===t.indexOf("https:")))return this.HTTPFactory.createXDR(e,t);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var e=this.getXHRAPI();return Boolean(e)&&void 0!==(new e).withCredentials},isXDRSupported:function(e){var t=e?"https:":"http:",n=this.getProtocol();return Boolean(window.XDomainRequest)&&n===t},addUnloadListener:function(e){void 0!==window.addEventListener?window.addEventListener("unload",e,!1):void 0!==window.attachEvent&&window.attachEvent("onunload",e)},removeUnloadListener:function(e){void 0!==window.addEventListener?window.removeEventListener("unload",e,!1):void 0!==window.detachEvent&&window.detachEvent("onunload",e)},randomInt:function(e){return Math.floor((window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*e)}};
2!function(e){e[e.ERROR=3]="ERROR",e[e.INFO=6]="INFO",e[e.DEBUG=7]="DEBUG"}(Et||(Et={}));var Dt=Et,Mt=function(){function e(e,t,n){this.key=e,this.session=t,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return e.prototype.log=function(e,t){e<=this.options.level&&(this.events.push(U({},t,{timestamp:z.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},e.prototype.error=function(e){this.log(Dt.ERROR,e)},e.prototype.info=function(e){this.log(Dt.INFO,e)},e.prototype.debug=function(e){this.log(Dt.DEBUG,e)},e.prototype.isEmpty=function(){return 0===this.events.length},e.prototype.send=function(e,t){var n=this,r=U({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],e(r,(function(e,r){e||n.sent++,t&&t(e,r)})),!0},e.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},e}(),Rt=function(){function e(e,t,n,r){this.name=e,this.priority=t,this.transport=n,this.options=r||{}}return e.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},e.prototype.connect=function(e,t){var n=this;if(!this.isSupported())return jt(new w,t);if(this.priority<e)return jt(new v,t);var r=!1,i=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),o=null,a=function(){i.unbind("initialized",a),i.connect()},s=function(){o=nt.createHandshake(i,(function(e){r=!0,u(),t(null,e)}))},c=function(e){u(),t(e)},l=function(){var e;u(),e=J(i),t(new y(e))},u=function(){i.unbind("initialized",a),i.unbind("open",s),i.unbind("error",c),i.unbind("closed",l)};return i.bind("initialized",a),i.bind("open",s),i.bind("error",c),i.bind("closed",l),i.initialize(),{abort:function(){r||(u(),o?o.close():i.close())},forceMinPriority:function(e){r||n.priority<e&&(o?o.close():i.close())}}},e}();function jt(e,t){return z.defer((function(){t(e)})),{abort:function(){},forceMinPriority:function(){}}}var Nt=Pt.Transports,Lt=function(e,t,n,r,i,o){var a,s=Nt[n];if(!s)throw new _(n);return e.enabledTransports&&-1===q(e.enabledTransports,t)||e.disabledTransports&&-1!==q(e.disabledTransports,t)?a=It:(i=Object.assign({ignoreNullOrigin:e.ignoreNullOrigin},i),a=new Rt(t,r,o?o.getAssistant(s):s,i)),a},It={isSupported:function(){return!1},connect:function(e,t){var n=z.defer((function(){t(new w)}));return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}},Bt=function(e){if(void 0===Pt.getAuthorizers()[e.transport])throw"'"+e.transport+"' is not a recognized auth transport";return function(t,n){var i=function(e,t){var n="socket_id="+encodeURIComponent(e.socketId);for(var r in t.params)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t.params[r]);if(null!=t.paramsProvider){var i=t.paramsProvider();for(var r in i)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(i[r])}return n}(t,e);Pt.getAuthorizers()[e.transport](Pt,i,e,r.UserAuthentication,n)}},Ft=function(e){if(void 0===Pt.getAuthorizers()[e.transport])throw"'"+e.transport+"' is not a recognized auth transport";return function(t,n){var i=function(e,t){var n="socket_id="+encodeURIComponent(e.socketId);for(var r in n+="&channel_name="+encodeURIComponent(e.channelName),t.params)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t.params[r]);if(null!=t.paramsProvider){var i=t.paramsProvider();for(var r in i)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(i[r])}return n}(t,e);Pt.getAuthorizers()[e.transport](Pt,i,e,r.ChannelAuthorization,n)}},zt=function(e,t,n){var r={authTransport:t.transport,authEndpoint:t.endpoint,auth:{params:t.params,headers:t.headers}};return function(t,i){var o=e.channel(t.channelName);n(o,r).authorize(t.socketId,i)}},Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ut.apply(this,arguments)};function Ht(e){return e.httpHost?e.httpHost:e.cluster?"sockjs-"+e.cluster+".pusher.com":a.httpHost}
2function qt(e){return e.wsHost?e.wsHost:e.cluster?$t(e.cluster):$t(a.cluster)}function $t(e){return"ws-"+e+".pusher.com"}function Wt(e){return"https:"===Pt.getProtocol()||!1!==e.forceTLS}function Vt(e){return"enableStats"in e?e.enableStats:"disableStats"in e&&!e.disableStats}function Kt(e){var t=Ut(Ut({},a.userAuthentication),e.userAuthentication);return"customHandler"in t&&null!=t.customHandler?t.customHandler:Bt(t)}function Gt(e,t){var n=function(e,t){var n;return"channelAuthorization"in e?n=Ut(Ut({},a.channelAuthorization),e.channelAuthorization):(n={transport:e.authTransport||a.authTransport,endpoint:e.authEndpoint||a.authEndpoint},"auth"in e&&("params"in e.auth&&(n.params=e.auth.params),"headers"in e.auth&&(n.headers=e.auth.headers)),"authorizer"in e&&(n.customHandler=zt(t,n,e.authorizer))),n}(e,t);return"customHandler"in n&&null!=n.customHandler?n.customHandler:Ft(n)}var Zt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yt=function(e){function t(t){var n=e.call(this,(function(e,t){te.debug("No callbacks on watchlist events for "+e)}))||this;return n.pusher=t,n.bindWatchlistInternalEvent(),n}return Zt(t,e),t.prototype.handleEvent=function(e){var t=this;e.data.events.forEach((function(e){t.emit(e.name,e)}))},t.prototype.bindWatchlistInternalEvent=function(){var e=this;this.pusher.connection.bind("message",(function(t){"pusher_internal:watchlist_events"===t.event&&e.handleEvent(t)}))},t}(de),Xt=function(){var e,t;return{promise:new Promise((function(n,r){e=n,t=r})),resolve:e,reject:t}},Qt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Jt=function(e){function t(t){var n=e.call(this,(function(e,t){te.debug("No callbacks on user for "+e)}))||this;return n.signin_requested=!1,n.user_data=null,n.serverToUserChannel=null,n.signinDonePromise=null,n._signinDoneResolve=null,n._onAuthorize=function(e,t){if(e)return te.warn("Error during signin: "+e),void n._cleanup();n.pusher.send_event("pusher:signin",{auth:t.auth,user_data:t.user_data})},n.pusher=t,n.pusher.connection.bind("state_change",(function(e){var t=e.previous,r=e.current;"connected"!==t&&"connected"===r&&n._signin(),"connected"===t&&"connected"!==r&&(n._cleanup(),n._newSigninPromiseIfNeeded())})),n.watchlist=new Yt(t),n.pusher.connection.bind("message",(function(e){"pusher:signin_success"===e.event&&n._onSigninSuccess(e.data),n.serverToUserChannel&&n.serverToUserChannel.name===e.channel&&n.serverToUserChannel.handleEvent(e)})),n}return Qt(t,e),t.prototype.signin=function(){this.signin_requested||(this.signin_requested=!0,this._signin())},t.prototype._signin=function(){this.signin_requested&&(this._newSigninPromiseIfNeeded(),"connected"===this.pusher.connection.state&&this.pusher.config.userAuthenticator({socketId:this.pusher.connection.socket_id},this._onAuthorize))},t.prototype._onSigninSuccess=function(e){try{this.user_data=JSON.parse(e.user_data)}catch(t){return te.error("Failed parsing user data after signin: "+e.user_data),void this._cleanup()}if("string"!=typeof this.user_data.id||""===this.user_data.id)return te.error("user_data doesn't contain an id. user_data: "+this.user_data),void this._cleanup();this._signinDoneResolve(),this._subscribeChannels()},t.prototype._subscribeChannels=function(){var e,t=this;this.serverToUserChannel=new Fe("#server-to-user-"+this.user_data.id,this.pusher),this.serverToUserChannel.bind_global((function(e,n){0!==e.indexOf("pusher_internal:")&&0!==e.indexOf("pusher:")&&t.emit(e,n)})),(e=this.serverToUserChannel).subscriptionPending&&e.subscriptionCancelled?e.reinstateSubscription():e.subscriptionPending||"connected"!==t.pusher.connection.state||e.subscribe()},t.prototype._cleanup=function(){this.user_data=null,this.serverToUserChannel&&(this.serverToUserChannel.unbind_all(),this.serverToUserChannel.disconnect(),this.serverToUserChannel=null),this.signin_requested&&this._signinDoneResolve()},t.prototype._newSigninPromiseIfNeeded=function(){if(this.signin_requested&&(!this.signinDonePromise||this.signinDonePromise.done)){var e=Xt(),t=e.promise,n=e.resolve;e.reject,t.done=!1;var r=function(){t.done=!0};t.then(r).catch(r),this.signinDonePromise=t,this._signinDoneResolve=n}},t}(de),en=function(){function e(t,n){var r,i,o,s=this;if(function(e){if(null==e)throw"You must pass your app key when you instantiate Pusher."}(t),!(n=n||{}).cluster&&!n.wsHost&&!n.httpHost){var c=f.buildLogSuffix("javascriptQuickStart");te.warn("You should always specify a cluster when connecting. "+c)}"disableStats"in n&&te.warn("The disableStats option is deprecated
2in favor of enableStats"),this.key=t,this.config=(i=this,o={activityTimeout:(r=n).activityTimeout||a.activityTimeout,cluster:r.cluster||a.cluster,httpPath:r.httpPath||a.httpPath,httpPort:r.httpPort||a.httpPort,httpsPort:r.httpsPort||a.httpsPort,pongTimeout:r.pongTimeout||a.pongTimeout,statsHost:r.statsHost||a.stats_host,unavailableTimeout:r.unavailableTimeout||a.unavailableTimeout,wsPath:r.wsPath||a.wsPath,wsPort:r.wsPort||a.wsPort,wssPort:r.wssPort||a.wssPort,enableStats:Vt(r),httpHost:Ht(r),useTLS:Wt(r),wsHost:qt(r),userAuthenticator:Kt(r),channelAuthorizer:Gt(r,i)},"disabledTransports"in r&&(o.disabledTransports=r.disabledTransports),"enabledTransports"in r&&(o.enabledTransports=r.enabledTransports),"ignoreNullOrigin"in r&&(o.ignoreNullOrigin=r.ignoreNullOrigin),"timelineParams"in r&&(o.timelineParams=r.timelineParams),"nacl"in r&&(o.nacl=r.nacl),o),this.channels=nt.createChannels(),this.global_emitter=new de,this.sessionID=Pt.randomInt(1e9),this.timeline=new Mt(this.key,this.sessionID,{cluster:this.config.cluster,features:e.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:Dt.INFO,version:a.VERSION}),this.config.enableStats&&(this.timelineSender=nt.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+Pt.TimelineTransport.name})),this.connection=nt.createConnectionManager(this.key,{getStrategy:function(e){return Pt.getDefaultStrategy(s.config,e,Lt)},timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:Boolean(this.config.useTLS)}),this.connection.bind("connected",(function(){s.subscribeAll(),s.timelineSender&&s.timelineSender.send(s.connection.isUsingTLS())})),this.connection.bind("message",(function(e){var t=0===e.event.indexOf("pusher_internal:");if(e.channel){var n=s.channel(e.channel);n&&n.handleEvent(e)}t||s.global_emitter.emit(e.event,e.data)})),this.connection.bind("connecting",(function(){s.channels.disconnect()})),this.connection.bind("disconnected",(function(){s.channels.disconnect()})),this.connection.bind("error",(function(e){te.warn(e)})),e.instances.push(this),this.timeline.info({instances:e.instances.length}),this.user=new Jt(this),e.isReady&&this.connect()}return e.ready=function(){e.isReady=!0;for(var t=0,n=e.instances.length;t<n;t++)e.instances[t].connect()},e.getClientFeatures=function(){return W(Z({ws:Pt.Transports.ws},(function(e){return e.isSupported({})})))},e.prototype.channel=function(e){return this.channels.find(e)},e.prototype.allChannels=function(){return this.channels.all()},e.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var e=this.connection.isUsingTLS(),t=this.timelineSender;this.timelineSenderTimer=new B(6e4,(function(){t.send(e)}))}},e.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},e.prototype.bind=function(e,t,n){return this.global_emitter.bind(e,t,n),this},e.prototype.unbind=function(e,t,n){return this.global_emitter.unbind(e,t,n),this},e.prototype.bind_global=function(e){return this.global_emitter.bind_global(e),this},e.prototype.unbind_global=function(e){return this.global_emitter.unbind_global(e),this},e.prototype.unbind_all=function(e){return this.global_emitter.unbind_all(),this},e.prototype.subscribeAll=function(){var e;for(e in this.channels.channels)this.channels.channels.hasOwnProperty(e)&&this.subscribe(e)},e.prototype.subscribe=function(e){var t=this.channels.add(e,this);return t.subscriptionPending&&t.subscriptionCancelled?t.reinstateSubscription():t.subscriptionPending||"connected"!==this.connection.state||t.subscribe(),t},e.prototype.unsubscribe=function(e){var t=this.channels.find(e);t&&t.subscriptionPending?t.cancelSubscription():(t=this.channels.remove(e))&&t.subscribed&&t.unsubscribe()},e.prototype.send_event=function(e,t,n){return this.connection.send_event(e,t,n)},e.prototype.shouldUseTLS=function(){return this.config.useTLS},e.prototype.signin=function(){this.user.signin()},e.instances=[],e.isReady=!1,e.logToConsole=!1,e.Runtime=Pt,e.ScriptReceivers=Pt.ScriptReceivers,e.Depen
vendor: 1,967 bytes, line 2
2denciesReceivers=Pt.DependenciesReceivers,e.auth_callbacks=Pt.auth_callbacks,e}(),tn=t.default=en;Pt.setup(en)}])},e.exports=t()},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},80129:function(e,t,n){"use strict";var r=n(58261),i=n(55235),o=n(55798);e.exports={formats:o,parse:i,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,u=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:c(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=i:"__proto__"!==l&&(a[l]=i):a={0:i}}i=a}return i}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;
vendor: 2,428 bytes, line 2
2if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,h=u.split(t.delimiter,f),d=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?p="utf-8":"utf8=%26%2310003%3B"===h[n]&&(p="iso-8859-1"),d=n,n=h.length);for(n=0;n<h.length;++n)if(n!==d){var g,m,v=h[n],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(g=t.decoder(v,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,b),a.decoder,p,"key"),m=r.maybeMap(c(v.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,p,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=s(m)),v.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(l,g)?l[g]=r.combine(l[g],m):l[g]=m}return l}(e,n):e,f=n.plainObjects?Object.create(null):{},h=Object.keys(u),d=0;d<h.length;++d){var p=h[d],g=l(p,u[p],n,"string"==typeof e);
vendor: 5,225 bytes, line 2
2f=r.merge(f,g,n)}return!0===n.allowSparse?f:r.compact(f)}},58261:function(e,t,n){"use strict";var r=n(37478),i=n(12769),o=n(55798),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=String.prototype.split,u=Array.prototype.push,f=function(e,t){u.apply(e,c(t)?t:[t])},h=Date.prototype.toISOString,d=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,n,o,a,s,u,h,d,m,v,y,b,_,w,x,S){for(var E,k=t,O=S,C=0,A=!1;void 0!==(O=O.get(g))&&!A;){var T=O.get(t);if(C+=1,void 0!==T){if(T===C)throw new RangeError("Cyclic object value");A=!0}void 0===O.get(g)&&(C=0)}if("function"==typeof d?k=d(n,k):k instanceof Date?k=y(k):"comma"===o&&c(k)&&(k=i.maybeMap(k,(function(e){return e instanceof Date?y(e):e}))),null===k){if(s)return h&&!w?h(n,p.encoder,x,"key",b):n;k=""}if("string"==typeof(E=k)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||i.isBuffer(k)){if(h){var P=w?n:h(n,p.encoder,x,"key",b);if("comma"===o&&w){for(var D=l.call(String(k),","),M="",R=0;R<D.length;++R)M+=(0===R?"":",")+_(h(D[R],p.encoder,x,"value",b));return[_(P)+(a&&c(k)&&1===D.length?"[]":"")+"="+M]}return[_(P)+"="+_(h(k,p.encoder,x,"value",b))]}return[_(n)+"="+_(String(k))]}var j,N=[];if(void 0===k)return N;if("comma"===o&&c(k))j=[{value:k.length>0?k.join(",")||null:void 0}];else if(c(d))j=d;else{var L=Object.keys(k);j=m?L.sort(m):L}for(var I=a&&c(k)&&1===k.length?n+"[]":n,B=0;B<j.length;++B){var F=j[B],z="object"==typeof F&&void 0!==F.value?F.value:k[F];if(!u||null!==z){var U=c(k)?"function"==typeof o?o(I,F):I:I+(v?"."+F:"["+F+"]");S.set(t,C);var H=r();H.set(g,S),f(N,e(z,U,o,a,s,u,h,d,m,v,y,b,_,w,x,H))}}return N};e.exports=function(e,t){var n,i=e,l=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=p.filter;return("function"==typeof e.filter||c(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof l.filter?i=(0,l.filter)("",i):c(l.filter)&&(n=l.filter);var u,h=[];if("object"!=typeof i||null===i)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=s[u];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===d&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),l.sort&&n.sort(l.sort);for(var v=r(),y=0;y<n.length;++y){var b=n[y];l.skipNulls&&null===i[b]||f(h,m(i[b],b,d,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,v))}var _=h.join(l.delimiter),w=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),_.length>0?w+_:""}},12769:function(e,t,n){"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");
2if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",l=0;l<s.length;++l){var u=s.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?c+=s.charAt(l):u<128?c+=a[u]:u<2048?c+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?c+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(l)),c+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},54087:function(e,t,n){for(var r=n(75),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],c=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],c=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!c){var u=0,f=0,h=[];s=function(e){if(0===h.length){var t=r(),n=Math.max(0,16.666666666666668-(t-u));u=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return h.push({handle:++f,callback:e,cancelled:!1}),f},c=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){c.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=c}},23551:function(e,t,n){"use strict";n.r(t),n.d(t,{Area:function(){return Fv},AreaChart:function(){return R_},Bar:function(){return Jp},BarChart:function(){return Db},Brush:function(){return xp},CartesianAxis:function(){return Hm},CartesianGrid:function(){return av},Cell:function(){return Rn},ComposedChart:function(){return N_},Cross:function(){return Nf},Curve:function(){return of},Customized:function(){return gu},DefaultLegendContent:function(){return yt},DefaultTooltipContent:function(){return Vt},Dot:function(){return Cf},ErrorBar:function(){return jc},Funnel:function(){return fw},FunnelChart:function(){return hw},Global:function(){return fn},Label:function(){return Zl},LabelList:function(){return fu},Layer:function(){return me},Legend:function(){return Nt},Line:function(){return Sv},LineChart:function(){return Pb},Pie:function(){return vd},PieChart:function(){return Mb},PolarAngleAxis:function(){return Ch},PolarGrid:function(){return Gf},PolarRadiusAxis:function(){return dh},Polygon:function(){return kf},Radar:function(){return Rd},RadarChart:function(){return D_},RadialBar:function(){return np},RadialBarChart:function(){return j_},Rectangle:function(){return vf},ReferenceArea:function(){return bm},ReferenceDot:function(){return sm},ReferenceLine:function(){return Zg},ResponsiveContainer:function(){return Mn},Sankey:function(){return P_},Scatter:function(){return uy},ScatterChart:function(){return M_},Sector:function(){return Eu},SunburstChart:function(){return $_},Surface:function(){return he},Symbols:function(){return at},Text:function(){return vr},Tooltip:function(){return Sn},Trapezoid:function(){return Hh},Treemap:function(){return t_},XAxis:function(){return wy},YAxis:function(){return My},ZAxis:function(){return Gv}});var r={};n.r(r),n.d(r,{scaleBand:function(){return Cr},scaleDiverging:function(){return As},scaleDivergingLog:function(){return Ts},scaleDivergingPow:function(){return Ds},scaleDivergingSqrt:function(){return Ms},scaleDivergingSymlog:function(){return Ps},scaleIdentity:function(){return wi},scaleImplicit:function(){return kr},scaleLinear:function(){return _i},scaleLog:function(){return Pi},scaleOrdinal:function(){return Or},scalePoint:function(){return Tr},scalePow:function(){return Fi},scaleQuantile:function(){return Xi},scaleQuantize:function(){return Qi},scaleRadial:function(){return Hi},scaleSequential:function(){return ws},scaleSequentialLog:function(){return xs},scaleSequentialPow:function(){return Es},scaleSequentialQuantile:function(){return Os},scaleSequentialSqrt:function(){return ks},scaleSequentialSymlog:function(){return Ss}
vendor: 50,484 bytes, line 2
2,scaleSqrt:function(){return zi},scaleSymlog:function(){return ji},scaleThreshold:function(){return Ji},scaleTime:function(){return vs},scaleUtc:function(){return ys},tickFormat:function(){return yi}});var i=n(67294);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var a=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r},s=n(27361),c=n.n(s),l=n(14293),u=n.n(l),f=n(47037),h=n.n(f),d=n(23560),p=n.n(d),g=n(13218),m=n.n(g),v=n(59864),y=n(7654),b=n.n(y),_=n(81763),w=n.n(_),x=function(e){return 0===e?0:e>0?1:-1},S=function(e){return h()(e)&&e.indexOf("%")===e.length-1},E=function(e){return w()(e)&&!b()(e)},k=function(e){return u()(e)},O=function(e){return E(e)||h()(e)},C=0,A=function(e){var t=++C;return"".concat(e||"").concat(t)},T=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!E(e)&&!h()(e))return r;if(S(e)){var o=e.indexOf("%");n=t*parseFloat(e.slice(0,o))/100}else n=+e;return b()(n)&&(n=r),i&&n>t&&(n=t),n},P=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},D=function(e,t){return E(e)&&E(t)?function(n){return e+n*(t-e)}:function(){return t}};function M(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):c()(e,t))===n})):null}var R=function(e,t){return E(e)&&E(t)?e-t:h()(e)&&h()(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))};function j(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}var L=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],I=["points","pathLength"],B={svg:["viewBox","children"],polygon:I,polyline:I},F=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],z=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,i.isValidElement)(e)&&(n=e.props),!m()(n))return null;var r={};return Object.keys(n).forEach((function(e){F.includes(e)&&(r[e]=t||function(t){return n[e](n,t)})})),r},U=function(e,t,n){if(!m()(e)||"object"!==N(e))return null;var r=null;return Object.keys(e).forEach((function(i){var o=e[i];F.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(e,t,n){return function(r){return e(t,n,r),null}}(o,t,n))})),r},H=["children"],q=["children"];function $(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}var V={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},K=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},G=null,Z=null,Y=function e(t){if(t===G&&Array.isArray(Z))return Z;var n=[];return i.Children.forEach(t,(function(t){u()(t)||((0,v.isFragment)(t)?n=n.concat(e(t.props.children)):n.push(t))})),Z=n,G=t,n};function X(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return K(e)})):[K(t)],Y(e).forEach((function(e){var t=c()(e,"type.displayName")||c()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function Q(e,t){var n=X(e,t);return n&&n[0]}var J=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!E(n)||n<=0||!E(r)||r<=0)},ee=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],te=function(e){return e&&e.type&&h()(e.type)&&ee.indexOf(e.type)>=0},ne=function(e){return e&&"object"===W(e)&&"clipDot"in e},re=function(e){var t=[];return Y(e).forEach((function(e){te(e)&&t.push(e)})),t},ie=function(e,t,n){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,i.isValidElement)(e)&&(r=e.props),!m()(r))return null;var o={};return Object.keys(r).forEach((function(e){var i;(function(e,t,n,r){var i,o=null!==(i=null==B?void 0:B[r])&&void 0!==i?i:[];return t.startsWith("data-")||!p()(e)&&(r&&o.includes(t)||L.includes(t))||n&&F.includes(t)})(null===(i=r)||void 0===i?void 0:i[e],e,t,n)&&(o[e]=r[e])})),o},oe=function e(t,n){if(t===n)return!0;var r=i.Children.count(t);if(r!==i.Children.count(n))return!1;if(0===r)return!0;if(1===r)return ae(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var o=0;o<r;o++){var a=t[o],s=n[o];if(Array.isArray(a)||Array.isArray(s)){if(!e(a,s))return!1}else if(!ae(a,s))return!1}return!0},ae=function(e,t){if(u()(e)&&u()(t))return!0;if(!u()(e)&&!u()(t)){var n=e.props||{},r=n.children,i=$(n,H),o=t.props||{},a=o.children,s=$(o,q);return r&&a?j(i,s)&&oe(r,a):!r&&!a&&j(i,s)}return!1},se=function(e,t){var n=[],r={};return Y(e).forEach((function(e,i){if(te(e))n.push(e);else if(e){var o=K(e.type),a=t[o]||{},s=a.handler,c=a.once;if(s&&(!c||!r[o])){var l=s(e,o,i);n.push(l),r[o]=!0}}})),n},ce=function(e){var t=e&&e.type;return t&&V[t]?V[t]:null},le=["children","width","height","viewBox","className","style","title","desc"];function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}function fe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function he(e){var t=e.children,n=e.width,r=e.height,o=e.viewBox,s=e.className,c=e.style,l=e.title,u=e.desc,f=fe(e,le),h=o||{width:n,height:r,x:0,y:0},d=a("recharts-surface",s);return i.createElement("svg",ue({},ie(f,!0,"svg"),{className:d,width:n,height:r,style:c,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),i.createElement("title",null,l),i.createElement("desc",null,u),t)}var de=["children","className"];function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function ge(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var me=i.forwardRef((function(e,t){var n=e.children,r=e.className,o=ge(e,de),s=a("recharts-layer",r);return i.createElement("g",pe({className:s},ie(o,!0),{ref:t}),n)})),ve=!1,ye=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(ve&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(t.replace(/%s/g,(function(){return r[o++]})))}},be=n(11700),_e=n.n(be);Math.abs,Math.atan2;const we=Math.cos,xe=(Math.max,Math.min,Math.sin),Se=Math.sqrt,Ee=Math.PI,ke=2*Ee;var Oe={draw(e,t){const n=Se(t/Ee);e.moveTo(n,0),e.arc(0,0,n,0,ke)}},Ce={draw(e,t){const n=Se(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}};const Ae=Se(1/3),Te=2*Ae;var Pe={draw(e,t){const n=Se(t/Te),r=n*Ae;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},De={draw(e,t){const n=Se(t),r=-n/2;e.rect(r,r,n,n)}};const Me=xe(Ee/10)/xe(7*Ee/10),Re=xe(ke/10)*Me,je=-we(ke/10)*Me;var Ne={draw(e,t){const n=Se(.8908130915292852*t),r=Re*n,i=je*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){const o=ke*t/5,a=we(o),s=xe(o);e.lineTo(s*n,-a*n),e.lineTo(a*r-s*i,s*r+a*i)}e.closePath()}};const Le=Se(3);var Ie={draw(e,t){const n=-Se(t/(3*Le));e.moveTo(0,2*n),e.lineTo(-Le*n,-n),e.lineTo(Le*n,-n),e.closePath()}};const Be=-.5,Fe=Se(3)/2,ze=1/Se(12),Ue=3*(ze/2+1);var He={draw(e,t){const n=Se(t/Ue),r=n/2,i=n*ze,o=r,a=n*ze+n,s=-o,c=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,c),e.lineTo(Be*r-Fe*i,Fe*r+Be*i),e.lineTo(Be*o-Fe*a,Fe*o+Be*a),e.lineTo(Be*s-Fe*c,Fe*s+Be*c),e.lineTo(Be*r+Fe*i,Be*i-Fe*r),e.lineTo(Be*o+Fe*a,Be*a-Fe*o),e.lineTo(Be*s+Fe*c,Be*c-Fe*s),e.closePath()}};function qe(e){return function(){return e}}const $e=Math.PI,We=2*$e,Ve=1e-6,Ke=We-Ve;function Ge(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class Ze{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Ge:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Ge;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,c=r-t,l=o-e,u=a-t,f=l*l+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>Ve)if(Math.abs(u*s-c*l)>Ve&&i){let h=n-o,d=r-a,p=s*s+c*c,g=h*h+d*d,m=Math.sqrt(p),v=Math.sqrt(f),y=i*Math.tan(($e-Math.acos((p+f-g)/(2*m*v)))/2),b=y/v,_=y/m;Math.abs(b-1)>Ve&&this._append`L${e+b*l},${t+b*u}`,this._append`A${i},${i},0,0,${+(u*h>l*d)},${this._x1=e+_*s},${this._y1=t+_*c}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,r,i,o){if(e=+e,t=+t,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),c=e+a,l=t+s,u=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Ve||Math.abs(this._y1-l)>Ve)&&this._append`L${c},${l}`,n&&(f<0&&(f=f%We+We),f>Ke?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:f>Ve&&this._append`A${n},${n},0,${+(f>=$e)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function Ye(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Ze(t)}Ze.prototype;Se(3);Se(3);function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}var Qe=["type","size","sizeType"];function Je(){return Je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Je.apply(this,arguments)}function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nt(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Xe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xe(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rt(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var it={symbolCircle:Oe,symbolCross:Ce,symbolDiamond:Pe,symbolSquare:De,symbolStar:Ne,symbolTriangle:Ie,symbolWye:He},ot=Math.PI/180,at=function(e){var t,n,r=e.type,o=void 0===r?"circle":r,s=e.size,c=void 0===s?64:s,l=e.sizeType,u=void 0===l?"area":l,f=tt(tt({},rt(e,Qe)),{},{type:o,size:c,sizeType:u}),h=f.className,d=f.cx,p=f.cy,g=ie(f,!0);return d===+d&&p===+p&&c===+c?i.createElement("path",Je({},g,{className:a("recharts-symbols",h),transform:"translate(".concat(d,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(_e()(e));return it[t]||Oe}(o),n=function(e,t){let n=null,r=Ye(i);function i(){let i;if(n||(n=i=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return e="function"==typeof e?e:qe(e||Oe),t="function"==typeof t?t:qe(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:qe(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:qe(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i}().type(t).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*ot;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(c,u,o)),n())})):null};function st(e){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ct.apply(this,arguments)}function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mt(r.key),r)}}function ft(e,t,n){return t=dt(t),function(e,t){if(t&&("object"===st(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ht()?Reflect.construct(t,n||[],dt(e).constructor):t.apply(e,n))}function ht(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ht=function(){return!!e})()}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dt(e)}function pt(e,t){return pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pt(e,t)}function gt(e,t,n){return(t=mt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){var t=function(e,t){if("object"!=st(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=st(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==st(t)?t:t+""}at.registerSymbol=function(e,t){it["symbol".concat(_e()(e))]=t};var vt=32,yt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ft(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pt(e,t)}(t,e),n=t,r=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,n=16,r=vt/6,o=vt/3,a=e.inactive?t:e.color;if("plainline"===e.type)return i.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:n,x2:vt,y2:n,className:"recharts-legend-icon"});if("line"===e.type)return i.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(o,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*o,",").concat(n,"\n H").concat(vt,"M").concat(2*o,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(o,",").concat(n),className:"recharts-legend-icon"});if("rect"===e.type)return i.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(vt,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(i.isValidElement(e.legendIcon)){var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete s.legendIcon,i.cloneElement(e.legendIcon,s)}return i.createElement(at,{fill:a,cx:n,cy:n,size:vt,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,n=t.payload,r=t.iconSize,o=t.layout,s=t.formatter,c=t.inactiveColor,l={x:0,y:0,width:vt,height:vt},u={display:"horizontal"===o?"inline-block":"block",marginRight:10},f={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(t,n){var o=t.formatter||s,h=a(gt(gt({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",t.inactive));if("none"===t.type)return null;var d=p()(t.value)?null:t.value;ye(!p()(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var g=t.inactive?c:t.color;return i.createElement("li",ct({className:h,style:u,key:"legend-item-".concat(n)},U(e.props,t,n)),i.createElement(he,{width:r,height:r,viewBox:l,style:f},e.renderIcon(t)),i.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},o?o(d,t,n):d))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,n=e.layout,r=e.align;if(!t||!t.length)return null;var o={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return i.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}],r&&ut(n.prototype,r),o&&ut(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);gt(yt,"displayName","Legend"),gt(yt,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var bt=n(45578),_t=n.n(bt);function wt(e,t,n){return!0===t?_t()(e,n):p()(t)?_t()(e,t):e}function xt(e){return xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xt(e)}var St=["ref"];function Et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(n),!0).forEach((function(t){Dt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ot(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mt(r.key),r)}}function Ct(e,t,n){return t=Tt(t),function(e,t){if(t&&("object"===xt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,At()?Reflect.construct(t,n||[],Tt(e).constructor):t.apply(e,n))}function At(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(At=function(){return!!e})()}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tt(e)}function Pt(e,t){return Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pt(e,t)}function Dt(e,t,n){return(t=Mt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mt(e){var t=function(e,t){if("object"!=xt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xt(t)?t:t+""}function Rt(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function jt(e){return e.value}var Nt=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Dt(e=Ct(this,t,[].concat(r)),"lastBoundingBox",{width:-1,height:-1}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pt(e,t)}(t,e),n=t,o=[{key:"getWithHeight",value:function(e,t){var n=kt(kt({},this.defaultProps),e.props).layout;return"vertical"===n&&E(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?kt({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,s=r.margin,c=r.chartWidth,l=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),kt(kt({},t),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,o=t.height,a=t.wrapperStyle,s=t.payloadUniqBy,c=t.payload,l=kt(kt({position:"absolute",width:r||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return i.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(i.isValidElement(e))return i.cloneElement(e,t);if("function"==typeof e)return i.createElement(e,t);t.ref;var n=Rt(t,St);return i.createElement(yt,n)}(n,kt(kt({},this.props),{},{payload:wt(c,s,jt)})))}}])&&Ot(n.prototype,r),o&&Ot(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);Dt(Nt,"displayName","Legend"),Dt(Nt,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Lt=n(89734),It=n.n(Lt);function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Ft(){return Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ft.apply(this,arguments)}function zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ut(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $t(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Bt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bt(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wt(e){return Array.isArray(e)&&O(e[0])&&O(e[1])?e.join(" ~ "):e}var Vt=function(e){var t=e.separator,n=void 0===t?" : ":t,r=e.contentStyle,o=void 0===r?{}:r,s=e.itemStyle,c=void 0===s?{}:s,l=e.labelStyle,f=void 0===l?{}:l,h=e.payload,d=e.formatter,p=e.itemSorter,g=e.wrapperClassName,m=e.labelClassName,v=e.label,y=e.labelFormatter,b=e.accessibilityLayer,_=void 0!==b&&b,w=qt({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),x=qt({margin:0},f),S=!u()(v),E=S?v:"",k=a("recharts-default-tooltip",g),C=a("recharts-tooltip-label",m);S&&y&&null!=h&&(E=y(v,h));var A=_?{role:"status","aria-live":"assertive"}:{};return i.createElement("div",Ft({className:k,style:w},A),i.createElement("p",{className:C,style:x},i.isValidElement(E)?E:"".concat(E)),function(){if(h&&h.length){var e=(p?It()(h,p):h).map((function(e,t){if("none"===e.type)return null;var r=qt({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},c),o=e.formatter||d||Wt,a=e.value,s=e.name,l=a,u=s;if(o&&null!=l&&null!=u){var f=o(a,s,e,t,h);if(Array.isArray(f)){var p=zt(f,2);l=p[0],u=p[1]}else l=f}return i.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:r},O(u)?i.createElement("span",{className:"recharts-tooltip-item-name"},u):null,O(u)?i.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,i.createElement("span",{className:"recharts-tooltip-item-value"},l),i.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return i.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Kt(e){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kt(e)}function Gt(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Kt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kt(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt="recharts-tooltip-wrapper",Yt={visibility:"hidden"};function Xt(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return a(Zt,Gt(Gt(Gt(Gt({},"".concat(Zt,"-right"),E(n)&&t&&E(t.x)&&n>=t.x),"".concat(Zt,"-left"),E(n)&&t&&E(t.x)&&n<t.x),"".concat(Zt,"-bottom"),E(r)&&t&&E(t.y)&&r>=t.y),"".concat(Zt,"-top"),E(r)&&t&&E(t.y)&&r<t.y))}function Qt(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,s=e.tooltipDimension,c=e.viewBox,l=e.viewBoxDimension;if(o&&E(o[r]))return o[r];var u=n[r]-s-i,f=n[r]+i;return t[r]?a[r]?u:f:a[r]?u<c[r]?Math.max(f,c[r]):Math.max(u,c[r]):f+s>c[r]+l?Math.max(u,c[r]):Math.max(f,c[r])}function Jt(e){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt(e)}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ln(r.key),r)}}function rn(e,t,n){return t=an(t),function(e,t){if(t&&("object"===Jt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,on()?Reflect.construct(t,n||[],an(e).constructor):t.apply(e,n))}function on(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(on=function(){return!!e})()}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},an(e)}function sn(e,t){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sn(e,t)}function cn(e,t,n){return(t=ln(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ln(e){var t=function(e,t){if("object"!=Jt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jt(t)?t:t+""}var un=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return cn(e=rn(this,t,[].concat(r)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),cn(e,"handleKeyDown",(function(t){var n,r,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sn(e,t)}(t,e),n=t,r=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,o=t.animationDuration,a=t.animationEasing,s=t.children,c=t.coordinate,l=t.hasPayload,u=t.isAnimationActive,f=t.offset,h=t.position,d=t.reverseDirection,p=t.useTranslate3d,g=t.viewBox,m=t.wrapperStyle,v=function(e){var t,n,r=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,s=e.reverseDirection,c=e.tooltipBox,l=e.useTranslate3d,u=e.viewBox;return{cssProperties:c.height>0&&c.width>0&&i?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=Qt({allowEscapeViewBox:r,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:c.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=Qt({allowEscapeViewBox:r,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:c.height,viewBox:u,viewBoxDimension:u.height}),useTranslate3d:l}):Yt,cssClasses:Xt({translateX:t,translateY:n,coordinate:i})}}({allowEscapeViewBox:r,coordinate:c,offsetTopLeft:f,position:h,reverseDirection:d,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:g}),y=v.cssClasses,b=v.cssProperties,_=tn(tn({transition:u&&n?"transform ".concat(o,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&n&&l?"visible":"hidden",position:"absolute",top:0,left:0},m);return i.createElement("div",{tabIndex:-1,className:y,style:_,ref:function(t){e.wrapperNode=t}},s)}}],r&&nn(n.prototype,r),o&&nn(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent),fn={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return fn[e]},set:function(e,t){if("string"==typeof e)fn[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){fn[t]=e[t]}))}}};function hn(e){return hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hn(e)}function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(n),!0).forEach((function(t){_n(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wn(r.key),r)}}function mn(e,t,n){return t=yn(t),function(e,t){if(t&&("object"===hn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vn()?Reflect.construct(t,n||[],yn(e).constructor):t.apply(e,n))}function vn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vn=function(){return!!e})()}function yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yn(e)}function bn(e,t){return bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bn(e,t)}function _n(e,t,n){return(t=wn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wn(e){var t=function(e,t){if("object"!=hn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=hn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hn(t)?t:t+""}function xn(e){return e.dataKey}var Sn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mn(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bn(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,o=t.animationDuration,a=t.animationEasing,s=t.content,c=t.coordinate,l=t.filterNull,u=t.isAnimationActive,f=t.offset,h=t.payload,d=t.payloadUniqBy,p=t.position,g=t.reverseDirection,m=t.useTranslate3d,v=t.viewBox,y=t.wrapperStyle,b=null!=h?h:[];l&&b.length&&(b=wt(h.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),d,xn));var _=b.length>0;return i.createElement(un,{allowEscapeViewBox:r,animationDuration:o,animationEasing:a,isAnimationActive:u,active:n,coordinate:c,hasPayload:_,offset:f,position:p,reverseDirection:g,useTranslate3d:m,viewBox:v,wrapperStyle:y},function(e,t){return i.isValidElement(e)?i.cloneElement(e,t):"function"==typeof e?i.createElement(e,t):i.createElement(Vt,t)}(s,pn(pn({},this.props),{},{payload:b})))}}],r&&gn(n.prototype,r),o&&gn(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);_n(Sn,"displayName","Tooltip"),_n(Sn,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!fn.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var En=n(23493),kn=n.n(En);function On(e){return On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},On(e)}function Cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function An(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Cn(Object(n),!0).forEach((function(t){Tn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tn(e,t,n){return t=function(e){var t=function(e,t){if("object"!=On(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=On(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==On(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Dn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mn=(0,i.forwardRef)((function(e,t){var n=e.aspect,r=e.initialDimension,o=void 0===r?{width:-1,height:-1}:r,s=e.width,c=void 0===s?"100%":s,l=e.height,u=void 0===l?"100%":l,f=e.minWidth,h=void 0===f?0:f,d=e.minHeight,p=e.maxHeight,g=e.children,m=e.debounce,v=void 0===m?0:m,y=e.id,b=e.className,_=e.onResize,w=e.style,x=void 0===w?{}:w,E=(0,i.useRef)(null),k=(0,i.useRef)();k.current=_,(0,i.useImperativeHandle)(t,(function(){return Object.defineProperty(E.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),E.current},configurable:!0})}));var O=Pn((0,i.useState)({containerWidth:o.width,containerHeight:o.height}),2),C=O[0],A=O[1],T=(0,i.useCallback)((function(e,t){A((function(n){var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}}))}),[]);(0,i.useEffect)((function(){var e=function(e){var t,n=e[0].contentRect,r=n.width,i=n.height;T(r,i),null===(t=k.current)||void 0===t||t.call(k,r,i)};v>0&&(e=kn()(e,v,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=E.current.getBoundingClientRect(),r=n.width,i=n.height;return T(r,i),t.observe(E.current),function(){t.disconnect()}}),[T,v]);var P=(0,i.useMemo)((function(){var e=C.containerWidth,t=C.containerHeight;if(e<0||t<0)return null;ye(S(c)||S(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",c,u),ye(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=S(c)?e:c,o=S(u)?t:u;n&&n>0&&(r?o=r/n:o&&(r=o*n),p&&o>p&&(o=p)),ye(r>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,o,c,u,h,d,n);var a=!Array.isArray(g)&&K(g.type).endsWith("Chart");return i.Children.map(g,(function(e){return i.isValidElement(e)?(0,i.cloneElement)(e,An({width:r,height:o},a?{style:An({height:"100%",width:"100%",maxHeight:o,maxWidth:r},e.props.style)}:{})):e}))}),[n,g,u,p,d,h,C,c]);return i.createElement("div",{id:y?"".concat(y):void 0,className:a("recharts-responsive-container",b),style:An(An({},x),{},{width:c,height:u,minWidth:h,minHeight:d,maxHeight:p}),ref:E},P)})),Rn=function(e){return null};function jn(e){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jn(e)}function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 11,334 bytes, line 2
2t%2?Nn(Object(n),!0).forEach((function(t){In(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function In(e,t,n){return t=function(e){var t=function(e,t){if("object"!=jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jn(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Rn.displayName="Cell";var Bn={widthCache:{},cacheCount:0},Fn=2e3,zn={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Un="recharts_measurement_span";var Hn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||fn.isSsr)return{width:0,height:0};var n,r=(n=Ln({},t),Object.keys(n).forEach((function(e){n[e]||delete n[e]})),n),i=JSON.stringify({text:e,copyStyle:r});if(Bn.widthCache[i])return Bn.widthCache[i];try{var o=document.getElementById(Un);o||((o=document.createElement("span")).setAttribute("id",Un),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Ln(Ln({},zn),r);Object.assign(o.style,a),o.textContent="".concat(e);var s=o.getBoundingClientRect(),c={width:s.width,height:s.height};return Bn.widthCache[i]=c,++Bn.cacheCount>Fn&&(Bn.cacheCount=0,Bn.widthCache={}),c}catch(e){return{width:0,height:0}}};function qn(e){return qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(e)}function $n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Wn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Kn(r.key),r)}}function Kn(e){var t=function(e,t){if("object"!=qn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qn(t)?t:t+""}var Gn=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Zn=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Yn=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Xn=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Qn={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Jn=Object.keys(Qn),er="NaN";var tr=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||Yn.test(n)||(this.num=NaN,this.unit=""),Jn.includes(n)&&(this.num=function(e,t){return e*Qn[t]}(t,n),this.unit="px")}return t=e,r=[{key:"parse",value:function(t){var n,r=$n(null!==(n=Xn.exec(t))&&void 0!==n?n:[],3),i=r[1],o=r[2];return new e(parseFloat(i),null!=o?o:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&Vn(t.prototype,n),r&&Vn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function nr(e){if(e.includes(er))return er;for(var t=e;t.includes("*")||t.includes("/");){var n,r=$n(null!==(n=Gn.exec(t))&&void 0!==n?n:[],4),i=r[1],o=r[2],a=r[3],s=tr.parse(null!=i?i:""),c=tr.parse(null!=a?a:""),l="*"===o?s.multiply(c):s.divide(c);if(l.isNaN())return er;t=t.replace(Gn,l.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,f=$n(null!==(u=Zn.exec(t))&&void 0!==u?u:[],4),h=f[1],d=f[2],p=f[3],g=tr.parse(null!=h?h:""),m=tr.parse(null!=p?p:""),v="+"===d?g.add(m):g.subtract(m);if(v.isNaN())return er;t=t.replace(Zn,v.toString())}return t}var rr=/\(([^()]*)\)/;function ir(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=$n(rr.exec(t),2)[1];t=t.replace(rr,nr(n))}return t}(t),t=nr(t)}function or(e){var t=function(e){try{return ir(e)}catch(e){return er}}(e.slice(5,-1));return t===er?"":t}var ar=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],sr=["dx","dy","angle","className","breakAll"];function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cr.apply(this,arguments)}function lr(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ur(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hr=/[ \f\n\r\t\v\u2028\u2029]+/,dr=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var i=[];return u()(t)||(i=n?t.toString().split(""):t.toString().split(hr)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:Hn(e,r).width}})),spaceWidth:n?0:Hn(" ",r).width}}catch(e){return null}},pr=function(e){return[{words:u()(e)?[]:e.toString().split(hr)}]},gr=function(e){var t=e.width,n=e.scaleToFit,r=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||n)&&!fn.isSsr){var s=dr({breakAll:o,children:r,style:i});return s?function(e,t,n,r,i){var o=e.maxLines,a=e.children,s=e.style,c=e.breakAll,l=E(o),u=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,s=e[e.length-1];if(s&&(null==r||i||s.width+a+n<Number(r)))s.words.push(o),s.width+=a+n;else{var c={words:[o],width:a};e.push(c)}return e}),[])},h=f(t);if(!l)return h;for(var d,p=function(e){var t=u.slice(0,e),n=dr({breakAll:c,style:s,children:t+"â¦"}).wordsWithComputedWidth,i=f(n),a=i.length>o||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>Number(r);return[a,i]},g=0,m=u.length-1,v=0;g<=m&&v<=u.length-1;){var y=Math.floor((g+m)/2),b=ur(p(y-1),2),_=b[0],w=b[1],x=ur(p(y),1)[0];if(_||x||(g=y+1),_&&x&&(m=y-1),!_&&x){d=w;break}v++}return d||h}({breakAll:o,children:r,maxLines:a,style:i},s.wordsWithComputedWidth,s.spaceWidth,t,n):pr(r)}return pr(r)},mr="#808080",vr=function(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,s=e.lineHeight,c=void 0===s?"1em":s,l=e.capHeight,u=void 0===l?"0.71em":l,f=e.scaleToFit,h=void 0!==f&&f,d=e.textAnchor,p=void 0===d?"start":d,g=e.verticalAnchor,m=void 0===g?"end":g,v=e.fill,y=void 0===v?mr:v,b=lr(e,ar),_=(0,i.useMemo)((function(){return gr({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:h,style:b.style,width:b.width})}),[b.breakAll,b.children,b.maxLines,h,b.style,b.width]),w=b.dx,x=b.dy,S=b.angle,k=b.className,C=b.breakAll,A=lr(b,sr);if(!O(n)||!O(o))return null;var T,P=n+(E(w)?w:0),D=o+(E(x)?x:0);switch(m){case"start":T=or("calc(".concat(u,")"));break;case"middle":T=or("calc(".concat((_.length-1)/2," * -").concat(c," + (").concat(u," / 2))"));break;default:T=or("calc(".concat(_.length-1," * -").concat(c,")"))}var M=[];if(h){var R=_[0].width,j=b.width;M.push("scale(".concat((E(j)?j/R:1)/R,")"))}return S&&M.push("rotate(".concat(S,", ").concat(P,", ").concat(D,")")),M.length&&(A.transform=M.join(" ")),i.createElement("text",cr({},ie(A,!0),{x:P,y:D,className:a("recharts-text",k),textAnchor:p,fill:y.includes("url")?mr:y}),_.map((function(e,t){var n=e.words.join(C?"":" ");return i.createElement("tspan",{x:P,dy:0===t?T:c,key:"".concat(n,"-").concat(t)},n)})))};function yr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function br(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}class _r extends Map{constructor(e,t=Er){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(wr(this,e))}has(e){return super.has(wr(this,e))}set(e,t){return super.set(xr(this,e),t)}delete(e){return super.delete(Sr(this,e))}}function wr({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function xr({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Sr({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Er(e){return null!==e&&"object"==typeof e?e.valueOf():e}
vendor: 6,492 bytes, line 2
2const kr=Symbol("implicit");function Or(){var e=new _r,t=[],n=[],r=kr;function i(i){let o=e.get(i);if(void 0===o){if(r!==kr)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new _r;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return Or(t,n).unknown(r)},yr.apply(i,arguments),i}function Cr(){var e,t,n=Or().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,l=0,u=.5;function f(){var n=r().length,f=a<o,h=f?a:o,d=f?o:a;e=(d-h)/Math.max(1,n-c+2*l),s&&(e=Math.floor(e)),h+=(d-h-e*(n-c))*u,t=e*(1-c),s&&(h=Math.round(h),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map((function(t){return h+e*t}));return i(f?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,f()):s},n.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),f()):c},n.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),f()):c},n.paddingOuter=function(e){return arguments.length?(l=+e,f()):l},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.copy=function(){return Cr(r(),[o,a]).round(s).paddingInner(c).paddingOuter(l).align(u)},yr.apply(f(),arguments)}function Ar(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Ar(t())},e}function Tr(){return Ar(Cr.apply(null,arguments).paddingInner(1))}const Pr=Math.sqrt(50),Dr=Math.sqrt(10),Mr=Math.sqrt(2);function Rr(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Pr?10:o>=Dr?5:o>=Mr?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/a,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=Math.pow(10,i)*a,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Rr(e,t,2*n):[s,c,l]}function jr(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?Rr(t,e,n):Rr(e,t,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)c[e]=(o-e)/-a;else for(let e=0;e<s;++e)c[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)c[e]=(i+e)/-a;else for(let e=0;e<s;++e)c[e]=(i+e)*a;return c}function Nr(e,t,n){return Rr(e=+e,t=+t,n=+n)[2]}function Lr(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Nr(t,e,n):Nr(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Ir(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Br(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Fr(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Ir,n=(t,n)=>Ir(e(t),n),r=(t,n)=>e(t)-n):(t=e===Ir||e===Br?e:zr,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){const a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function zr(){return 0}function Ur(e){return null===e?NaN:+e}const Hr=Fr(Ir),qr=Hr.right;Hr.left,Fr(Ur).center;var $r=qr,Wr=n(62218),Vr=n(68063);function Kr(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Gr(e){return+e}var Zr=[0,1];function Yr(e){return e}function Xr(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function Qr(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=Xr(i,r),o=n(a,o)):(r=Xr(r,i),o=n(o,a)),function(e){return o(r(e))}}function Jr(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=Xr(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=$r(e,t,1,r)-1;return o[n](i[n](t))}}function ei(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ti(){var e,t,n,r,i,o,a=Zr,s=Zr,c=Wr.Z,l=Yr;function u(){var e=Math.min(a.length,s.length);return l!==Yr&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?Jr:Qr,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),Vr.Z)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Gr),u()):a.slice()},f.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},f.rangeRound=function(e){return s=Array.from(e),c=Kr,u()},f.clamp=function(e){return arguments.length?(l=!!e||Yr,u()):l!==Yr},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function ni(){return ti()(Yr,Yr)}var ri,ii=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oi(e){if(!(t=ii.exec(e)))throw new Error("invalid format: "+e);var t;return new ai({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ai(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function si(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function ci(e){return(e=si(Math.abs(e)))?e[1]:NaN}function li(e,t){var n=si(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}oi.prototype=ai.prototype,ai.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
vendor: 2,057 bytes, line 2
2:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ui={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>li(100*e,t),r:li,s:function(e,t){var n=si(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(ri=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+si(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function fi(e){return e}var hi,di,pi,gi=Array.prototype.map,mi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function vi(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?fi:(t=gi.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?fi:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(gi.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"â":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=oi(e)).fill,n=e.align,f=e.sign,h=e.symbol,d=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,y=e.type;"n"===y?(g=!0,y="g"):ui[y]||(void 0===m&&(m=12),v=!0,y="g"),(d||"0"===t&&"="===n)&&(d=!0,t="0",n="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===h?o:/[%p]/.test(y)?c:"",w=ui[y],x=/[defgprs%]/.test(y);function S(e){var i,o,c,h=b,S=_;if("c"===y)S=w(e)+S,e="";else{var E=(e=+e)<0||1/e<0;
vendor: 4,368 bytes, line 2
2if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),E&&0==+e&&"+"!==f&&(E=!1),h=(E?"("===f?f:l:"-"===f||"("===f?"":f)+h,S=("s"===y?mi[8+ri/3]:"")+S+(E&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){S=(46===c?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}g&&!d&&(e=r(e,1/0));var k=h.length+e.length+S.length,O=k<p?new Array(p-k+1).join(t):"";switch(g&&d&&(e=r(O+e,O.length?p-S.length:1/0),O=""),n){case"<":e=h+e+S+O;break;case"=":e=h+O+e+S;break;case"^":e=O.slice(0,k=O.length>>1)+h+e+S+O.slice(k);break;default:e=O+h+e+S}return s(e)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var n=f(((e=oi(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(ci(t)/3))),i=Math.pow(10,-r),o=mi[8+r/3];return function(e){return n(i*e)+o}}}}function yi(e,t,n,r){var i,o=Lr(e,t,n);switch((r=oi(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ci(t)/3)))-ci(Math.abs(e)))}(o,a))||(r.precision=i),pi(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,ci(t)-ci(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-ci(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return di(r)}function bi(e){var t=e.domain;return e.ticks=function(e){var n=t();return jr(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return yi(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,c=o[a],l=o[s],u=10;for(l<c&&(i=c,c=l,l=i,i=a,a=s,s=i);u-- >0;){if((i=Nr(c,l,n))===r)return o[a]=c,o[s]=l,t(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function _i(){var e=ni();return e.copy=function(){return ei(e,_i())},yr.apply(e,arguments),bi(e)}function wi(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,Gr),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return wi(e).unknown(t)},e=arguments.length?Array.from(e,Gr):[0,1],bi(n)}function xi(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Si(e){return Math.log(e)}function Ei(e){return Math.exp(e)}function ki(e){return-Math.log(-e)}function Oi(e){return-Math.exp(-e)}function Ci(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Ai(e){return(t,n)=>-e(-t,n)}function Ti(e){const t=e(Si,Ei),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Ci:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Ai(r),i=Ai(i),e(ki,Oi)):e(Si,Ei),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const c=s<a;c&&([a,s]=[s,a]);let l,u,f=r(a),h=r(s);const d=null==e?10:+e;let p=[];if(!(o%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(l=1;l<o;++l)if(u=f<0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}}else for(;f<=h;++f)for(l=o-1;l>=1;--l)if(u=f>0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}2*p.length<d&&(p=jr(a,s,d))}else p=jr(f,h,Math.min(h-f,d)).map(i);return c?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=oi(n)).precision||(n.trim=!0),n=di(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(xi(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function Pi(){const e=Ti(ti()).domain([1,10]);return e.copy=()=>ei(e,Pi()).base(e.base()),yr.apply(e,arguments),e}
vendor: 10,871 bytes, line 2
2function Di(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Mi(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Ri(e){var t=1,n=e(Di(t),Mi(t));return n.constant=function(n){return arguments.length?e(Di(t=+n),Mi(t)):t},bi(n)}function ji(){var e=Ri(ti());return e.copy=function(){return ei(e,ji()).constant(e.constant())},yr.apply(e,arguments)}function Ni(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Li(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Ii(e){return e<0?-e*e:e*e}function Bi(e){var t=e(Yr,Yr),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(Yr,Yr):.5===n?e(Li,Ii):e(Ni(n),Ni(1/n)):n},bi(t)}function Fi(){var e=Bi(ti());return e.copy=function(){return ei(e,Fi()).exponent(e.exponent())},yr.apply(e,arguments),e}function zi(){return Fi.apply(null,arguments).exponent(.5)}function Ui(e){return Math.sign(e)*e*e}function Hi(){var e,t=ni(),n=[0,1],r=!1;function i(n){var i=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(i)?e:r?Math.round(i):i}return i.invert=function(e){return t.invert(Ui(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((n=Array.from(e,Gr)).map(Ui)),i):n.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(r=!!e,i):r},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Hi(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},yr.apply(i,arguments),bi(i)}function qi(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function $i(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Wi(e=Ir){if(e===Ir)return Vi;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function Vi(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function Ki(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=void 0===i?Vi:Wi(i);r>n;){if(r-n>600){const o=r-n+1,a=t-n+1,s=Math.log(o),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(o-c)/o)*(a-o/2<0?-1:1);Ki(e,t,Math.max(n,Math.floor(t-a*c/o+l)),Math.min(r,Math.floor(t+(o-a)*c/o+l)),i)}const o=e[t];let a=n,s=r;for(Gi(e,n,t),i(e[r],o)>0&&Gi(e,n,r);a<s;){for(Gi(e,a,s),++a,--s;i(e[a],o)<0;)++a;for(;i(e[s],o)>0;)--s}0===i(e[n],o)?Gi(e,n,s):(++s,Gi(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Gi(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Zi(e,t,n){if(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}(e,n)),(r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return $i(e);if(t>=1)return qi(e);var r,i=(r-1)*t,o=Math.floor(i),a=qi(Ki(e,o).subarray(0,o+1));return a+($i(e.subarray(o+1))-a)*(i-o)}}function Yi(e,t,n=Ur){if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}}function Xi(){var e,t=[],n=[],r=[];function i(){var e=0,i=Math.max(1,n.length);for(r=new Array(i-1);++e<i;)r[e-1]=Yi(t,e/i);return o}function o(t){return null==t||isNaN(t=+t)?e:n[$r(r,t)]}return o.invertExtent=function(e){var i=n.indexOf(e);return i<0?[NaN,NaN]:[i>0?r[i-1]:t[0],i<r.length?r[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(Ir),i()},o.range=function(e){return arguments.length?(n=Array.from(e),i()):n.slice()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.quantiles=function(){return r.slice()},o.copy=function(){return Xi().domain(t).range(n).unknown(e)},yr.apply(o,arguments)}function Qi(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[$r(i,t,0,r)]:e}function s(){var e=-1;for(i=new Array(r);++e<r;)i[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},a.range=function(e){return arguments.length?(r=(o=Array.from(e)).length-1,s()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Qi().domain([t,n]).range(o).unknown(e)},yr.apply(bi(a),arguments)}function Ji(){var e,t=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[$r(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Ji().domain(t).range(n).unknown(e)},yr.apply(i,arguments)}hi=vi({thousands:",",grouping:[3],currency:["$",""]}),di=hi.format,pi=hi.formatPrefix;const eo=1e3,to=60*eo,no=60*to,ro=24*no,io=7*ro,oo=30*ro,ao=365*ro,so=new Date,co=new Date;function lo(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>lo((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(i.count=(t,r)=>(so.setTime(+t),co.setTime(+r),e(so),e(co),Math.floor(n(so,co))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const uo=lo((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));uo.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?lo((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):uo:null);uo.range;const fo=lo((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*eo)}),((e,t)=>(t-e)/eo),(e=>e.getUTCSeconds())),ho=(fo.range,lo((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*eo)}),((e,t)=>{e.setTime(+e+t*to)}),((e,t)=>(t-e)/to),(e=>e.getMinutes()))),po=(ho.range,lo((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*to)}),((e,t)=>(t-e)/to),(e=>e.getUTCMinutes()))),go=(po.range,lo((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*eo-e.getMinutes()*to)}),((e,t)=>{e.setTime(+e+t*no)}),((e,t)=>(t-e)/no),(e=>e.getHours()))),mo=(go.range,lo((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*no)}),((e,t)=>(t-e)/no),(e=>e.getUTCHours()))),vo=(mo.range,lo((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*to)/ro),(e=>e.getDate()-1))),yo=(vo.range,lo((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ro),(e=>e.getUTCDate()-1))),bo=(yo.range,lo((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ro),(e=>Math.floor(e/ro))));bo.range;function _o(e){return lo((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*to)/io))}const wo=_o(0),xo=_o(1),So=_o(2),Eo=_o(3),ko=_o(4),Oo=_o(5),Co=_o(6);wo.range,xo.range,So.range,Eo.range,ko.range,Oo.range,Co.range;function Ao(e){return lo((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/io))}const To=Ao(0),Po=Ao(1),Do=Ao(2),Mo=Ao(3),Ro=Ao(4),jo=Ao(5),No=Ao(6),Lo=(To.range,Po.range,Do.range,Mo.range,Ro.range,jo.range,No.range,lo((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()))),Io=(Lo.range,lo((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()))),Bo=(Io.range,lo((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear())));Bo.every=e=>isFinite(e=Math.floor(e))&&e>0?lo((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null;Bo.range;const Fo=lo((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));Fo.every=e=>isFinite(e=Math.floor(e))&&e>0?lo((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null;Fo.range;function zo(e,t,n,r,i,o){const a=[[fo,1,eo],[fo,5,5*eo],[fo,15,15*eo],[fo,30,30*eo],[o,1,to],[o,5,5*to],[o,15,15*to],[o,30,30*to],[i,1,no],[i,3,3*no],[i,6,6*no],[i,12,12*no],[r,1,ro],[r,2,2*ro],[n,1,io],[t,1,oo],[t,3,3*oo],[e,1,ao]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Fr((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(Lr(t/ao,n/ao,r));if(0===o)return uo.every(Math.max(Lr(t,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}const[Uo,Ho]=zo(Fo,Io,To,bo,mo,po),[qo,$o]=zo(Bo,Lo,wo,vo,go,ho);function Wo(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Vo(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Ko(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Go,Zo,Yo,Xo={"-":"",_:" ",0:"0"},Qo=/^\s*\d+/,Jo=/^%/,ea=/[\\^$*+?|[\]().{}]/g;function ta(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function na(e){return e.replace(ea,"\\$&")}function ra(e){return new RegExp("^(?:"+e.map(na).join("|")+")","i")}function ia(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}
vendor: 6,425 bytes, line 2
2function oa(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function aa(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function sa(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ca(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function la(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ua(e,t,n){var r=Qo.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function fa(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ha(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function da(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function pa(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function ga(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ma(e,t,n){var r=Qo.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function va(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ya(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ba(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _a(e,t,n){var r=Qo.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function wa(e,t,n){var r=Qo.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xa(e,t,n){var r=Jo.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Sa(e,t,n){var r=Qo.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ea(e,t,n){var r=Qo.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function ka(e,t){return ta(e.getDate(),t,2)}function Oa(e,t){return ta(e.getHours(),t,2)}function Ca(e,t){return ta(e.getHours()%12||12,t,2)}function Aa(e,t){return ta(1+vo.count(Bo(e),e),t,3)}function Ta(e,t){return ta(e.getMilliseconds(),t,3)}function Pa(e,t){return Ta(e,t)+"000"}function Da(e,t){return ta(e.getMonth()+1,t,2)}function Ma(e,t){return ta(e.getMinutes(),t,2)}function Ra(e,t){return ta(e.getSeconds(),t,2)}function ja(e){var t=e.getDay();return 0===t?7:t}function Na(e,t){return ta(wo.count(Bo(e)-1,e),t,2)}function La(e){var t=e.getDay();return t>=4||0===t?ko(e):ko.ceil(e)}function Ia(e,t){return e=La(e),ta(ko.count(Bo(e),e)+(4===Bo(e).getDay()),t,2)}function Ba(e){return e.getDay()}function Fa(e,t){return ta(xo.count(Bo(e)-1,e),t,2)}function za(e,t){return ta(e.getFullYear()%100,t,2)}function Ua(e,t){return ta((e=La(e)).getFullYear()%100,t,2)}function Ha(e,t){return ta(e.getFullYear()%1e4,t,4)}function qa(e,t){var n=e.getDay();return ta((e=n>=4||0===n?ko(e):ko.ceil(e)).getFullYear()%1e4,t,4)}function $a(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ta(t/60|0,"0",2)+ta(t%60,"0",2)}function Wa(e,t){return ta(e.getUTCDate(),t,2)}function Va(e,t){return ta(e.getUTCHours(),t,2)}function Ka(e,t){return ta(e.getUTCHours()%12||12,t,2)}function Ga(e,t){return ta(1+yo.count(Fo(e),e),t,3)}function Za(e,t){return ta(e.getUTCMilliseconds(),t,3)}function Ya(e,t){return Za(e,t)+"000"}function Xa(e,t){return ta(e.getUTCMonth()+1,t,2)}function Qa(e,t){return ta(e.getUTCMinutes(),t,2)}function Ja(e,t){return ta(e.getUTCSeconds(),t,2)}function es(e){var t=e.getUTCDay();return 0===t?7:t}function ts(e,t){return ta(To.count(Fo(e)-1,e),t,2)}function ns(e){var t=e.getUTCDay();return t>=4||0===t?Ro(e):Ro.ceil(e)}function rs(e,t){return e=ns(e),ta(Ro.count(Fo(e),e)+(4===Fo(e).getUTCDay()),t,2)}function is(e){return e.getUTCDay()}function os(e,t){return ta(Po.count(Fo(e)-1,e),t,2)}function as(e,t){return ta(e.getUTCFullYear()%100,t,2)}function ss(e,t){return ta((e=ns(e)).getUTCFullYear()%100,t,2)}function cs(e,t){return ta(e.getUTCFullYear()%1e4,t,4)}function ls(e,t){var n=e.getUTCDay();return ta((e=n>=4||0===n?Ro(e):Ro.ceil(e)).getUTCFullYear()%1e4,t,4)}function us(){return"+0000"}function fs(){return"%"}function hs(e){return+e}function ds(e){return Math.floor(+e/1e3)}function ps(e){return new Date(e)}function gs(e){return e instanceof Date?+e:+new Date(+e)}function ms(e,t,n,r,i,o,a,s,c,l){var u=ni(),f=u.invert,h=u.domain,d=l(".%L"),p=l(":%S"),g=l("%I:%M"),m=l("%I %p"),v=l("%a %d"),y=l("%b %d"),b=l("%B"),_=l("%Y");function w(e){return(c(e)<e?d:s(e)<e?p:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?v:y:n(e)<e?b:_)(e)}return u.invert=function(e){return new Date(f(e))},u.domain=function(e){return arguments.length?h(Array.from(e,gs)):h().map(ps)},u.ticks=function(t){var n=h();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:l(t)},u.nice=function(e){var n=h();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?h(xi(n,e)):u},u.copy=function(){return ei(u,ms(e,t,n,r,i,o,a,s,c,l))},u}function vs(){return yr.apply(ms(qo,$o,Bo,Lo,wo,vo,go,ho,fo,Zo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function ys(){return yr.apply(ms(Uo,Ho,Fo,Io,To,yo,mo,po,fo,Yo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function bs(){var e,t,n,r,i,o=0,a=1,s=Yr,c=!1;function l(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,c?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),l):[s(0),s(1)]}}return l.domain=function(i){return arguments.length?([o,a]=i,e=r(o=+o),t=r(a=+a),n=e===t?0:1/(t-e),l):[o,a]},l.clamp=function(e){return arguments.length?(c=!!e,l):c},l.interpolator=function(e){return arguments.length?(s=e,l):s},l.range=u(Wr.Z),l.rangeRound=u(Kr),l.unknown=function(e){return arguments.length?(i=e,l):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),l}}function _s(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ws(){var e=bi(bs()(Yr));return e.copy=function(){return _s(e,ws())},br.apply(e,arguments)}function xs(){var e=Ti(bs()).domain([1,10]);return e.copy=function(){return _s(e,xs()).base(e.base())},br.apply(e,arguments)}function Ss(){var e=Ri(bs());return e.copy=function(){return _s(e,Ss()).constant(e.constant())},br.apply(e,arguments)}function Es(){var e=Bi(bs());return e.copy=function(){return _s(e,Es()).exponent(e.exponent())},br.apply(e,arguments)}function ks(){return Es.apply(null,arguments).exponent(.5)}function Os(){var e=[],t=Yr;
vendor: 4,413 bytes, line 2
2function n(n){if(null!=n&&!isNaN(n=+n))return t(($r(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Ir),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map(((n,r)=>t(r/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((n,r)=>Zi(e,r/t)))},n.copy=function(){return Os(t).domain(e)},br.apply(n,arguments)}function Cs(){var e,t,n,r,i,o,a,s=0,c=.5,l=1,u=1,f=Yr,h=!1;function d(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(u*e<u*t?r:i),f(h?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,f=function(e,t){void 0===t&&(t=e,e=Wr.Z);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}(e,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([s,c,l]=a,e=o(s=+s),t=o(c=+c),n=o(l=+l),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,d):[s,c,l]},d.clamp=function(e){return arguments.length?(h=!!e,d):h},d.interpolator=function(e){return arguments.length?(f=e,d):f},d.range=p(Wr.Z),d.rangeRound=p(Kr),d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return o=a,e=a(s),t=a(c),n=a(l),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,d}}function As(){var e=bi(Cs()(Yr));return e.copy=function(){return _s(e,As())},br.apply(e,arguments)}function Ts(){var e=Ti(Cs()).domain([.1,1,10]);return e.copy=function(){return _s(e,Ts()).base(e.base())},br.apply(e,arguments)}function Ps(){var e=Ri(Cs());return e.copy=function(){return _s(e,Ps()).constant(e.constant())},br.apply(e,arguments)}function Ds(){var e=Bi(Cs());return e.copy=function(){return _s(e,Ds()).exponent(e.exponent())},br.apply(e,arguments)}function Ms(){return Ds.apply(null,arguments).exponent(.5)}function Rs(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}!function(e){Go=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=ra(i),u=ia(i),f=ra(o),h=ia(o),d=ra(a),p=ia(a),g=ra(s),m=ia(s),v=ra(c),y=ia(c),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:ka,e:ka,f:Pa,g:Ua,G:qa,H:Oa,I:Ca,j:Aa,L:Ta,m:Da,M:Ma,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:hs,s:ds,S:Ra,u:ja,U:Na,V:Ia,w:Ba,W:Fa,x:null,X:null,y:za,Y:Ha,Z:$a,"%":fs},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Wa,e:Wa,f:Ya,g:ss,G:ls,H:Va,I:Ka,j:Ga,L:Za,m:Xa,M:Qa,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:hs,s:ds,S:Ja,u:es,U:ts,V:rs,w:is,W:os,x:null,X:null,y:as,Y:cs,Z:us,"%":fs},w={a:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:ga,e:ga,f:wa,g:fa,G:ua,H:va,I:va,j:ma,L:_a,m:pa,M:ya,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:da,Q:Sa,s:Ea,S:ba,u:aa,U:sa,V:ca,w:oa,W:la,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:fa,Y:ua,Z:ha,"%":xa};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=Xo[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function S(e,t){return function(n){var r,i,o=Ko(1900,void 0,1);if(E(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){
vendor: 5,483 bytes, line 2
2if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Vo(Ko(o.y,0,1))).getUTCDay(),r=i>4||0===i?Po.ceil(r):Po(r),r=yo.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Wo(Ko(o.y,0,1))).getDay(),r=i>4||0===i?xo.ceil(r):xo(r),r=vo.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Vo(Ko(o.y,0,1)).getUTCDay():Wo(Ko(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Vo(o)):Wo(o)}}function E(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Xo?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),Zo=Go.format,Go.parse,Yo=Go.utcFormat,Go.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Array.prototype.slice;function js(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Ns(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Ls(e,t){return e[t]}function Is(e){const t=[];return t.key=e,t}var Bs=n(6162),Fs=n.n(Bs),zs=n(53632),Us=n.n(zs),Hs=n(94654),qs=n.n(Hs),$s=n(18446),Ws=n.n($s),Vs=n(29887),Ks=n.n(Vs);function Gs(e){return function(e){if(Array.isArray(e))return Zs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Zs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zs(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ys=function(e){return e},Xs={"@@functional/placeholder":!0},Qs=function(e){return e===Xs},Js=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Qs(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},ec=function(e){return function e(t,n){return 1===t?n:Js((function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==Xs})).length;return a>=t?n.apply(void 0,i):e(t-a,Js((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=i.map((function(e){return Qs(e)?t.shift():e}));return n.apply(void 0,Gs(o).concat(t))})))}))}(e.length,e)},tc=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},nc=ec((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),rc=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return Ys;var r=t.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},ic=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},oc=function(e){var t=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t&&i.every((function(e,n){return e===t[n]}))?n:(t=i,n=e.apply(void 0,i))}};var ac=ec((function(e,t,n){var r=+e;return r+n*(+t-r)})),sc=ec((function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)})),cc=ec((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))})),lc={rangeStep:function(e,t,n){for(var r=new(Ks())(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new(Ks())(e).abs().log(10).toNumber())+1},interpolateNumber:ac,uninterpolateNumber:sc,uninterpolateTruncation:cc};function uc(e){return function(e){if(Array.isArray(e))return dc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||hc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||hc(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hc(e,t){if(e){if("string"==typeof e)return dc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dc(e,t):void 0}}function dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pc(e){var t=fc(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function gc(e,t,n){if(e.lte(0))return new(Ks())(0);var r=lc.getDigitCount(e.toNumber()),i=new(Ks())(10).pow(r),o=e.div(i),a=1!==r?.05:.1,s=new(Ks())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return t?s:new(Ks())(Math.ceil(s))}function mc(e,t,n){var r=1,i=new(Ks())(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new(Ks())(10).pow(lc.getDigitCount(e)-1),i=new(Ks())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(Ks())(Math.floor(e)))}else 0===e?i=new(Ks())(Math.floor((t-1)/2)):n||(i=new(Ks())(Math.floor(e)));var a=Math.floor((t-1)/2);return rc(nc((function(e){return i.add(new(Ks())(e-a).mul(r)).toNumber()})),tc)(0,t)}function vc(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(Ks())(0),tickMin:new(Ks())(0),tickMax:new(Ks())(0)};var o,a=gc(new(Ks())(t).sub(e).div(n-1),r,i);o=e<=0&&t>=0?new(Ks())(0):(o=new(Ks())(e).add(t).div(2)).sub(new(Ks())(o).mod(a));var s=Math.ceil(o.sub(e).div(a).toNumber()),c=Math.ceil(new(Ks())(t).sub(o).div(a).toNumber()),l=s+c+1;return l>n?vc(e,t,n,r,i+1):(l<n&&(c=t>0?c+(n-l):c,s=t>0?s:s+(n-l)),{step:a,tickMin:o.sub(new(Ks())(s).mul(a)),tickMax:o.add(new(Ks())(c).mul(a))})}var yc=oc((function(e){var t=fc(e,2),n=t[0],r=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=fc(pc([n,r]),2),c=s[0],l=s[1];if(c===-1/0||l===1/0){var u=l===1/0?[c].concat(uc(tc(0,i-1).map((function(){return 1/0})))):[].concat(uc(tc(0,i-1).map((function(){return-1/0}))),[l]);return n>r?ic(u):u}if(c===l)return mc(c,i,o);var f=vc(c,l,a,o),h=f.step,d=f.tickMin,p=f.tickMax,g=lc.rangeStep(d,p.add(new(Ks())(.1).mul(h)),h);return n>r?ic(g):g})),bc=(oc((function(e){var t=fc(e,2),n=t[0],r=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=fc(pc([n,r]),2),c=s[0],l=s[1];if(c===-1/0||l===1/0)return[n,r];if(c===l)return mc(c,i,o);var u=gc(new(Ks())(l).sub(c).div(a-1),o,0),f=rc(nc((function(e){return new(Ks())(c).add(new(Ks())(e).mul(u)).toNumber()})),tc)(0,a).filter((function(e){return e>=c&&e<=l}));return n>r?ic(f):f})),oc((function(e,t){var n=fc(e,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=fc(pc([r,i]),2),s=a[0],c=a[1];if(s===-1/0||c===1/0)return[r,i];if(s===c)return[s];var l=Math.max(t,2),u=gc(new(Ks())(c).sub(s).div(l-1),o,0),f=[].concat(uc(lc.rangeStep(new(Ks())(s),new(Ks())(c).sub(new(Ks())(.99).mul(u)),u)),[c]);return r>i?ic(f):f}))),_c=n(38776),wc=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function xc(e){return xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xc(e)}function Sc(){return Sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sc.apply(this,arguments)}function Ec(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
vendor: 4,729 bytes, line 2
2finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kc(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oc(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Cc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Rc(r.key),r)}}function Ac(e,t,n){return t=Pc(t),function(e,t){if(t&&("object"===xc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Tc()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function Tc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Tc=function(){return!!e})()}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pc(e)}function Dc(e,t){return Dc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dc(e,t)}function Mc(e,t,n){return(t=Rc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){var t=function(e,t){if("object"!=xc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xc(t)?t:t+""}var jc=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ac(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dc(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e=this.props,t=e.offset,n=e.layout,r=e.width,o=e.dataKey,a=e.data,s=e.dataPointFormatter,c=e.xAxis,l=e.yAxis,u=Oc(e,wc),f=ie(u,!1);"x"===this.props.direction&&"number"!==c.type&&(0,_c.Z)(!1);var h=a.map((function(e){var a=s(e,o),u=a.x,h=a.y,d=a.value,p=a.errorVal;if(!p)return null;var g,m,v=[];if(Array.isArray(p)){var y=Ec(p,2);g=y[0],m=y[1]}else g=m=p;if("vertical"===n){var b=c.scale,_=h+t,w=_+r,x=_-r,S=b(d-g),E=b(d+m);v.push({x1:E,y1:w,x2:E,y2:x}),v.push({x1:S,y1:_,x2:E,y2:_}),v.push({x1:S,y1:w,x2:S,y2:x})}else if("horizontal"===n){var k=l.scale,O=u+t,C=O-r,A=O+r,T=k(d-g),P=k(d+m);v.push({x1:C,y1:P,x2:A,y2:P}),v.push({x1:O,y1:T,x2:O,y2:P}),v.push({x1:C,y1:T,x2:A,y2:T})}return i.createElement(me,Sc({className:"recharts-errorBar",key:"bar-".concat(v.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},f),v.map((function(e){return i.createElement("line",Sc({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return i.createElement(me,{className:"recharts-errorBars"},h)}}],r&&Cc(n.prototype,r),o&&Cc(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function Nc(e){return Nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nc(e)}function Lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ic(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Lc(Object(n),!0).forEach((function(t){Bc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bc(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Nc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Nc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Nc(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Mc(jc,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),Mc(jc,"displayName","ErrorBar");var Fc=function(e){var t=e.children,n=e.formattedGraphicalItems,r=e.legendWidth,i=e.legendContent,o=Q(t,Nt);if(!o)return null;var a,s=Nt.defaultProps,c=void 0!==s?Ic(Ic({},s),o.props):{};return a=o.props&&o.props.payload?o.props&&o.props.payload:"children"===i?(n||[]).reduce((function(e,t){var n=t.item,r=t.props,i=r.sectors||r.data||[];return e.concat(i.map((function(e){return{type:o.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,n=t.type.defaultProps,r=void 0!==n?Ic(Ic({},n),t.props):{},i=r.dataKey,o=r.name,a=r.legendType;return{inactive:r.hide,dataKey:i,type:c.iconType||a||"square",color:Gc(t),value:o||i,payload:r}})),Ic(Ic(Ic({},c),Nt.getWithHeight(o,r)),{},{payload:a,item:o})};function zc(e){return zc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zc(e)}function Uc(e){return function(e){if(Array.isArray(e))return Hc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Hc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qc(Object(n),!0).forEach((function(t){Wc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wc(e,t,n){return t=function(e){var t=function(e,t){if("object"!=zc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zc(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e,t,n){return u()(e)||u()(t)?n:O(t)?c()(e,t,n):p()(t)?t(e):n}function Kc(e,t,n,r){var i=qs()(e,(function(e){return Vc(e,t)}));if("number"===n){var o=i.filter((function(e){return E(e)||parseFloat(e)}));return o.length?[Us()(o),Fs()(o)]:[1/0,-1/0]}return(r?i.filter((function(e){return!u()(e)})):i).map((function(e){return O(e)||e instanceof Date?e:""}))}var Gc=function(e){var t,n,r=e.type.displayName,i=null!==(t=e.type)&&void 0!==t&&t.defaultProps?$c($c({},e.type.defaultProps),e.props):e.props,o=i.stroke,a=i.fill;switch(r){case"Line":n=o;break;case"Area":case"Radar":n=o&&"none"!==o?o:a;break;default:n=a}return n},Zc=function(e,t,n,r,i){var o=X(t.props.children,jc).filter((function(e){return function(e,t,n){return!!u()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,i,e.props.direction)}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=Vc(t,n);if(u()(r))return e;var i=Array.isArray(r)?[Us()(r),Fs()(r)]:[r,r],o=a.reduce((function(e,n){var r=Vc(t,n,0),o=i[0]-Math.abs(Array.isArray(r)?r[0]:r),a=i[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},Yc=function(e,t,n,r,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===n&&o&&Zc(e,t,o,r)||Kc(e,o,n,i)}));if("number"===n)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},Xc=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},Qc=function(e,t,n,r){if(r)return e.map((function(e){return e.coordinate}));var i,o,a=e.map((function(e){return e.coordinate===t&&(i=!0),e.coordinate===n&&(o=!0),e.coordinate}));return i||a.push(t),o||a.push(n),a},Jc=function(e,t,n){if(!e)return null;var r=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,s="scaleBand"===e.realScaleType?r.bandwidth()/2:2,c=(t||n)&&"category"===o&&r.bandwidth?r.bandwidth()/s:0;return c="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*x(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:r(t)+c,value:e,offset:c}})).filter((function(e){return!b()(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+c,value:e,index:t,offset:c}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+c,value:e,offset:c}})):r.domain().map((function(e,t){return{coordinate:r(e)+c,value:i?i[e]:e,index:t,offset:c}}))},el=new WeakMap,tl=function(e,t){if("function"!=typeof t)return e;el.has(e)||el.set(e,new WeakMap);var n=el.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},nl=function(e,t,n){var i=e.scale,o=e.type,a=e.layout,s=e.axisType;
vendor: 50,923 bytes, line 2
2if("auto"===i)return"radial"===a&&"radiusAxis"===s?{scale:Cr(),realScaleType:"band"}:"radial"===a&&"angleAxis"===s?{scale:_i(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:Tr(),realScaleType:"point"}:"category"===o?{scale:Cr(),realScaleType:"band"}:{scale:_i(),realScaleType:"linear"};if(h()(i)){var c="scale".concat(_e()(i));return{scale:(r[c]||Tr)(),realScaleType:r[c]?c:"point"}}return p()(i)?{scale:i}:{scale:Tr(),realScaleType:"point"}},rl=1e-4,il=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),i=Math.min(r[0],r[1])-rl,o=Math.max(r[0],r[1])+rl,a=e(t[0]),s=e(t[n-1]);(a<i||a>o||s<i||s>o)&&e.domain([t[0],t[n-1]])}},ol=function(e,t){if(!e)return null;for(var n=0,r=e.length;n<r;n++)if(e[n].item===t)return e[n].position;return null},al=function(e,t){if(!t||2!==t.length||!E(t[0])||!E(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!E(e[0])||e[0]<n)&&(i[0]=n),(!E(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},sl={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0,a=0;a<t;++a){var s=b()(e[a][n][1])?e[a][n][0]:e[a][n][1];s>=0?(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1]):(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,a=e[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Rs(e,t)}},none:Rs,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}Rs(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,c=0,l=0;s<i;++s){for(var u=e[t[s]],f=u[a][1]||0,h=(f-(u[a-1][1]||0))/2,d=0;d<s;++d){var p=e[t[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,l+=h*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,Rs(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0;o<t;++o){var a=b()(e[o][n][1])?e[o][n][0]:e[o][n][1];a>=0?(e[o][n][0]=i,e[o][n][1]=i+a,i=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}}},cl=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),i=sl[n],o=function(){var e=qe([]),t=Ns,n=Rs,r=Ls;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Is),c=s.length,l=-1;for(const e of i)for(o=0,++l;o<c;++o)(s[o][l]=[0,+r(e,s[o].key,l,i)]).data=e;for(o=0,a=js(t(s));o<c;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:qe(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:qe(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ns:"function"==typeof e?e:qe(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Rs:e,i):n},i}().keys(r).value((function(e,t){return+Vc(e,t,0)})).order(Ns).offset(i);return o(e)},ll=function(e,t){var n=t.realScaleType,r=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var c=e.domain();if(!c.length)return null;var l=yc(c,i,a);return e.domain([Us()(l),Fs()(l)]),{niceTicks:l}}if(i&&"number"===r){var u=e.domain();return{niceTicks:bc(u,i,a)}}return null};function ul(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!u()(i[t.dataKey])){var s=M(n,"value",i[t.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var c=Vc(i,u()(a)?t.dataKey:a);return u()(c)?null:t.scale(c)}var fl=function(e){var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return n[a]?n[a].coordinate+r:null;var s=Vc(o,t.dataKey,t.domain[a]);return u()(s)?null:t.scale(s)-i/2+r},hl=function(e){var t=e.numericAxis,n=t.scale.domain();if("number"===t.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},dl=function(e,t,n){return Object.keys(e).reduce((function(r,i){var o=e[i].stackedData.reduce((function(e,r){var i=r.slice(t,n+1).reduce((function(e,t){return[Us()(t.concat([e[0]]).filter(E)),Fs()(t.concat([e[1]]).filter(E))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},pl=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,gl=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ml=function(e,t,n){if(p()(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(E(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(pl.test(e[0])){var i=+pl.exec(e[0])[1];r[0]=t[0]-i}else p()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(E(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(gl.test(e[1])){var o=+gl.exec(e[1])[1];r[1]=t[1]+o}else p()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},vl=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=It()(t,(function(e){return e.coordinate})),o=1/0,a=1,s=i.length;a<s;a++){var c=i[a],l=i[a-1];o=Math.min((c.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},yl=function(e,t,n){return e&&e.length?Ws()(e,c()(n,"type.defaultProps.domain"))?t:e:t},bl=function(e,t){var n=e.type.defaultProps?$c($c({},e.type.defaultProps),e.props):e.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,s=n.tooltipType,c=n.chartType,l=n.hide;return $c($c({},ie(e,!1)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:Gc(e),value:Vc(t,r),type:s,payload:t,chartType:c,hide:l})};function _l(e){return _l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_l(e)}function wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wl(Object(n),!0).forEach((function(t){Sl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sl(e,t,n){return t=function(e){var t=function(e,t){if("object"!=_l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_l(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kl(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ol=Math.PI/180,Cl=function(e){return 180*e/Math.PI},Al=function(e,t,n,r){return{x:e+Math.cos(-Ol*r)*n,y:t+Math.sin(-Ol*r)*n}},Tl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},Pl=function(e,t,n,r,i){var o=e.width,a=e.height,s=e.startAngle,c=e.endAngle,l=T(e.cx,o,o/2),f=T(e.cy,a,a/2),h=Tl(o,a,n),d=T(e.innerRadius,h,0),p=T(e.outerRadius,h,.8*h);return Object.keys(t).reduce((function(e,n){var o,a=t[n],h=a.domain,g=a.reversed;if(u()(a.range))"angleAxis"===r?o=[s,c]:"radiusAxis"===r&&(o=[d,p]),g&&(o=[o[1],o[0]]);else{var m=El(o=a.range,2);s=m[0],c=m[1]}var v=nl(a,i),y=v.realScaleType,b=v.scale;b.domain(h).range(o),il(b);var _=ll(b,xl(xl({},a),{},{realScaleType:y})),w=xl(xl(xl({},a),_),{},{range:o,radius:p,realScaleType:y,scale:b,cx:l,cy:f,innerRadius:d,outerRadius:p,startAngle:s,endAngle:c});return xl(xl({},e),{},Sl({},n,w))}),{})},Dl=function(e,t){var n=e.x,r=e.y,i=t.cx,o=t.cy,a=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var s=(n-i)/a,c=Math.acos(s);return r>o&&(c=2*Math.PI-c),{radius:a,angle:Cl(c),angleInRadian:c}},Ml=function(e,t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return e+360*Math.min(i,o)},Rl=function(e,t){var n=e.x,r=e.y,i=Dl({x:n,y:r},t),o=i.radius,a=i.angle,s=t.innerRadius,c=t.outerRadius;if(o<s||o>c)return!1;if(0===o)return!0;var l,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:t-360*o,endAngle:n-360*o}}(t),f=u.startAngle,h=u.endAngle,d=a;if(f<=h){for(;d>h;)d-=360;for(;d<f;)d+=360;l=d>=f&&d<=h}else{for(;d>f;)d-=360;for(;d<h;)d+=360;l=d>=h&&d<=f}return l?xl(xl({},t),{},{radius:o,angle:Ml(d,t)}):null},jl=function(e){return(0,i.isValidElement)(e)||p()(e)||"boolean"==typeof e?"":e.className};function Nl(e){return Nl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nl(e)}var Ll=["offset"];function Il(e){return function(e){if(Array.isArray(e))return Bl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Bl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bl(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fl(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ul(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(n),!0).forEach((function(t){Hl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hl(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Nl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Nl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Nl(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ql.apply(this,arguments)}var $l=function(e){var t=e.value,n=e.formatter,r=u()(e.children)?t:e.children;return p()(n)?n(r):r},Wl=function(e,t,n){var r,o,s=e.position,c=e.viewBox,l=e.offset,f=e.className,h=c,d=h.cx,p=h.cy,g=h.innerRadius,m=h.outerRadius,v=h.startAngle,y=h.endAngle,b=h.clockWise,_=(g+m)/2,w=function(e,t){return x(t-e)*Math.min(Math.abs(t-e),360)}(v,y),S=w>=0?1:-1;"insideStart"===s?(r=v+S*l,o=b):"insideEnd"===s?(r=y-S*l,o=!b):"end"===s&&(r=y+S*l,o=b),o=w<=0?o:!o;var E=Al(d,p,_,r),k=Al(d,p,_,r+359*(o?1:-1)),O="M".concat(E.x,",").concat(E.y,"\n A").concat(_,",").concat(_,",0,1,").concat(o?0:1,",\n ").concat(k.x,",").concat(k.y),C=u()(e.id)?A("recharts-radial-line-"):e.id;return i.createElement("text",ql({},n,{dominantBaseline:"central",className:a("recharts-radial-bar-label",f)}),i.createElement("defs",null,i.createElement("path",{id:C,d:O})),i.createElement("textPath",{xlinkHref:"#".concat(C)},t))},Vl=function(e){var t=e.viewBox,n=e.offset,r=e.position,i=t,o=i.cx,a=i.cy,s=i.innerRadius,c=i.outerRadius,l=(i.startAngle+i.endAngle)/2;if("outside"===r){var u=Al(o,a,c+n,l),f=u.x;return{x:f,y:u.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var h=Al(o,a,(s+c)/2,l);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}},Kl=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,i=e.position,o=t,a=o.x,s=o.y,c=o.width,l=o.height,u=l>=0?1:-1,f=u*r,h=u>0?"end":"start",d=u>0?"start":"end",p=c>=0?1:-1,g=p*r,v=p>0?"end":"start",y=p>0?"start":"end";if("top"===i)return Ul(Ul({},{x:a+c/2,y:s-u*r,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(s-n.y,0),width:c}:{});if("bottom"===i)return Ul(Ul({},{x:a+c/2,y:s+l+f,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(n.y+n.height-(s+l),0),width:c}:{});if("left"===i){var b={x:a-g,y:s+l/2,textAnchor:v,verticalAnchor:"middle"};return Ul(Ul({},b),n?{width:Math.max(b.x-n.x,0),height:l}:{})}if("right"===i){var _={x:a+c+g,y:s+l/2,textAnchor:y,verticalAnchor:"middle"};return Ul(Ul({},_),n?{width:Math.max(n.x+n.width-_.x,0),height:l}:{})}var w=n?{width:c,height:l}:{};return"insideLeft"===i?Ul({x:a+g,y:s+l/2,textAnchor:y,verticalAnchor:"middle"},w):"insideRight"===i?Ul({x:a+c-g,y:s+l/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?Ul({x:a+c/2,y:s+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===i?Ul({x:a+c/2,y:s+l-f,textAnchor:"middle",verticalAnchor:h},w):"insideTopLeft"===i?Ul({x:a+g,y:s+f,textAnchor:y,verticalAnchor:d},w):"insideTopRight"===i?Ul({x:a+c-g,y:s+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===i?Ul({x:a+g,y:s+l-f,textAnchor:y,verticalAnchor:h},w):"insideBottomRight"===i?Ul({x:a+c-g,y:s+l-f,textAnchor:v,verticalAnchor:h},w):m()(i)&&(E(i.x)||S(i.x))&&(E(i.y)||S(i.y))?Ul({x:a+T(i.x,c),y:s+T(i.y,l),textAnchor:"end",verticalAnchor:"end"},w):Ul({x:a+c/2,y:s+l/2,textAnchor:"middle",verticalAnchor:"middle"},w)},Gl=function(e){return"cx"in e&&E(e.cx)};function Zl(e){var t,n=e.offset,r=Ul({offset:void 0===n?5:n},Fl(e,Ll)),o=r.viewBox,s=r.position,c=r.value,l=r.children,f=r.content,h=r.className,d=void 0===h?"":h,g=r.textBreakAll;if(!o||u()(c)&&u()(l)&&!(0,i.isValidElement)(f)&&!p()(f))return null;if((0,i.isValidElement)(f))return(0,i.cloneElement)(f,r);if(p()(f)){if(t=(0,i.createElement)(f,r),(0,i.isValidElement)(t))return t}else t=$l(r);var m=Gl(o),v=ie(r,!0);if(m&&("insideStart"===s||"insideEnd"===s||"end"===s))return Wl(r,t,v);var y=m?Vl(r):Kl(r);return i.createElement(vr,ql({className:a("recharts-label",d)},v,y,{breakAll:g}),t)}Zl.displayName="Label";var Yl=function(e){var t=e.cx,n=e.cy,r=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,s=e.radius,c=e.innerRadius,l=e.outerRadius,u=e.x,f=e.y,h=e.top,d=e.left,p=e.width,g=e.height,m=e.clockWise,v=e.labelViewBox;if(v)return v;if(E(p)&&E(g)){if(E(u)&&E(f))return{x:u,y:f,width:p,height:g};if(E(h)&&E(d))return{x:h,y:d,width:p,height:g}}return E(u)&&E(f)?{x:u,y:f,width:0,height:0}:E(t)&&E(n)?{cx:t,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:l||s||a||0,clockWise:m}:e.viewBox?e.viewBox:{}},Xl=function(e,t){return e?!0===e?i.createElement(Zl,{key:"label-implicit",viewBox:t}):O(e)?i.createElement(Zl,{key:"label-implicit",viewBox:t,value:e}):(0,i.isValidElement)(e)?e.type===Zl?(0,i.cloneElement)(e,{key:"label-implicit",viewBox:t}):i.createElement(Zl,{key:"label-implicit",content:e,viewBox:t}):p()(e)?i.createElement(Zl,{key:"label-implicit",content:e,viewBox:t}):m()(e)?i.createElement(Zl,ql({viewBox:t},e,{key:"label-implicit"})):null:null};Zl.parseViewBox=Yl,Zl.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=Yl(e),a=X(r,Zl).map((function(e,n){return(0,i.cloneElement)(e,{viewBox:t||o,key:"label-".concat(n)})}));return n?[Xl(e.label,t||o)].concat(Il(a)):a};var Ql=n(10928),Jl=n.n(Ql);function eu(e){return eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eu(e)}var tu=["valueAccessor"],nu=["data","dataKey","clockWise","id","textBreakAll"];function ru(e){return function(e){if(Array.isArray(e))return iu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return iu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iu(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ou(){return ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ou.apply(this,arguments)}function au(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function su(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?au(Object(n),!0).forEach((function(t){cu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):au(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cu(e,t,n){return t=function(e){var t=function(e,t){if("object"!=eu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eu(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lu(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var uu=function(e){return Array.isArray(e.value)?Jl()(e.value):e.value};function fu(e){var t=e.valueAccessor,n=void 0===t?uu:t,r=lu(e,tu),o=r.data,a=r.dataKey,s=r.clockWise,c=r.id,l=r.textBreakAll,f=lu(r,nu);return o&&o.length?i.createElement(me,{className:"recharts-label-list"},o.map((function(e,t){var r=u()(a)?n(e,t):Vc(e&&e.payload,a),o=u()(c)?{}:{id:"".concat(c,"-").concat(t)};return i.createElement(Zl,ou({},ie(e,!0),f,o,{parentViewBox:e.parentViewBox,value:r,textBreakAll:l,viewBox:Zl.parseViewBox(u()(s)?e:su(su({},e),{},{clockWise:s})),key:"label-".concat(t),index:t}))}))):null}fu.displayName="LabelList",fu.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=X(e.children,fu).map((function(e,n){return(0,i.cloneElement)(e,{data:t,key:"labelList-".concat(n)})}));return n?[function(e,t){return e?!0===e?i.createElement(fu,{key:"labelList-implicit",data:t}):i.isValidElement(e)||p()(e)?i.createElement(fu,{key:"labelList-implicit",data:t,content:e}):m()(e)?i.createElement(fu,ou({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(ru(r)):r};var hu=["component"];function du(e){return du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},du(e)}function pu(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function gu(e){var t,n=e.component,r=pu(e,hu);return(0,i.isValidElement)(n)?t=(0,i.cloneElement)(n,r):p()(n)?t=(0,i.createElement)(n,r):ye(!1,"Customized's props `component` must be React.element or Function, but got %s.",du(n)),i.createElement(me,{className:"recharts-customized-wrapper"},t)}function mu(e){return mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mu(e)}function vu(){return vu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vu.apply(this,arguments)}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach((function(t){_u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _u(e,t,n){return t=function(e){var t=function(e,t){if("object"!=mu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mu(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}gu.displayName="Customized";var wu=function(e){var t=e.cx,n=e.cy,r=e.radius,i=e.angle,o=e.sign,a=e.isExternal,s=e.cornerRadius,c=e.cornerIsExternal,l=s*(a?1:-1)+r,u=Math.asin(s/l)/Ol,f=c?i:i+o*u,h=c?i-o*u:i;return{center:Al(t,n,l,f),circleTangency:Al(t,n,r,f),lineTangency:Al(t,n,l*Math.cos(u*Ol),h),theta:u}},xu=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return x(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),s=o+a,c=Al(t,n,i,o),l=Al(t,n,i,s),u="M ".concat(c.x,",").concat(c.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var f=Al(t,n,r,o),h=Al(t,n,r,s);u+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n ").concat(f.x,",").concat(f.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},Su={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Eu=function(e){var t=bu(bu({},Su),e),n=t.cx,r=t.cy,o=t.innerRadius,s=t.outerRadius,c=t.cornerRadius,l=t.forceCornerRadius,u=t.cornerIsExternal,f=t.startAngle,h=t.endAngle,d=t.className;if(s<o||f===h)return null;var p,g=a("recharts-sector",d),m=s-o,v=T(c,m,0,!0);return p=v>0&&Math.abs(f-h)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,u=x(l-c),f=wu({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:o,cornerIsExternal:s}),h=f.circleTangency,d=f.lineTangency,p=f.theta,g=wu({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:o,cornerIsExternal:s}),m=g.circleTangency,v=g.lineTangency,y=g.theta,b=s?Math.abs(c-l):Math.abs(c-l)-p-y;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):xu({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var _="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(h.x,",").concat(h.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(m.x,",").concat(m.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(v.x,",").concat(v.y,"\n ");if(r>0){var w=wu({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),S=w.circleTangency,E=w.lineTangency,k=w.theta,O=wu({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),C=O.circleTangency,A=O.lineTangency,T=O.theta,P=s?Math.abs(c-l):Math.abs(c-l)-k-T;if(P<0&&0===o)return"".concat(_,"L").concat(t,",").concat(n,"Z");_+="L".concat(A.x,",").concat(A.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(C.x,",").concat(C.y,"\n A").concat(r,",").concat(r,",0,").concat(+(P>180),",").concat(+(u>0),",").concat(S.x,",").concat(S.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(E.x,",").concat(E.y,"Z")}else _+="L".concat(t,",").concat(n,"Z");return _}({cx:n,cy:r,innerRadius:o,outerRadius:s,cornerRadius:Math.min(v,m/2),forceCornerRadius:l,cornerIsExternal:u,startAngle:f,endAngle:h}):xu({cx:n,cy:r,innerRadius:o,outerRadius:s,startAngle:f,endAngle:h}),i.createElement("path",vu({},ie(t,!0),{className:g,d:p,role:"img"}))};function ku(){}function Ou(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Cu(e){this._context=e}function Au(e){this._context=e}function Tu(e){this._context=e}Cu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ou(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ou(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Au.prototype={areaStart:ku,areaEnd:ku,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ou(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Tu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ou(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};class Pu{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function Du(e){this._context=e}function Mu(e){this._context=e}function Ru(e){return new Mu(e)}function ju(e){return e<0?-1:1}function Nu(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(ju(o)+ju(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Lu(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Iu(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function Bu(e){this._context=e}function Fu(e){this._context=new zu(e)}function zu(e){this._context=e}function Uu(e){this._context=e}function Hu(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function qu(e,t){this._context=e,this._t=t}function $u(e){return e[0]}function Wu(e){return e[1]}function Vu(e,t){var n=qe(!0),r=null,i=Ru,o=null,a=Ye(s);function s(s){var c,l,u,f=(s=js(s)).length,h=!1;for(null==r&&(o=i(u=a())),c=0;c<=f;++c)!(c<f&&n(l=s[c],c,s))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+e(l,c,s),+t(l,c,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?$u:qe(e),t="function"==typeof t?t:void 0===t?Wu:qe(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:qe(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:qe(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:qe(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function Ku(e,t,n){var r=null,i=qe(!0),o=null,a=Ru,s=null,c=Ye(l);function l(l){var u,f,h,d,p,g=(l=js(l)).length,m=!1,v=new Array(g),y=new Array(g);for(null==o&&(s=a(p=c())),u=0;u<=g;++u){if(!(u<g&&i(d=l[u],u,l))===m)if(m=!m)f=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=u-1;h>=f;--h)s.point(v[h],y[h]);s.lineEnd(),s.areaEnd()}m&&(v[u]=+e(d,u,l),y[u]=+t(d,u,l),s.point(r?+r(d,u,l):v[u],n?+n(d,u,l):y[u]))}if(p)return s=null,p+""||null}function u(){return Vu().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?$u:qe(+e),t="function"==typeof t?t:qe(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Wu:qe(+n),l.x=function(t){return arguments.length?(e="function"==typeof t?t:qe(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:qe(+t),l):e},l.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:qe(+e),l):r},l.y=function(e){return arguments.length?(t="function"==typeof e?e:qe(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t="function"==typeof e?e:qe(+e),l):t},l.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:qe(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i="function"==typeof e?e:qe(!!e),l):i},l.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),l):a},l.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),l):o},l}function Gu(e){return Gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gu(e)}function Zu(){return Zu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zu.apply(this,arguments)}function Yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yu(Object(n),!0).forEach((function(t){Qu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qu(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Gu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Gu(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Du.prototype={areaStart:ku,areaEnd:ku,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},Mu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},Bu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Iu(this,this._t0,Lu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Iu(this,Lu(this,n=Nu(this,e,t)),n);break;default:Iu(this,this._t0,n=Nu(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Fu.prototype=Object.create(Bu.prototype)).point=function(e,t){Bu.prototype.point.call(this,t,e)},zu.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Uu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Hu(e),i=Hu(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},qu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Ju={curveBasisClosed:function(e){return new Au(e)},curveBasisOpen:function(e){return new Tu(e)},curveBasis:function(e){return new Cu(e)},curveBumpX:function(e){return new Pu(e,!0)},curveBumpY:function(e){return new Pu(e,!1)},curveLinearClosed:function(e){return new Du(e)},curveLinear:Ru,curveMonotoneX:function(e){return new Bu(e)},curveMonotoneY:function(e){return new Fu(e)},curveNatural:function(e){return new Uu(e)},curveStep:function(e){return new qu(e,.5)},curveStepAfter:function(e){return new qu(e,1)},curveStepBefore:function(e){return new qu(e,0)}},ef=function(e){return e.x===+e.x&&e.y===+e.y},tf=function(e){return e.x},nf=function(e){return e.y},rf=function(e){var t,n=e.type,r=void 0===n?"linear":n,i=e.points,o=void 0===i?[]:i,a=e.baseLine,s=e.layout,c=e.connectNulls,l=void 0!==c&&c,u=function(e,t){if(p()(e))return e;var n="curve".concat(_e()(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?Ju[n]||Ru:Ju["".concat(n).concat("vertical"===t?"Y":"X")]}(r,s),f=l?o.filter((function(e){return ef(e)})):o;if(Array.isArray(a)){var h=l?a.filter((function(e){return ef(e)})):a,d=f.map((function(e,t){return Xu(Xu({},e),{},{base:h[t]})}));return(t="vertical"===s?Ku().y(nf).x1(tf).x0((function(e){return e.base.x})):Ku().x(tf).y1(nf).y0((function(e){return e.base.y}))).defined(ef).curve(u),t(d)}return(t="vertical"===s&&E(a)?Ku().y(nf).x1(tf).x0(a):E(a)?Ku().x(tf).y1(nf).y0(a):Vu().x(tf).y(nf)).defined(ef).curve(u),t(f)},of=function(e){var t=e.className,n=e.points,r=e.path,o=e.pathRef;if(!(n&&n.length||r))return null;var s=n&&n.length?rf(e):r;return i.createElement("path",Zu({},ie(e,!1),z(e),{className:a("recharts-curve",t),d:s,ref:o}))},af=n(9723);function sf(e){return sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sf(e)}function cf(){return cf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cf.apply(this,arguments)}function lf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return uf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uf(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ff(Object(n),!0).forEach((function(t){df(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ff(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function df(e,t,n){return t=function(e){var t=function(e,t){if("object"!=sf(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sf(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pf=function(e,t,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,c=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],f=0;f<4;f++)u[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(o+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(l,",").concat(e+c*u[0],",").concat(t)),o+="L ".concat(e+n-c*u[1],",").concat(t),u[1]>0&&(o+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(l,",\n ").concat(e+n,",").concat(t+s*u[1])),o+="L ".concat(e+n,",").concat(t+r-s*u[2]),u[2]>0&&(o+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(l,",\n ").concat(e+n-c*u[2],",").concat(t+r)),o+="L ".concat(e+c*u[3],",").concat(t+r),u[3]>0&&(o+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(l,",\n ").concat(e,",").concat(t+r-s*u[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var h=Math.min(a,i);o="M ".concat(e,",").concat(t+s*h,"\n A ").concat(h,",").concat(h,",0,0,").concat(l,",").concat(e+c*h,",").concat(t,"\n L ").concat(e+n-c*h,",").concat(t,"\n A ").concat(h,",").concat(h,",0,0,").concat(l,",").concat(e+n,",").concat(t+s*h,"\n L ").concat(e+n,",").concat(t+r-s*h,"\n A ").concat(h,",").concat(h,",0,0,").concat(l,",").concat(e+n-c*h,",").concat(t+r,"\n L ").concat(e+c*h,",").concat(t+r,"\n A ").concat(h,",").concat(h,",0,0,").concat(l,",").concat(e,",").concat(t+r-s*h," Z")}else o="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},gf=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,i=t.x,o=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var c=Math.min(i,i+a),l=Math.max(i,i+a),u=Math.min(o,o+s),f=Math.max(o,o+s);return n>=c&&n<=l&&r>=u&&r<=f}return!1},mf={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},vf=function(e){var t=hf(hf({},mf),e),n=(0,i.useRef)(),r=lf((0,i.useState)(-1),2),o=r[0],s=r[1];(0,i.useEffect)((function(){if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&s(e)}catch(e){}}),[]);var c=t.x,l=t.y,u=t.width,f=t.height,h=t.radius,d=t.className,p=t.animationEasing,g=t.animationDuration,m=t.animationBegin,v=t.isAnimationActive,y=t.isUpdateAnimationActive;if(c!==+c||l!==+l||u!==+u||f!==+f||0===u||0===f)return null;var b=a("recharts-rectangle",d);return y?i.createElement(af.ZP,{canBegin:o>0,from:{width:u,height:f,x:c,y:l},to:{width:u,height:f,x:c,y:l},duration:g,animationEasing:p,isActive:y},(function(e){var r=e.width,a=e.height,s=e.x,c=e.y;return i.createElement(af.ZP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:g,isActive:v,easing:p},i.createElement("path",cf({},ie(t,!0),{className:b,d:pf(s,c,r,a,h),ref:n})))})):i.createElement("path",cf({},ie(t,!0),{className:b,d:pf(c,l,u,f,h)}))},yf=["points","className","baseLinePoints","connectNulls"];function bf(){return bf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bf.apply(this,arguments)}function _f(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wf(e){return function(e){if(Array.isArray(e))return xf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xf(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Sf=function(e){return e&&e.x===+e.x&&e.y===+e.y},Ef=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach((function(e){Sf(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])})),Sf(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce((function(e,t){return[].concat(wf(e),wf(t))}),[])]);var r=n.map((function(e){return e.reduce((function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},kf=function(e){var t=e.points,n=e.className,r=e.baseLinePoints,o=e.connectNulls,s=_f(e,yf);if(!t||!t.length)return null;var c=a("recharts-polygon",n);if(r&&r.length){var l=s.stroke&&"none"!==s.stroke,u=function(e,t,n){var r=Ef(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(Ef(t.reverse(),n).slice(1))}(t,r,o);return i.createElement("g",{className:c},i.createElement("path",bf({},ie(s,!0),{fill:"Z"===u.slice(-1)?s.fill:"none",stroke:"none",d:u})),l?i.createElement("path",bf({},ie(s,!0),{fill:"none",d:Ef(t,o)})):null,l?i.createElement("path",bf({},ie(s,!0),{fill:"none",d:Ef(r,o)})):null)}var f=Ef(t,o);return i.createElement("path",bf({},ie(s,!0),{fill:"Z"===f.slice(-1)?s.fill:"none",className:c,d:f}))};function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Of.apply(this,arguments)}var Cf=function(e){var t=e.cx,n=e.cy,r=e.r,o=e.className,s=a("recharts-dot",o);return t===+t&&n===+n&&r===+r?i.createElement("circle",Of({},ie(e,!1),z(e),{className:s,cx:t,cy:n,r:r})):null};function Af(e){return Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Af(e)}var Tf=["x","y","top","left","width","height","className"];function Pf(){return Pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pf.apply(this,arguments)}function Df(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mf(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Af(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Af(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Af(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var jf=function(e,t,n,r,i,o){return"M".concat(e,",").concat(i,"v").concat(r,"M").concat(o,",").concat(t,"h").concat(n)},Nf=function(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,s=e.top,c=void 0===s?0:s,l=e.left,u=void 0===l?0:l,f=e.width,h=void 0===f?0:f,d=e.height,p=void 0===d?0:d,g=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Df(Object(n),!0).forEach((function(t){Mf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Df(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:n,y:o,top:c,left:u,width:h,height:p},Rf(e,Tf));return E(n)&&E(o)&&E(h)&&E(p)&&E(c)&&E(u)?i.createElement("path",Pf({},ie(m,!0),{className:a("recharts-cross",g),d:jf(n,o,h,p,c,u)})):null},Lf=["cx","cy","innerRadius","outerRadius","gridType","radialLines"];function If(e){return If="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},If(e)}function Bf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ff(){return Ff=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ff.apply(this,arguments)}function zf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zf(Object(n),!0).forEach((function(t){Hf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hf(e,t,n){return t=function(e){var t=function(e,t){if("object"!=If(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=If(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==If(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qf=function(e,t,n,r){var i="";return r.forEach((function(r,o){var a=Al(t,n,e,r);i+=o?"L ".concat(a.x,",").concat(a.y):"M ".concat(a.x,",").concat(a.y)})),i+="Z"},$f=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,a=e.polarAngles,s=e.radialLines;if(!a||!a.length||!s)return null;var c=Uf({stroke:"#ccc"},ie(e,!1));return i.createElement("g",{className:"recharts-polar-grid-angle"},a.map((function(e){var a=Al(t,n,r,e),s=Al(t,n,o,e);return i.createElement("line",Ff({},c,{key:"line-".concat(e),x1:a.x,y1:a.y,x2:s.x,y2:s.y}))})))},Wf=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.index,s=Uf(Uf({stroke:"#ccc"},ie(e,!1)),{},{fill:"none"});return i.createElement("circle",Ff({},s,{className:a("recharts-polar-grid-concentric-circle",e.className),key:"circle-".concat(o),cx:t,cy:n,r:r}))},Vf=function(e){var t=e.radius,n=e.index,r=Uf(Uf({stroke:"#ccc"},ie(e,!1)),{},{fill:"none"});return i.createElement("path",Ff({},r,{className:a("recharts-polar-grid-concentric-polygon",e.className),key:"path-".concat(n),d:qf(t,e.cx,e.cy,e.polarAngles)}))},Kf=function(e){var t=e.polarRadius,n=e.gridType;return t&&t.length?i.createElement("g",{className:"recharts-polar-grid-concentric"},t.map((function(t,r){var o=r;return"circle"===n?i.createElement(Wf,Ff({key:o},e,{radius:t,index:r})):i.createElement(Vf,Ff({key:o},e,{radius:t,index:r}))}))):null},Gf=function(e){var t=e.cx,n=void 0===t?0:t,r=e.cy,o=void 0===r?0:r,a=e.innerRadius,s=void 0===a?0:a,c=e.outerRadius,l=void 0===c?0:c,u=e.gridType,f=void 0===u?"polygon":u,h=e.radialLines,d=void 0===h||h,p=Bf(e,Lf);return l<=0?null:i.createElement("g",{className:"recharts-polar-grid"},i.createElement($f,Ff({cx:n,cy:o,innerRadius:s,outerRadius:l,gridType:f,radialLines:d},p)),i.createElement(Kf,Ff({cx:n,cy:o,innerRadius:s,outerRadius:l,gridType:f,radialLines:d},p)))};Gf.displayName="PolarGrid";var Zf=n(84753),Yf=n.n(Zf),Xf=n(22762),Qf=n.n(Xf),Jf=["cx","cy","angle","t
2icks","axisLine"],eh=["ticks","tick","angle","tickFormatter","stroke"];function th(e){return th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},th(e)}function nh(){return nh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nh.apply(this,arguments)}function rh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ih(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rh(Object(n),!0).forEach((function(t){fh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oh(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ah(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hh(r.key),r)}}function sh(e,t,n){return t=lh(t),function(e,t){if(t&&("object"===th(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ch()?Reflect.construct(t,n||[],lh(e).constructor):t.apply(e,n))}function ch(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ch=function(){return!!e})()}function lh(e){return lh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lh(e)}function uh(e,t){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uh(e,t)}function fh(e,t,n){return(t=hh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hh(e){var t=function(e,t){if("object"!=th(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=th(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==th(t)?t:t+""}var dh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),sh(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uh(e,t)}(t,e),n=t,r=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,i=n.cx,o=n.cy;return Al(i,o,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,i=e.ticks,o=Yf()(i,(function(e){return e.coordinate||0}));return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:Qf()(i,(function(e){return e.coordinate||0})).coordinate||0,outerRadius:o.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,o=e.ticks,a=e.axisLine,s=oh(e,Jf),c=o.reduce((function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]}),[1/0,-1/0]),l=Al(t,n,c[0],r),u=Al(t,n,c[1],r),f=ih(ih(ih({},ie(s,!1)),{},{fill:"none"},ie(a,!1)),{},{x1:l.x,y1:l.y,x2:u.x,y2:u.y});return i.createElement("line",nh({className:"recharts-polar-radius-axis-line"},f))}},{key:"renderTicks",value:function(){var e=this,n=this.props,r=n.ticks,o=n.tick,s=n.angle,c=n.tickFormatter,l=n.stroke,u=oh(n,eh),f=this.getTickTextAnchor(),h=ie(u,!1),d=ie(o,!1),p=r.map((function(n,r){var u=e.getTickValueCoord(n),p=ih(ih(ih(ih({textAnchor:f,transform:"rotate(".concat(90-s,", ").concat(u.x,", ").concat(u.y,")")},h),{},{stroke:"none",fill:l},d),{},{index:r},u),{},{payload:n});return i.createElement(me,nh({className:a("recharts-polar-radius-axis-tick",jl(o)),key:"tick-".concat(n.coordinate)},U(e.props,n,r)),t.renderTickItem(o,p,c?c(n.value,r):n.value))}));return i.createElement(me,{className:"recharts-polar-radius-axis-ticks"},p)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.axisLine,r=e.tick;
vendor: 20,033 bytes, line 2
2return t&&t.length?i.createElement(me,{className:a("recharts-polar-radius-axis",this.props.className)},n&&this.renderAxisLine(),r&&this.renderTicks(),Zl.renderCallByParent(this.props,this.getViewBox())):null}}],o=[{key:"renderTickItem",value:function(e,t,n){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement(vr,nh({},t,{className:"recharts-polar-radius-axis-tick-value"}),n)}}],r&&ah(n.prototype,r),o&&ah(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);function ph(e){return ph="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ph(e)}function gh(){return gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gh.apply(this,arguments)}function mh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mh(Object(n),!0).forEach((function(t){Sh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Eh(r.key),r)}}function bh(e,t,n){return t=wh(t),function(e,t){if(t&&("object"===ph(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_h()?Reflect.construct(t,n||[],wh(e).constructor):t.apply(e,n))}function _h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_h=function(){return!!e})()}function wh(e){return wh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wh(e)}function xh(e,t){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xh(e,t)}function Sh(e,t,n){return(t=Eh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eh(e){var t=function(e,t){if("object"!=ph(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ph(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ph(t)?t:t+""}fh(dh,"displayName","PolarRadiusAxis"),fh(dh,"axisType","radiusAxis"),fh(dh,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var kh=Math.PI/180,Oh=1e-5,Ch=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),bh(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xh(e,t)}(t,e),n=t,r=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,i=t.radius,o=t.orientation,a=t.tickSize||8,s=Al(n,r,i,e.coordinate),c=Al(n,r,i+("inner"===o?-1:1)*a,e.coordinate);return{x1:s.x,y1:s.y,x2:c.x,y2:c.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*kh);return n>Oh?"outer"===t?"start":"end":n<-Oh?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,o=e.axisLine,a=e.axisLineType,s=vh(vh({},ie(this.props,!1)),{},{fill:"none"},ie(o,!1));if("circle"===a)return i.createElement(Cf,gh({className:"recharts-polar-angle-axis-line"},s,{cx:t,cy:n,r:r}));var c=this.props.ticks.map((function(e){return Al(t,n,r,e.coordinate)}));return i.createElement(kf,gh({className:"recharts-polar-angle-axis-line"},s,{points:c}))}},{key:"renderTicks",value:function(){var e=this,n=this.props,r=n.ticks,o=n.tick,s=n.tickLine,c=n.tickFormatter,l=n.stroke,u=ie(this.props,!1),f=ie(o,!1),h=vh(vh({},u),{},{fill:"none"},ie(s,!1)),d=r.map((function(n,r){var d=e.getTickLineCoord(n),p=vh(vh(vh({textAnchor:e.getTickTextAnchor(n)},u),{},{stroke:"none",fill:l},f),{},{index:r,payload:n,x:d.x2,y:d.y2});return i.createElement(me,gh({className:a("recharts-polar-angle-axis-tick",jl(o)),key:"tick-".concat(n.coordinate)},U(e.props,n,r)),s&&i.createElement("line",gh({className:"recharts-polar-angle-axis-tick-line"},h,d)),o&&t.renderTickItem(o,p,c?c(n.value,r):n.value))}));return i.createElement(me,{className:"recharts-polar-angle-axis-ticks"},d)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return n<=0||!t||!t.length?null:i.createElement(me,{className:a("recharts-polar-angle-axis",this.props.className)},r&&this.renderAxisLine(),this.renderTicks())}}],o=[{key:"renderTickItem",value:function(e,t,n){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement(vr,gh({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}],r&&yh(n.prototype,r),o&&yh(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);Sh(Ch,"displayName","PolarAngleAxis"),Sh(Ch,"axisType","angleAxis"),Sh(Ch,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var Ah=n(68630),Th=n.n(Ah),Ph=n(51584),Dh=n.n(Ph);function Mh(e){return Mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mh(e)}function Rh(){return Rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rh.apply(this,arguments)}function jh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Nh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ih(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lh(Object(n),!0).forEach((function(t){Bh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bh(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Mh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Mh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mh(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fh,zh=function(e,t,n,r,i){var o,a=n-r;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+n,",").concat(t),o+="L ".concat(e+n-a/2,",").concat(t+i),o+="L ".concat(e+n-a/2-r,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},Uh={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Hh=function(e){var t=Ih(Ih({},Uh),e),n=(0,i.useRef)(),r=jh((0,i.useState)(-1),2),o=r[0],s=r[1];(0,i.useEffect)((function(){if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&s(e)}catch(e){}}),[]);var c=t.x,l=t.y,u=t.upperWidth,f=t.lowerWidth,h=t.height,d=t.className,p=t.animationEasing,g=t.animationDuration,m=t.animationBegin,v=t.isUpdateAnimationActive;if(c!==+c||l!==+l||u!==+u||f!==+f||h!==+h||0===u&&0===f||0===h)return null;var y=a("recharts-trapezoid",d);return v?i.createElement(af.ZP,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:h,x:c,y:l},to:{upperWidth:u,lowerWidth:f,height:h,x:c,y:l},duration:g,animationEasing:p,isActive:v},(function(e){var r=e.upperWidth,a=e.lowerWidth,s=e.height,c=e.x,l=e.y;return i.createElement(af.ZP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:g,easing:p},i.createElement("path",Rh({},ie(t,!0),{className:y,d:zh(c,l,r,a,s),ref:n})))})):i.createElement("g",null,i.createElement("path",Rh({},ie(t,!0),{className:y,d:zh(c,l,u,f,h)})))},qh=["option","shapeType","propTransformer","activeClassName","isActive"];function $h(e){return $h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$h(e)}function Wh(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(n),!0).forEach((function(t){Gh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gh(e,t,n){return t=function(e){var t=function(e,t){if("object"!=$h(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$h(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zh(e,t){return Kh(Kh({},t),e)}function Yh(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return i.createElement(vf,n);case"trapezoid":return i.createElement(Hh,n);case"sector":return i.createElement(Eu,n);case"symbols":if(function(e,t){return"symbols"===e}(t))return i.createElement(at,n);break;default:return null}}function Xh(e){return(0,i.isValidElement)(e)?e.props:e}function Qh(e){var t,n=e.option,r=e.shapeType,o=e.propTransformer,a=void 0===o?Zh:o,s=e.activeClassName,c=void 0===s?"recharts-active-shape":s,l=e.isActive,u=Wh(e,qh);if((0,i.isValidElement)(n))t=(0,i.cloneElement)(n,Kh(Kh({},u),Xh(n)));else if(p()(n))t=n(u);else if(Th()(n)&&!Dh()(n)){var f=a(n,u);t=i.createElement(Yh,{shapeType:r,elementProps:f})}else{var h=u;t=i.createElement(Yh,{shapeType:r,elementProps:h})}return l?i.createElement(me,{className:c},t):t}function Jh(e,t){return null!=t&&"trapezoids"in e.props}function ed(e,t){return null!=t&&"sectors"in e.props}function td(e,t){return null!=t&&"points"in e.props}function nd(e,t){var n,r,i=e.x===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,o=e.y===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return i&&o}function rd(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function id(e,t){var n=e.x===t.x,r=e.y===t.y,i=e.z===t.z;return n&&r&&i}function od(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,i=function(e,t){var n;return Jh(e,t)?n="trapezoids":ed(e,t)?n="sectors":td(e,t)&&(n="points"),n}(n,t),o=function(e,t){var n,r;return Jh(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:ed(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:td(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=Ws()(o,e),s=n.props[i].filter((function(e){var r=function(e,t){var n;return Jh(e,t)?n=nd:ed(e,t)?n=rd:td(e,t)&&(n=id),n}(n,t);return r(e,t)})),c=n.props[i].indexOf(s[s.length-1]);return a&&r===c}));return r.indexOf(a[a.length-1])}function ad(e){return ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ad(e)}function sd(){return sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sd.apply(this,arguments)}function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cd(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ud(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,md(r.key),r)}}function fd(e,t,n){return t=dd(t),function(e,t){if(t&&("object"===ad(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,hd()?Reflect.construct(t,n||[],dd(e).constructor):t.apply(e,n))}function hd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hd=function(){return!!e})()}function dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dd(e)}function pd(e,t){return pd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pd(e,t)}function gd(e,t,n){return(t=md(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function md(e){var t=function(e,t){if("object"!=ad(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ad(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ad(t)?t:t+""}var vd=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gd(n=fd(this,t,[e]),"pieRef",null),gd(n,"sectorRefs",[]),gd(n,"id",A("recharts-pie-")),gd(n,"handleAnimationEnd",(function(){var e=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),p()(e)&&e()})),gd(n,"handleAnimationStart",(function(){var e=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),p()(e)&&e()})),n.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pd(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,n){if(i.isValidElement(e))return i.cloneElement(e,t);if(p()(e))return e(t);var r=a("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return i.createElement(of,sd({},t,{key:n,type:"linear",className:r}))}},{key:"renderLabelItem",value:function(e,t,n){if(i.isValidElement(e))return i.cloneElement(e,t);var r=n;if(p()(e)&&(r=e(t),i.isValidElement(r)))return r;var o=a("recharts-pie-label-text","boolean"==typeof e||p()(e)?"":e.className);return i.createElement(vr,sd({},t,{alignmentBaseline:"middle",className:o}),r)}}],(r=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.label,o=n.labelLine,a=n.dataKey,s=n.valueKey,c=ie(this.props,!1),l=ie(r,!1),f=ie(o,!1),h=r&&r.offsetRadius||20,d=e.map((function(e,n){var d=(e.startAngle+e.endAngle)/2,p=Al(e.cx,e.cy,e.outerRadius+h,d),g=ld(ld(ld(ld({},c),e),{},{stroke:"none"},l),{},{index:n,textAnchor:t.getTextAnchor(p.x,e.cx)},p),m=ld(ld(ld(ld({},c),e),{},{fill:"none",stroke:e.fill},f),{},{index:n,points:[Al(e.cx,e.cy,e.outerRadius,d),p]}),v=a;return u()(a)&&u()(s)?v="value":u()(a)&&(v=s),i.createElement(me,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(n)},o&&t.renderLabelLineItem(o,m,"line"),t.renderLabelItem(r,g,Vc(e,v)))}));return i.createElement(me,{className:"recharts-pie-labels"},d)}},{key:"renderSectorsStatically",value:function(e){var t=this,n=this.props,r=n.activeShape,o=n.blendStroke,a=n.inactiveShape;return e.map((function(n,s){if(0===(null==n?void 0:n.startAngle)&&0===(null==n?void 0:n.endAngle)&&1!==e.length)return null;var c=t.isActiveIndex(s),l=a&&t.hasActiveIndex()?a:null,u=c?r:l,f=ld(ld({},n),{},{stroke:o?n.fill:n.stroke,tabIndex:-1});return i.createElement(me,sd({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)}
vendor: 4,098 bytes, line 2
2,tabIndex:-1,className:"recharts-pie-sector"},U(t.props,n,s),{key:"sector-".concat(null==n?void 0:n.startAngle,"-").concat(null==n?void 0:n.endAngle,"-").concat(n.midAngle,"-").concat(s)}),i.createElement(Qh,sd({option:u,isActive:c,shapeType:"sector"},f)))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,n=t.sectors,r=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,l=t.animationId,u=this.state,f=u.prevSectors,h=u.prevIsAnimationActive;return i.createElement(af.ZP,{begin:o,duration:a,isActive:r,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(l,"-").concat(h),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(t){var r=t.t,o=[],a=(n&&n[0]).startAngle;return n.forEach((function(e,t){var n=f&&f[t],i=t>0?c()(e,"paddingAngle",0):0;if(n){var s=D(n.endAngle-n.startAngle,e.endAngle-e.startAngle),l=ld(ld({},e),{},{startAngle:a+i,endAngle:a+s(r)+i});o.push(l),a=l.endAngle}else{var u=e.endAngle,h=e.startAngle,d=D(0,u-h)(r),p=ld(ld({},e),{},{startAngle:a+i,endAngle:a+d+i});o.push(p),a=p.endAngle}})),i.createElement(me,null,e.renderSectorsStatically(o))}))}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&Ws()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hide,r=t.sectors,o=t.className,s=t.label,c=t.cx,l=t.cy,u=t.innerRadius,f=t.outerRadius,h=t.isAnimationActive,d=this.state.isAnimationFinished;if(n||!r||!r.length||!E(c)||!E(l)||!E(u)||!E(f))return null;var p=a("recharts-pie",o);return i.createElement(me,{tabIndex:this.props.rootTabIndex,className:p,ref:function(t){e.pieRef=t}},this.renderSectors(),s&&this.renderLabels(r),Zl.renderCallByParent(this.props,null,!1),(!h||d)&&fu.renderCallByParent(this.props,r,!1))}}])&&ud(n.prototype,r),o&&ud(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);Fh=vd,gd(vd,"displayName","Pie"),gd(vd,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!fn.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),gd(vd,"parseDeltaAngle",(function(e,t){return x(t-e)*Math.min(Math.abs(t-e),360)})),gd(vd,"getRealPieData",(function(e){var t=e.data,n=e.children,r=ie(e,!1),i=X(n,Rn);return t&&t.length?t.map((function(e,t){return ld(ld(ld({payload:e},r),e),i&&i[t]&&i[t].props)})):i&&i.length?i.map((function(e){return ld(ld({},r),e.props)})):[]})),gd(vd,"parseCoordinateOfPie",(function(e,t){var n=t.top,r=t.left,i=t.width,o=t.height,a=Tl(i,o);return{cx:r+T(e.cx,i,i/2),cy:n+T(e.cy,o,o/2),innerRadius:T(e.innerRadius,a,0),outerRadius:T(e.outerRadius,a,.8*a),maxRadius:e.maxRadius||Math.sqrt(i*i+o*o)/2}})),gd(vd,"getComposedData",(function(e){var t=e.item,n=e.offset,r=void 0!==t.type.defaultProps?ld(ld({},t.type.defaultProps),t.props):t.props,i=Fh.getRealPieData(r);if(!i||!i.length)return null;var o=r.cornerRadius,a=r.startAngle,s=r.endAngle,c=r.paddingAngle,l=r.dataKey,f=r.nameKey,h=r.valueKey,d=r.tooltipType,p=Math.abs(r.minAngle),g=Fh.parseCoordinateOfPie(r,n),m=Fh.parseDeltaAngle(a,s),v=Math.abs(m),y=l;u()(l)&&u()(h)?(ye(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated
2in 1.1.0'),y="value"):u()(l)&&(ye(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),y=h);var b,_,w=i.filter((function(e){return 0!==Vc(e,y,0)})).length,S=v-w*p-(v>=360?w:w-1)*c,k=i.reduce((function(e,t){var n=Vc(t,y,0);return e+(E(n)?n:0)}),0);k>0&&(b=i.map((function(e,t){var n,r=Vc(e,y,0),i=Vc(e,f,t),s=(E(r)?r:0)/k,l=(n=t?_.endAngle+x(m)*c*(0!==r?1:0):a)+x(m)*((0!==r?p:0)+s*S),u=(n+l)/2,h=(g.innerRadius+g.outerRadius)/2,v=[{name:i,value:r,payload:e,dataKey:y,type:d}],b=Al(g.cx,g.cy,h,u);return _=ld(ld(ld({percent:s,cornerRadius:o,name:i,tooltipPayload:v,midAngle:u,middleRadius:h,tooltipPosition:b},e),g),{},{value:Vc(e,y),startAngle:n,endAngle:l,payload:e,paddingAngle:x(m)*c})})));return ld(ld({},g),{},{sectors:b,data:i})}));var yd=n(8804),bd=n.n(yd),_d=["key"];function wd(e){return wd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wd(e)}function xd(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Sd(){return Sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sd.apply(this,arguments)}function Ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ed(Object(n),!0).forEach((function(t){Dd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Od(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Md(r.key),r)}}function Cd(e,t,n){return t=Td(t),function(e,t){if(t&&("object"===wd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ad()?Reflect.construct(t,n||[],Td(e).constructor):t.apply(e,n))}function Ad(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ad=function(){return!!e})()}function Td(e){return Td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Td(e)}function Pd(e,t){return Pd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pd(e,t)}function Dd(e,t,n){return(t=Md(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Md(e){var t=function(e,t){if("object"!=wd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wd(t)?t:t+""}var Rd=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Dd(e=Cd(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),Dd(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),p()(t)&&t()})),Dd(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),p()(t)&&t()})),Dd(e,"handleMouseEnter",(function(t){var n=e.props.onMouseEnter;n&&n(e.props,t)})),Dd(e,"handleMouseLeave",(function(t){var n=e.props.onMouseLeave;n&&n(e.props,t)})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pd(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"renderDotItem",value:function(e,t){var n;if(i.isValidElement(e))n=i.cloneElement(e,t);else if(p()(e))n=e(t);else{var r=t.key,o=xd(t,_d);n=i.createElement(Cf,Sd({},o,{key:r,className:a("recharts-radar-dot","boolean"!=typeof e?e.className:"")}))}return n}}],(r=[{key:"renderDots",value:function(e){var n=this.props,r=n.dot,o=n.dataKey,a=ie(this.props,!1),s=ie(r,!0),c=e.map((function(e,n){var i=kd(kd(kd({key:"dot-".concat(n),r:3},a),s),{},{dataKey:o,cx:e.x,cy:e.y,index:n,payload:e});return t.renderDotItem(r,i)}));return i.createElement(me,{className:"recharts-radar-dots"},c)}},{key:"renderPolygonStatically",value:function(e){var t,n=this.props,r=n.shape,o=n.dot,a=n.isRange,s=n.baseLinePoints,c=n.connectNulls;return t=i.isValidElement(r)?i.cloneElement(r,kd(kd({},this.props),{},{points:e})):p()(r)?r(kd(kd({},this.props),{},{points:e})):i.createElement(kf,Sd({},ie(this.props,!0),{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,points:e,baseLinePoints:a?s:null,connectNulls:c})),i.createElement(me,{className:"recharts-radar-polygon"},t,o?this.renderDots(e):null)}},{key:"renderPolygonWithAnimation",value:function(){var e=this,t=this.props,n=t.points,r=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,c=t.animationId,l=this.state.prevPoints;return i.createElement(af.ZP,{begin:o,duration:a,isActive:r,easing:s,from:{t:0},to:{t:1},key:"radar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var r=t.t,i=l&&l.length/n.length,o=n.map((function(e,t){var n=l&&l[Math.floor(t*i)];if(n){var o=D(n.x,e.x),a=D(n.y,e.y);return kd(kd({},e),{},{x:o(r),y:a(r)})}var s=D(e.cx,e.x),c=D(e.cy,e.y);return kd(kd({},e),{},{x:s(r),y:c(r)}
2)}));return e.renderPolygonStatically(o)}))}},{key:"renderPolygon",value:function(){var e=this.props,t=e.points,n=e.isAnimationActive,r=e.isRange,i=this.state.prevPoints;return!(n&&t&&t.length)||r||i&&Ws()(i,t)?this.renderPolygonStatically(t):this.renderPolygonWithAnimation()}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.className,r=e.points,o=e.isAnimationActive;if(t||!r||!r.length)return null;var s=this.state.isAnimationFinished,c=a("recharts-radar",n);return i.createElement(me,{className:c},this.renderPolygon(),(!o||s)&&fu.renderCallByParent(this.props,r))}}])&&Od(n.prototype,r),o&&Od(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);function jd(e){return jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jd(e)}function Nd(){return Nd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nd.apply(this,arguments)}function Ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Id(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ld(Object(n),!0).forEach((function(t){Bd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ld(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bd(e,t,n){return t=function(e){var t=function(e,t){if("object"!=jd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=jd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jd(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fd(e){return"string"==typeof e?parseInt(e,10):e}function zd(e,t){var n="".concat(t.cx||e.cx),r=Number(n),i="".concat(t.cy||e.cy),o=Number(i);return Id(Id(Id({},t),e),{},{cx:r,cy:o})}function Ud(e){return i.createElement(Qh,Nd({shapeType:"sector",propTransformer:zd},e))}Dd(Rd,"displayName","Radar"),Dd(Rd,"defaultProps",{angleAxisId:0,radiusAxisId:0,hide:!1,activeDot:!0,dot:!1,legendType:"rect",isAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),Dd(Rd,"getComposedData",(function(e){var t=e.radiusAxis,n=e.angleAxis,r=e.displayedData,i=e.dataKey,o=e.bandSize,a=n.cx,s=n.cy,c=!1,l=[],f="number"!==n.type&&null!=o?o:0;r.forEach((function(e,r){var o=Vc(e,n.dataKey,r),h=Vc(e,i),d=n.scale(o)+f,p=Array.isArray(h)?Jl()(h):h,g=u()(p)?void 0:t.scale(p);Array.isArray(h)&&h.length>=2&&(c=!0),l.push(kd(kd({},Al(a,s,g,d)),{},{name:o,value:h,cx:a,cy:s,radius:g,angle:d,payload:e}))}));var h=[];return c&&l.forEach((function(e){if(Array.isArray(e.value)){var n=bd()(e.value),r=u()(n)?void 0:t.scale(n);h.push(kd(kd({},e),{},{radius:r},Al(a,s,r,e.angle)))}else h.push(e)})),{points:l,isRange:c,baseLinePoints:h}}));var Hd=["shape","activeShape","activeIndex","cornerRadius"],qd=["value","background"];function $d(e){return $d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$d(e)}function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wd.apply(this,arguments)}function Vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Vd(Object(n),!0).forEach((function(t){ep(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gd(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Zd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,tp(r.key),r)}}function Yd(e,t,n){return t=Qd(t),function(e,t){if(t&&("object"===$d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Xd()?Reflect.construct(t,n||[],Qd(e).constructor):t.apply(e,n))}function Xd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xd=function(){return!!e})()}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qd(e)}function Jd(e,t){return Jd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jd(e,t)}function ep(e,t,n){return(t=tp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tp(e){var t=function(e,t){if("object"!=$d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$d(t)?t:t+""}var np=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return ep(e=Yd(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),ep(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),p()(t)&&t()})),ep(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),p()(t)&&t()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jd(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],(r=[{key:"getDeltaAngle",value:function(){var e=this.props,t=e.startAngle,n=e.endAngle;return x(n-t)*Math.min(Math.abs(n-t),360)}},{key:"renderSectorsStatically",value:function(e){var t=this,n=this.props,r=n.shape,o=n.activeShape,a=n.activeIndex,s=n.cornerRadius,c=Gd(n,Hd),l=ie(c,!1);return e.map((function(e,n){var u=n===a,f=Kd(Kd(Kd(Kd({},l),{},{cornerRadius:Fd(s)},e),U(t.props,e,n)),{},{className:"recharts-radial-bar-sector ".concat(e.className),forceCornerRadius:c.forceCornerRadius,cornerIsExternal:c.cornerIsExternal,isActive:u,option:u?o:r});return i.createElement(Ud,Wd({},f,{key:"sector-".concat(n)}))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,n=t.data,r=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,c=t.animationId,l=this.state.prevData;return i.createElement(af.ZP,{begin:o,duration:a,isActive:r,easing:s,from:{t:0},to:{t:1},key:"radialBar-".concat(c),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(t){var r=t.t,o=n.map((function(e,t){var n=l&&l[t];if(n){var i=D(n.startAngle,e.startAngle),o=D(n.endAngle,e.endAngle);return Kd(Kd({},e),{},{startAngle:i(r),endAngle:o(r)})}var a=e.endAngle,s=e.startAngle,c=D(s,a);return Kd(Kd({},e),{},{endAngle:c(r)})}));
2return i.createElement(me,null,e.renderSectorsStatically(o))}))}},{key:"renderSectors",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return!(n&&t&&t.length)||r&&Ws()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"renderBackground",value:function(e){var t=this,n=this.props.cornerRadius,r=ie(this.props.background,!1);return e.map((function(e,o){e.value;var s=e.background,c=Gd(e,qd);if(!s)return null;var l=Kd(Kd(Kd(Kd(Kd({cornerRadius:Fd(n)},c),{},{fill:"#eee"},s),r),U(t.props,e,o)),{},{index:o,className:a("recharts-radial-bar-background-sector",null==r?void 0:r.className),option:s,isActive:!1});return i.createElement(Ud,Wd({},l,{key:"sector-".concat(o)}))}))}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.data,r=e.className,o=e.background,s=e.isAnimationActive;if(t||!n||!n.length)return null;var c=this.state.isAnimationFinished,l=a("recharts-area",r);return i.createElement(me,{className:l},o&&i.createElement(me,{className:"recharts-radial-bar-background"},this.renderBackground(n)),i.createElement(me,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!s||c)&&fu.renderCallByParent(Kd({},this.props),n))}}])&&Zd(n.prototype,r),o&&Zd(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);ep(np,"displayName","RadialBar"),ep(np,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1}),ep(np,"getComposedData",(function(e){var t=e.item,n=e.props,r=e.radiusAxis,i=e.radiusAxisTicks,o=e.angleAxis,a=e.angleAxisTicks,s=e.displayedData,c=e.dataKey,l=e.stackedData,u=e.barPosition,f=e.bandSize,h=e.dataStartIndex,d=ol(u,t);if(!d)return null;var p=o.cx,g=o.cy,m=n.layout,v=t.props,y=v.children,b=v.minPointSize,_="radial"===m?o:r,w=l?_.scale.domain():null,S=hl({numericAxis:_}),E=X(y,Rn),k=s.map((function(e,s){var u,v,y,_,k,O;if(l?u=al(l[h+s],w):(u=Vc(e,c),Array.isArray(u)||(u=[S,u])),"radial"===m){v=fl({axis:r,ticks:i,bandSize:f,offset:d.offset,entry:e,index:s}),k=o.scale(u[1]),_=o.scale(u[0]),y=v+d.size;var C=k-_;if(Math.abs(b)>0&&Math.abs(C)<Math.abs(b))k+=x(C||b)*(Math.abs(b)-Math.abs(C));O={background:{cx:p,cy:g,innerRadius:v,outerRadius:y,startAngle:n.startAngle,endAngle:n.endAngle}}}else{v=r.scale(u[0]),y=r.scale(u[1]),k=(_=fl({axis:o,ticks:a,bandSize:f,offset:d.offset,entry:e,index:s}))+d.size;var A=y-v;if(Math.abs(b)>0&&Math.abs(A)<Math.abs(b))y+=x(A||b)*(Math.abs(b)-Math.abs(A))}return Kd(Kd(Kd(Kd({},e),O),{},{payload:e,value:l?u:u[1],cx:p,cy:g,innerRadius:v,outerRadius:y,startAngle:_,endAngle:k},E&&E[s]&&E[s].props),{},{tooltipPayload:[bl(t,e)],tooltipPosition:Al(p,g,(v+y)/2,(_+k)/2)})}));return{data:k,layout:m}}));var rp=n(96026),ip=n.n(rp);function op(e){return op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},op(e)}function ap(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ap(Object(n),!0).forEach((function(t){cp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ap(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cp(e,t,n){return t=function(e){var t=function(e,t){if("object"!=op(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=op(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==op(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lp=["Webkit","Moz","O","ms"];function up(e){return up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},up(e)}function fp(){return fp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fp.apply(this,arguments)}function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 27,962 bytes, line 2
2t%2?hp(Object(n),!0).forEach((function(t){bp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_p(r.key),r)}}function gp(e,t,n){return t=vp(t),function(e,t){if(t&&("object"===up(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,mp()?Reflect.construct(t,n||[],vp(e).constructor):t.apply(e,n))}function mp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(mp=function(){return!!e})()}function vp(e){return vp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vp(e)}function yp(e,t){return yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yp(e,t)}function bp(e,t,n){return(t=_p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _p(e){var t=function(e,t){if("object"!=up(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=up(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==up(t)?t:t+""}var wp=function(e){return e.changedTouches&&!!e.changedTouches.length},xp=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),bp(n=gp(this,t,[e]),"handleDrag",(function(e){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(e):n.state.isSlideMoving&&n.handleSlideDrag(e)})),bp(n,"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleDrag(e.changedTouches[0])})),bp(n,"handleDragEnd",(function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=n.props,t=e.endIndex,r=e.onDragEnd,i=e.startIndex;null==r||r({endIndex:t,startIndex:i})})),n.detachDragEndListener()})),bp(n,"handleLeaveWrapper",(function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))})),bp(n,"handleEnterSlideOrTraveller",(function(){n.setState({isTextActive:!0})})),bp(n,"handleLeaveSlideOrTraveller",(function(){n.setState({isTextActive:!1})})),bp(n,"handleSlideDragStart",(function(e){var t=wp(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()})),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yp(e,t)}(t,e),n=t,r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var n=e.startX,r=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,s=o.data.length-1,c=Math.min(n,r),l=Math.max(n,r),u=t.getIndexInRange(i,c),f=t.getIndexInRange(i,l);return{startIndex:u-u%a,endIndex:f===s?s:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,i=t.dataKey,o=Vc(n[e],i,e);return p()(r)?r(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,i=t.endX,o=this.props,a=o.x,s=o.width,c=o.travellerWidth,l=o.startIndex,u=o.endIndex,f=o.onChange,h=e.pageX-n;h>0?h=Math.min(h,a+s-c-i,a+s-c-r):h<0&&(h=Math.max(h,a-r,a-i));var d=this.getIndex({startX:r+h,endX:i+h});d.startIndex===l&&d.endIndex===u||!f||f(d),this.setState({startX:r+h,endX:i+h,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=wp(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[r],s=this.props,c=s.x,l=s.width,u=s.travellerWidth,f=s.onChange,h=s.gap,d=s.data,p={startX:this.state.startX,endX:this.state.endX},g=e.pageX-n;g>0?g=Math.min(g,c+l-u-a):g<0&&(g=Math.max(g,c-a)),p[r]=a+g;var m=this.getIndex(p),v=m.startIndex,y=m.endIndex;this.setState(bp(bp({},r,a+g),"brushMoveStartX",e.pageX),(function(){var e;f&&(e=d.length-1,("startX"===r&&(i>o?v%h==0:y%h==0)||i<o&&y===e||"endX"===r&&(i>o?y%h==0:v%h==0)||i>o&&y===e)&&f(m))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,i=r.scaleValues,o=r.startX,a=r.endX,s=this.state[t],c=i.indexOf(s);if(-1!==c){var l=c+e;if(!(-1===l||l>=i.length)){var u=i[l];"startX"===t&&u>=a||"endX"===t&&u<=o||this.setState(bp({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,a=e.fill,s=e.stroke;return i.createElement("rect",{stroke:s,fill:a,x:t,y:n,width:r,height:o})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,a=e.data,s=e.children,c=e.padding,l=i.Children.only(s);return l?i.cloneElement(l,{x:t,y:n,width:r,height:o,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,n){var r,o,a=this,s=this.props,c=s.y,l=s.travellerWidth,u=s.height,f=s.traveller,h=s.ariaLabel,d=s.data,p=s.startIndex,g=s.endIndex,m=Math.max(e,this.props.x),v=dp(dp({},ie(this.props,!1)),{},{x:m,y:c,width:l,height:u}),y=h||"Min value: ".concat(null===(r=d[p])||void 0===r?void 0:r.name,", Max value: ").concat(null===(o=d[g])||void 0===o?void 0:o.name);return i.createElement(me,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,n))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(f,v))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,o=n.height,a=n.stroke,s=n.travellerWidth,c=Math.min(e,t)+s,l=Math.max(Math.abs(t-e)-s,0);return i.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:r,width:l,height:o})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,o=e.height,a=e.travellerWidth,s=e.stroke,c=this.state,l=c.startX,u=c.endX,f={pointerEvents:"none",fill:s};return i.createElement(me,{className:"recharts-brush-texts"},i.createElement(vr,fp({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:r+o/2},f),this.getTextOfTick(t)),i.createElement(vr,fp({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+a+5,y:r+o/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,o=e.x,s=e.y,c=e.width,l=e.height,u=e.alwaysShowText,f=this.state,h=f.startX,d=f.endX,p=f.isTextActive,g=f.isSlideMoving,m=f.isTravellerMoving,v=f.isTravellerFocused;if(!t||!t.length||!E(o)||!E(s)||!E(c)||!E(l)||c<=0||l<=0)return null;var y=a("recharts-brush",n),b=1===i.Children.count(r),_=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=lp.reduce((function(e,r){return sp(sp({},e),{},cp({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return i.createElement(me,{className:y,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:_},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(h,d),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(d,"endX"),(p||g||m||v||u)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=e.stroke,s=Math.floor(n+o/2)-1;return i.createElement(i.Fragment,null,i.createElement("rect",{x:t,y:n,width:r,height:o,fill:a,stroke:"none"}),i.createElement("line",{x1:t+1,y1:s,x2:t+r-1,y2:s,fill:"none",stroke:"#fff"}),i.createElement("line",{x1:t+1,y1:s+2,x2:t+r-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,n){return i.isValidElement(e)?i.cloneElement(e,n):p()(e)?e(n):t.renderDefaultTraveller(n)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,s=e.startIndex,c=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return dp({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,c=Tr().domain(ip()(0,s)).range([i,i+o-a]),l=c.domain().map((function(e){return c(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(n),endX:c(r),scale:c,scaleValues:l}}({data:n,width:r,x:i,travellerWidth:o,startIndex:s,endIndex:c}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+r-o]);var l=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var i=Math.floor((n+r)/2);e[i]>t?r=i:n=i}return t>=e[r]?r:n}}],r&&pp(n.prototype,r),o&&pp(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);bp(xp,"displayName","Brush"),bp(xp,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Sp=n(59704),Ep=n.n(Sp),kp=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},Op=n(66604),Cp=n.n(Op),Ap=n(711),Tp=n.n(Ap),Pp=["x","y"];function Dp(e){return Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dp(e)}function Mp(){return Mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mp.apply(this,arguments)}function Rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rp(Object(n),!0).forEach((function(t){Np(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Np(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Dp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dp(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ip(e,t){var n=e.x,r=e.y,i=Lp(e,Pp),o="".concat(n),a=parseInt(o,10),s="".concat(r),c=parseInt(s,10),l="".concat(t.height||i.height),u=parseInt(l,10),f="".concat(t.width||i.width),h=parseInt(f,10);return jp(jp(jp(jp(jp({},t),i),a?{x:a}:{}),c?{y:c}:{}),{},{height:u,width:h,name:t.name,radius:t.radius})}function Bp(e){return i.createElement(Qh,Mp({shapeType:"rectangle",propTransformer:Ip,activeClassName:"recharts-active-bar"},e))}var Fp,zp=["value","background"];function Up(e){return Up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Up(e)}function Hp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qp.apply(this,arguments)}function $p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$p(Object(n),!0).forEach((function(t){Xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Qp(r.key),r)}}function Kp(e,t,n){return t=Zp(t),function(e,t){if(t&&("object"===Up(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Gp()?Reflect.construct(t,n||[],Zp(e).constructor):t.apply(e,n))}function Gp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Gp=function(){return!!e})()}function Zp(e){return Zp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zp(e)}function Yp(e,t){return Yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yp(e,t)}function Xp(e,t,n){return(t=Qp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qp(e){var t=function(e,t){if("object"!=Up(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Up(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Up(t)?t:t+""}var Jp=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Xp(e=Kp(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),Xp(e,"id",A("recharts-bar-")),Xp(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),Xp(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yp(e,t)}(t,e),n=t,r=[{key:"renderRectanglesStatically",value:function(e){var t=this,n=this.props,r=n.shape,o=n.dataKey,a=n.activeIndex,s=n.activeBar,c=ie(this.props,!1);return e&&e.map((function(e,n){var l=n===a,u=l?s:r,f=Wp(Wp(Wp({},c),e),{},{isActive:l,option:u,index:n,dataKey:o,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return i.createElement(me,qp({className:"recharts-bar-rectangle"},U(t.props,e,n),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(n)}),i.createElement(Bp,f))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,n=t.data,r=t.layout,o=t.isAnimationActive,a=t.animationBegin,s=t.animationDuration,c=t.animationEasing,l=t.animationId,u=this.state.prevData;return i.createElement(af.ZP,{begin:a,duration:s,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var o=t.t,a=n.map((function(e,t){var n=u&&u[t];if(n){var i=D(n.x,e.x),a=D(n.y,e.y),s=D(n.width,e.width),c=D(n.height,e.height);return Wp(Wp({},e),{},{x:i(o),y:a(o),width:s(o),height:c(o)})}if("horizontal"===r){var l=D(0,e.height)(o);return Wp(Wp({},e),{},{y:e.y+e.height-l,height:l})}var f=D(0,e.width)(o);return Wp(Wp({},e),{},{width:f})}));return i.createElement(me,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return!(n&&t&&t.length)||r&&Ws()(r,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,n=t.data,r=t.dataKey,o=t.activeIndex,a=ie(this.props.background,!1);return n.map((function(t,n){t.value;var s=t.background,c=Hp(t,zp);if(!s)return null;var l=Wp(Wp(Wp(Wp(Wp({},c),{},{fill:"#eee"},s),a),U(e.props,t,n)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:r,index:n,className:"recharts-bar-background-rectangle"});return i.createElement(Bp,qp({key:"background-bar-".concat(n),option:e.props.background,isActive:n===o},l))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.data,o=n.xAxis,a=n.yAxis,s=n.layout,c=X(n.children,jc);if(!c)return null;var l="vertical"===s?r[0].height/2:r[0].width/2,u=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:Vc(e,t)}},f={clipPath:e?"url(#clipPath-".concat(t,")"):null};return i.createElement(me,f,c.map((function(e){return i.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:r,xAxis:o,yAxis:a,layout:s,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.data,r=e.className,o=e.xAxis,s=e.yAxis,c=e.left,l=e.top,f=e.width,h=e.height,d=e.isAnimationActive,p=e.background,g=e.id;if(t||!n||!n.length)return null;var m=this.state.isAnimationFinished,v=a("recharts-bar",r),y=o&&o.allowDataOverflow,b=s&&s.allowDataOverflow,_=y||b,w=u()(g)?this.id:g;return i.createElement(me,{className:v},y||b?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(w)},i.createElement("rect",{x:y?c:c-f/2,y:b?l:l-h/2,width:y?f:2*f,height:b?h:2*h}))):null,i.createElement(me,{className:"recharts-bar-rectangles",clipPath:_?"url(#clipPath-".concat(w,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(_,w),(!d||m)&&fu.renderCallByParent(this.props,n))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],r&&Vp(n.prototype,r),o&&Vp(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);function eg(e){return eg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eg(e)}function tg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,og(r.key),r)}}function ng(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ng(Object(n),!0).forEach((function(t){ig(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ng(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ig(e,t,n){return(t=og(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function og(e){var t=function(e,t){if("object"!=eg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eg(t)?t:t+""}Fp=Jp,Xp(Jp,"displayName","Bar"),Xp(Jp,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Xp(Jp,"getComposedData",(function(e){var t=e.props,n=e.item,r=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,s=e.xAxisTicks,c=e.yAxisTicks,l=e.stackedData,u=e.dataStartIndex,f=e.displayedData,h=e.offset,d=ol(r,n);if(!d)return null;var p=t.layout,g=n.type.defaultProps,m=void 0!==g?Wp(Wp({},g),n.props):n.props,v=m.dataKey,y=m.children,b=m.minPointSize,_="horizontal"===p?a:o,w=l?_.scale.domain():null,S=hl({numericAxis:_}),O=X(y,Rn),C=f.map((function(e,t){var r,f,h,g,m,y;l?r=al(l[u+t],w):(r=Vc(e,v),Array.isArray(r)||(r=[S,r]));var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,r){if("number"==typeof e)return e;var i=E(n)||k(n);return i?e(n,r):(i||(0,_c.Z)(!1),t)}}(b,Fp.defaultProps.minPointSize)(r[1],t);if("horizontal"===p){var C,A=[a.scale(r[0]),a.scale(r[1])],T=A[0],P=A[1];f=fl({axis:o,ticks:s,bandSize:i,offset:d.offset,entry:e,index:t}),h=null!==(C=null!=P?P:T)&&void 0!==C?C:void 0,g=d.size;var D=T-P;if(m=Number.isNaN(D)?0:D,y={x:f,y:a.y,width:g,height:a.height},Math.abs(_)>0&&Math.abs(m)<Math.abs(_)){var M=x(m||_)*(Math.abs(_)-Math.abs(m));h-=M,m+=M}}else{var R=[o.scale(r[0]),o.scale(r[1])],j=R[0],N=R[1];if(f=j,h=fl({axis:a,ticks:c,bandSize:i,offset:d.offset,entry:e,index:t}),g=N-j,m=d.size,y={x:o.x,y:h,width:o.width,height:m},Math.abs(_)>0&&Math.abs(g)<Math.abs(_))g+=x(g||_)*(Math.abs(_)-Math.abs(g))}return Wp(Wp(Wp({},e),{},{x:f,y:h,width:g,height:m,value:l?r:r[1],payload:e,background:y},O&&O[t]&&O[t].props),{},{tooltipPayload:[bl(n,e)],tooltipPosition:{x:f+g/2,y:h+m/2}})}));return Wp({data:C,layout:p},h)}));var ag=function(e,t,n,r,i){var o=e.width,a=e.height,s=e.layout,c=e.children,l=Object.keys(t),u={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},f=!!Q(c,Jp);return l.reduce((function(o,a){var c,l,h,d,p,g=t[a],m=g.orientation,v=g.domain,y=g.padding,b=void 0===y?{}:y,_=g.mirror,w=g.reversed,x="".concat(m).concat(_?"Mirror":"");if("number"===g.type&&("gap"===g.padding||"no-gap"===g.padding)){var S=v[1]-v[0],E=1/0,k=g.categoricalDomain.sort(R);if(k.forEach((function(e,t){t>0&&(E=Math.min((e||0)-(k[t-1]||0),E))})),Number.isFinite(E)){var O=E/S,C="vertical"===g.layout?n.height:n.width;if("gap"===g.padding&&(c=O*C/2),"no-gap"===g.padding){var A=T(e.barCategoryGap,O*C),P=O*C/2;c=P-A-(P-A)/C*A}}}l="xAxis"===r?[n.left+(b.left||0)+(c||0),n.left+n.width-(b.right||0)-(c||0)]:"yAxis"===r?"horizontal"===s?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(c||0),n.top+n.height-(b.bottom||0)-(c||0)]:g.range,w&&(l=[l[1],l[0]]);var D=nl(g,i,f),M=D.scale,j=D.realScaleType;M.domain(v).range(l),il(M);var N=ll(M,rg(rg({},g),{},{realScaleType:j}));"xAxis"===r?(p="top"===m&&!_||"bottom"===m&&_,h=n.left,d=u[x]-p*g.height):"yAxis"===r&&(p="left"===m&&!_||"right"===m&&_,h=u[x]-p*g.width,d=n.top);var L=rg(rg(rg({},g),N),{},{realScaleType:j,x:h,y:d,scale:M,width:"xAxis"===r?n.width:g.width,height:"yAxis"===r?n.height:g.height});return L.bandSize=vl(L,N),g.hide||"xAxis"!==r?g.hide||(u[x]+=(p?-1:1)*L.width):u[x]+=(p?-1:1)*L.height,rg(rg({},o),{},ig({},a,L))}),{})},sg=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},cg=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return sg({x:t,y:n},{x:r,y:i})},lg=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&tg(t.prototype,n),r&&tg(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();ig(lg,"EPS",1e-4);var ug=function(e){var t=Object.keys(e).reduce((function(t,n){return rg(rg({},t),{},ig({},n,lg.create(e[n])))}),{});return rg(rg({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,i=n.position;return Cp()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:i})}))},isInRange:function(e){return Tp()(e,(function(e,n){return t[n].isInRange(e)}
2))}})};var fg=function(e){var t=e.width,n=e.height,r=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=r*Math.PI/180,o=Math.atan(n/t),a=i>o&&i<Math.PI-o?n/Math.sin(i):t/Math.cos(i);return Math.abs(a)},hg=n(13311),dg=n.n(hg),pg=n(88306),gg=n.n(pg)()((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));var mg=(0,i.createContext)(void 0),vg=(0,i.createContext)(void 0),yg=(0,i.createContext)(void 0),bg=(0,i.createContext)({}),_g=(0,i.createContext)(void 0),wg=(0,i.createContext)(0),xg=(0,i.createContext)(0),Sg=function(e){var t=e.state,n=t.xAxisMap,r=t.yAxisMap,o=t.offset,a=e.clipPathId,s=e.children,c=e.width,l=e.height,u=gg(o);return i.createElement(mg.Provider,{value:n},i.createElement(vg.Provider,{value:r},i.createElement(bg.Provider,{value:o},i.createElement(yg.Provider,{value:u},i.createElement(_g.Provider,{value:a},i.createElement(wg.Provider,{value:l},i.createElement(xg.Provider,{value:c},s)))))))},Eg=function(){return(0,i.useContext)(_g)};var kg=function(e){var t=(0,i.useContext)(mg);null==t&&(0,_c.Z)(!1);var n=t[e];return null==n&&(0,_c.Z)(!1),n},Og=function(){var e=(0,i.useContext)(mg);return P(e)},Cg=function(){var e=(0,i.useContext)(vg);return dg()(e,(function(e){return Tp()(e.domain,Number.isFinite)}))||P(e)},Ag=function(e){var t=(0,i.useContext)(vg);null==t&&(0,_c.Z)(!1);var n=t[e];return null==n&&(0,_c.Z)(!1),n},Tg=function(){return(0,i.useContext)(yg)},Pg=function(){return(0,i.useContext)(bg)},Dg=function(){return(0,i.useContext)(xg)},Mg=function(){return(0,i.useContext)(wg)};function Rg(e){return Rg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rg(e)}function jg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hg(r.key),r)}}function Ng(e,t,n){return t=Ig(t),function(e,t){if(t&&("object"===Rg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lg()?Reflect.construct(t,n||[],Ig(e).constructor):t.apply(e,n))}function Lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Lg=function(){return!!e})()}function Ig(e){return Ig=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ig(e)}function Bg(e,t){return Bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bg(e,t)}function Fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fg(Object(n),!0).forEach((function(t){Ug(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ug(e,t,n){return(t=Hg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hg(e){var t=function(e,t){if("object"!=Rg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Rg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Rg(t)?t:t+""}function qg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
vendor: 76,880 bytes, line 2
2finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wg(){return Wg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wg.apply(this,arguments)}var Vg=function(e,t){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement("line",Wg({},t,{className:"recharts-reference-line-line"}))},Kg=function(e,t,n,r,i,o,a,s,c){var l=i.x,u=i.y,f=i.width,h=i.height;if(n){var d=c.y,p=e.y.apply(d,{position:o});if(kp(c,"discard")&&!e.y.isInRange(p))return null;var g=[{x:l+f,y:p},{x:l,y:p}];return"left"===s?g.reverse():g}if(t){var m=c.x,v=e.x.apply(m,{position:o});if(kp(c,"discard")&&!e.x.isInRange(v))return null;var y=[{x:v,y:u+h},{x:v,y:u}];return"top"===a?y.reverse():y}if(r){var b=c.segment.map((function(t){return e.apply(t,{position:o})}));return kp(c,"discard")&&Ep()(b,(function(t){return!e.isInRange(t)}))?null:b}return null};function Gg(e){var t=e.x,n=e.y,r=e.segment,o=e.xAxisId,s=e.yAxisId,c=e.shape,l=e.className,u=e.alwaysShow,f=Eg(),h=kg(o),d=Ag(s),p=Tg();if(!f||!p)return null;ye(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var g=ug({x:h.scale,y:d.scale}),m=O(t),v=O(n),y=r&&2===r.length,b=Kg(g,m,v,y,p,e.position,h.orientation,d.orientation,e);if(!b)return null;var _=qg(b,2),w=_[0],x=w.x,S=w.y,E=_[1],k=E.x,C=E.y,A=zg(zg({clipPath:kp(e,"hidden")?"url(#".concat(f,")"):void 0},ie(e,!0)),{},{x1:x,y1:S,x2:k,y2:C});return i.createElement(me,{className:a("recharts-reference-line",l)},Vg(c,A),Zl.renderCallByParent(e,cg({x1:x,y1:S,x2:k,y2:C})))}var Zg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ng(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bg(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return i.createElement(Gg,this.props)}}])&&jg(n.prototype,r),o&&jg(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function Yg(){return Yg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yg.apply(this,arguments)}function Xg(e){return Xg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xg(e)}function Qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qg(Object(n),!0).forEach((function(t){om(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function em(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,am(r.key),r)}}function tm(e,t,n){return t=rm(t),function(e,t){if(t&&("object"===Xg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,nm()?Reflect.construct(t,n||[],rm(e).constructor):t.apply(e,n))}function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(nm=function(){return!!e})()}function rm(e){return rm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rm(e)}function im(e,t){return im=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},im(e,t)}function om(e,t,n){return(t=am(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function am(e){var t=function(e,t){if("object"!=Xg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xg(t)?t:t+""}Ug(Zg,"displayName","ReferenceLine"),Ug(Zg,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var sm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),tm(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&im(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e=this.props,n=e.x,r=e.y,o=e.r,s=e.alwaysShow,c=e.clipPathId,l=O(n),u=O(r);if(ye(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!u)return null;var f=function(e){var t=e.x,n=e.y,r=e.xAxis,i=e.yAxis,o=ug({x:r.scale,y:i.scale}),a=o.apply({x:t,y:n},{bandAware:!0});return kp(e,"discard")&&!o.isInRange(a)?null:a}(this.props);if(!f)return null;var h=f.x,d=f.y,p=this.props,g=p.shape,m=p.className,v=Jg(Jg({clipPath:kp(this.props,"hidden")?"url(#".concat(c,")"):void 0},ie(this.props,!0)),{},{cx:h,cy:d});return i.createElement(me,{className:a("recharts-reference-dot",m)},t.renderDot(g,v),Zl.renderCallByParent(this.props,{x:h-o,y:d-o,width:2*o,height:2*o}))}}],r&&em(n.prototype,r),o&&em(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function cm(){return cm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cm.apply(this,arguments)}function lm(e){return lm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lm(e)}function um(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?um(Object(n),!0).forEach((function(t){vm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ym(r.key),r)}}function dm(e,t,n){return t=gm(t),function(e,t){if(t&&("object"===lm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pm()?Reflect.construct(t,n||[],gm(e).constructor):t.apply(e,n))}function pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pm=function(){return!!e})()}function gm(e){return gm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gm(e)}function mm(e,t){return mm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mm(e,t)}function vm(e,t,n){return(t=ym(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ym(e){var t=function(e,t){if("object"!=lm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=lm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lm(t)?t:t+""}om(sm,"displayName","ReferenceDot"),om(sm,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),om(sm,"renderDot",(function(e,t){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement(Cf,Yg({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))}));var bm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),dm(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mm(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this.props,n=e.x1,r=e.x2,o=e.y1,s=e.y2,c=e.className,l=e.alwaysShow,u=e.clipPathId;ye(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=O(n),h=O(r),d=O(o),p=O(s),g=this.props.shape;if(!(f||h||d||p||g))return null;var m=function(e,t,n,r,i){var o=i.x1,a=i.x2,s=i.y1,c=i.y2,l=i.xAxis,u=i.yAxis;if(!l||!u)return null;var f=ug({x:l.scale,y:u.scale}),h={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(s,{position:"start"}):f.y.rangeMin},d={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!kp(i,"discard")||f.isInRange(h)&&f.isInRange(d)?sg(h,d):null}(f,h,d,p,this.props);if(!m&&!g)return null;var v=kp(this.props,"hidden")?"url(#".concat(u,")"):void 0;return i.createElement(me,{className:a("recharts-reference-area",c)},t.renderRect(g,fm(fm({clipPath:v},ie(this.props,!0)),m)),Zl.renderCallByParent(this.props,m))}}])&&hm(n.prototype,r),o&&hm(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function _m(e,t,n){if(t<1)return[];if(1===t&&void 0===n)return e;for(var r=[],i=0;i<e.length;i+=t){if(void 0!==n&&!0!==n(e[i]))return;r.push(e[i])}return r}function wm(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-i)<=0}function xm(e){return xm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xm(e)}function Sm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Em(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sm(Object(n),!0).forEach((function(t){km(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function km(e,t,n){return t=function(e){var t=function(e,t){if("object"!=xm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xm(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Om(e,t,n){var r=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,s=e.orientation,c=e.interval,l=e.tickFormatter,u=e.unit,f=e.angle;if(!i||!i.length||!r)return[];if(E(c)||fn.isSsr)return function(e,t){return _m(e,t+1)}(i,"number"==typeof c&&E(c)?c:0);var h=[],d="top"===s||"bottom"===s?"width":"height",g=u&&"width"===d?Hn(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},m=function(e,r){var i=p()(l)?l(e.value,r):e.value;return"width"===d?function(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return fg(r,n)}(Hn(i,{fontSize:t,letterSpacing:n}),g,f):Hn(i,{fontSize:t,letterSpacing:n})[d]},v=i.length>=2?x(i[1].coordinate-i[0].coordinate):1,y=function(e,t,n){var r="width"===n,i=e.x,o=e.y,a=e.width,s=e.height;return 1===t?{start:r?i:o,end:r?i+a:o+s}:{start:r?i+a:o+s,end:r?i:o}}(o,v,d);return"equidistantPreserveStart"===c?function(e,t,n,r,i){for(var o,a=(r||[]).slice(),s=t.start,c=t.end,l=0,u=1,f=s,h=function(){var t=null==r?void 0:r[l];if(void 0===t)return{v:_m(r,u)};var o,a=l,h=function(){return void 0===o&&(o=n(t,a)),o},d=t.coordinate,p=0===l||wm(e,d,h,f,c);p||(l=0,f=s,u+=1),p&&(f=d+e*(h()/2+i),l+=u)};u<=a.length;)if(o=h())return o.v;return[]}(v,y,m,i,a):(h="preserveStart"===c||"preserveStartEnd"===c?function(e,t,n,r,i,o){var a=(r||[]).slice(),s=a.length,c=t.start,l=t.end;if(o){var u=r[s-1],f=n(u,s-1),h=e*(u.coordinate+e*f/2-l);a[s-1]=u=Em(Em({},u),{},{tickCoord:h>0?u.coordinate-h*e:u.coordinate}),wm(e,u.tickCoord,(function(){return f}),c,l)&&(l=u.tickCoord-e*(f/2+i),a[s-1]=Em(Em({},u),{},{isShow:!0}))}for(var d=o?s-1:s,p=function(t){var r,o=a[t],s=function(){return void 0===r&&(r=n(o,t)),r};if(0===t){var u=e*(o.coordinate-e*s()/2-c);a[t]=o=Em(Em({},o),{},{tickCoord:u<0?o.coordinate-u*e:o.coordinate})}else a[t]=o=Em(Em({},o),{},{tickCoord:o.coordinate});wm(e,o.tickCoord,s,c,l)&&(c=o.tickCoord+e*(s()/2+i),a[t]=Em(Em({},o),{},{isShow:!0}))},g=0;g<d;g++)p(g);return a}(v,y,m,i,a,"preserveStartEnd"===c):function(e,t,n,r,i){for(var o=(r||[]).slice(),a=o.length,s=t.start,c=t.end,l=function(t){var r,l=o[t],u=function(){return void 0===r&&(r=n(l,t)),r};if(t===a-1){var f=e*(l.coordinate+e*u()/2-c);o[t]=l=Em(Em({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else o[t]=l=Em(Em({},l),{},{tickCoord:l.coordinate});wm(e,l.tickCoord,u,s,c)&&(c=l.tickCoord-e*(u()/2+i),o[t]=Em(Em({},l),{},{isShow:!0}))},u=a-1;u>=0;u--)l(u);return o}(v,y,m,i,a),h.filter((function(e){return e.isShow})))}vm(bm,"displayName","ReferenceArea"),vm(bm,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),vm(bm,"renderRect",(function(e,t){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement(vf,cm({},t,{className:"recharts-reference-area-rect"}))}));var Cm=["viewBox"],Am=["viewBox"],Tm=["ticks"];function Pm(e){return Pm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pm(e)}function Dm(){return Dm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dm.apply(this,arguments)}function Mm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mm(Object(n),!0).forEach((function(t){zm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Nm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Um(r.key),r)}}function Lm(e,t,n){return t=Bm(t),function(e,t){if(t&&("object"===Pm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Im()?Reflect.construct(t,n||[],Bm(e).constructor):t.apply(e,n))}function Im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Im=function(){return!!e})()}function Bm(e){return Bm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bm(e)}function Fm(e,t){return Fm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fm(e,t)}function zm(e,t,n){return(t=Um(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Um(e){var t=function(e,t){if("object"!=Pm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pm(t)?t:t+""}var Hm=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Lm(this,t,[e])).state={fontSize:"",letterSpacing:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fm(e,t)}(t,e),n=t,r=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=jm(e,Cm),i=this.props,o=i.viewBox,a=jm(i,Am);return!j(n,o)||!j(r,a)||!j(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,n,r,i,o,a,s=this.props,c=s.x,l=s.y,u=s.width,f=s.height,h=s.orientation,d=s.tickSize,p=s.mirror,g=s.tickMargin,m=p?-1:1,v=e.tickSize||d,y=E(e.tickCoord)?e.tickCoord:e.coordinate;switch(h){case"top":t=n=e.coordinate,a=(r=(i=l+ +!p*f)-m*v)-m*g,o=y;break;case"left":r=i=e.coordinate,o=(t=(n=c+ +!p*u)-m*v)-m*g,a=y;break;case"right":r=i=e.coordinate,o=(t=(n=c+ +p*u)+m*v)+m*g,a=y;break;default:t=n=e.coordinate,a=(r=(i=l+ +p*f)+m*v)+m*g,o=y}return{line:{x1:t,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,s=e.orientation,l=e.mirror,u=e.axisLine,f=Rm(Rm(Rm({},ie(this.props,!1)),ie(u,!1)),{},{fill:"none"});if("top"===s||"bottom"===s){var h=+("top"===s&&!l||"bottom"===s&&l);f=Rm(Rm({},f),{},{x1:t,y1:n+h*o,x2:t+r,y2:n+h*o})}else{var d=+("left"===s&&!l||"right"===s&&l);f=Rm(Rm({},f),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+o})}return i.createElement("line",Dm({},f,{className:a("recharts-cartesian-axis-line",c()(u,"className"))}))}},{key:"renderTicks",value:function(e,n,r){var o=this,s=this.props,l=s.tickLine,u=s.stroke,f=s.tick,h=s.tickFormatter,d=s.unit,g=Om(Rm(Rm({},this.props),{},{ticks:e}),n,r),m=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),y=ie(this.props,!1),b=ie(f,!1),_=Rm(Rm({},y),{},{fill:"none"},ie(l,!1)),w=g.map((function(e,n){var r=o.getTickLineCoord(e),s=r.line,w=r.tick,x=Rm(Rm(Rm(Rm({textAnchor:m,verticalAnchor:v},y),{},{stroke:"none",fill:u},b),w),{},{index:n,payload:e,visibleTicksCount:g.length,tickFormatter:h});return i.createElement(me,Dm({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},U(o.props,e,n)),l&&i.createElement("line",Dm({},_,s,{className:a("recharts-cartesian-axis-tick-line",c()(l,"className"))})),f&&t.renderTickItem(f,x,"".concat(p()(h)?h(e.value,n):e.value).concat(d||"")))}));return i.createElement("g",{className:"recharts-cartesian-axis-ticks"},w)}},{key:"render",value:function(){var e=this,t=this.props,n=t.axisLine,r=t.width,o=t.height,s=t.ticksGenerator,c=t.className;if(t.hide)return null;var l=this.props,u=l.ticks,f=jm(l,Tm),h=u;return p()(s)&&(h=u&&u.length>0?s(this.props):s(f)),r<=0||o<=0||!h||!h.length?null:i.createElement(me,{className:a("recharts-cartesian-axis",c),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),Zl.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(e,t,n){var r=a(t.className,"recharts-cartesian-axis-tick-value");return i.isValidElement(e)?i.cloneElement(e,Rm(Rm({},t),{},{className:r})):p()(e)?e(Rm(Rm({},t),{},{className:r})):i.createElement(vr,Dm({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],r&&Nm(n.prototype,r),o&&Nm(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);zm(Hm,"displayName","CartesianAxis"),zm(Hm,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var qm=["x1","y1","x2","y2","key"],$m=["offset"];function Wm(e){return Wm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wm(e)}function Vm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Km(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vm(Object(n),!0).forEach((function(t){Gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gm(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Wm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Wm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Wm(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zm.apply(this,arguments)}function Ym(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Xm=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,r=e.x,o=e.y,a=e.width,s=e.height,c=e.ry;return i.createElement("rect",{x:r,y:o,ry:c,width:a,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function Qm(e,t){var n;if(i.isValidElement(e))n=i.cloneElement(e,t);else if(p()(e))n=e(t);else{var r=t.x1,o=t.y1,a=t.x2,s=t.y2,c=t.key,l=Ym(t,qm),u=ie(l,!1),f=(u.offset,Ym(u,$m));n=i.createElement("line",Zm({},f,{x1:r,y1:o,x2:a,y2:s,fill:"none",key:c}))}return n}function Jm(e){var t=e.x,n=e.width,r=e.horizontal,o=void 0===r||r,a=e.horizontalPoints;if(!o||!a||!a.length)return null;var s=a.map((function(r,i){var a=Km(Km({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(i),index:i});return Qm(o,a)}));return i.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}function ev(e){var t=e.y,n=e.height,r=e.vertical,o=void 0===r||r,a=e.verticalPoints;if(!o||!a||!a.length)return null;var s=a.map((function(r,i){var a=Km(Km({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(i),index:i});return Qm(o,a)}));return i.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}function tv(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,o=e.y,a=e.width,s=e.height,c=e.horizontalPoints,l=e.horizontal;if(!(void 0===l||l)||!t||!t.length)return null;var u=c.map((function(e){return Math.round(e+o-o)})).sort((function(e,t){return e-t}));o!==u[0]&&u.unshift(0);var f=u.map((function(e,c){var l=!u[c+1]?o+s-e:u[c+1]-e;if(l<=0)return null;var f=c%t.length;return i.createElement("rect",{key:"react-".concat(c),y:e,x:r,height:l,width:a,stroke:"none",fill:t[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return i.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function nv(e){var t=e.vertical,n=void 0===t||t,r=e.verticalFill,o=e.fillOpacity,a=e.x,s=e.y,c=e.width,l=e.height,u=e.verticalPoints;if(!n||!r||!r.length)return null;var f=u.map((function(e){return Math.round(e+a-a)})).sort((function(e,t){return e-t}));a!==f[0]&&f.unshift(0);var h=f.map((function(e,t){var n=!f[t+1]?a+c-e:f[t+1]-e;if(n<=0)return null;var u=t%r.length;return i.createElement("rect",{key:"react-".concat(t),x:e,y:s,width:n,height:l,stroke:"none",fill:r[u],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return i.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},h)}var rv=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return Qc(Om(Km(Km(Km({},Hm.defaultProps),n),{},{ticks:Jc(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},iv=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return Qc(Om(Km(Km(Km({},Hm.defaultProps),n),{},{ticks:Jc(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},ov={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function av(e){var t,n,r,o,a,s,c=Dg(),l=Mg(),u=Pg(),f=Km(Km({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:ov.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:ov.fill,horizontal:null!==(r=e.horizontal)&&void 0!==r?r:ov.horizontal,horizontalFill:null!==(o=e.horizontalFill)&&void 0!==o?o:ov.horizontalFill,vertical:null!==(a=e.vertical)&&void 0!==a?a:ov.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:ov.verticalFill,x:E(e.x)?e.x:u.left,y:E(e.y)?e.y:u.top,width:E(e.width)?e.width:u.width,height:E(e.height)?e.height:u.height}),h=f.x,d=f.y,g=f.width,m=f.height,v=f.syncWithTicks,y=f.horizontalValues,b=f.verticalValues,_=Og(),w=Cg();if(!E(g)||g<=0||!E(m)||m<=0||!E(h)||h!==+h||!E(d)||d!==+d)return null;var x=f.verticalCoordinatesGenerator||rv,S=f.horizontalCoordinatesGenerator||iv,k=f.horizontalPoints,O=f.verticalPoints;if((!k||!k.length)&&p()(S)){var C=y&&y.length,A=S({yAxis:w?Km(Km({},w),{},{ticks:C?y:w.ticks}):void 0,width:c,height:l,offset:u},!!C||v);ye(Array.isArray(A),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Wm(A),"]")),Array.isArray(A)&&(k=A)}if((!O||!O.length)&&p()(x)){var T=b&&b.length,P=x({xAxis:_?Km(Km({},_),{},{ticks:T?b:_.ticks}):void 0,width:c,height:l,offset:u},!!T||v);ye(Array.isArray(P),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Wm(P),"]")),Array.isArray(P)&&(O=P)}return i.createElement("g",{className:"recharts-cartesian-grid"},i.createElement(Xm,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),i.createElement(Jm,Zm({},f,{offset:u,horizontalPoints:k,xAxis:_,yAxis:w})),i.createElement(ev,Zm({},f,{offset:u,verticalPoints:O,xAxis:_,yAxis:w})),i.createElement(tv,Zm({},f,{horizontalPoints:k})),i.createElement(nv,Zm({},f,{verticalPoints:O})))}av.displayName="CartesianGrid";var sv=["type","layout","connectNulls","ref"],cv=["key"];function lv(e){return lv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lv(e)}function uv(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fv(){return fv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fv.apply(this,arguments)}function hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hv(Object(n),!0).forEach((function(t){wv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pv(e){return function(e){if(Array.isArray(e))return gv(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gv(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xv(r.key),r)}}function vv(e,t,n){return t=bv(t),function(e,t){if(t&&("object"===lv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,yv()?Reflect.construct(t,n||[],bv(e).constructor):t.apply(e,n))}function yv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yv=function(){return!!e})()}function bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bv(e)}function _v(e,t){return _v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_v(e,t)}function wv(e,t,n){return(t=xv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xv(e){var t=function(e,t){if("object"!=lv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=lv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lv(t)?t:t+""}var Sv=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return wv(e=vv(this,t,[].concat(r)),"state",{isAnimationFinished:!0,totalLength:0}),wv(e,"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),wv(e,"getStrokeDasharray",(function(n,r,i){var o=i.reduce((function(e,t){return e+t}));if(!o)return e.generateSimpleStrokeDasharray(r,n);for(var a=Math.floor(n/o),s=n%o,c=r-n,l=[],u=0,f=0;u<i.length;f+=i[u],++u)if(f+i[u]>s){l=[].concat(pv(i.slice(0,u)),[s-f]);break}var h=l.length%2==0?[0,c]:[c];return[].concat(pv(t.repeat(i,a)),pv(l),h).map((function(e){return"".concat(e,"px")})).join(", ")})),wv(e,"id",A("recharts-line-")),wv(e,"pathRef",(function(t){e.mainCurve=t})),wv(e,"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),wv(e,"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_v(e,t)}(t,e),n=t,r=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.points,o=n.xAxis,a=n.yAxis,s=n.layout,c=X(n.children,jc);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Vc(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return i.createElement(me,u,c.map((function(e){return i.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:r,xAxis:o,yAxis:a,layout:s,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,n,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.dot,s=o.points,c=o.dataKey,l=ie(this.props,!1),u=ie(a,!0),f=s.map((function(e,n){var r=dv(dv(dv({key:"dot-".concat(n),r:3},l),u),{},{index:n,cx:e.x,cy:e.y,value:e.value,dataKey:c,payload:e.payload,points:s});return t.renderDotItem(a,r)})),h={clipPath:e?"url(#clipPath-".concat(n?"":"dots-").concat(r,")"):null};return i.createElement(me,fv({className:"recharts-line-dots",key:"dots"},h),f)}},{key:"renderCurveStatically",value:function(e,t,n,r){var o=this.props,a=o.type,s=o.layout,c=o.connectNulls,l=(o.ref,uv(o,sv)),u=dv(dv(dv({},ie(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r),{},{type:a,layout:s,connectNulls:c});return i.createElement(of,fv({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,o=r.points,a=r.strokeDasharray,s=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,u=r.animationEasing,f=r.animationId,h=r.animateNewValues,d=r.width,p=r.height,g=this.state,m=g.prevPoints,v=g.totalLength;return i.createElement(af.ZP,{begin:c,duration:l,isActive:s,easing:u,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(r){var i=r.t;if(m){var s=m.length/o.length,c=o.map((function(e,t){var n=Math.floor(t*s);if(m[n]){var r=m[n],o=D(r.x,e.x),a=D(r.y,e.y);return dv(dv({},e),{},{x:o(i),y:a(i)})}if(h){var c=D(2*d,e.x),l=D(p/2,e.y);return dv(dv({},e),{},{x:c(i),y:l(i)})}return dv(dv({},e),{},{x:e.x,y:e.y})}));return n.renderCurveStatically(c,e,t)}var l,u=D(0,v)(i);if(a){var f="".concat(a).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));l=n.getStrokeDasharray(u,v,f)}else l=n.generateSimpleStrokeDasharray(v,u);return n.renderCurveStatically(o,e,t,{strokeDasharray:l})}))}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,i=n.isAnimationActive,o=this.state,a=o.prevPoints,s=o.totalLength;return i&&r&&r.length&&(!a&&s>0||!Ws()(a,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,o=t.points,s=t.className,c=t.xAxis,l=t.yAxis,f=t.top,h=t.left,d=t.width,p=t.height,g=t.isAnimationActive,m=t.id;if(n||!o||!o.length)return null;var v=this.state.isAnimationFinished,y=1===o.length,b=a("recharts-line",s),_=c&&c.allowDataOverflow,w=l&&l.allowDataOverflow,x=_||w,S=u()(m)?this.id:m,E=null!==(e=ie(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},k=E.r,O=void 0===k?3:k,C=E.strokeWidth,A=void 0===C?2:C,T=(ne(r)?r:{}).clipDot,P=void 0===T||T,D=2*O+A;return i.createElement(me,{className:b},_||w?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(S)},i.createElement("rect",{x:_?h:h-d/2,y:w?f:f-p/2,width:_?d:2*d,height:w?p:2*p})),!P&&i.createElement("clipPath",{id:"clipPath-dots-".concat(S)},i.createElement("rect",{x:h-D/2,y:f-D/2,width:d+D,height:p+D}))):null,!y&&this.renderCurve(x,S),this.renderErrorBar(x,S),(y||r)&&this.renderDots(x,P,S),(!g||v)&&fu.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?[].concat(pv(e),[0]):e,r=[],i=0;i<t;++i)r=[].concat(pv(r),pv(n));return r}},{key:"renderDotItem",value:function(e,t){var n;if(i.isValidElement(e))n=i.cloneElement(e,t);else if(p()(e))n=e(t);else{var r=t.key,o=uv(t,cv),s=a("recharts-line-dot","boolean"!=typeof e?e.className:"");n=i.createElement(Cf,fv({key:r},o,{className:s}))}return n}}],r&&mv(n.prototype,r),o&&mv(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);wv(Sv,"displayName","Line"),wv(Sv,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!fn.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),wv(Sv,"getComposedData",(function(e){var t=e.props,n=e.xAxis,r=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,s=e.bandSize,c=e.displayedData,l=e.offset,f=t.layout,h=c.map((function(e,t){var c=Vc(e,a);return"horizontal"===f?{x:ul({axis:n,ticks:i,bandSize:s,entry:e,index:t}),y:u()(c)?null:r.scale(c),value:c,payload:e}:{x:u()(c)?null:n.scale(c),y:ul({axis:r,ticks:o,bandSize:s,entry:e,index:t}),value:c,payload:e}}));return dv({points:h,layout:f},l)}));var Ev,kv=["layout","type","stroke","connectNulls","isRange","ref"],Ov=["key"];function Cv(e){return Cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cv(e)}function Av(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Tv(){return Tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tv.apply(this,arguments)}function Pv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pv(Object(n),!0).forEach((function(t){Iv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Bv(r.key),r)}}function Rv(e,t,n){return t=Nv(t),function(e,t){if(t&&("object"===Cv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jv()?Reflect.construct(t,n||[],Nv(e).constructor):t.apply(e,n))}function jv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jv=function(){return!!e})()}function Nv(e){return Nv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nv(e)}function Lv(e,t){return Lv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lv(e,t)}function Iv(e,t,n){return(t=Bv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bv(e){var t=function(e,t){if("object"!=Cv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Cv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cv(t)?t:t+""}var Fv=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Iv(e=Rv(this,t,[].concat(r)),"state",{isAnimationFinished:!0}),Iv(e,"id",A("recharts-area-")),Iv(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),p()(t)&&t()})),Iv(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),p()(t)&&t()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lv(e,t)}(t,e),n=t,r=[{key:"renderDots",value:function(e,n,r){var o=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(o&&!a)return null;var s=this.props,c=s.dot,l=s.points,u=s.dataKey,f=ie(this.props,!1),h=ie(c,!0),d=l.map((function(e,n){var r=Dv(Dv(Dv({key:"dot-".concat(n),r:3},f),h),{},{index:n,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:l});return t.renderDotItem(c,r)})),p={clipPath:e?"url(#clipPath-".concat(n?"":"dots-").concat(r,")"):null};return i.createElement(me,Tv({className:"recharts-area-dots"},p),d)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,o=t.strokeWidth,a=r[0].x,s=r[r.length-1].x,c=e*Math.abs(a-s),l=Fs()(r.map((function(e){return e.y||0})));return E(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(Fs()(n.map((function(e){return e.y||0}))),l)),E(l)?i.createElement("rect",{x:a<s?a:a-c,y:0,width:c,height:Math.floor(l+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,o=t.strokeWidth,a=r[0].y,s=r[r.length-1].y,c=e*Math.abs(a-s),l=Fs()(r.map((function(e){return e.x||0})));return E(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(Fs()(n.map((function(e){return e.x||0}))),l)),E(l)?i.createElement("rect",{x:0,y:a<s?a:a-c,width:l+(o?parseInt("".concat(o),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,n,r){var o=this.props,a=o.layout,s=o.type,c=o.stroke,l=o.connectNulls,u=o.isRange,f=(o.ref,Av(o,kv));return i.createElement(me,{clipPath:n?"url(#clipPath-".concat(r,")"):null},i.createElement(of,Tv({},ie(f,!0),{points:e,connectNulls:l,type:s,baseLine:t,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==c&&i.createElement(of,Tv({},ie(this.props,!1),{className:"recharts-area-curve",layout:a,type:s,connectNulls:l,fill:"none",points:e})),"none"!==c&&u&&i.createElement(of,Tv({},ie(this.props,!1),{className:"recharts-area-curve",layout:a,type:s,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var n=this,r=this.props,o=r.points,a=r.baseLine,s=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,f=r.animationEasing,h=r.animationId,d=this.state,p=d.prevPoints,g=d.prevBaseLine;return i.createElement(af.ZP,{begin:c,duration:l,isActive:s,easing:f,from:{t:0},to:{t:1},key:"area-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(r){var s=r.t;if(p){var c,l=p.length/o.length,f=o.map((function(e,t){var n=Math.floor(t*l);if(p[n]){var r=p[n],i=D(r.x,e.x),o=D(r.y,e.y);return Dv(Dv({},e),{},{x:i(s),y:o(s)})}return e}));return c=E(a)&&"number"==typeof a?D(g,a)(s):u()(a)||b()(a)?D(g,0)(s):a.map((function(e,t){var n=Math.floor(t*l);if(g[n]){var r=g[n],i=D(r.x,e.x),o=D(r.y,e.y);return Dv(Dv({},e),{},{x:i(s),y:o(s)})}return e})),n.renderAreaStatically(f,c,e,t)}return i.createElement(me,null,i.createElement("defs",null,i.createElement("clipPath",{id:"animationClipPath-".concat(t)},n.renderClipRect(s))),i.createElement(me,{clipPath:"url(#animationClipPath-".concat(t,")")},n.renderAreaStatically(o,a,e,t)))}))}},{key:"renderArea",value:function(e,t){var n=this.props,r=n.points,i=n.baseLine,o=n.isAnimationActive,a=this.state,s=a.prevPoints,c=a.prevBaseLine,l=a.totalLength;return o&&r&&r.length&&(!s&&l>0||!Ws()(s,r)||!Ws()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,o=t.points,s=t.className,c=t.top,l=t.left,f=t.xAxis,h=t.yAxis,d=t.width,p=t.height,g=t.isAnimationActive,m=t.id;if(n||!o||!o.length)return null;var v=this.state.isAnimationFinished,y=1===o.length,b=a("recharts-area",s),_=f&&f.allowDataOverflow,w=h&&h.allowDataOverflow,x=_||w,S=u()(m)?this.id:m,E=null!==(e=ie(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},k=E.r,O=void 0===k?3:k,C=E.strokeWidth,A=void 0===C?2:C,T=(ne(r)?r:{}).clipDot,P=void 0===T||T,D=2*O+A;return i.createElement(me,{className:b},_||w?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(S)},i.createElement("rect",{x:_?l:l-d/2,y:w?c:c-p/2,width:_?d:2*d,height:w?p:2*p})),!P&&i.createElement("clipPath",{id:"clipPath-dots-".concat(S)},i.createElement("rect",{x:l-D/2,y:c-D/2,width:d+D,height:p+D}))):null,y?null:this.renderArea(x,S),(r||y)&&this.renderDots(x,P,S),(!g||v)&&fu.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],r&&Mv(n.prototype,r),o&&Mv(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);function zv(e){return zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zv(e)}function Uv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Kv(r.key),r)}}function Hv(e,t,n){return t=$v(t),function(e,t){if(t&&("object"===zv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qv()?Reflect.construct(t,n||[],$v(e).constructor):t.apply(e,n))}function qv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qv=function(){return!!e})()}function $v(e){return $v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$v(e)}function Wv(e,t){return Wv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wv(e,t)}function Vv(e,t,n){return(t=Kv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kv(e){var t=function(e,t){if("object"!=zv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zv(t)?t:t+""}Ev=Fv,Iv(Fv,"displayName","Area"),Iv(Fv,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),Iv(Fv,"getBaseValue",(function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,s=null!=a?a:o;if(E(s)&&"number"==typeof s)return s;var c="horizontal"===i?r:n,l=c.scale.domain();if("number"===c.type){var u=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===s?f:"dataMax"===s||u<0?u:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===s?l[0]:"dataMax"===s?l[1]:l[0]})),Iv(Fv,"getComposedData",(function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,s=e.yAxisTicks,c=e.bandSize,l=e.dataKey,u=e.stackedData,f=e.dataStartIndex,h=e.displayedData,d=e.offset,p=n.layout,g=u&&u.length,m=Ev.getBaseValue(n,r,i,o),v="horizontal"===p,y=!1,b=h.map((function(e,t){var n;g?n=u[f+t]:(n=Vc(e,l),Array.isArray(n)?y=!0:n=[m,n]);var r=null==n[1]||g&&null==Vc(e,l);return v?{x:ul({axis:i,ticks:a,bandSize:c,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:ul({axis:o,ticks:s,bandSize:c,entry:e,index:t}),value:n,payload:e}}));return t=g||y?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}})):v?o.scale(m):i.scale(m),Dv({points:b,baseLine:t,layout:p,isRange:y},d)})),Iv(Fv,"renderDotItem",(function(e,t){var n;if(i.isValidElement(e))n=i.cloneElement(e,t);else if(p()(e))n=e(t);else{var r=a("recharts-area-dot","boolean"!=typeof e?e.className:""),o=t.key,s=Av(t,Ov);n=i.createElement(Cf,Tv({},s,{key:o,className:r}))}return n}));var Gv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Hv(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wv(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return null}}])&&Uv(n.prototype,r),i&&Uv(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(i.Component);Vv(Gv,"displayName","ZAxis"),Vv(Gv,"defaultProps",{zAxisId:0,range:[64,64],scale:"auto",type:"number"});var Zv=["option","isActive"];function Yv(){return Yv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yv.apply(this,arguments)}function Xv(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Qv(e){var t=e.option,n=e.isActive,r=Xv(e,Zv);return"string"==typeof t?i.createElement(Qh,Yv({option:i.createElement(at,Yv({type:t},r)),isActive:n,shapeType:"symbols"},r)):i.createElement(Qh,Yv({option:t,isActive:n,shapeType:"symbols"},r))}function Jv(e){return Jv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jv(e)}function ey(){return ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ey.apply(this,arguments)}function ty(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ny(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ty(Object(n),!0).forEach((function(t){cy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ty(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ry(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ly(r.key),r)}}function iy(e,t,n){return t=ay(t),function(e,t){if(t&&("object"===Jv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oy()?Reflect.construct(t,n||[],ay(e).constructor):t.apply(e,n))}function oy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oy=function(){return!!e})()}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ay(e)}function sy(e,t){return sy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sy(e,t)}function cy(e,t,n){return(t=ly(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ly(e){var t=function(e,t){if("object"!=Jv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jv(t)?t:t+""}var uy=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return cy(e=iy(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),cy(e,"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0})})),cy(e,"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1})})),cy(e,"id",A("recharts-scatter-")),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sy(e,t)}(t,e),n=t,r=[{key:"renderSymbolsStatically",value:function(e){var t=this,n=this.props,r=n.shape,o=n.activeShape,a=n.activeIndex,s=ie(this.props,!1);return e.map((function(e,n){var c=a===n,l=c?o:r,u=ny(ny({},s),e);return i.createElement(me,ey({className:"recharts-scatter-symbol",key:"symbol-".concat(null==e?void 0:e.cx,"-").concat(null==e?void 0:e.cy,"-").concat(null==e?void 0:e.size,"-").concat(n)},U(t.props,e,n),{role:"img"}),i.createElement(Qv,ey({option:l,isActive:c,key:"symbol-".concat(n)},u)))}))}},{key:"renderSymbolsWithAnimation",value:function(){var e=this,t=this.props,n=t.points,r=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,c=t.animationId,l=this.state.prevPoints;return i.createElement(af.ZP,{begin:o,duration:a,isActive:r,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var r=t.t,o=n.map((function(e,t){var n=l&&l[t];if(n){var i=D(n.cx,e.cx),o=D(n.cy,e.cy),a=D(n.size,e.size);return ny(ny({},e),{},{cx:i(r),cy:o(r),size:a(r)})}var s=D(0,e.size);return ny(ny({},e),{},{size:s(r)})}));return i.createElement(me,null,e.renderSymbolsStatically(o))}))}},{key:"renderSymbols",value:function(){var e=this.props,t=e.points,n=e.isAnimationActive,r=this.state.prevPoints;return!(n&&t&&t.length)||r&&Ws()(r,t)?this.renderSymbolsStatically(t):this.renderSymbolsWithAnimation()}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,n=e.xAxis,r=e.yAxis,o=X(e.children,jc);return o?o.map((function(e,o){var a=e.props,s=a.direction,c=a.dataKey;return i.cloneElement(e,{key:"".concat(s,"-").concat(c,"-").concat(t[o]),data:t,xAxis:n,yAxis:r,layout:"x"===s?"vertical":"horizontal",dataPointFormatter:function(e,t){return{x:e.cx,y:e.cy,value:"x"===s?+e.node.x:+e.node.y,errorVal:Vc(e,t)}}})})):null}},{key:"renderLine",value:function(){var e,t,n=this.props,r=n.points,o=n.line,a=n.lineType,s=n.lineJointType,c=ie(this.props,!1),l=ie(o,!1);if("joint"===a)e=r.map((function(e){return{x:e.cx,y:e.cy}}));else if("fitting"===a){var u=function(e){if(!e||!e.length)return null;for(var t=e.length,n=0,r=0,i=0,o=0,a=1/0,s=-1/0,c=0,l=0,u=0;u<t;u++)n+=c=e[u].cx||0,r+=l=e[u].cy||0,i+=c*l,o+=c*c,a=Math.min(a,c),s=Math.max(s,c);var f=t*o!=n*n?(t*i-n*r)/(t*o-n*n):0;return{xmin:a,xmax:s,a:f,b:(r-f*n)/t}}(r),f=u.xmin,h=u.xmax,d=u.a,g=u.b,m=function(e){return d*e+g};e=[{x:f,y:m(f)},{x:h,y:m(h)}]}var v=ny(ny(ny({},c),{},{fill:"none",stroke:c&&c.fill},l),{},{points:e});return t=i.isValidElement(o)?i.cloneElement(o,v):p()(o)?o(v):i.createElement(of,ey({},v,{type:s})),i.createElement(me,{className:"recharts-scatter-line",key:"recharts-scatter-line"},t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.points,r=e.line,o=e.className,s=e.xAxis,c=e.yAxis,l=e.left,f=e.top,h=e.width,d=e.height,p=e.id,g=e.isAnimationActive;if(t||!n||!n.length)return null;var m=this.state.isAnimationFinished,v=a("recharts-scatter",o),y=s&&s.allowDataOverflow,b=c&&c.allowDataOverflow,_=y||b,w=u()(p)?this.id:p;return i.createElement(me,{className:v,clipPath:_?"url(#clipPath-".concat(w,")"):null},y||b?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(w)},i.createElement("rect",{x:y?l:l-h/2,y:b?f:f-d/2,width:y?h:2*h,height:b?d:2*d}))):null,r&&this.renderLine(),this.renderErrorBar(),i.createElement(me,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!g||m)&&fu.renderCallByParent(this.props,n))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}}],r&&ry(n.prototype,r),o&&ry(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);function fy(e){return fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fy(e)}function hy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yy(r.key),r)}}function dy(e,t,n){return t=gy(t),function(e,t){if(t&&("object"===fy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,py()?Reflect.construct(t,n||[],gy(e).constructor):t.apply(e,n))}function py(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(py=function(){return!!e})()}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gy(e)}function my(e,t){return my=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},my(e,t)}function vy(e,t,n){return(t=yy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yy(e){var t=function(e,t){if("object"!=fy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=fy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fy(t)?t:t+""}function by(){return by=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},by.apply(this,arguments)}function _y(e){var t=e.xAxisId,n=Dg(),r=Mg(),o=kg(t);return null==o?null:i.createElement(Hm,by({},o,{className:a("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return Jc(e,!0)}}))}cy(uy,"displayName","Scatter"),cy(uy,"defaultProps",{xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"}),cy(uy,"getComposedData",(function(e){var t=e.xAxis,n=e.yAxis,r=e.zAxis,i=e.item,o=e.displayedData,a=e.xAxisTicks,s=e.yAxisTicks,c=e.offset,l=i.props.tooltipType,f=X(i.props.children,Rn),h=u()(t.dataKey)?i.props.dataKey:t.dataKey,d=u()(n.dataKey)?i.props.dataKey:n.dataKey,p=r&&r.dataKey,g=r?r.range:Gv.defaultProps.range,m=g&&g[0],v=t.scale.bandwidth?t.scale.bandwidth():0,y=n.scale.bandwidth?n.scale.bandwidth():0,b=o.map((function(e,o){var c=Vc(e,h),g=Vc(e,d),b=!u()(p)&&Vc(e,p)||"-",_=[{name:u()(t.dataKey)?i.props.name:t.name||t.dataKey,unit:t.unit||"",value:c,payload:e,dataKey:h,type:l},{name:u()(n.dataKey)?i.props.name:n.name||n.dataKey,unit:n.unit||"",value:g,payload:e,dataKey:d,type:l}];"-"!==b&&_.push({name:r.name||r.dataKey,unit:r.unit||"",value:b,payload:e,dataKey:p,type:l});var w=ul({axis:t,ticks:a,bandSize:v,entry:e,index:o,dataKey:h}),x=ul({axis:n,ticks:s,bandSize:y,entry:e,index:o,dataKey:d}),S="-"!==b?r.scale(b):m,E=Math.sqrt(Math.max(S,0)/Math.PI);return ny(ny({},e),{},{cx:w,cy:x,x:w-E,y:x-E,xAxis:t,yAxis:n,zAxis:r,width:2*E,height:2*E,size:S,node:{x:c,y:g,z:b},tooltipPayload:_,tooltipPosition:{x:w,y:x},payload:e},f&&f[o]&&f[o].props)}));return ny({points:b},c)}));var wy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),dy(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&my(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return i.createElement(_y,this.props)}}])&&hy(n.prototype,r),o&&hy(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function xy(e){return xy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xy(e)}function Sy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ty(r.key),r)}}function Ey(e,t,n){return t=Oy(t),function(e,t){if(t&&("object"===xy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ky()?Reflect.construct(t,n||[],Oy(e).constructor):t.apply(e,n))}function ky(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ky=function(){return!!e})()}function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oy(e)}function Cy(e,t){return Cy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cy(e,t)}function Ay(e,t,n){return(t=Ty(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ty(e){var t=function(e,t){if("object"!=xy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xy(t)?t:t+""}function Py(){return Py=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Py.apply(this,arguments)}vy(wy,"displayName","XAxis"),vy(wy,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});var Dy=function(e){var t=e.yAxisId,n=Dg(),r=Mg(),o=Ag(t);return null==o?null:i.createElement(Hm,Py({},o,{className:a("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return Jc(e,!0)}}))},My=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ey(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cy(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return i.createElement(Dy,this.props)}}])&&Sy(n.prototype,r),o&&Sy(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.Component);function Ry(e){return function(e){if(Array.isArray(e))return jy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return jy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jy(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Ay(My,"displayName","YAxis"),Ay(My,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var Ny=function(e,t,n,r,i){var o=X(e,Zg),a=X(e,sm),s=[].concat(Ry(o),Ry(a)),c=X(e,bm),l="".concat(r,"Id"),u=r[0],f=t;if(s.length&&(f=s.reduce((function(e,t){if(t.props[l]===n&&kp(t.props,"extendDomain")&&E(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),f)),c.length){var h="".concat(u,"1"),d="".concat(u,"2");f=c.reduce((function(e,t){if(t.props[l]===n&&kp(t.props,"extendDomain")&&E(t.props[h])&&E(t.props[d])){var r=t.props[h],i=t.props[d];return[Math.min(e[0],r,i),Math.max(e[1],r,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return E(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},Ly=n(26729),Iy=new(n.n(Ly)()),By="recharts.syncMouseEvents";function Fy(e){return Fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fy(e)}function zy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hy(r.key),r)}}function Uy(e,t,n){return(t=Hy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hy(e){var t=function(e,t){if("object"!=Fy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Fy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fy(t)?t:t+""}var qy=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Uy(this,"activeIndex",0),Uy(this,"coordinateList",[]),Uy(this,"layout","horizontal")},(t=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,i=e.container,o=void 0===i?null:i,a=e.layout,s=void 0===a?null:a,c=e.offset,l=void 0===c?null:c,u=e.mouseHandlerCallback,f=void 0===u?null:u;this.coordinateList=null!==(t=null!=r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,i=n.y,o=n.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,c=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,l=r+a+s,u=i+this.offset.top+o/2+c;this.mouseHandlerCallback({pageX:l,pageY:u})}}}])&&zy(e.prototype,t),n&&zy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function $y(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,o=e.endAngle;return{points:[Al(t,n,r,i),Al(t,n,r,o)],cx:t,cy:n,radius:r,startAngle:i,endAngle:o}}function Wy(e,t,n){var r,i,o,a;if("horizontal"===e)o=r=t.x,i=n.top,a=n.top+n.height;else if("vertical"===e)a=i=t.y,r=n.left,o=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return $y(t);var s=t.cx,c=t.cy,l=t.innerRadius,u=t.outerRadius,f=t.angle,h=Al(s,c,l,f),d=Al(s,c,u,f);r=h.x,i=h.y,o=d.x,a=d.y}return[{x:r,y:i},{x:o,y:a}]}function Vy(e){return Vy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vy(e)}function Ky(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ky(Object(n),!0).forEach((function(t){Zy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ky(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zy(e,t,n){return t=function(e){var t=function(e,t){if("object"!=Vy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Vy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vy(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yy(e){var t,n,r,o=e.element,s=e.tooltipEventType,c=e.isActive,l=e.activeCoordinate,u=e.activePayload,f=e.offset,h=e.activeTooltipIndex,d=e.tooltipAxisBandSize,p=e.layout,g=e.chartName,m=null!==(t=o.props.cursor)&&void 0!==t?t:null===(n=o.type.defaultProps)||void 0===n?void 0:n.cursor;if(!o||!m||!c||!l||"ScatterChart"!==g&&"axis"!==s)return null;var v=of;if("ScatterChart"===g)r=l,v=Nf;else if("BarChart"===g)r=function(e,t,n,r){var i=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-i,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(p,l,f,d),v=vf;else if("radial"===p){var y=$y(l),b=y.cx,_=y.cy,w=y.radius;r={cx:b,cy:_,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:w,outerRadius:w},v=Eu}else r={points:Wy(p,l,f)},v=of;var x=Gy(Gy(Gy(Gy({stroke:"#ccc",pointerEvents:"none"},f),r),ie(m,!1)),{},{payload:u,payloadIndex:h,className:a("recharts-tooltip-cursor",m.className)});return(0,i.isValidElement)(m)?(0,i.cloneElement)(m,x):(0,i.createElement)(v,x)}var Xy=["item"],Qy=["children","className","width","height","style","compact","title","desc"];function Jy(e){return Jy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jy(e)}function eb(){return eb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eb.apply(this,arguments)}function tb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||lb(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nb(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function rb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pb(r.key),r)}}function ib(e,t,n){return t=ab(t),function(e,t){if(t&&("object"===Jy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ob()?Reflect.construct(t,n||[],ab(e).constructor):t.apply(e,n))}function ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ob=function(){return!!e})()}function ab(e){return ab=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ab(e)}function sb(e,t){return sb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sb(e,t)}function cb(e){return function(e){if(Array.isArray(e))return ub(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lb(e,t){if(e){if("string"==typeof e)return ub(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ub(e,t):void 0}}function ub(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fb(Object(n),!0).forEach((function(t){db(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function db(e,t,n){return(t=pb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pb(e){var t=function(e,t){if("object"!=Jy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jy(t)?t:t+""}var gb={xAxis:["bottom","top"],yAxis:["left","right"]},mb={width:"100%",height:"100%"},vb={x:0,y:0};function yb(e){return e}var bb=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,i=t.dataEndIndex,o=(null!=n?n:[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(cb(e),cb(n)):e}),[]);return o.length>0?o:e&&e.length&&E(r)&&E(i)?e.slice(r,i+1):[]};function _b(e){return"number"===e?[0,"auto"]:void 0}var wb=function(e,t,n,r){var i=e.graphicalItems,o=e.tooltipAxis,a=bb(t,e);return n<0||!i||!i.length||n>=a.length?null:i.reduce((function(i,s){var c,l,u=null!==(c=s.props.data)&&void 0!==c?c:t;(u&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?l=M(void 0===u?a:u,o.dataKey,r):l=u&&u[n]||a[n];return l?[].concat(cb(i),[bl(s,l)]):i}
vendor: 33,450 bytes, line 2
2),[])},xb=function(e,t,n,r){var i=r||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,c=e.tooltipTicks,l=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,c=0;c<a;c++){var l=c>0?r[c-1].coordinate:r[a-1].coordinate,u=r[c].coordinate,f=c>=a-1?r[0].coordinate:r[c+1].coordinate,h=void 0;if(x(u-l)!==x(f-u)){var d=[];if(x(f-u)===x(s[1]-s[0])){h=f;var p=u+s[1]-s[0];d[0]=Math.min(p,(p+l)/2),d[1]=Math.max(p,(p+l)/2)}else{h=l;var g=f+s[1]-s[0];d[0]=Math.min(u,(g+u)/2),d[1]=Math.max(u,(g+u)/2)}var m=[Math.min(u,(h+u)/2),Math.max(u,(h+u)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1]){o=r[c].index;break}}else{var v=Math.min(l,f),y=Math.max(l,f);if(e>(v+u)/2&&e<=(y+u)/2){o=r[c].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){o=n[b].index;break}return o}(o,a,c,s);if(l>=0&&c){var u=c[l]&&c[l].value,f=wb(e,t,l,u),h=function(e,t,n,r){var i=t.find((function(e){return e&&e.index===n}));if(i){if("horizontal"===e)return{x:i.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=r.radius;return hb(hb(hb({},r),Al(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,c=r.angle;return hb(hb(hb({},r),Al(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return vb}(n,a,l,i);return{activeTooltipIndex:l,activeLabel:u,activePayload:f,activeCoordinate:h}}return null},Sb=function(e,t){var n=t.axes,r=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,f=e.children,h=e.stackOffset,d=Xc(l,i);return n.reduce((function(t,n){var p,g=void 0!==n.type.defaultProps?hb(hb({},n.type.defaultProps),n.props):n.props,m=g.type,v=g.dataKey,y=g.allowDataOverflow,b=g.allowDuplicatedCategory,_=g.scale,w=g.ticks,x=g.includeHidden,S=g[o];if(t[S])return t;var k,O,C,A=bb(e.data,{graphicalItems:r.filter((function(e){var t;return(o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o])===S})),dataStartIndex:s,dataEndIndex:c}),T=A.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null==e?void 0:e[0],i=null==e?void 0:e[1];if(r&&i&&E(r)&&E(i))return!0}return!1})(g.domain,y,m)&&(k=ml(g.domain,null,y),!d||"number"!==m&&"auto"===_||(C=Kc(A,v,"category")));var P=_b(m);if(!k||0===k.length){var D,M=null!==(D=g.domain)&&void 0!==D?D:P;if(v){if(k=Kc(A,v,m),"category"===m&&d){var R=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(k);b&&R?(O=k,k=ip()(0,T)):b||(k=yl(M,k,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(cb(e),[t])}),[]))}else if("category"===m)k=b?k.filter((function(e){return""!==e&&!u()(e)})):yl(M,k,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||u()(t)?e:[].concat(cb(e),[t])}),[]);else if("number"===m){var j=function(e,t,n,r,i){var o=t.map((function(t){return Zc(e,t,n,i,r)})).filter((function(e){return!u()(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(A,r.filter((function(e){var t,n,r=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===S&&(x||!i)})),v,i,l);j&&(k=j)}!d||"number"!==m&&"auto"===_||(C=Kc(A,v,"category"))}else k=d?ip()(0,T):a&&a[S]&&a[S].hasStack&&"number"===m?"expand"===h?[0,1]:dl(a[S].stackGroups,s,c):Yc(A,r.filter((function(e){var t=o in e.props?e.props[o]:e.type.defaultProps[o],n="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===S&&(x||!n)})),m,l,!0);if("number"===m)k=Ny(f,k,S,i,w),M&&(k=ml(M,k,y));else if("category"===m&&M){var N=M;k.every((function(e){return N.indexOf(e)>=0}))&&(k=N)}}return hb(hb({},t),{},db({},S,hb(hb({},g),{},{axisType:i,domain:k,categoricalDomain:C,duplicateDomain:O,originalDomain:null!==(p=g.domain)&&void 0!==p?p:P,isCategorical:d,layout:l})))}),{})},Eb=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.children,f="".concat(r,"Id"),h=X(u,i),d={};return h&&h.length?d=Sb(e,{axes:h,graphicalItems:o,axisType:r,axisIdKey:f,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):o&&o.length&&(d=function(e,t){var n=t.graphicalItems,r=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,h=bb(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),d=h.length,p=Xc(u,i),g=-1;return n.reduce((function(e,t){var m,v=(void 0!==t.type.defaultProps?hb(hb({},t.type.defaultProps),t.props):t.props)[o],y=_b("number");return e[v]?e:(g++,p?m=ip()(0,d):a&&a[v]&&a[v].hasStack?(m=dl(a[v].stackGroups,s,l),m=Ny(f,m,v,i)):(m=ml(y,Yc(h,n.filter((function(e){var t,n,r=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===v&&!i})),"number",u),r.defaultProps.allowDataOverflow),m=Ny(f,m,v,i)),hb(hb({},e),{},db({},v,hb(hb({axisType:i},r.defaultProps),{},{hide:!0,orientation:c()(gb,"".concat(i,".").concat(g%2),null),domain:m,originalDomain:y,isCategorical:p,layout:u}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:f,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),d},kb=function(e){var t=e.children,n=e.defaultShowTooltip,r=Q(t,xp),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(i=r.props.startIndex),r.props.endIndex>=0&&(o=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},Ob=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Cb=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),i=void 0===r?{}:r,o=e.yAxisMap,a=void 0===o?{}:o,s=n.width,l=n.height,u=n.children,f=n.margin||{},h=Q(u,xp),d=Q(u,Nt),p=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:hb(hb({},e),{},db({},r,e[r]+n.width))}),{left:f.left||0,right:f.right||0}),g=Object.keys(i).reduce((function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:hb(hb({},e),{},db({},r,c()(e,"".concat(r))+n.height))}),{top:f.top||0,bottom:f.bottom||0}),m=hb(hb({},g),p),v=m.bottom;h&&(m.bottom+=h.props.height||xp.defaultProps.height),d&&t&&(m=function(e,t,n,r){var i=n.children,o=n.width,a=n.margin,s=o-(a.left||0)-(a.right||0),c=Fc({children:i,legendWidth:s});if(c){var l=r||{},u=l.width,f=l.height,h=c.align,d=c.verticalAlign,p=c.layout;if(("vertical"===p||"horizontal"===p&&"middle"===d)&&"center"!==h&&E(e[h]))return $c($c({},e),{},Wc({},h,e[h]+(u||0)));if(("horizontal"===p||"vertical"===p&&"center"===h)&&"middle"!==d&&E(e[d]))return $c($c({},e),{},Wc({},d,e[d]+(f||0)))}return e}(m,0,n,t));var y=s-m.left-m.right,b=l-m.top-m.bottom;return hb(hb({brushBottom:v},m),{},{width:Math.max(y,0),height:Math.max(b,0)})},Ab=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},Tb=function(e){var t=e.chartName,n=e.GraphicalChild,r=e.defaultTooltipEventType,o=void 0===r?"axis":r,s=e.validateTooltipEventTypes,l=void 0===s?["axis"]:s,f=e.axisComponents,h=e.legendContent,d=e.formatAxisMap,g=e.defaultProps,m=function(e,t){var n=t.graphicalItems,r=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,s=t.dataEndIndex,c=e.barSize,l=e.layout,h=e.barGap,d=e.barCategoryGap,p=e.maxBarSize,g=Ob(l),m=g.numericAxisName,v=g.cateAxisName,y=function(e){return!(!e||!e.length)&&e.some((function(e){var t=K(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),b=[];return n.forEach((function(n,g){var _=bb(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:s}),w=void 0!==n.type.defaultProps?hb(hb({},n.type.defaultProps),n.props):n.props,x=w.dataKey,S=w.maxBarSize,E=w["".concat(m,"Id")],k=w["".concat(v,"Id")],C=f.reduce((function(e,n){var r=t["".concat(n.axisType,"Map")],i=w["".concat(n.axisType,"Id")];r&&r[i]||"zAxis"===n.axisType||(0,_c.Z)(!1);var o=r[i];return hb(hb({},e),{},db(db({},n.axisType,o),"".concat(n.axisType,"Ticks"),Jc(o)))}),{}),A=C[v],P=C["".concat(v,"Ticks")],D=r&&r[E]&&r[E].hasStack&&function(e,t){var n,r=(null!==(n=e.type)&&void 0!==n&&n.defaultProps?$c($c({},e.type.defaultProps),e.props):e.props).stackId;if(O(r)){var i=t[r];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null}(n,r[E].stackGroups),M=K(n.type).indexOf("Bar")>=0,R=vl(A,P),j=[],N=y&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,i=void 0===r?{}:r;if(!i)return{};for(var o={},a=Object.keys(i),s=0,c=a.length;s<c;s++)for(var l=i[a[s]].stackGroups,f=Object.keys(l),h=0,d=f.length;h<d;h++){var p=l[f[h]],g=p.items,m=p.cateAxisId,v=g.filter((function(e){return K(e.type).indexOf("Bar")>=0}));if(v&&v.length){var y=v[0].type.defaultProps,b=void 0!==y?$c($c({},y),v[0].props):v[0].props,_=b.barSize,w=b[m];o[w]||(o[w]=[]);var x=u()(_)?t:_;o[w].push({item:v[0],stackList:v.slice(1),barSize:u()(x)?void 0:T(x,n,0)})}}return o}({barSize:c,stackGroups:r,totalSize:Ab(C,v)});if(M){var L,I,B=u()(S)?p:S,F=null!==(L=null!==(I=vl(A,P,!0))&&void 0!==I?I:B)&&void 0!==L?L:0;j=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,s=o.length;if(s<1)return null;var c,l=T(t,r,0,!0),u=[];if(o[0].barSize===+o[0].barSize){var f=!1,h=r/s,d=o.reduce((function(e,t){return e+t.barSize||0}),0);(d+=(s-1)*l)>=r&&(d-=(s-1)*l,l=0),d>=r&&h>0&&(f=!0,d=s*(h*=.9));var p={offset:((r-d)/2>>0)-l,size:0};c=o.reduce((function(e,t){var n={item:t.item,position:{offset:p.offset+p.size+l,size:f?h:t.barSize}},r=[].concat(Uc(e),[n]);return p=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:p})})),r}),u)}else{var g=T(n,r,0,!0);r-2*g-(s-1)*l<=0&&(l=0);var m=(r-2*g-(s-1)*l)/s;m>1&&(m>>=0);var v=a===+a?Math.min(m,a):m;c=o.reduce((function(e,t,n){var r=[].concat(Uc(e),[{item:t.item,position:{offset:g+(m+l)*n+(m-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return c}({barGap:h,barCategoryGap:d,bandSize:F!==R?F:R,sizeList:N[k],maxBarSize:B}),F!==R&&(j=j.map((function(e){return hb(hb({},e),{},{position:hb(hb({},e.position),{},{offset:e.position.offset-F/2})})})))}var z,U,H=n&&n.type&&n.type.getComposedData;H&&b.push({props:hb(hb({},H(hb(hb({},C),{},{displayedData:_,props:e,dataKey:x,item:n,bandSize:R,barPosition:j,offset:i,stackedData:D,layout:l,dataStartIndex:a,dataEndIndex:s}))),{},db(db(db({key:n.key||"item-".concat(g)},m,C[m]),v,C[v]),"animationId",o)),childIndex:(z=n,U=e.children,Y(U).indexOf(z)),item:n})})),b},v=function(e,r){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,s=e.updateId;if(!J({props:i}))return null;var c=i.children,l=i.layout,u=i.stackOffset,h=i.data,p=i.reverseStackOrder,g=Ob(l),v=g.numericAxisName,y=g.cateAxisName,b=X(c,n),_=function(e,t,n,r,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i,o=null!==(i=t.type)&&void 0!==i&&i.defaultProps?$c($c({},t.type.defaultProps),t.props):t.props,a=o.stackId;if(o.hide)return e;var s=o[n],c=e[s]||{hasStack:!1,stackGroups:{}};if(O(a)){var l=c.stackGroups[a]||{numericAxisId:n,cateAxisId:r,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[a]=l}else c.stackGroups[A("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return $c($c({},e),{},Wc({},s,c))}),{});return Object.keys(a).reduce((function(t,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(t,o){var a=s.stackGroups[o];return $c($c({},t),{},Wc({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:cl(e,a.items,i)}))}),{})),$c($c({},t),{},Wc({},o,s))}),{})}(h,b,"".concat(v,"Id"),"".concat(y,"Id"),u,p),w=f.reduce((function(e,t){var n="".concat(t.axisType,"Map");return hb(hb({},e),{},db({},n,Eb(i,hb(hb({},t),{},{graphicalItems:b,stackGroups:t.axisType===v&&_,dataStartIndex:o,dataEndIndex:a}))))}),{}),x=Cb(hb(hb({},w),{},{props:i,graphicalItems:b}),null==r?void 0:r.legendBBox);Object.keys(w).forEach((function(e){w[e]=d(i,w[e],x,e.replace("Map",""),t)}));var S,E,k=w["".concat(y,"Map")],C=(S=P(k),{tooltipTicks:E=Jc(S,!1,!0),orderedTooltipTicks:It()(E,(function(e){return e.coordinate})),tooltipAxis:S,tooltipAxisBandSize:vl(S,E)}),T=m(i,hb(hb({},w),{},{dataStartIndex:o,dataEndIndex:a,updateId:s,graphicalItems:b,stackGroups:_,offset:x}));return hb(hb({formattedGraphicalItems:T,graphicalItems:b,offset:x,stackGroups:_},C),w)},y=function(e){function n(e){var r,o,s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),db(s=ib(this,n,[e]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),db(s,"accessibilityManager",new qy),db(s,"handleLegendBBoxUpdate",(function(e){if(e){var t=s.state,n=t.dataStartIndex,r=t.dataEndIndex,i=t.updateId;s.setState(hb({legendBBox:e},v({props:s.props,dataStartIndex:n,dataEndIndex:r,updateId:i},hb(hb({},s.state),{},{legendBBox:e}))))}})),db(s,"handleReceiveSyncEvent",(function(e,t,n){if(s.props.syncId===e){if(n===s.eventEmitterSymbol&&"function"!=typeof s.props.syncMethod)return;s.applySyncEvent(t)}})),db(s,"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==s.state.dataStartIndex||n!==s.state.dataEndIndex){var r=s.state.updateId;s.setState((function(){return hb({dataStartIndex:t,dataEndIndex:n},v({props:s.props,dataStartIndex:t,dataEndIndex:n,updateId:r},s.state))})),s.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),db(s,"handleMouseEnter",(function(e){var t=s.getMouseInfo(e);if(t){var n=hb(hb({},t),{},{isTooltipActive:!0});s.setState(n),s.triggerSyncEvent(n);var r=s.props.onMouseEnter;p()(r)&&r(n,e)}})),db(s,"triggeredAfterMouseMove",(function(e){var t=s.getMouseInfo(e),n=t?hb(hb({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};s.setState(n),s.triggerSyncEvent(n);var r=s.props.onMouseMove;p()(r)&&r(n,e)})),db(s,"handleItemMouseEnter",(function(e){s.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),db(s,"handleItemMouseLeave",(function(){s.setState((function(){return{isTooltipActive:!1}}))})),db(s,"handleMouseMove",(function(e){e.persist(),s.throttleTriggeredAfterMouseMove(e)})),db(s,"handleMouseLeave",(function(e){s.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};s.setState(t),s.triggerSyncEvent(t);var n=s.props.onMouseLeave;p()(n)&&n(t,e)})),db(s,"handleOuterEvent",(function(e){var t,n=ce(e),r=c()(s.props,"".concat(n));n&&p()(r)&&r(null!==(t=/.*touch.*/i.test(n)?s.getMouseInfo(e.changedTouches[0]):s.getMouseInfo(e))&&void 0!==t?t:{},e)})),db(s,"handleClick",(function(e){var t=s.getMouseInfo(e);if(t){var n=hb(hb({},t),{},{isTooltipActive:!0});s.setState(n),s.triggerSyncEvent(n);var r=s.props.onClick;p()(r)&&r(n,e)}})),db(s,"handleMouseDown",(function(e){var t=s.props.onMouseDown;p()(t)&&t(s.getMouseInfo(e),e)})),db(s,"handleMouseUp",(function(e){var t=s.props.onMouseUp;p()(t)&&t(s.getMouseInfo(e),e)})),db(s,"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&s.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),db(s,"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&s.handleMouseDown(e.changedTouches[0])})),db(s,"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&s.handleMouseUp(e.changedTouches[0])})),db(s,"handleDoubleClick",(function(e){var t=s.props.onDoubleClick;p()(t)&&t(s.getMouseInfo(e),e)})),db(s,"handleContextMenu",(function(e){var t=s.props.onContextMenu;p()(t)&&t(s.getMouseInfo(e),e)})),db(s,"triggerSyncEvent",(function(e){void 0!==s.props.syncId&&Iy.emit(By,s.props.syncId,e,s.eventEmitterSymbol)})),db(s,"applySyncEvent",(function(e){var t=s.props,n=t.layout,r=t.syncMethod,i=s.state.updateId,o=e.dataStartIndex,a=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)s.setState(hb({dataStartIndex:o,dataEndIndex:a},v({props:s.props,dataStartIndex:o,dataEndIndex:a,updateId:i},s.state)));else if(void 0!==e.activeTooltipIndex){var c=e.chartX,l=e.chartY,u=e.activeTooltipIndex,f=s.state,h=f.offset,d=f.tooltipTicks;if(!h)return;if("function"==typeof r)u=r(d,e);else if("value"===r){u=-1;for(var p=0;p<d.length;p++)if(d[p].value===e.activeLabel){u=p;break}}var g=hb(hb({},h),{},{x:h.left,y:h.top}),m=Math.min(c,g.x+g.width),y=Math.min(l,g.y+g.height),b=d[u]&&d[u].value,_=wb(s.state,s.props.data,u),w=d[u]?{x:"horizontal"===n?d[u].coordinate:m,y:"horizontal"===n?y:d[u].coordinate}:vb;s.setState(hb(hb({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:_,activeTooltipIndex:u}))}else s.setState(e)})),db(s,"renderCursor",(function(e){var n,r=s.state,o=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,l=r.offset,u=r.activeTooltipIndex,f=r.tooltipAxisBandSize,h=s.getTooltipEventType(),d=null!==(n=e.props.active)&&void 0!==n?n:o,p=s.props.layout,g=e.key||"_recharts-cursor";return i.createElement(Yy,{key:g,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:t,element:e,isActive:d,layout:p,offset:l,tooltipAxisBandSize:f,tooltipEventType:h})})),db(s,"renderPolarAxis",(function(e,t,n){var r=c()(e,"type.axisType"),o=c()(s.state,"".concat(r,"Map")),l=e.type.defaultProps,u=void 0!==l?hb(hb({},l),e.props):e.props,f=o&&o[u["".concat(r,"Id")]];return(0,i.cloneElement)(e,hb(hb({},f),{},{className:a(r,f.className),key:e.key||"".concat(t,"-").concat(n),ticks:Jc(f,!0)}))})),db(s,"renderPolarGrid",(function(e){var t=e.props,n=t.radialLines,r=t.polarAngles,o=t.polarRadius,a=s.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=P(c),f=P(l),h=f.cx,d=f.cy,p=f.innerRadius,g=f.outerRadius;return(0,i.cloneElement)(e,{polarAngles:Array.isArray(r)?r:Jc(f,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(o)?o:Jc(u,!0).map((function(e){return e.coordinate})),cx:h,cy:d,innerRadius:p,outerRadius:g,key:e.key||"polar-grid",radialLines:n})})),db(s,"renderLegend",(function(){var e=s.state.formattedGraphicalItems,t=s.props,n=t.children,r=t.width,o=t.height,a=s.props.margin||{},c=r-(a.left||0)-(a.right||0),l=Fc({children:n,formattedGraphicalItems:e,legendWidth:c,legendContent:h});if(!l)return null;var u=l.item,f=nb(l,Xy);return(0,i.cloneElement)(u,hb(hb({},f),{},{chartWidth:r,chartHeight:o,margin:a,onBBoxUpdate:s.handleLegendBBoxUpdate}))})),db(s,"renderTooltip",(function(){var e,t=s.props,n=t.children,r=t.accessibilityLayer,o=Q(n,Sn);if(!o)return null;var a=s.state,c=a.isTooltipActive,l=a.activeCoordinate,u=a.activePayload,f=a.activeLabel,h=a.offset,d=null!==(e=o.props.active)&&void 0!==e?e:c;return(0,i.cloneElement)(o,{viewBox:hb(hb({},h),{},{x:h.left,y:h.top}),active:d,label:f,payload:d?u:[],coordinate:l,accessibilityLayer:r})})),db(s,"renderBrush",(function(e){var t=s.props,n=t.margin,r=t.data,o=s.state,a=o.offset,c=o.dataStartIndex,l=o.dataEndIndex,u=o.updateId;return(0,i.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:tl(s.handleBrushChange,e.props.onChange),data:r,x:E(e.props.x)?e.props.x:a.left,y:E(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:E(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),db(s,"renderReferenceElement",(function(e,t,n){if(!e)return null;var r=s.clipPathId,o=s.state,a=o.xAxisMap,c=o.yAxisMap,l=o.offset,u=e.type.defaultProps||{},f=e.props,h=f.xAxisId,d=void 0===h?u.xAxisId:h,p=f.yAxisId,g=void 0===p?u.yAxisId:p;return(0,i.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(n),xAxis:a[d],yAxis:c[g],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:r})})),db(s,"renderActivePoints",(function(e){var t=e.item,r=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,s=[],c=t.props.key,l=void 0!==t.item.type.defaultProps?hb(hb({},t.item.type.defaultProps),t.item.props):t.item.props,u=l.activeDot,f=hb(hb({index:o,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:Gc(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},ie(u,!1)),z(u));return s.push(n.renderActiveDot(u,f,"".concat(c,"-activePoint-").concat(o))),i?s.push(n.renderActiveDot(u,hb(hb({},f),{},{cx:i.x,cy:i.y}),"".concat(c,"-basePoint-").concat(o))):a&&s.push(null),s})),db(s,"renderGraphicChild",(function(e,t,n){var r=s.filterFormatItem(e,t,n);if(!r)return null;var o=s.getTooltipEventType(),a=s.state,c=a.isTooltipActive,l=a.tooltipAxis,f=a.activeTooltipIndex,h=a.activeLabel,d=Q(s.props.children,Sn),p=r.props,g=p.points,m=p.isRange,v=p.baseLine,y=void 0!==r.item.type.defaultProps?hb(hb({},r.item.type.defaultProps),r.item.props):r.item.props,b=y.activeDot,_=y.hide,w=y.activeBar,x=y.activeShape,S=Boolean(!_&&c&&d&&(b||w||x)),E={};"axis"!==o&&d&&"click"===d.props.trigger?E={onClick:tl(s.handleItemMouseEnter,e.props.onClick)}:"axis"!==o&&(E={onMouseLeave:tl(s.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:tl(s.handleItemMouseEnter,e.props.onMouseEnter)});var k=(0,i.cloneElement)(e,hb(hb({},r.props),E));if(S){if(!(f>=0)){var O,C=(null!==(O=s.getItemByXY(s.state.activeCoordinate))&&void 0!==O?O:{graphicalItem:k}).graphicalItem,A=C.item,T=void 0===A?e:A,P=C.childIndex,D=hb(hb(hb({},r.props),E),{},{activeIndex:P});return[(0,i.cloneElement)(T,D),null,null]}var R,j;if(l.dataKey&&!l.allowDuplicatedCategory){var N="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());R=M(g,N,h),j=m&&v&&M(v,N,h)}else R=null==g?void 0:g[f],j=m&&v&&v[f];if(x||w){var L=void 0!==e.props.activeIndex?e.props.activeIndex:f;return[(0,i.cloneElement)(e,hb(hb(hb({},r.props),E),{},{activeIndex:L})),null,null]}if(!u()(R))return[k].concat(cb(s.renderActivePoints({item:r,activePoint:R,basePoint:j,childIndex:f,isRange:m})))}return m?[k,null,null]:[k,null]})),db(s,"renderCustomized",(function(e,t,n){return(0,i.cloneElement)(e,hb(hb({key:"recharts-customized-".concat(n)},s.props),s.state))})),db(s,"renderMap",{CartesianGrid:{handler:yb,once:!0},ReferenceArea:{handler:s.renderReferenceElement},ReferenceLine:{handler:yb},ReferenceDot:{handler:s.renderReferenceElement},XAxis:{handler:yb},YAxis:{handler:yb},Brush:{handler:s.renderBrush,once:!0},Bar:{handler:s.renderGraphicChild},Line:{handler:s.renderGraphicChild},Area:{handler:s.renderGraphicChild},Radar:{handler:s.renderGraphicChild},RadialBar:{handler:s.renderGraphicChild},Scatter:{handler:s.renderGraphicChild},Pie:{handler:s.renderGraphicChild},Funnel:{handler:s.renderGraphicChild},Tooltip:{handler:s.renderCursor,once:!0},PolarGrid:{handler:s.renderPolarGrid,once:!0},PolarAngleAxis:{handler:s.renderPolarAxis},PolarRadiusAxis:{handler:s.renderPolarAxis},Customized:{handler:s.renderCustomized}}),s.clipPathId="".concat(null!==(r=e.id)&&void 0!==r?r:A("recharts"),"-clip"),s.throttleTriggeredAfterMouseMove=kn()(s.triggeredAfterMouseMove,null!==(o=e.throttleDelay)&&void 0!==o?o:1e3/60),s.state={},s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sb(e,t)}(n,e),r=n,s=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,i=e.layout,o=Q(t,Sn);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=wb(this.state,n,a,s),l=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,f="horizontal"===i?{x:l,y:u}:{y:l,x:u},h=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));h&&(f=hb(hb({},f),h.props.points[a].tooltipPosition),c=h.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:c,activeCoordinate:f};this.setState(d),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){oe([Q(e.children,Sn)],[Q(this.props.children,Sn)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Q(this.props.children,Sn);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return l.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,n=this.container,r=n.getBoundingClientRect(),i={top:(t=r).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=r.width/n.offsetWidth||1,s=this.inRange(o.chartX,o.chartY,a);if(!s)return null;var c=this.state,l=c.xAxisMap,u=c.yAxisMap,f=this.getTooltipEventType(),h=xb(this.state,this.props.data,this.props.layout,s);if("axis"!==f&&l&&u){var d=P(l).scale,p=P(u).scale,g=d&&d.invert?d.invert(o.chartX):null,m=p&&p.invert?p.invert(o.chartY):null;return hb(hb({},o),{},{xValue:g,yValue:m},h)}return h?hb(hb({},o),h):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,i=e/n,o=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var s=this.state,c=s.angleAxisMap,l=s.radiusAxisMap;if(c&&l){var u=P(c);return Rl({x:i,y:o},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=Q(e,Sn),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),hb(hb({},z(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Iy.on(By,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Iy.removeListener(By,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===e||a.props.key===e.key||t===K(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,r=t.top,o=t.height,a=t.width;return i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("rect",{x:n,y:r,height:o,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=tb(t,2),r=n[0],i=n[1];return hb(hb({},e),{},db({},r,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=tb(t,2),r=n[0],i=n[1];return hb(hb({},e),{},db({},r,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a.props,c=a.item,l=void 0!==c.type.defaultProps?hb(hb({},c.type.defaultProps),c.props):c.props,u=K(c.type);if("Bar"===u){var f=(s.data||[]).find((function(t){return gf(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===u){var h=(s.data||[]).find((function(t){return Rl(e,t)}));if(h)return{graphicalItem:a,payload:h}}else if(Jh(a,r)||ed(a,r)||td(a,r)){var d=od({graphicalItem:a,activeTooltipItem:r,itemData:l.data}),p=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:hb(hb({},a),{},{childIndex:p}),payload:td(a,r)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var e=this;if(!J(this))return null;var t,n,r=this.props,o=r.children,s=r.className,c=r.width,l=r.height,u=r.style,f=r.compact,h=r.title,d=r.desc,p=nb(r,Qy),g=ie(p,!1);if(f)return i.createElement(Sg,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i.createElement(he,eb({},g,{width:c,height:l,title:h,desc:d}),this.renderClipPath(),se(o,this.renderMap)));this.props.accessibilityLayer&&(g.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,g.role=null!==(n=this.props.role)&&void 0!==n?n:"application",g.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},g.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return i.createElement(Sg,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i.createElement("div",eb({className:a("recharts-wrapper",s),style:hb({position:"relative",cursor:"default",width:c,height:l},u)},m,{ref:function(t){e.container=t}}),i.createElement(he,eb({},g,{width:c,height:l,title:h,desc:d,style:mb}),this.renderClipPath(),se(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],s&&rb(r.prototype,s),f&&rb(r,f),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,s,f}(i.Component);db(y,"displayName",t),db(y,"defaultProps",hb({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},g)),db(y,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,i=e.children,o=e.width,a=e.height,s=e.layout,c=e.stackOffset,l=e.margin,f=t.dataStartIndex,h=t.dataEndIndex;if(void 0===t.updateId){var d=kb(e);return hb(hb(hb({},d),{},{updateId:0},v(hb(hb({props:e},d),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:c,prevMargin:l,prevChildren:i})}if(n!==t.prevDataKey||r!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||s!==t.prevLayout||c!==t.prevStackOffset||!j(l,t.prevMargin)){var p=kb(e),g={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},m=hb(hb({},xb(t,r,s)),{},{updateId:t.updateId+1}),y=hb(hb(hb({},p),g),m);return hb(hb(hb({},y),v(hb({props:e},y),t)),{},{prevDataKey:n,prevData:r,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:c,prevMargin:l,prevChildren:i})}if(!oe(i,t.prevChildren)){var b,_,w,x,S=Q(i,xp),E=S&&null!==(b=null===(_=S.props)||void 0===_?void 0:_.startIndex)&&void 0!==b?b:f,k=S&&null!==(w=null===(x=S.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:h,O=E!==f||k!==h,C=!u()(r)&&!O?t.updateId:t.updateId+1;return hb(hb({updateId:C},v(hb(hb({props:e},t),{},{updateId:C,dataStartIndex:E,dataEndIndex:k}),t)),{},{prevChildren:i,dataStartIndex:E,dataEndIndex:k})}return null})),db(y,"renderActiveDot",(function(e,t,n){var r;return r=(0,i.isValidElement)(e)?(0,i.cloneElement)(e,t):p()(e)?e(t):i.createElement(Cf,t),i.createElement(me,{className:"recharts-active-dot",key:n},r)}));var b=(0,i.forwardRef)((function(e,t){return i.createElement(y,eb({},e,{ref:t}))}));return b.displayName=y.displayName,b},Pb=Tb({chartName:"LineChart",GraphicalChild:Sv,axisComponents:[{axisType:"xAxis",AxisComp:wy},{axisType:"yAxis",AxisComp:My}],formatAxisMap:ag}),Db=Tb({chartName:"BarChart",GraphicalChild:Jp,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:wy},{axisType:"yAxis",AxisComp:My}],formatAxisMap:ag}),Mb=Tb({chartName:"PieChart",GraphicalChild:vd,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:Ch},{axisType:"radiusAxis",AxisComp:dh}],formatAxisMap:Pl,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}
2),Rb=n(57557),jb=n.n(Rb),Nb=["#1890FF","#66B5FF","#41D9C7","#2FC25B","#6EDB8F","#9AE65C","#FACC14","#E6965C","#57AD71","#223273","#738AE6","#7564CC","#8543E0","#A877ED","#5C8EE6","#13C2C2","#70E0E0","#5CA3E6","#3436C7","#8082FF","#DD81E6","#F04864","#FA7D92","#D598D9"],Lb=["width","height","className","style","children","type"];function Ib(e){return Ib="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ib(e)}function Bb(){return Bb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bb.apply(this,arguments)}function Fb(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gb(r.key),r)}}function Ub(e,t,n){return t=qb(t),function(e,t){if(t&&("object"===Ib(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Hb()?Reflect.construct(t,n||[],qb(e).constructor):t.apply(e,n))}function Hb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hb=function(){return!!e})()}function qb(e){return qb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qb(e)}function $b(e,t){return $b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$b(e,t)}function Wb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wb(Object(n),!0).forEach((function(t){Kb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kb(e,t,n){return(t=Gb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gb(e){var t=function(e,t){if("object"!=Ib(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ib(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ib(t)?t:t+""}var Zb="value",Yb=function e(t){var n,r=t.depth,i=t.node,o=t.index,a=t.valueKey,s=i.children,c=r+1,l=s&&s.length?s.map((function(t,n){return e({depth:c,node:t,index:n,valueKey:a})})):null;return n=s&&s.length?l.reduce((function(e,t){return e+t[Zb]}),0):b()(i[a])||i[a]<=0?0:i[a],Vb(Vb({},i),{},Kb(Kb(Kb({children:l},Zb,n),"depth",r),"index",o))},Xb=function(e,t,n){var r=t*t,i=e.area*e.area,o=e.reduce((function(e,t){return{min:Math.min(e.min,t.area),max:Math.max(e.max,t.area)}}),{min:1/0,max:0}),a=o.min,s=o.max;return i?Math.max(r*s*n/i,i/(r*a*n)):1/0},Qb=function(e,t,n,r){return t===n.width?function(e,t,n,r){var i=t?Math.round(e.area/t):0;(r||i>n.height)&&(i=n.height);for(var o,a=n.x,s=0,c=e.length;s<c;s++)(o=e[s]).x=a,o.y=n.y,o.height=i,o.width=Math.min(i?Math.round(o.area/i):0,n.x+n.width-a),a+=o.width;return o.width+=n.x+n.width-a,Vb(Vb({},n),{},{y:n.y+i,height:n.height-i})}(e,t,n,r):function(e,t,n,r){var i=t?Math.round(e.area/t):0;(r||i>n.width)&&(i=n.width);for(var o,a=n.y,s=0,c=e.length;s<c;s++)(o=e[s]).x=n.x,o.y=a,o.width=i,o.height=Math.min(i?Math.round(o.area/i):0,n.y+n.height-a),a+=o.height;return o&&(o.height+=n.y+n.height-a),Vb(Vb({},n),{},{x:n.x+i,width:n.width-i})}(e,t,n,r)},Jb=function e(t,n){var r=t.children;if(r&&r.length){var i,o,a=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}(t),s=[],c=1/0,l=Math.min(a.width,a.height),u=function(e,t){var n=t<0?0:t;return e.map((function(e){var t=e[Zb]*n;return Vb(Vb({},e),{},{area:b()(t)||t<=0?0:t})}))}(r,a.width*a.height/t[Zb]),f=u.slice();for(s.area=0;f.length>0;)s.push(i=f[0]),s.area+=i.area,(o=Xb(s,l,n))<=c?(f.shift(),c=o):(s.area-=s.pop().area,a=Qb(s,l,a,!1),l=Math.min(a.width,a.height),s.length=s.area=0,c=1/0);return s.length&&(a=Qb(s,l,a,!0),s.length=s.area=0),Vb(Vb({},t),{},{children:u.map((function(t){return e(t,n)}))})}return t},e_={isTooltipActive:!1,isAnimationFinished:!1,activeNode:null,formatRoot:null,currentRoot:null,nestIndex:[]},t_=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Kb(e=Ub(this,t,[].concat(r)),"state",Vb({},e_)),Kb(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),p()(t)&&t()})),Kb(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),p()(t)&&t()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$b(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.data!==t.prevData||e.type!==t.prevType||e.width!==t.prevWidth||e.height!==t.prevHeight||e.dataKey!==t.prevDataKey||e.aspectRatio!==t.prevAspectRatio){var n=Yb({depth:0,node:{children:e.data,x:0,y:0,width:e.width,height:e.height},index:0,valueKey:e.dataKey}),r=Jb(n,e.aspectRatio);return Vb(Vb({},t),{},{formatRoot:r,currentRoot:n,nestIndex:[n],prevAspectRatio:e.aspectRatio,prevData:e.data,prevWidth:e.width,prevHeight:e.height,prevDataKey:e.dataKey,prevType:e.type})}return null}},{key:"renderContentItem",value:function(e,t,n,r){if(i.isValidElement(e))return i.cloneElement(e,t);if(p()(e))return e(t);var o=t.x,a=t.y,s=t.width,c=t.height,l=t.index,u=null;s>10&&c>10&&t.children&&"nest"===n&&(u=i.createElement(kf,{points:[{x:o+2,y:a+c/2},{x:o+6,y:a+c/2+3},{x:o+2,y:a+c/2+6}]}));var f=null,h=Hn(t.name);s>20&&c>20&&h.width<s&&h.height<c&&(f=i.createElement("text",{x:o+8,y:a+c/2+7,fontSize:14}
2,t.name));var d=r||Nb;return i.createElement("g",null,i.createElement(vf,Bb({fill:t.depth<2?d[l%d.length]:"rgba(255,255,255,0)",stroke:"#fff"},jb()(t,"children"),{role:"img"})),u,f)}}],(r=[{key:"handleMouseEnter",value:function(e,t){t.persist();var n=this.props,r=n.onMouseEnter;Q(n.children,Sn)?this.setState({isTooltipActive:!0,activeNode:e},(function(){r&&r(e,t)})):r&&r(e,t)}},{key:"handleMouseLeave",value:function(e,t){t.persist();var n=this.props,r=n.onMouseLeave;Q(n.children,Sn)?this.setState({isTooltipActive:!1,activeNode:null},(function(){r&&r(e,t)})):r&&r(e,t)}},{key:"handleClick",value:function(e){var t=this.props,n=t.onClick;if("nest"===t.type&&e.children){var r=this.props,i=r.width,o=r.height,a=r.dataKey,s=r.aspectRatio,c=Yb({depth:0,node:Vb(Vb({},e),{},{x:0,y:0,width:i,height:o}),index:0,valueKey:a}),l=Jb(c,s),u=this.state.nestIndex;u.push(e),this.setState({formatRoot:l,currentRoot:c,nestIndex:u})}n&&n(e)}},{key:"handleNestIndex",value:function(e,t){var n=this.state.nestIndex,r=this.props,i=r.width,o=r.height,a=r.dataKey,s=r.aspectRatio,c=Yb({depth:0,node:Vb(Vb({},e),{},{x:0,y:0,width:i,height:o}),index:0,valueKey:a}),l=Jb(c,s);n=n.slice(0,t+1),this.setState({formatRoot:l,currentRoot:e,nestIndex:n})}},{key:"renderItem",value:function(e,t,n){var r=this,o=this.props,a=o.isAnimationActive,s=o.animationBegin,c=o.animationDuration,l=o.animationEasing,u=o.isUpdateAnimationActive,f=o.type,h=o.animationId,d=o.colorPanel,p=this.state.isAnimationFinished,g=t.width,m=t.height,v=t.x,y=t.y,b=t.depth,_=parseInt("".concat((2*Math.random()-1)*g),10),w={};return(n||"nest"===f)&&(w={onMouseEnter:this.handleMouseEnter.bind(this,t),onMouseLeave:this.handleMouseLeave.bind(this,t),onClick:this.handleClick.bind(this,t)}),a?i.createElement(af.ZP,{begin:s,duration:c,isActive:a,easing:l,key:"treemap-".concat(h),from:{x:v,y:y,width:g,height:m},to:{x:v,y:y,width:g,height:m},onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(n){var o=n.x,h=n.y,g=n.width,m=n.height;return i.createElement(af.ZP,{from:"translate(".concat(_,"px, ").concat(_,"px)"),to:"translate(0, 0)",attributeName:"transform",begin:s,easing:l,isActive:a,duration:c},i.createElement(me,w,b>2&&!p?null:r.constructor.renderContentItem(e,Vb(Vb({},t),{},{isAnimationActive:a,isUpdateAnimationActive:!u,width:g,height:m,x:o,y:h}),f,d)))})):i.createElement(me,w,this.constructor.renderContentItem(e,Vb(Vb({},t),{},{isAnimationActive:!1,isUpdateAnimationActive:!1,width:g,height:m,x:v,y:y}),f,d))}},{key:"renderNode",value:function(e,t){var n=this,r=this.props,o=r.content,a=r.type,s=Vb(Vb(Vb({},ie(this.props,!1)),t),{},{root:e}),c=!t.children||!t.children.length;return!(this.state.currentRoot.children||[]).filter((function(e){return e.depth===t.depth&&e.name===t.name})).length&&e.depth&&"nest"===a?null:i.createElement(me,{key:"recharts-treemap-node-".concat(s.x,"-").concat(s.y,"-").concat(s.name),className:"recharts-treemap-depth-".concat(t.depth)},this.renderItem(o,s,c),t.children&&t.children.length?t.children.map((function(e){return n.renderNode(t,e)})):null)}},{key:"renderAllNodes",value:function(){var e=this.state.formatRoot;return e?this.renderNode(e,e):null}},{key:"renderTooltip",value:function(){var e=this.props,t=e.children,n=e.nameKey,r=Q(t,Sn);if(!r)return null;var o=this.props,a=o.width,s=o.height,c=this.state,l=c.isTooltipActive,u=c.activeNode,f={x:0,y:0,width:a,height:s},h=u?{x:u.x+u.width/2,y:u.y+u.height/2}:null,d=l&&u?[{payload:u,name:Vc(u,n,""),value:Vc(u,Zb)}]:[];return i.cloneElement(r,{viewBox:f,active:l,coordinate:h,label:"",payload:d})}},{key:"renderNestIndex",value:function(){var e=this,t=this.props,n=t.nameKey,r=t.nestIndexContent,o=this.state.nestIndex;return i.createElement("div",{className:"recharts-treemap-nest-index-wrapper",style:{marginTop:"8px",textAlign:"center"}},o.map((function(t,o){var a=c()(t,n,"root"),s=null;return i.isValidElement(r)&&(s=i.cloneElement(r,t,o)),s=p()(r)?r(t,o):a,i.createElement("div",{onClick:e.handleNestIndex.bind(e,t,o),key:"nest-index-".concat(A()),className:"recharts-treemap-nest-index-box",style:{cursor:"pointer",display:"inline-block",padding:"0 7px",background:"#000",color:"#fff",marginRight:"3px"}},s)})))}},{key:"render",value:function(){if(!J(this))return null;
2var e=this.props,t=e.width,n=e.height,r=e.className,o=e.style,s=e.children,c=e.type,l=Fb(e,Lb),u=ie(l,!1);return i.createElement("div",{className:a("recharts-wrapper",r),style:Vb(Vb({},o),{},{position:"relative",cursor:"default",width:t,height:n}),role:"region"},i.createElement(he,Bb({},u,{width:t,height:"nest"===c?n-30:n}),this.renderAllNodes(),re(s)),this.renderTooltip(),"nest"===c&&this.renderNestIndex())}}])&&zb(n.prototype,r),o&&zb(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);Kb(t_,"displayName","Treemap"),Kb(t_,"defaultProps",{aspectRatio:.5*(1+Math.sqrt(5)),dataKey:"value",type:"flat",isAnimationActive:!fn.isSsr,isUpdateAnimationActive:!fn.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"linear"});var n_=n(73303),r_=n.n(n_),i_=["width","height","className","style","children"],o_=["sourceX","sourceY","sourceControlX","targetX","targetY","targetControlX","linkWidth"];function a_(e){return a_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a_(e)}function s_(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c_(){return c_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c_.apply(this,arguments)}function l_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v_(r.key),r)}}function u_(e,t,n){return t=h_(t),function(e,t){if(t&&("object"===a_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f_()?Reflect.construct(t,n||[],h_(e).constructor):t.apply(e,n))}function f_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f_=function(){return!!e})()}function h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h_(e)}function d_(e,t){return d_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d_(e,t)}function p_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p_(Object(n),!0).forEach((function(t){m_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m_(e,t,n){return(t=v_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v_(e){var t=function(e,t){if("object"!=a_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a_(t)?t:t+""}var y_={x:0,y:0},b_=function(e){return e.y+e.dy/2},__=function(e){return e&&e.value||0},w_=function(e,t){return t.reduce((function(t,n){return t+__(e[n])}),0)},x_=function(e,t,n){return n.reduce((function(n,r){var i=t[r],o=e[i.source];return n+b_(o)*__(t[r])}),0)},S_=function(e,t,n){return n.reduce((function(n,r){var i=t[r],o=e[i.target];return n+b_(o)*__(t[r])}),0)},E_=function(e,t){return e.y-t.y},k_=function e(t,n){for(var r=n.targetNodes,i=0,o=r.length;i<o;i++){var a=t[r[i]];a&&(a.depth=Math.max(n.depth+1,a.depth),e(t,a))}},O_=function(e,t,n){for(var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=0,o=e.length;i<o;i++){var a=e[i],s=a.length;r&&a.sort(E_);for(var c=0,l=0;l<s;l++){var u=a[l],f=c-u.y;f>0&&(u.y+=f),c=u.y+u.dy+n}c=t+n;for(var h=s-1;h>=0;h--){var d=a[h],p=d.y+d.dy+n-c;if(!(p>0))break;d.y-=p,c=d.y}}},C_=function(e,t,n,r){for(var i=0,o=t.length;i<o;i++)for(var a=t[i],s=0,c=a.length;s<c;s++){var l=a[s];if(l.sourceLinks.length){var u=w_(n,l.sourceLinks),f=x_(e,n,l.sourceLinks)/u;l.y+=(f-b_(l))*r}}},A_=function(e,t,n,r){for(var i=t.length-1;i>=0;i--)for(var o=t[i],a=0,s=o.length;a<s;a++){var c=o[a];
2if(c.targetLinks.length){var l=w_(n,c.targetLinks),u=S_(e,n,c.targetLinks)/l;c.y+=(u-b_(c))*r}}},T_=function(e){var t=e.data,n=e.width,r=e.height,i=e.iterations,o=e.nodeWidth,a=e.nodePadding,s=e.sort,c=t.links,l=function(e,t,n){for(var r=e.nodes,i=e.links,o=r.map((function(e,t){var n=function(e,t){for(var n=[],r=[],i=[],o=[],a=0,s=e.length;a<s;a++){var c=e[a];c.source===t&&(i.push(c.target),o.push(a)),c.target===t&&(n.push(c.source),r.push(a))}return{sourceNodes:n,sourceLinks:r,targetLinks:o,targetNodes:i}}(i,t);return g_(g_(g_({},e),n),{},{value:Math.max(w_(i,n.sourceLinks),w_(i,n.targetLinks)),depth:0})})),a=0,s=o.length;a<s;a++){var c=o[a];c.sourceNodes.length||k_(o,c)}var l=Yf()(o,(function(e){return e.depth})).depth;if(l>=1)for(var u=(t-n)/l,f=0,h=o.length;f<h;f++){var d=o[f];d.targetNodes.length||(d.depth=l),d.x=d.depth*u,d.dx=n}return{tree:o,maxDepth:l}}(t,n,o),u=l.tree,f=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];t[i.depth]||(t[i.depth]=[]),t[i.depth].push(i)}return t}(u),h=function(e,t,n,r){for(var i=Us()(e.map((function(e){return(t-(e.length-1)*n)/r_()(e,__)}))),o=0,a=e.length;o<a;o++)for(var s=0,c=e[o].length;s<c;s++){var l=e[o][s];l.y=s,l.dy=l.value*i}return r.map((function(e){return g_(g_({},e),{},{dy:__(e)*i})}))}(f,r,a,c);O_(f,r,a,s);for(var d=1,p=1;p<=i;p++)A_(u,f,h,d*=.99),O_(f,r,a,s),C_(u,f,h,d),O_(f,r,a,s);return function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n],o=0,a=0;i.targetLinks.sort((function(n,r){return e[t[n].target].y-e[t[r].target].y})),i.sourceLinks.sort((function(n,r){return e[t[n].source].y-e[t[r].source].y}));for(var s=0,c=i.targetLinks.length;s<c;s++){var l=t[i.targetLinks[s]];l&&(l.sy=o,o+=l.dy)}for(var u=0,f=i.sourceLinks.length;u<f;u++){var h=t[i.sourceLinks[u]];h&&(h.ty=a,a+=h.dy)}}}(u,h),{nodes:u,links:h}},P_=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return m_(e=u_(this,t,[].concat(r)),"state",{activeElement:null,activeElementType:null,isTooltipActive:!1,nodes:[],links:[]}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d_(e,t)}(t,e),n=t,r=[{key:"handleMouseEnter",value:function(e,t,n){var r=this.props,i=r.onMouseEnter,o=Q(r.children,Sn);o?this.setState((function(n){return"hover"===o.props.trigger?g_(g_({},n),{},{activeElement:e,activeElementType:t,isTooltipActive:!0}):n}),(function(){i&&i(e,t,n)})):i&&i(e,t,n)}},{key:"handleMouseLeave",value:function(e,t,n){var r=this.props,i=r.onMouseLeave,o=Q(r.children,Sn);o?this.setState((function(e){return"hover"===o.props.trigger?g_(g_({},e),{},{activeElement:void 0,activeElementType:void 0,isTooltipActive:!1}):e}),(function(){i&&i(e,t,n)})):i&&i(e,t,n)}},{key:"handleClick",value:function(e,t,n){var r=this.props,i=r.onClick,o=Q(r.children,Sn);o&&"click"===o.props.trigger&&(this.state.isTooltipActive?this.setState((function(e){return g_(g_({},e),{},{activeElement:void 0,activeElementType:void 0,isTooltipActive:!1})})):this.setState((function(n){return g_(g_({},n),{},{activeElement:e,activeElementType:t,isTooltipActive:!0})}))),i&&i(e,t,n)}},{key:"renderLinks",value:function(e,t){var n=this,r=this.props,o=r.linkCurvature,a=r.link,s=r.margin,l=c()(s,"top")||0,u=c()(s,"left")||0;return i.createElement(me,{className:"recharts-sankey-links",key:"recharts-sankey-links"},e.map((function(e,r){var s=e.sy,c=e.ty,f=e.dy,h=t[e.source],d=t[e.target],p=h.x+h.dx+u,g=d.x+u,m=function(e,t){var n=+e,r=t-n;return function(e){return n+r*e}}(p,g),v=m(o),y=m(1-o),b=g_({sourceX:p,targetX:g,sourceY:h.y+s+f/2+l,targetY:d.y+c+f/2+l,sourceControlX:v,targetControlX:y,sourceRelativeY:s,targetRelativeY:c,linkWidth:f,index:r,payload:g_(g_({},e),{},{source:h,target:d})},ie(a,!1)),_={onMouseEnter:n.handleMouseEnter.bind(n,b,"link"),onMouseLeave:n.handleMouseLeave.bind(n,b,"link"),onClick:n.handleClick.bind(n,b,"link")};return i.createElement(me,c_({key:"link-".concat(e.source,"-").concat(e.target,"-").concat(e.value)}
2,_),n.constructor.renderLinkItem(a,b))})))}},{key:"renderNodes",value:function(e){var t=this,n=this.props,r=n.node,o=n.margin,a=c()(o,"top")||0,s=c()(o,"left")||0;return i.createElement(me,{className:"recharts-sankey-nodes",key:"recharts-sankey-nodes"},e.map((function(e,n){var o=e.x,c=e.y,l=e.dx,u=e.dy,f=g_(g_({},ie(r,!1)),{},{x:o+s,y:c+a,width:l,height:u,index:n,payload:e}),h={onMouseEnter:t.handleMouseEnter.bind(t,f,"node"),onMouseLeave:t.handleMouseLeave.bind(t,f,"node"),onClick:t.handleClick.bind(t,f,"node")};return i.createElement(me,c_({key:"node-".concat(e.x,"-").concat(e.y,"-").concat(e.value)},h),t.constructor.renderNodeItem(r,f))})))}},{key:"renderTooltip",value:function(){var e=this.props,t=e.children,n=e.width,r=e.height,o=e.nameKey,a=Q(t,Sn);if(!a)return null;var s,c=this.state,l=c.isTooltipActive,u=c.activeElement,f=c.activeElementType,h={x:0,y:0,width:n,height:r},d=u?(s=u,"node"===f?{x:s.x+s.width/2,y:s.y+s.height/2}:{x:(s.sourceX+s.targetX)/2,y:(s.sourceY+s.targetY)/2}):y_,p=u?function(e,t,n){var r=e.payload;if("node"===t)return[{payload:e,name:Vc(r,n,""),value:Vc(r,"value")}];if(r.source&&r.target){var i=Vc(r.source,n,""),o=Vc(r.target,n,"");return[{payload:e,name:"".concat(i," - ").concat(o),value:Vc(r,"value")}]}return[]}(u,f,o):[];return i.cloneElement(a,{viewBox:h,active:l,coordinate:d,label:"",payload:p})}},{key:"render",value:function(){if(!J(this))return null;var e=this.props,t=e.width,n=e.height,r=e.className,o=e.style,s=e.children,c=s_(e,i_),l=this.state,u=l.links,f=l.nodes,h=ie(c,!1);return i.createElement("div",{className:a("recharts-wrapper",r),style:g_(g_({},o),{},{position:"relative",cursor:"default",width:t,height:n}),role:"region"},i.createElement(he,c_({},h,{width:t,height:n}),re(s),this.renderLinks(u,f),this.renderNodes(f)),this.renderTooltip())}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,i=e.height,o=e.margin,a=e.iterations,s=e.nodeWidth,c=e.nodePadding,l=e.sort;if(n!==t.prevData||r!==t.prevWidth||i!==t.prevHeight||!j(o,t.prevMargin)||a!==t.prevIterations||s!==t.prevNodeWidth||c!==t.prevNodePadding||l!==t.sort){var u=r-(o&&o.left||0)-(o&&o.right||0),f=i-(o&&o.top||0)-(o&&o.bottom||0),h=T_({data:n,width:u,height:f,iterations:a,nodeWidth:s,nodePadding:c,sort:l}),d=h.links,p=h.nodes;return g_(g_({},t),{},{nodes:p,links:d,prevData:n,prevWidth:a,prevHeight:i,prevMargin:o,prevNodePadding:c,prevNodeWidth:s,prevIterations:a,prevSort:l})}return null}},{key:"renderLinkItem",value:function(e,t){if(i.isValidElement(e))return i.cloneElement(e,t);if(p()(e))return e(t);var n=t.sourceX,r=t.sourceY,o=t.sourceControlX,a=t.targetX,s=t.targetY,c=t.targetControlX,l=t.linkWidth,u=s_(t,o_);return i.createElement("path",c_({className:"recharts-sankey-link",d:"\n M".concat(n,",").concat(r,"\n C").concat(o,",").concat(r," ").concat(c,",").concat(s," ").concat(a,",").concat(s,"\n "),fill:"none",stroke:"#333",strokeWidth:l,strokeOpacity:"0.2"},ie(u,!1)))}},{key:"renderNodeItem",value:function(e,t){return i.isValidElement(e)?i.cloneElement(e,t):p()(e)?e(t):i.createElement(vf,c_({className:"recharts-sankey-node",fill:"#0088fe",fillOpacity:"0.8"},ie(t,!1),{role:"img"}))}}],r&&l_(n.prototype,r),o&&l_(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);m_(P_,"displayName","Sankey"),m_(P_,"defaultProps",{nameKey:"name",dataKey:"value",nodePadding:10,nodeWidth:10,linkCurvature:.5,iterations:32,margin:{top:5,right:5,bottom:5,left:5},sort:!0});var D_=Tb({chartName:"RadarChart",GraphicalChild:Rd,axisComponents:[{axisType:"angleAxis",AxisComp:Ch},{axisType:"radiusAxis",AxisComp:dh}],formatAxisMap:Pl,defaultProps:{layout:"centric",startAngle:90,endAngle:-270,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),M_=Tb({chartName:"ScatterChart",GraphicalChild:uy,defaultTooltipEventType:"item",validateTooltipEventTypes:["item"],axisComponents:[{axisType:"xAxis",AxisComp:wy},{axisType:"yAxis",AxisComp:My},{axisType:"zAxis",AxisComp:Gv}],formatAxisMap:ag}),R_=Tb({chartName:"AreaChart",GraphicalChild:Fv,axisComponents:[{axisType:"xAxis",AxisComp:wy},{axisType:"yAxis",AxisComp:My}],formatAxisMap:ag}
2),j_=Tb({chartName:"RadialBarChart",GraphicalChild:np,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:Ch},{axisType:"radiusAxis",AxisComp:dh}],formatAxisMap:Pl,defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),N_=Tb({chartName:"ComposedChart",GraphicalChild:[Sv,Fv,Jp,uy],axisComponents:[{axisType:"xAxis",AxisComp:wy},{axisType:"yAxis",AxisComp:My},{axisType:"zAxis",AxisComp:Gv}],formatAxisMap:ag});function L_(){return L_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L_.apply(this,arguments)}function I_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||F_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B_(e){return function(e){if(Array.isArray(e))return z_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||F_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F_(e,t){if(e){if("string"==typeof e)return z_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z_(e,t):void 0}}function z_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var U_={fontWeight:"bold",paintOrder:"stroke fill",fontSize:".75rem",stroke:"#FFF",fill:"black",pointerEvents:"none"};function H_(e){if(!e.children||0===e.children.length)return 1;var t=e.children.map((function(e){return H_(e)}));return 1+Math.max.apply(Math,B_(t))}var q_,$_=function(e){var t=e.className,n=e.data,r=e.children,o=e.width,s=e.height,c=e.padding,l=void 0===c?2:c,u=e.dataKey,f=void 0===u?"value":u,h=e.ringPadding,d=void 0===h?2:h,p=e.innerRadius,g=void 0===p?50:p,m=e.fill,v=void 0===m?"#333":m,y=e.stroke,b=void 0===y?"#FFF":y,_=e.textOptions,w=void 0===_?U_:_,x=e.outerRadius,S=void 0===x?Math.min(o,s)/2:x,E=e.cx,k=void 0===E?o/2:E,O=e.cy,C=void 0===O?s/2:O,A=e.startAngle,T=void 0===A?0:A,P=e.endAngle,D=void 0===P?360:P,M=e.onClick,R=e.onMouseEnter,j=e.onMouseLeave,N=I_((0,i.useState)(!1),2),L=N[0],I=N[1],B=I_((0,i.useState)(null),2),F=B[0],z=B[1],U=_i([0,n[f]],[0,D]),H=(S-g)/H_(n),q=[],$=new Map([]);function W(e,t){R&&R(e,t),z(e),I(!0)}function V(e,t){j&&j(e,t),z(null),I(!1)}function K(e){M&&M(e)}!function e(t,n){var r=n.radius,o=n.innerR,a=n.initialAngle,s=n.childColor,c=a;t&&t.forEach((function(t){var n,a,u=U(t[f]),h=c,p=null!==(n=null!==(a=null==t?void 0:t.fill)&&void 0!==a?a:s)&&void 0!==n?n:v,g=Al(0,0,o+r/2,-(h+u-u/2)),m=g.x,y=g.y;c+=u,q.push(i.createElement("g",{"aria-label":t.name,tabIndex:0},i.createElement(Eu,{onClick:function(){return K(t)},onMouseEnter:function(e){return W(t,e)},onMouseLeave:function(e){return V(t,e)},fill:p,stroke:b,strokeWidth:l,startAngle:h,endAngle:h+u,innerRadius:o,outerRadius:o+r,cx:k,cy:C}),i.createElement(vr,L_({},w,{alignmentBaseline:"middle",textAnchor:"middle",x:m+k,y:C-y}),t[f])));var _=Al(k,C,o+r/2,h),x=_.x,S=_.y;return $.set(t.name,{x:x,y:S}),e(t.children,{radius:r,innerR:o+r+d,initialAngle:h,childColor:p})}))}(n.children,{radius:H,innerR:g,initialAngle:T});var G=a("recharts-sunburst",t);return i.createElement("div",{className:a("recharts-wrapper",t),style:{position:"relative",width:o,height:s},role:"region"},i.createElement(he,{width:o,height:s},r,i.createElement(me,{className:G},q)),function(){var e=Q([r],Sn);if(!e||!F)return null;var t={x:0,y:0,width:o,height:s};return i.cloneElement(e,{viewBox:t,coordinate:$.get(F.name),payload:[F],active:L})}())};function W_(e){return W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W_(e)}function V_(){return V_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V_.apply(this,arguments)}function K_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 4,111 bytes, line 2
2t%2?K_(Object(n),!0).forEach((function(t){Z_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z_(e,t,n){return t=function(e){var t=function(e,t){if("object"!=W_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=W_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==W_(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y_(e,t){var n="".concat(t.x||e.x),r=parseInt(n,10),i="".concat(t.y||e.y),o=parseInt(i,10),a="".concat((null==t?void 0:t.height)||(null==e?void 0:e.height)),s=parseInt(a,10);return G_(G_(G_({},t),Xh(e)),{},{height:s,x:r,y:o})}function X_(e){return i.createElement(Qh,V_({shapeType:"trapezoid",propTransformer:Y_},e))}function Q_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J_(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ew(e){return ew="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ew(e)}function tw(){return tw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tw.apply(this,arguments)}function nw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nw(Object(n),!0).forEach((function(t){lw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uw(r.key),r)}}function ow(e,t,n){return t=sw(t),function(e,t){if(t&&("object"===ew(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,aw()?Reflect.construct(t,n||[],sw(e).constructor):t.apply(e,n))}function aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(aw=function(){return!!e})()}function sw(e){return sw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sw(e)}function cw(e,t){return cw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cw(e,t)}
2function lw(e,t,n){return(t=uw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uw(e){var t=function(e,t){if("object"!=ew(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ew(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ew(t)?t:t+""}var fw=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return lw(e=ow(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),lw(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),p()(t)&&t()})),lw(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),p()(t)&&t()})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cw(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curTrapezoids:e.trapezoids,prevTrapezoids:t.curTrapezoids}:e.trapezoids!==t.curTrapezoids?{curTrapezoids:e.trapezoids}:null}}],(r=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"renderTrapezoidsStatically",value:function(e){var t=this,n=this.props,r=n.shape,o=n.activeShape;return e.map((function(e,n){var a=t.isActiveIndex(n)?o:r,s=rw(rw({},e),{},{isActive:t.isActiveIndex(n),stroke:e.stroke});return i.createElement(me,tw({className:"recharts-funnel-trapezoid"},U(t.props,e,n),{key:"trapezoid-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.name,"-").concat(null==e?void 0:e.value),role:"img"}),i.createElement(X_,tw({option:a},s)))}))}},{key:"renderTrapezoidsWithAnimation",value:function(){var e=this,t=this.props,n=t.trapezoids,r=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,c=t.animationId,l=this.state.prevTrapezoids;return i.createElement(af.ZP,{begin:o,duration:a,isActive:r,easing:s,from:{t:0},to:{t:1},key:"funnel-".concat(c),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(t){var r=t.t,o=n.map((function(e,t){var n=l&&l[t];if(n){var i=D(n.x,e.x),o=D(n.y,e.y),a=D(n.upperWidth,e.upperWidth),s=D(n.lowerWidth,e.lowerWidth),c=D(n.height,e.height);return rw(rw({},e),{},{x:i(r),y:o(r),upperWidth:a(r),lowerWidth:s(r),height:c(r)})}var u=D(e.x+e.upperWidth/2,e.x),f=D(e.y+e.height/2,e.y),h=D(0,e.upperWidth),d=D(0,e.lowerWidth),p=D(0,e.height);return rw(rw({},e),{},{x:u(r),y:f(r),upperWidth:h(r),lowerWidth:d(r),height:p(r)})}));return i.createElement(me,null,e.renderTrapezoidsStatically(o))}))}},{key:"renderTrapezoids",value:function(){var e=this.props,t=e.trapezoids,n=e.isAnimationActive,r=this.state.prevTrapezoids;return!(n&&t&&t.length)||r&&Ws()(r,t)?this.renderTrapezoidsStatically(t):this.renderTrapezoidsWithAnimation()}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.trapezoids,r=e.className,o=e.isAnimationActive,s=this.state.isAnimationFinished;if(t||!n||!n.length)return null;var c=a("recharts-trapezoids",r);return i.createElement(me,{className:c},this.renderTrapezoids(),(!o||s)&&fu.renderCallByParent(this.props,n))}}])&&iw(n.prototype,r),o&&iw(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(i.PureComponent);q_=fw,lw(fw,"displayName","Funnel"),lw(fw,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",labelLine:!0,hide:!1,isAnimationActive:!fn.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",lastShapeType:"triangle"}),lw(fw,"getRealFunnelData",(function(e){var t=e.props,n=t.data,r=t.children,i=ie(e.props,!1),o=X(r,Rn);return n&&n.length?n.map((function(e,t){return rw(rw(rw({payload:e},i),e),o&&o[t]&&o[t].props)})):o&&o.length?o.map((function(e){return rw(rw({},i),e.props)})):[]}
2)),lw(fw,"getRealWidthHeight",(function(e,t){var n=e.props.width,r=t.width,i=t.height,o=t.left,a=t.right,s=t.top,c=t.bottom,l=i,u=r;return w()(n)?u=n:h()(n)&&(u=u*parseFloat(n)/100),{realWidth:u-o-a-50,realHeight:l-c-s,offsetX:(r-u)/2,offsetY:(i-l)/2}})),lw(fw,"getComposedData",(function(e){var t=e.item,n=e.offset,r=q_.getRealFunnelData(t),i=t.props,o=i.dataKey,a=i.nameKey,s=i.tooltipType,c=i.lastShapeType,l=i.reversed,u=n.left,f=n.top,h=q_.getRealWidthHeight(t,n),d=h.realHeight,p=h.realWidth,g=h.offsetX,m=h.offsetY,v=Math.max.apply(null,r.map((function(e){return Vc(e,o,0)}))),y=r.length,b=d/y,_={x:n.left,y:n.top,width:n.width,height:n.height},w=r.map((function(e,t){var n,i=Vc(e,o,0),l=Vc(e,a,t),h=i;if(t!==y-1)(n=Vc(r[t+1],o,0))instanceof Array&&(n=Q_(n,1)[0]);else if(i instanceof Array&&2===i.length){var d=Q_(i,2);h=d[0],n=d[1]}else n="rectangle"===c?h:0;var w=(v-h)*p/(2*v)+f+25+g,x=b*t+u+m,S=h/v*p,E=n/v*p,k=[{name:l,value:h,payload:e,dataKey:o,type:s}],O={x:w+S/2,y:x+b/2};return rw(rw({x:w,y:x,width:Math.max(S,E),upperWidth:S,lowerWidth:E,height:b,name:l,val:h,tooltipPayload:k,tooltipPosition:O},jb()(e,"width")),{},{payload:e,parentViewBox:_,labelViewBox:{x:w+(S-E)/4,y:x,width:Math.abs(S-E)/2+Math.min(S,E),height:b}})}));return l&&(w=w.map((function(e,t){var n=e.y-t*b+(y-1-t)*b;return rw(rw({},e),{},{upperWidth:e.lowerWidth,lowerWidth:e.upperWidth,x:e.x-(e.lowerWidth-e.upperWidth)/2,y:e.y-t*b+(y-1-t)*b,tooltipPosition:rw(rw({},e.tooltipPosition),{},{y:n+b/2}),labelViewBox:rw(rw({},e.labelViewBox),{},{y:n})})}))),{trapezoids:w,data:r}}));var hw=Tb({chartName:"FunnelChart",GraphicalChild:fw,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",axisComponents:[],defaultProps:{layout:"centric"}})},13722:function(e){e.exports=class{constructor(e){return e instanceof Object&&(this.resource=e,this.proxy=new Proxy(this,{get(t,n){return t[n]?t[n]:e[n]?e[n]:void 0}}),this.proxy)}}},68653:function(e,t,n){const r=n(13722);e.exports=class extends r{constructor(e,t){if(super(e),!(e instanceof Object))return this.data=null,this;const n=this.toArray();return t?(this.data={data:n},this):(this.data=n,this)}exec(){return this.data||null}static collection(e,t){const n=((e=e||[]).data?e.data:e).map((e=>new this(e,!1).exec()));return e.data?Object.assign({},e,{data:n}):t?{data:n}:n}toArray(){return Object.assign({},this.resource)}}},65342:function(e){!function(){"use strict";var t=function(e){if(!(this instanceof t))return new t(e);if(this.version=1,this.support=!("undefined"==typeof File||"undefined"==typeof Blob||"undefined"==typeof FileList||!Blob.prototype.webkitSlice&&!Blob.prototype.mozSlice&&!Blob.prototype.slice),!this.support)return!1;var n=this;n.files=[],n.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,fileParameterName:"file",chunkNumberParameterName:"resumableChunkNumber",chunkSizeParameterName:"resumableChunkSize",currentChunkSizeParameterName:"resumableCurrentChunkSize",totalSizeParameterName:"resumableTotalSize",typeParameterName:"resumableType",identifierParameterName:"resumableIdentifier",fileNameParameterName:"resumableFilename",relativePathParameterName:"resumableRelativePath",totalChunksParameterName:"resumableTotalChunks",throttleProgressCallbacks:.5,query:{},headers:{},preprocess:null,method:"multipart",uploadMethod:"POST",testMethod:"GET",prioritizeFirstAndLastChunk:!1,target:"/",testTarget:null,parameterNamespace:"",testChunks:!0,generateUniqueIdentifier:null,getTarget:null,maxChunkRetries:100,chunkRetryInterval:void 0,permanentErrors:[400,404,415,500,501],maxFiles:void 0,withCredentials:!1,xhrTimeout:0,clearInput:!0,chunkFormat:"blob",setChunkTypeFromFile:!1,maxFilesErrorCallback:function(e,t){var r=n.getOpt("maxFiles");alert("Please upload no more than "+r+" file"+(1===r?"":"s")+" at a time.")},minFileSize:1,minFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too small, please upload files larger than "+r.formatSize(n.getOpt("minFileSize"))+".")},maxFileSize:void 0,maxFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too large, please upload files less than "+r.formatSize(n.getOpt("maxFileSize"))+".")},fileType:[],fileTypeErrorCallback:function(e,t){alert(e.fileName||e.name+" has type not allowed, please upload files of type "+n.getOpt("fileType")+".")}},n.opts=e||{},n.getOpt=function(e){var n=this;if(e instanceof Array){var i={};return r.each(e,(function(e){i[e]=n.getOpt(e)})),i}if(n instanceof f){if(void 0!==n.opts[e])return n.opts[e];n=n.fileObj}if(n instanceof u){if(void 0!==n.opts[e])return n.opts[e];n=n.resumableObj}if(n instanceof t)return void 0!==n.opts[e]?n.opts[e]:n.defaults[e]},n.events=[],n.on=function(e,t){n.events.push(e.toLowerCase(),t)},n.fire=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);var r=e[0].toLowerCase();for(t=0;t<=n.events.length;t+=2)n.events[t]==r&&n.events[t+1].apply(n,e.slice(1)),"catchall"==n.events[t]&&n.events[t+1].apply(null,e);"fileerror"==r&&n.fire("error",e[2],e[1]),"fileprogress"==r&&n.fire("progress")};var r={stopEvent:function(e){e.stopPropagation(),e.preventDefault()},each:function(e,t){if(void 0!==e.length){for(var n=0;n<e.length;n++)if(!1===t(e[n]))return}else for(n in e)if(!1===t(n,e[n]))return},generateUniqueIdentifier:function(e,t){var r=n.getOpt("generateUniqueIdentifier");if("function"==typeof r)return r(e,t);var i=e.webkitRelativePath||e.fileName||e.name;return e.size+"-"+i.replace(/[^0-9a-zA-Z_-]/gim,"")},contains:function(e,t){var n=!1;return r.each(e,(function(e){return e!=t||(n=!0,!1)})),n},formatSize:function(e){return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(0)+" KB":e<1073741824?(e/1024/1024).toFixed(1)+" MB":(e/1024/1024/1024).toFixed(1)+" GB"},getTarget:function(e,t){var r=n.getOpt("target");if("test"===e&&n.getOpt("testTarget")&&(r="/"===n.getOpt("testTarget")?n.getOpt("target"):n.getOpt("testTarget")),"function"==typeof r)return r(t);var i=r.indexOf("?")<0?"?":"&";return r+i+t.join("&")}},i=function(e){r.stopEvent(e),e.dataTransfer&&e.dataTransfer.items?c(e.dataTransfer.items,e):e.dataTransfer&&e.dataTransfer.files&&c(e.dataTransfer.files,e)},o=function(e){e.preventDefault()};function a(e,t,n,r){var i;return e.isFile?e.file((function(e){e.relativePath=t+e.name,n.push(e),r()})):(e.isDirectory?i=e:e instanceof File&&n.push(e),"function"==typeof e.webkitGetAsEntry&&(i=e.webkitGetAsEntry()),i&&i.isDirectory?function(e,t,n,r){e.createReader().readEntries((function(e){if(!e.length)return r();s(e.map((function(e){return a.bind(null,e,t,n)})),r)}))}(i,t+i.name+"/",n,r):("function"==typeof e.getAsFile&&(e=e.getAsFile())instanceof File&&(e.relativePath=t+e.name,n.push(e)),void r()))}function s(e,t){if(!e||0===e.length)return t();e[0]((function(){s(e.slice(1),t)}))}function c(e,t){if(e.length){n.fire("beforeAdd");var r=[];s(Array.prototype.map.call(e,(function(e){return a.bind(null,e,"",r)})),(function(){r.length&&l(r,t)}))}}var l=function(e,t){var i=0,o=n.getOpt(["maxFiles","minFileSize","maxFileSize","maxFilesErrorCallback","minFileSizeErrorCallback","maxFileSizeErrorCallback","fileType","fileTypeErrorCallback"]);if(void 0!==o.maxFiles&&o.maxFiles<e.length+n.files.length){if(1!==o.maxFiles||1!==n.files.length||1!==e.length)return o.maxFilesErrorCallback(e,i++),!1;n.removeFile(n.files[0])}var a=[],s=[],c=e.length,l=function(){if(!--c){if(!a.length&&!s.length)return;window.setTimeout((function(){n.fire("filesAdded",a,s)}),0)}};r.each(e,(function(e){var c=e.name;if(o.fileType.length>0){var f=!1;for(var h in o.fileType){var d="."+o.fileType[h];if(-1!==c.toLowerCase().indexOf(d.toLowerCase(),c.length-d.length)){f=!0;break}}if(!f)return o.fileTypeErrorCallback(e,i++),!1}if(void 0!==o.minFileSize&&e.size<o.minFileSize)return o.minFileSizeErrorCallback(e,i++),!1;if(void 0!==o.maxFileSize&&e.size>o.maxFileSize)return o.maxFileSizeErrorCallback(e,i++),!1;function p(r){n.getFromUniqueIdentifier(r)?s.push(e):function(){e.uniqueIdentifier=r;var i=new u(n,e,r);n.files.push(i),a.push(i),i.container=void 0!==t?t.srcElement:null,window.setTimeout((function(){n.fire("fileAdded",i,t)}
2),0)}(),l()}var g=r.generateUniqueIdentifier(e,t);g&&"function"==typeof g.then?g.then((function(e){p(e)}),(function(){l()})):p(g)}))};function u(e,t,n){var i=this;i.opts={},i.getOpt=e.getOpt,i._prevProgress=0,i.resumableObj=e,i.file=t,i.fileName=t.fileName||t.name,i.size=t.size,i.relativePath=t.relativePath||t.webkitRelativePath||i.fileName,i.uniqueIdentifier=n,i._pause=!1,i.container="";var o=void 0!==n,a=function(e,t){switch(e){case"progress":i.resumableObj.fire("fileProgress",i,t);break;case"error":i.abort(),o=!0,i.chunks=[],i.resumableObj.fire("fileError",i,t);break;case"success":if(o)return;i.resumableObj.fire("fileProgress",i),i.isComplete()&&i.resumableObj.fire("fileSuccess",i,t);break;case"retry":i.resumableObj.fire("fileRetry",i)}};return i.chunks=[],i.abort=function(){var e=0;r.each(i.chunks,(function(t){"uploading"==t.status()&&(t.abort(),e++)})),e>0&&i.resumableObj.fire("fileProgress",i)},i.cancel=function(){var e=i.chunks;i.chunks=[],r.each(e,(function(e){"uploading"==e.status()&&(e.abort(),i.resumableObj.uploadNextChunk())})),i.resumableObj.removeFile(i),i.resumableObj.fire("fileProgress",i)},i.retry=function(){i.bootstrap();var e=!1;i.resumableObj.on("chunkingComplete",(function(){e||i.resumableObj.upload(),e=!0}))},i.bootstrap=function(){i.abort(),o=!1,i.chunks=[],i._prevProgress=0;for(var e=i.getOpt("forceChunkSize")?Math.ceil:Math.floor,t=Math.max(e(i.file.size/i.getOpt("chunkSize")),1),n=0;n<t;n++)!function(e){window.setTimeout((function(){i.chunks.push(new f(i.resumableObj,i,e,a)),i.resumableObj.fire("chunkingProgress",i,e/t)}),0)}(n);window.setTimeout((function(){i.resumableObj.fire("chunkingComplete",i)}),0)},i.progress=function(){if(o)return 1;var e=0,t=!1;return r.each(i.chunks,(function(n){"error"==n.status()&&(t=!0),e+=n.progress(!0)})),e=t||e>.99999?1:e,e=Math.max(i._prevProgress,e),i._prevProgress=e,e},i.isUploading=function(){var e=!1;return r.each(i.chunks,(function(t){if("uploading"==t.status())return e=!0,!1})),e},i.isComplete=function(){var e=!1;return r.each(i.chunks,(function(t){var n=t.status();if("pending"==n||"uploading"==n||1===t.preprocessState)return e=!0,!1})),!e},i.pause=function(e){i._pause=void 0===e?!i._pause:e},i.isPaused=function(){return i._pause},i.resumableObj.fire("chunkingStart",i),i.bootstrap(),this}function f(e,t,n,i){var o=this;o.opts={},o.getOpt=e.getOpt,o.resumableObj=e,o.fileObj=t,o.fileObjSize=t.size,o.fileObjType=t.file.type,o.offset=n,o.callback=i,o.lastProgressCallback=new Date,o.tested=!1,o.retries=0,o.pendingRetry=!1,o.preprocessState=0;var a=o.getOpt("chunkSize");return o.loaded=0,o.startByte=o.offset*a,o.endByte=Math.min(o.fileObjSize,(o.offset+1)*a),o.fileObjSize-o.endByte<a&&!o.getOpt("forceChunkSize")&&(o.endByte=o.fileObjSize),o.xhr=null,o.test=function(){o.xhr=new XMLHttpRequest;var e=function(e){o.tested=!0;var t=o.status();"success"==t?(o.callback(t,o.message()),o.resumableObj.uploadNextChunk()):o.send()};o.xhr.addEventListener("load",e,!1),o.xhr.addEventListener("error",e,!1),o.xhr.addEventListener("timeout",e,!1);var t=[],n=o.getOpt("parameterNamespace"),i=o.getOpt("query");"function"==typeof i&&(i=i(o.fileObj,o)),r.each(i,(function(e,r){t.push([encodeURIComponent(n+e),encodeURIComponent(r)].join("="))})),t=t.concat([["chunkNumberParameterName",o.offset+1],["chunkSizeParameterName",o.getOpt("chunkSize")],["currentChunkSizeParameterName",o.endByte-o.startByte],["totalSizeParameterName",o.fileObjSize],["typeParameterName",o.fileObjType],["identifierParameterName",o.fileObj.uniqueIdentifier],["fileNameParameterName",o.fileObj.fileName],["relativePathParameterName",o.fileObj.relativePath],["totalChunksParameterName",o.fileObj.chunks.length]].filter((function(e){return o.getOpt(e[0])})).map((function(e){return[n+o.getOpt(e[0]),encodeURIComponent(e[1])].join("=")}))),o.xhr.open(o.getOpt("testMethod"),r.getTarget("test",t)),o.xhr.timeout=o.getOpt("xhrTimeout"),o.xhr.withCredentials=o.getOpt("withCredentials");var a=o.getOpt("headers");"function"==typeof a&&(a=a(o.fileObj,o)),r.each(a,(function(e,t){o.xhr.setRequestHeader(e,t)})),o.xhr.send(null)},o.preprocessFinished=function(){o.preprocessState=2,o.send()},o.send=function(){var e=o.getOpt("preprocess");if("function"==typeof e)switch(o.preprocessState){case 0:return o.preprocessState=1,void e(o);case 1:return}if(!o.getOpt("testChunks")||o.tested){o.xhr=new XMLHttpRequest,o.xhr.upload.addEventListener("progress",(function(e){new Date-o.lastProgressCallback>1e3*o.getOpt("throttleProgressCallbacks")&&(o.callback("progress"),o.lastProgressCallback=new Date),o.loaded=e.loaded||0}),!1),o.loaded=0,o.pendingRetry=!1,o.callback("progress");var t=function(e){var t=o.status();if("success"==t||"error"==t)o.callback(t,o.message()),o.resumableObj.uploadNextChunk();else{o.callback("retry",o.message()),o.abort(),o.retries++;var n=o.getOpt("chunkRetryInterval");void 0!==n?(o.pendingRetry=!0,setTimeout(o.send,n)):o.send()}};o.xhr.addEventListener("load",t,!1),o.xhr.addEventListener("error",t,!1),o.xhr.addEventListener("timeout",t,!1);var n=[["chunkNumberParameterName",o.offset+1],["chunkSizeParameterName",o.getOpt("chunkSize")],["currentChunkSizeParameterName",o.endByte-o.startByte],["totalSizeParameterName",o.fileObjSize],["typeParameterName",o.fileObjType],["identifierParameterName",o.fileObj.uniqueIdentifier],["fileNameParameterName",o.fileObj.fileName],["relativePathParameterName",o.fileObj.relativePath],["totalChunksParameterName",o.fileObj.chunks.length]].filter((function(e){return o.getOpt(e[0])})).reduce((function(e,t){return e[o.getOpt(t[0])]=t[1],e}),{}),i=o.getOpt("query");"function"==typeof i&&(i=i(o.fileObj,o)),r.each(i,(function(e,t){n[e]=t}));var a=o.fileObj.file.slice?"slice":o.fileObj.file.mozSlice?"mozSlice":o.fileObj.file.webkitSlice?"webkitSlice":"slice",s=o.fileObj.file[a](o.startByte,o.endByte,o.getOpt("setChunkTypeFromFile")?o.fileObj.file.type:""),c=null,l=[],u=o.getOpt("parameterNamespace");if("octet"===o.getOpt("method"))c=s,r.each(n,(function(e,t){l.push([encodeURIComponent(u+e),encodeURIComponent(t)].join("="))}));else if(c=new FormData,r.each(n,(function(e,t){c.append(u+e,t),l.push([encodeURIComponent(u+e),encodeURIComponent(t)].join("="))})),"blob"==o.getOpt("chunkFormat"))c.append(u+o.getOpt("fileParameterName"),s,o.fileObj.fileName);else if("base64"==o.getOpt("chunkFormat")){var f=new FileReader;f.onload=function(e){c.append(u+o.getOpt("fileParameterName"),f.result),o.xhr.send(c)}
2,f.readAsDataURL(s)}var h=r.getTarget("upload",l),d=o.getOpt("uploadMethod");o.xhr.open(d,h),"octet"===o.getOpt("method")&&o.xhr.setRequestHeader("Content-Type","application/octet-stream"),o.xhr.timeout=o.getOpt("xhrTimeout"),o.xhr.withCredentials=o.getOpt("withCredentials");var p=o.getOpt("headers");"function"==typeof p&&(p=p(o.fileObj,o)),r.each(p,(function(e,t){o.xhr.setRequestHeader(e,t)})),"blob"==o.getOpt("chunkFormat")&&o.xhr.send(c)}else o.test()},o.abort=function(){o.xhr&&o.xhr.abort(),o.xhr=null},o.status=function(){return o.pendingRetry?"uploading":o.xhr?o.xhr.readyState<4?"uploading":200==o.xhr.status||201==o.xhr.status?"success":r.contains(o.getOpt("permanentErrors"),o.xhr.status)||o.retries>=o.getOpt("maxChunkRetries")?"error":(o.abort(),"pending"):"pending"},o.message=function(){return o.xhr?o.xhr.responseText:""},o.progress=function(e){void 0===e&&(e=!1);var t=e?(o.endByte-o.startByte)/o.fileObjSize:1;if(o.pendingRetry)return 0;switch(o.xhr&&o.xhr.status||(t*=.95),o.status()){case"success":case"error":return 1
2*t;case"pending":return 0*t;default:return o.loaded/(o.endByte-o.startByte)*t}},this}return n.uploadNextChunk=function(){var e=!1;if(n.getOpt("prioritizeFirstAndLastChunk")&&(r.each(n.files,(function(t){return t.chunks.length&&"pending"==t.chunks[0].status()&&0===t.chunks[0].preprocessState?(t.chunks[0].send(),e=!0,!1):t.chunks.length>1&&"pending"==t.chunks[t.chunks.length-1].status()&&0===t.chunks[t.chunks.length-1].preprocessState?(t.chunks[t.chunks.length-1].send(),e=!0,!1):void 0})),e))return!0;if(r.each(n.files,(function(t){if(!1===t.isPaused()&&r.each(t.chunks,(function(t){if("pending"==t.status()&&0===t.preprocessState)return t.send(),e=!0,!1})),e)return!1})),e)return!0;var t=!1;return r.each(n.files,(function(e){if(!e.isComplete())return t=!0,!1})),t||n.fire("complete"),!1},n.assignBrowse=function(e,t){void 0===e.length&&(e=[e]),r.each(e,(function(e){var r;"INPUT"===e.tagName&&"file"===e.type?r=e:((r=document.createElement("input")).setAttribute("type","file"),r.style.display="none",e.addEventListener("click",(function(){r.style.opacity=0,r.style.display="block",r.focus(),r.click(),r.style.display="none"}),!1),e.appendChild(r));var i=n.getOpt("maxFiles");void 0===i||1!=i?r.setAttribute("multiple","multiple"):r.removeAttribute("multiple"),t?r.setAttribute("webkitdirectory","webkitdirectory"):r.removeAttribute("webkitdirectory");var o=n.getOpt("fileType");void 0!==o&&o.length>=1?r.setAttribute("accept",o.map((function(e){return"."+e})).join(",")):r.removeAttribute("accept"),r.addEventListener("change",(function(e){l(e.target.files,e),n.getOpt("clearInput")&&(e.target.value="")}),!1)}))},n.assignDrop=function(e){void 0===e.length&&(e=[e]),r.each(e,(function(e){e.addEventListener("dragover",o,!1),e.addEventListener("dragenter",o,!1),e.addEventListener("drop",i,!1)}))},n.unAssignDrop=function(e){void 0===e.length&&(e=[e]),r.each(e,(function(e){e.removeEventListener("dragover",o),e.removeEventListener("dragenter",o),e.removeEventListener("drop",i)}))},n.isUploading=function(){var e=!1;return r.each(n.files,(function(t){if(t.isUploading())return e=!0,!1})),e},n.upload=function(){if(!n.isUploading()){n.fire("uploadStart");for(var e=1;e<=n.getOpt("simultaneousUploads");e++)n.uploadNextChunk()}},n.pause=function(){r.each(n.files,(function(e){e.abort()})),n.fire("pause")},n.cancel=function(){n.fire("beforeCancel");for(var e=n.files.length-1;e>=0;e--)n.files[e].cancel();n.fire("cancel")},n.progress=function(){var e=0,t=0;return r.each(n.files,(function(n){e+=n.progress()*n.size,t+=n.size})),t>0?e/t:0},n.addFile=function(e,t){l([e],t)},n.addFiles=function(e,t){l(e,t)},n.removeFile=function(e){for(var t=n.files.length-1;t>=0;t--)n.files[t]===e&&n.files.splice(t,1)},n.getFromUniqueIdentifier=function(e){var t=!1;return r.each(n.files,(function(n){n.uniqueIdentifier==e&&(t=n)})),t},n.getSize=function(){var e=0;return r.each(n.files,(function(t){e+=t.size})),e},n.handleDropEvent=function(e){i(e)},n.handleChangeEvent=function(e){l(e.target.files,e),e.target.value=""},n.updateQuery=function(e){n.opts.query=e},this};e.exports=t}()},89509:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},60053:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>o(c,n))l<i&&0>o(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else{if(!(l<i&&0>o(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var l=[],u=[],f=1,h=null,d=3,p=!1,g=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(l,t)}t=r(u)}}function w(e){if(m=!1,_(e),!g)if(null!==r(l))g=!0,R(x);else{var t=r(u);null!==t&&j(w,t.startTime-e)}}function x(e,n){g=!1,m&&(m=!1,y(O),O=-1),p=!0;var o=d;try{for(_(n),h=r(l);null!==h&&(!(h.expirationTime>n)||e&&!T());){var a=h.callback;if("function"==typeof a){h.callback=null,d=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(l)&&i(l),_(n)}else i(l);h=r(l)}if(null!==h)var c=!0;else{var f=r(u);null!==f&&j(w,f.startTime-n),c=!1}return c}finally{h=null,d=o,p=!1}
2}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,k=null,O=-1,C=5,A=-1;function T(){return!(t.unstable_now()-A<C)}function P(){if(null!==k){var e=t.unstable_now();A=e;var n=!0;try{n=k(!0,e)}finally{n?S():(E=!1,k=null)}}else E=!1}if("function"==typeof b)S=function(){b(P)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,M=D.port2;D.port1.onmessage=P,S=function(){M.postMessage(null)}}else S=function(){v(P,0)};function R(e){k=e,E||(E=!0,S())}function j(e,n){O=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(u,e),null===r(l)&&e===r(u)&&(m?(y(O),O=-1):m=!0,j(w,o-a))):(e.sortIndex=s,n(l,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},67339:function(e){var t=new Error("Element already at target scroll position"),n=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function o(e){return function(o,c,l,u){"function"==typeof(l=l||{})&&(u=l,l={}),"function"!=typeof u&&(u=s);var f=i(),h=o[e],d=l.ease||a,p=isNaN(l.duration)?350:+l.duration,g=!1;return h===c?u(t,o[e]):requestAnimationFrame((function t(a){if(g)return u(n,o[e]);var s=i(),l=r(1,(s-f)/p),m=d(l);o[e]=m*(c-h)+h,l<1?requestAnimationFrame(t):requestAnimationFrame((function(){u(null,o[e])}))})),function(){g=!0}}}function a(e){return.5*(1-Math.cos(Math.PI*e))}function s(){}e.exports={left:o("scrollLeft"),top:o("scrollTop")}},27274:function(e,t){var n,r,i;r=[],void 0===(i="function"==typeof(n=function(){function e(e){var t=getComputedStyle(e,null).getPropertyValue("overflow");return t.indexOf("scroll")>-1||t.indexOf("auto")>-1}function t(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var n=t.parentNode;n.parentNode;){if(e(n))return n;n=n.parentNode}return document.scrollingElement||document.documentElement}}return t})?n.apply(t,r):n)||(e.exports=i)},96774:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!s(l))return!1;var u=e[l],f=t[l];if(!1===(i=n?n.call(r,u,f,l):void 0)||void 0===i&&u!==f)return!1}return!0}},37478:function(e,t,n){"use strict";var r=n(40210),i=n(21924),o=n(70631),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),l=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return l(e,r)}else if(c){if(t)return h(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(c){if(t)return p(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,i)):c?(t||(t=new c),d(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},32553:function(e,t,n){"use strict";var r=n(89509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
2case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if(i=a(t[r]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if(i=a(t[r]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},43726:function(e,t,n){"use strict";var r;!function(i){if("function"!=typeof o){var o=function(e){return e};o.nonNative=!0}const a=o("plaintext"),s=o("html"),c=o("comment"),l=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function f(e,t,n){return d(e=e||"",h(t=t||[],n=n||""))}function h(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=l.exec(e);)t.add(n[1])}else o.nonNative||"function"!=typeof e[o.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:a,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,r=t.tag_replacement,i=t.state,o=t.tag_buffer,l=t.depth,u=t.in_quote_char,f="";for(let t=0,h=e.length;t<h;t++){let h=e[t];if(i===a)if("<"===h)i=s,o+=h;else f+=h;else if(i===s)switch(h){case"<":if(u)break;l++;break;case">":if(u)break;if(l){l--;break}u="",i=a,o+=">",n.has(p(o))?f+=o:f+=r,o="";break;case'"':case"'":u=h===u?"":u||h,o+=h;break;case"-":"<!-"===o&&(i=c),o+=h;break;case" ":case"\n":if("<"===o){i=a,f+="< ",o="";break}o+=h;break;default:o+=h}else if(i===c)if(">"===h)"--"==o.slice(-2)&&(i=a),o="";else o+=h}return t.state=i,t.tag_buffer=o,t.depth=l,t.in_quote_char=u,f}function p(e){let t=u.exec(e);return t?t[1].toLowerCase():null}f.init_streaming_mode=function(e,t){let n=h(e=e||[],t=t||"");return function(e){return d(e||"",n)}},void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}()},35036:function(e,t,n){"use strict";var r=n(93379),i=n.n(r),o=n(98794),a={insert:"head",singleton:!1};i()(o.Z,a),o.Z.locals},84661:function(e,t,n){"use strict";var r=n(93379),i=n.n(r),o=n(53827),a={insert:"head",singleton:!1};i()(o.Z,a),o.Z.locals},86636:function(e,t,n){"use strict";var r=n(93379),i=n.n(r),o=n(55287),a={insert:"head",singleton:!1};i()(o.Z,a),o.Z.locals},93379:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;
vendor: 4,967 bytes, line 2
2n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],c=t.base?o[0]+t.base:o[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var f=s(u),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(h)):a.push({identifier:u,updater:m(h,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function h(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,g=0;function m(e,t){var n,r,i;if(t.singleton){var o=g++;n=p||(p=l(t)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=l(t),r=d.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=c(e,t),l=0;l<n.length;l++){var u=s(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=o}}}},71893:function(e,t,n){"use strict";n.d(t,{iv:function(){return ye},vJ:function(){return je}});var r=n(59864),i=n(67294),o=n(96774),a=n.n(o),s=n(48285),c=n(97271),l=n(71068),u=n(8679),f=n.n(u),h=n(34155);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var p=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},m=Object.freeze([]),v=Object.freeze({});function y(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var w=void 0!==h&&void 0!==h.env&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",x="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&(void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&("false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY))),E={};function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var O=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&k(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),C=new Map,A=new Map,T=1,P=function(e){if(C.has(e))return C.get(e);for(;A.has(T);)T++;var t=T++;return C.set(e,t),A.set(t,e),t},D=function(e){return A.get(e)},M=function(e,t){t>=T&&(T=t+1),C.set(e,t),A.set(t,e)}
vendor: 4,559 bytes, line 2
2,R="style["+w+'][data-styled-version="5.3.11"]',j=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},L=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(j);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(M(l,c),N(e,l,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(a)}}},I=function(){return n.nc},B=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(w))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(w,"active"),r.setAttribute("data-styled-version","5.3.11");var a=I();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},F=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}k(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=B(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),U=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=x,q={isServer:!x,useCSSOMInjection:!S},$=function(){function e(e,t,n){void 0===e&&(e=v),void 0===t&&(t={}),this.options=d({},q,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&x&&H&&(H=!1,function(e){for(var t=document.querySelectorAll(R),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(w)&&(L(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(d({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new U(i):r?new F(i):new z(i),new O(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=D(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var c=w+".g"+i+'[id="'+o+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),r+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),W=/(a)(d)/gi,V=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=V(t%52)+n;return(V(t%52)+n).replace(W,"$1-$2")}var G=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Z=function(e){return G(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!_(n))return!1}return!0}var X=Z("5.3.11"),Q=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=G(X,t),this.baseStyle=n,$.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n
vendor: 10,027 bytes, line 2
2)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=me(this.rules,e,t,n).join(""),a=K(G(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=G(this.baseHash,n.hash),u="",f=0;f<c;f++){var h=this.rules[f];if("string"==typeof h)u+=h;else if(h){var d=me(h,e,t,n),p=Array.isArray(d)?d.join(""):d;l=G(l,p+f),u+=p}}if(u){var g=K(l>>>0);if(!t.hasNameForId(r,g)){var m=n(u,"."+g,void 0,r);t.insertRules(r,g,m)}i.push(g)}}return i.join(" ")},e}(),J=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function te(e){var t,n,r,i,o=void 0===e?v:e,a=o.options,c=void 0===a?v:a,l=o.plugins,u=void 0===l?m:l,f=new s.Z(c),h=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,c,l,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){h.push(e)})),p=function(e,r,o){return 0===r&&-1!==ee.indexOf(o[n.length])||o.match(i)?e:"."+t};function g(e,o,a,s){void 0===s&&(s="&");var c=e.replace(J,""),l=o&&a?a+" "+o+" { "+c+" }":c;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),f(a||!o?"":o,l)}return f.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},d,function(e){if(-2===e){var t=h;return h=[],t}}])),g.hash=u.length?u.reduce((function(e,t){return t.name||k(15),G(e,t.name)}),5381).toString():"",g}var ne=i.createContext(),re=(ne.Consumer,i.createContext()),ie=(re.Consumer,new $),oe=te();function ae(){return(0,i.useContext)(ne)||ie}function se(){return(0,i.useContext)(re)||oe}function ce(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=ae(),s=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=(0,i.useMemo)((function(){return te({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,i.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),i.createElement(ne.Provider,{value:s},i.createElement(re.Provider,{value:c},e.children))}var le=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=oe);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return k(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=oe),this.name+e.hash},e}(),ue=/([A-Z])/,fe=/([A-Z])/g,he=/^ms-/,de=function(e){return"-"+e.toLowerCase()};function pe(e){return ue.test(e)?e.replace(fe,de).replace(he,"-ms-"):e}var ge=function(e){return null==e||!1===e||""===e};function me(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=me(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return ge(e)?"":_(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:me(e(t),t,n,r):e instanceof le?n?(e.inject(n,r),e.getName(r)):e:g(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!ge(t[a])&&(Array.isArray(t[a])&&t[a].isCss||y(t[a])?o.push(pe(a)+":",t[a],";"):g(t[a])?o.push.apply(o,e(t[a],a)):o.push(pe(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in c.Z||r.startsWith("--")?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}var ve=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ye(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y(e)||g(e)?ve(me(p(m,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ve(me(p(e,n)))}new Set;var be=function(e,t,n){return void 0===n&&(n=v),e.theme!==n.theme&&e.theme||t||n.theme},_e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,we=/(^-|-$)/g;function xe(e){return e.replace(_e,"-").replace(we,"")}var Se=function(e){return K(Z(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Oe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ce(e,t,n){var r=e[n];ke(t)&&ke(r)?Ae(r,t):e[n]=t}function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(ke(a))for(var s in a)Oe(s)&&Ce(e,a[s],s)}return e}var Te=i.createContext();Te.Consumer;var Pe={};function De(e,t,n){var r=_(e),o=!Ee(e),a=t.attrs,s=void 0===a?m:a,c=t.componentId,u=void 0===c?function(e,t){var n="string"!=typeof e?"sc":xe(e);Pe[n]=(Pe[n]||0)+1;var r=n+"-"+Se("5.3.11"+n+Pe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):c,h=t.displayName,p=void 0===h?function(e){return Ee(e)?"styled."+e:"Styled("+b(e)+")"}(e):h,g=t.displayName&&t.componentId?xe(t.displayName)+"-"+t.componentId:t.componentId||u,w=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,x=t.shouldForwardProp;r&&e.shouldForwardProp&&(x=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var S,E=new Q(n,g,r?e.componentStyle:void 0),k=E.isStatic&&0===s.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.shouldForwardProp,f=e.styledComponentId,h=e.target,p=function(e,t,n){void 0===e&&(e=v);var r=d({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in y(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(be(t,(0,i.useContext)(Te),s)||v,t,o),g=p[0],m=p[1],b=function(e,t,n,r){var i=ae(),o=se();return t?e.generateAndInjectStyles(v,i,o):e.generateAndInjectStyles(n,i,o)}(a,r,g),_=n,w=m.$as||t.$as||m.as||t.as||h,x=Ee(w),S=m!==t?d({},t,{},m):t,E={};for(var k in S)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?E.as=S[k]:(u?u(k,l.Z,w):!x||(0,l.Z)(k))&&(E[k]=S[k]));return t.style&&m.style!==t.style&&(E.style=d({},t.style,{},m.style)),E.className=Array.prototype.concat(c,f,b!==f?b:null,t.className,m.className).filter(Boolean).join(" "),E.ref=_,(0,i.createElement)(w,E)}(S,e,t,k)};return O.displayName=p,(S=i.forwardRef(O)).attrs=w,S.componentStyle=E,S.displayName=p,S.shouldForwardProp=x,S.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):m,S.styledComponentId=g,S.target=r?e.target:e,S.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(Ee(e)?e:xe(b(e)));return De(e,d({},i,{attrs:w,componentId:o}),n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Ae({},e.defaultProps,t):t}}),Object.defineProperty(S,"toString",{value:function(){return"."+S.styledComponentId}}),o&&f()(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}var Me=function(e){return function e(t,n,i){if(void 0===i&&(i=v),!(0,r.isValidElementType)(n))return k(1,String(n));var o=function(){return t(n,i,ye.apply(void 0,arguments))};return o.withConfig=function(r){return e(t,n,d({},i,{},r))},o.attrs=function(r){return e(t,n,d({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(De,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Me[e]=Me(e)}));var Re=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),$.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(me(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&$.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ye.apply(void 0,[e].concat(n)),a="sc-global-"+Se(JSON.stringify(o)),s=new Re(o,a);function c(e){var t=ae(),n=se(),r=(0,i.useContext)(Te),o=(0,i.useRef)(t.allocateGSInstance(a)).current;return t.server&&l(o,e,t,r,n),(0,i.useLayoutEffect)((function(){if(!t.server)return l(o,e,t,r,n),function(){return s.removeStyles(o,t)}}),[o,e,t,r,n]),null}function l(e,t,n,r,i){if(s.isStatic)s.renderStyles(e,E,n,i);else{var o=d({},t,{theme:be(t,r,c.defaultProps)});s.renderStyles(e,o,n,i)}}return i.memo(c)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=I();
2return"<style "+[n&&'nonce="'+n+'"',w+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?k(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return k(2);var n=((t={})[w]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=I();return r&&(n.nonce=r),[i.createElement("style",d({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new $({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?k(2):i.createElement(ce,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return k(3)}}();t.ZP=Me},14194:function(e,t,n){"use strict";var r=n(43832),i=n.n(r),o=n(27563),a=n(20211),s=n(26686),c=n(92190);function l(e,t,n){switch(e.type){case o.K$:case o.h5:case o.Ab:return e.return=e.return||e.value;case o.Fr:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===o.Ab&&(e.children=e.value)}))}var r=(0,a.q)(Array.prototype.concat(e.children),l);return(0,s.to)(r)?e.return=e.value+"{"+r+"}":""}function u(e,t,n,r){if(e.type===o.lK||e.type===o.QY||e.type===o.Fr&&(!e.parent||e.parent.type===o.iD||e.parent.type===o.Fr)){var a=i().transform(l(e));e.children=a?(0,c.MY)(a)[0].children:[],e.return=""}}Object.defineProperty(u,"name",{value:"stylisRTLPlugin"}),t.Z=u},60111:function(e,t,n){"use strict";n.d(t,{Ld:function(){return Q}});var r=n(28583),i=n.n(r),o=n(13886),a=n.n(o),s=!1;if("undefined"!=typeof window)try{var c=Object.defineProperty({},"passive",{get:function(){s=!0}});window.addEventListener("test",null,c),window.removeEventListener("test",null,c)}catch(e){}var l=s,u={connections:{},EE:new(a()),enableResizeInfo:!1,enableScrollInfo:!1,listeners:{},removers:[],supportPassiveEvent:l},f=u.supportPassiveEvent,h={capture:!1,passive:!1};var d=function(e,t,n,r){var o="addEventListener",a="removeEventListener",s=t,c=!!f&&i()({},h,r);return!e.addEventListener&&e.attachEvent&&(o="attachEvent",a="detachEvent",s="on"+t),e[o](s,n,c),{remove:function(){e[a](t,n)}}},p=!1;if("undefined"!=typeof navigator){var g=navigator.userAgent.match(/MSIE (\d+\.\d+)/);g&&(p=parseFloat(g[1],10)<9)}var m=p,v=n(66678),y=n.n(v),b=n(23493),_=n.n(b),w=n(50308),x=n.n(w),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var E={width:0,height:0},k={delta:0,top:0},O={axisIntention:"",startX:0,startY:0,deltaX:0,deltaY:0},C=function(e){var t={x:0,y:0},n=document.body,r=document.documentElement;return e.pageX||e.pageY?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX+n.scrollLeft+r.scrollLeft,t.y=e.clientY+n.scrollTop+r.scrollTop),t},A=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(t.mainType||"").toLowerCase(),r=(t.subType||"").toLowerCase();this.mainType=n,this.subType=r,this.type=n+r.charAt(0).toUpperCase()+r.slice(1)||"",this.scroll=k,this.resize=E,this.touch=O}return S(e,[{key:"update",value:function(e){var t=this.mainType,n=this.subType,r=document.documentElement;if(u.enableScrollInfo&&("scroll"===t||"touchmove"===t)){var i=r.scrollTop+document.body.scrollTop;i!==this.scroll.top&&(this.scroll.delta=i-this.scroll.top,this.scroll.top=i)}if(u.enableResizeInfo&&"resize"===t&&(this.resize.width=window.innerWidth||r.clientWidth,this.resize.height=window.innerHeight||r.clientHeight),u.enableTouchInfo&&e.touches&&("touchstart"===t||"touchmove"===t||"touchend"===t)){var o=void 0,a=void 0,s=void 0;"touchstart"===t||"start"===n?(o=C(e.touches[0]),this.touch.axisIntention="",this.touch.startX=o.x,this.touch.startY=o.y,this.touch.deltaX=0,this.touch.deltaY=0):"touchmove"===t&&(o=C(e.touches[0]),this.touch.deltaX=o.x-this.touch.startX,this.touch.deltaY=o.y-this.touch.startY,""===this.touch.axisIntention&&(a=Math.abs(this.touch.deltaX),s=Math.abs(this.touch.deltaY),a>5&&a>=s?this.touch.axisIntention="x":s>5&&s>a&&(this.touch.axisIntention="y")))}}}]),e}(),T=A,P=n(54087),D=n.n(P),M=Date.now||function(){return(new Date).getTime()};var R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=void 0,r=void 0,i=0,o=0,a=function a(){var s=M();t-(s-i)<=0?(i=s,o=0,e.apply(n,r)):o=D()(a)};return function(){n=this,r=arguments,o||(o=D()(a))}},j=100,N=50,L=u.connections,I=u.EE,B=u.listeners,F=u.removers,z=void 0,U=void 0,H=void 0,q=0;function $(e){return e.id||"target-id-"+q++}function W(e,t,n,r){return I.on(e,t||x(),n),L[r=r||e]=(L[r]||0)+1,{_type:e,_cb:t,_ctx:n,unsubscribe:function(){if(this._type){I.removeListener(e,t,n),L[r]--,0===L[r]&&(B[r].remove(),B[r]=void 0),this._type=void 0,this._cb=void 0,this._ctx=void 0;for(var i=F.length-1;i>=0;i--){if(F[i]===this){F.splice(i,1);break}}}}}}
2function V(e,t,n){return function(r,i,o,a){var s=o.context,c=o.target,l=c&&$(c),u=l?":"+l:"",f=t+"Start:"+r+u,h=t+"End:"+r+u,p=t+":"+r+u,g=W(n+":"+r+u,i,s,p);if(F.push(g),B[p])return g;var v={start:new T({mainType:t,subType:"start"}),main:new T({mainType:t}),end:new T({mainType:t,subType:"end"})};"raf"===r?(r=16,x=R(x)):r>0&&(x=_()(x,r));var b=void 0;function w(e){v.end.update(e),I.emit(h,e,v.end),b=null}function x(e){b||(v.start.update(e),I.emit(f,e,v.start)),clearTimeout(b),v.main.update(e),I.emit(p,e,v.main),b=m?setTimeout((function(){w(y()(e))}),r+j):setTimeout(w.bind(null,e),r+j)}return B[p]=d(c||e,t,x,a),g}}function K(e,t){return function(n,r,i,o){var a=i.context,s=i.target,c=s&&$(s),l=t+":0"+(c?":"+c:""),u=W(l,r,a);if(F.push(u),B[l])return u;var f=new T({mainType:t});return B[l]=d(s||e,t,(function(e){f.update(e),I.emit(l,e,f)}),o),u}}"undefined"!=typeof window&&(H=(z=(U=window).document||document).body);var G={scrollStart:V(U,"scroll","scrollStart"),scrollEnd:V(U,"scroll","scrollEnd"),scroll:V(U,"scroll","scroll"),resizeStart:V(U,"resize","resizeStart"),resizeEnd:V(U,"resize","resizeEnd"),resize:V(U,"resize","resize"),visibilitychange:K(z,"visibilitychange"),touchmoveStart:V(H,"touchmove","touchmoveStart"),touchmoveEnd:V(H,"touchmove","touchmoveEnd"),touchmove:V(H,"touchmove","touchmove"),touchstart:K(H,"touchstart"),touchend:K(H,"touchend")};var Z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.useRAF||!1,i=parseInt(n.throttleRate,10),o=n.eventOptions;return isNaN(i)&&(i=N),r&&(i="raf"),m&&(i=0),u.enableScrollInfo=u.enableScrollInfo||n.enableScrollInfo||!1,u.enableResizeInfo=u.enableResizeInfo||n.enableResizeInfo||!1,u.enableTouchInfo=u.enableTouchInfo||n.enableTouchInfo||!1,G[e](i,t,n,o)};u.removers;var Y="undefined"!=typeof window;function X(){0}var Q=Y?Z:X},13886:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(l=1,c=new Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var h,d=u.length;for(l=0;l<d;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,i);break;default:if(!c)for(h=1,c=new Array(f-1);h<f;h++)c[h-1]=arguments[h];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&l.push(s[c]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},26018:function(e){"use strict";var t=!0,n="Invariant failed";e.exports=function(e,r){if(!e){if(t)throw new Error(n);var i="function"==typeof r?r():r,o=i?"".concat(n,": ").concat(i):n;throw new Error(o)}}},45298:function(e,t,n){"use strict";n.r(t);var r=!0;t.default=function(e,t){if(!r){if(e)return;var n="Warning: "+t;"undefined"!=typeof console&&console.warn(n);try{throw Error(n)}catch(e){}}}},46488:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof r(e).Element||e instanceof Element}function o(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{ZP:function(){return dt}});var s=Math.max,c=Math.min,l=Math.round;function u(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(u())}function h(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&o(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);
vendor: 4,371 bytes, line 2
2var u=(i(e)?r(e):window).visualViewport,h=!f()&&n,d=(a.left+(h&&u?u.offsetLeft:0))/s,p=(a.top+(h&&u?u.offsetTop:0))/c,g=a.width/s,m=a.height/c;return{width:g,height:m,top:p,right:d+g,bottom:p+m,left:d,x:d,y:p}}function d(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return h(g(e)).left+d(e).scrollLeft}function v(e){return r(e).getComputedStyle(e)}function y(e){var t=v(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function b(e,t,n){void 0===n&&(n=!1);var i,a,s=o(t),c=o(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=g(t),f=h(e,c,n),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(t)||y(u))&&(v=(i=t)!==r(i)&&o(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:d(i)),o(t)?((b=h(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=m(u))),{x:f.left+v.scrollLeft-b.x,y:f.top+v.scrollTop-b.y,width:f.width,height:f.height}}function _(e){var t=h(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||g(e)}function x(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:o(e)&&y(e)?e:x(w(e))}function S(e,t){var n;void 0===t&&(t=[]);var i=x(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=r(i),s=o?[a].concat(a.visualViewport||[],y(i)?i:[]):i,c=t.concat(s);return o?c:c.concat(S(w(s)))}function E(e){return["table","td","th"].indexOf(p(e))>=0}function k(e){return o(e)&&"fixed"!==v(e).position?e.offsetParent:null}function O(e){for(var t=r(e),n=k(e);n&&E(n)&&"static"===v(n).position;)n=k(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===v(n).position)?t:n||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&o(e)&&"fixed"===v(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);o(n)&&["html","body"].indexOf(p(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var C="top",A="bottom",T="right",P="left",D="auto",M=[C,A,T,P],R="start",j="end",N="clippingParents",L="viewport",I="popper",B="reference",F=M.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+j])}),[]),z=[].concat(M,[D]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+j])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=a);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,f={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;h(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:i(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(t)};var s=function(e){var t=H(e);return U.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,c.options.modifiers)));return c.orderedModifiers=s.filter((function(e){return e.enabled}
vendor: 3,742 bytes, line 2
2)),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:c,name:t,instance:f,options:r}),a=function(){};l.push(o||a)}})),f.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,n=e.popper;if($(t,n)){c.rects={reference:b(t,O(n),"fixed"===c.options.strategy),popper:_(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var i=c.orderedModifiers[r],o=i.fn,a=i.options,s=void 0===a?{}:a,l=i.name;"function"==typeof o&&(c=o({state:c,options:s,name:l,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){h(),u=!0}};if(!$(e,t))return f;function h(){l.forEach((function(e){return e()})),l=[]}return f.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var V={passive:!0};function K(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?K(i):null,a=i?G(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case C:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:c};break;case P:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?Z(o):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case R:t[l]=t[l]-(n[u]/2-r[u]/2);break;case j:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,h=e.roundOffsets,d=e.isFixed,p=s.x,m=void 0===p?0:p,y=s.y,b=void 0===y?0:y,_="function"==typeof h?h({x:m,y:b}):{x:m,y:b};m=_.x,b=_.y;var w=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),S=P,E=C,k=window;if(f){var D=O(n),M="clientHeight",R="clientWidth";if(D===r(n)&&"static"!==v(D=g(n)).position&&"absolute"===c&&(M="scrollHeight",R="scrollWidth"),o===C||(o===P||o===T)&&a===j)E=A,b-=(d&&D===k&&k.visualViewport?k.visualViewport.height:D[M])-i.height,b*=u?1:-1;if(o===P||(o===C||o===A)&&a===j)S=T,m-=(d&&D===k&&k.visualViewport?k.visualViewport.width:D[R])-i.width,m*=u?1:-1}var N,L=Object.assign({position:c},f&&X),I=!0===h?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:l(t*r)/r||0,y:l(n*r)/r||0}}({x:m,y:b}):{x:m,y:b};return m=I.x,b=I.y,u?Object.assign({},L,((N={})[E]=x?"0":"",N[S]=w?"0":"",N.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",N)):Object.assign({},L,((t={})[E]=x?b+"px":"",t[S]=w?m+"px":"",t.transform="",t))}var J={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&p(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});
vendor: 7,854 bytes, line 2
2o(r)&&p(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=z.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),i=[P,C].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[P,T].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===L?ae(function(e,t){var n=r(e),i=g(e),o=n.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,l=0;if(o){a=o.width,s=o.height;var u=f();(u||!u&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:c+m(e),y:l}}(e,n)):i(t)?function(e,t){var n=h(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=g(e),r=d(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=s(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-r.scrollLeft+m(e),l=-r.scrollTop;return"rtl"===v(i||n).direction&&(c+=s(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:c,y:l}}(g(e)))}function ce(e,t,n,r){var a="clippingParents"===t?function(e){var t=S(w(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&o(e)?O(e):e;return i(n)?t.filter((function(e){return i(e)&&oe(e,n)&&"body"!==p(e)})):[]}(e):[].concat(t),l=[].concat(a,[n]),u=l[0],f=l.reduce((function(t,n){var i=se(e,n,r);return t.top=s(i.top,t.top),t.right=c(i.right,t.right),t.bottom=c(i.bottom,t.bottom),t.left=s(i.left,t.left),t}),se(e,u,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,c=n.boundary,l=void 0===c?N:c,u=n.rootBoundary,f=void 0===u?L:u,d=n.elementContext,p=void 0===d?I:d,m=n.altBoundary,v=void 0!==m&&m,y=n.padding,b=void 0===y?0:y,_=le("number"!=typeof b?b:ue(b,M)),w=p===I?B:I,x=e.rects.popper,S=e.elements[v?w:p],E=ce(i(S)?S:S.contextElement||g(e.elements.popper),l,f,s),k=h(e.elements.reference),O=Y({reference:k,element:x,strategy:"absolute",placement:o}),P=ae(Object.assign({},x,O)),D=p===I?P:k,R={top:E.top-D.top+_.top,bottom:D.bottom-E.bottom+_.bottom,left:E.left-D.left+_.left,right:D.right-E.right+_.right},j=e.modifiersData.offset;if(p===I&&j){var F=j[o];Object.keys(R).forEach((function(e){var t=[T,A].indexOf(e)>=0?1:-1,n=[C,A].indexOf(e)>=0?"y":"x";R[e]+=F[n]*t}))}return R}function he(e,t,n){return s(e,c(t,n))}var de={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.padding,p=n.tether,g=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,y=fe(t,{boundary:u,rootBoundary:f,padding:d,altBoundary:h}),b=K(t.placement),w=G(t.placement),x=!w,S=Z(b),E="x"===S?"y":"x",k=t.modifiersData.popperOffsets,D=t.rects.reference,M=t.rects.popper,j="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,N="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(o){var B,F="y"===S?C:P,z="y"===S?A:T,U="y"===S?"height":"width",H=k[S],q=H+y[F],$=H-y[z],W=g?-M[U]/2:0,V=w===R?D[U]:M[U],Y=w===R?-M[U]:-D[U],X=t.elements.arrow,Q=g&&X?_(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[F],te=J[z],ne=he(0,D[U],Q[U]),re=x?D[U]/2-W-ne-ee-N.mainAxis:V-ne-ee-N.mainAxis,ie=x?-D[U]/2+W+ne+te+N.mainAxis:Y+ne+te+N.mainAxis,oe=t.elements.arrow&&O(t.elements.arrow),ae=oe?"y"===S?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(B=null==L?void 0:L[S])?B:0,ce=H+ie-se,le=he(g?c(q,H+re-se-ae):q,H,g?s($,ce):$);k[S]=le,I[S]=le-H}if(l){var ue,de="x"===S?C:P,pe="x"===S?A:T,ge=k[E],me="y"===E?"height":"width",ve=ge+y[de],ye=ge-y[pe],be=-1!==[C,P].indexOf(b),_e=null!=(ue=null==L?void 0:L[E])?ue:0,we=be?ve:ge-D[me]-M[me]-_e+N.altAxis,xe=be?ge+D[me]+M[me]-_e-N.altAxis:ye,Se=g&&be?function(e,t,n){var r=he(e,t,n);return r>n?n:r}(we,ge,xe):he(g?we:ve,ge,g?xe:ye);k[E]=Se,I[E]=Se-ge}t.modifiersData[r]=I}},requiresIfExists:["offset"]},pe=function(e,t){return le("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,M))};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=K(n.placement),c=Z(s),l=[P,T].indexOf(s)>=0?"height":"width";if(o&&a){var u=pe(i.padding,n),f=_(o),h="y"===c?C:P,d="y"===c?A:T,p=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],g=a[c]-n.rects.reference[c],m=O(o),v=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,y=p/2-g/2,b=u[h],w=v-f[l]-u[d],x=v/2-f[l]/2+y,S=he(b,x,w),E=c;n.modifiersData[r]=((t={})[E]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&oe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ve(e){return[C,T,A,P].some((function(t){return e[t]>=0}))}var ye=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,c=void 0===s||s,l=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,V)})),c&&l.addEventListener("resize",n.update,V),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),c&&l.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,l={placement:K(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roun
vendor: 4,429 bytes, line 2
2dOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},J,ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=void 0===d||d,g=n.allowedAutoPlacements,m=t.options.placement,v=K(m),y=c||(v===m||!p?[ne(m)]:function(e){if(K(e)===D)return[];var t=ne(e);return[ie(e),t,ie(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(K(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?z:c,u=G(r),f=u?s?F:F.filter((function(e){return G(e)===u})):M,h=f.filter((function(e){return l.indexOf(e)>=0}));0===h.length&&(h=f);var d=h.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[K(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,S=!0,E=b[0],k=0;k<b.length;k++){var O=b[k],j=K(O),N=G(O)===R,L=[C,A].indexOf(j)>=0,I=L?"width":"height",B=fe(t,{placement:O,boundary:u,rootBoundary:f,altBoundary:h,padding:l}),U=L?N?T:P:N?A:C;_[I]>w[I]&&(U=ne(U));var H=ne(U),q=[];if(o&&q.push(B[j]<=0),s&&q.push(B[U]<=0,B[H]<=0),q.every((function(e){return e}))){E=O,S=!1;break}x.set(O,q)}if(S)for(var $=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},W=p?3:1;W>0;W--){if("break"===$(W))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},de,ge,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),l=me(s,i,o),u=ve(c),f=ve(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),be="tippy-box",_e="tippy-content",we="tippy-backdrop",xe="tippy-arrow",Se="tippy-svg-arrow",Ee={passive:!0,capture:!0},ke=function(){return document.body};function Oe(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ae(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Te(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Pe(e){return[].concat(e)}function De(e,t){-1===e.indexOf(t)&&e.push(t)}function Me(e){return e.split("-")[0]}function Re(e){return[].slice.call(e)}function je(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ne(){return document.createElement("div")}function Le(e){return["Element","Fragment"].some((function(t){return Ce(e,t)}))}function Ie(e){return Ce(e,"MouseEvent")}function Be(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Fe(e){return Le(e)?[e]:function(e){return Ce(e,"NodeList")}(e)?Re(e):Array.isArray(e)?e:Re(document.querySelectorAll(e))}function ze(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ue(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function He(e){var t,n=Pe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function qe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function $e(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var We={isTouch:!1},Ve=0;function Ke(){We.isTouch||(We.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ge))}function Ge(){var e=performance.now();
vendor: 4,298 bytes, line 2
2e-Ve<20&&(We.isTouch=!1,document.removeEventListener("mousemove",Ge)),Ve=e}function Ze(){var e=document.activeElement;if(Be(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ye=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Xe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Qe=Object.assign({appendTo:ke,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Xe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Je=Object.keys(Qe);function et(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=Qe[i])?r:o);return t}),{});return Object.assign({},e,t)}function tt(e,t){var n=Object.assign({},t,{content:Ae(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(et(Object.assign({},Qe,{plugins:t}))):Je).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Qe.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var nt=function(){return"innerHTML"};function rt(e,t){e[nt()]=t}function it(e){var t=Ne();return!0===e?t.className=xe:(t.className=Se,Le(e)?t.appendChild(e):rt(t,e)),t}function ot(e,t){Le(t.content)?(rt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?rt(e,t.content):e.textContent=t.content)}function at(e){var t=e.firstElementChild,n=Re(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(_e)})),arrow:n.find((function(e){return e.classList.contains(xe)||e.classList.contains(Se)})),backdrop:n.find((function(e){return e.classList.contains(we)}))}}function st(e){var t=Ne(),n=Ne();n.className=be,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ne();function i(n,r){var i=at(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||ot(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(it(r.arrow))):o.appendChild(it(r.arrow)):s&&o.removeChild(s)}return r.className=_e,r.setAttribute("data-state","hidden"),ot(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}st.$$tippy=!0;var ct=1,lt=[],ut=[];function ft(e,t){var n,r,i,o,a,s,c,l,u=tt(e,Object.assign({},Qe,et(je(t)))),f=!1,h=!1,d=!1,p=!1,g=[],m=Te(K,u.interactiveDebounce),v=ct++,y=(l=u.plugins).filter((function(e,t){return l.indexOf(e)===t})),b={id:v,reference:e,popper:Ne(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;R("onBeforeUpdate",[b,t]),W();var n=b.props,r=tt(e,Object.assign({},n,je(t),{ignoreAttributes:!0}));b.props=r,$(),n.interactiveDebounce!==r.interactiveDebounce&&(L(),m=Te(K,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Pe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");N(),M(),x&&x(n,r);
vendor: 5,285 bytes, line 2
2b.popperInstance&&(X(),J().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));R("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=We.isTouch&&!b.props.touch,i=Oe(b.props.duration,0,Qe.duration);if(e||t||n||r)return;if(A().hasAttribute("disabled"))return;if(R("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(w.style.visibility="visible");M(),z(),b.state.isMounted||(w.style.transition="none");if(C()){var o=P();ze([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!p){if(p=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=P(),n=t.box,r=t.content;ze([n,r],i),Ue([n,r],"visible")}j(),N(),De(ut,b),null==(e=b.popperInstance)||e.forceUpdate(),R("onMount",[b]),b.props.animation&&C()&&function(e,t){H(e,t)}(i,(function(){b.state.isShown=!0,R("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=A();e=b.props.interactive&&t===ke||"parent"===t?n.parentNode:Ae(t,[n]);e.contains(w)||e.appendChild(w);b.state.isMounted=!0,X(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Oe(b.props.duration,1,Qe.duration);if(e||t||n)return;if(R("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,p=!1,f=!1,C()&&(w.style.visibility="hidden");if(L(),U(),M(!0),C()){var i=P(),o=i.box,a=i.content;b.props.animation&&(ze([o,a],r),Ue([o,a],"hidden"))}j(),N(),b.props.animation?C()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",m),De(lt,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),J().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);ut=ut.filter((function(e){return e!==b})),b.state.isMounted=!1,R("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),W(),delete e._tippy,b.state.isDestroyed=!0,R("onDestroy",[b])}};if(!u.render)return b;var _=u.render(b),w=_.popper,x=_.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var S=y.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded");return $(),N(),M(),R("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)})),b;function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function O(){return"hold"===k()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function A(){return c||e}function T(){var e=A().parentNode;return e?He(e):document}function P(){return at(w)}function D(e){return b.state.isMounted&&!b.state.isVisible||We.isTouch||o&&"focus"===o.type?0:Oe(b.props.delay,e?0:1,Qe.delay)}function M(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function R(e,t,n){var r;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function j(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.id;Pe(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function N(){!E&&b.props.aria.expanded&&Pe(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===A()?"true":"false"):e.removeAttribute("aria-expanded")}))}function L(){T().removeEventListener("mousemove",m),lt=lt.filter((function(e){return e!==m}))}function I(t){if(!We.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!$e(w,n)){if(Pe(b.props.triggerTarget||e).some((function(e){return $e(e,n)}))){if(We.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),h=!0,setTimeout((function(){h=!1})),b.state.isMounted||U())}}}function B(){d=!0}function F(){d=!1}function z(){var e=T();e.addEventListener("mousedown",I,!0),e.addEventListener("touchend",I,Ee),e.addEventListener("touchstart",F,Ee),e.addEventListener("touchmove",B,Ee)}function U(){var e=T();e.removeEventListener("mousedown",I,!0),e.removeEventListener("touchend",I,Ee),e.removeEventListener("touchstart",F,Ee),e.removeEventListener("touchmove",B,Ee)}function H(e,t){var n=P().box;function r(e){e.target===n&&(qe(n,"remove",r),t())}if(0===e)return t();qe(n,"remove",a),qe(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Pe(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),g.push({node:e,eventType:t,handler:n,options:r})}))}function $(){var e;O()&&(q("touchstart",V,{passive:!0}),q("touchend",G,{passive:!0}
vendor: 6,785 bytes, line 2
2)),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,V),e){case"mouseenter":q("mouseleave",G);break;case"focus":q(Ye?"focusout":"blur",Z);break;case"focusin":q("focusout",Z)}}))}function W(){g.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),g=[]}function V(e){var t,n=!1;if(b.state.isEnabled&&!Y(e)&&!h){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,N(),!b.state.isVisible&&Ie(e)&<.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function K(e){var t=e.target,n=A().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var r=J().concat(w).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=Me(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,h=t.top-r+c>o,d=r-t.bottom-l>o,p=t.left-n+u>o,g=n-t.right-f>o;return h||d||p||g}))})(r,e)&&(L(),te(e))}}function G(e){Y(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Z(e){b.props.trigger.indexOf("focusin")<0&&e.target!==A()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function Y(e){return!!We.isTouch&&O()!==e.type.indexOf("touch")>=0}function X(){Q();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=C()?at(w).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||A()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];C()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ye(l,w,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return Re(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&R("onTrigger",[b,e]),z();var t=D(!0),r=k(),i=r[0],o=r[1];We.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),R("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=D(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else U()}}function ht(e,t){void 0===t&&(t={});var n=Qe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ke,Ee),window.addEventListener("blur",Ze);var r=Object.assign({},t,{plugins:n}),i=Fe(e).reduce((function(e,t){var n=t&&ft(t,r);return n&&e.push(n),e}),[]);return Le(e)?i[0]:i}ht.defaultProps=Qe,ht.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Qe[t]=e[t]}))},ht.currentInput=We;Object.assign({},J,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});ht.setDefaultProps({render:st});var dt=ht},63827:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),i=function(e,t){"function"!=typeof e?e.current=t:e(t)},o=function(e,t){var n=r.useRef();return r.useCallback((function(r){e.current=r,n.current&&i(n.current,null),n.current=t,t&&i(t,r)}),[t])}},4193:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),i=r.useLayoutEffect,o=function(e){var t=r.useRef(e);return i((function(){t.current=e})),t}},83:function(e,t,n){"use strict";var r=n(67294);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s((function(){i.value=n,i.getSnapshot=t,l(i)&&u({inst:i})}),[e,n,t]),a((function(){return l(i)&&u({inst:i}),e((function(){l(i)&&u({inst:i})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},26251:function(e,t,n){"use strict";var r=n(67294),i=n(61688);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,c=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=l((function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,c=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,i]);var d=a(e,f[0],f[1]);return c((function(){h.hasValue=!0,h.value=d}),[d]),u(d),d}},61688:function(e,t,n){"use strict";e.exports=n(83)},52798:function(e,t,n){"use strict";e.exports=n(26251)},42473:function(e){"use strict";var t=function(){};e.exports=t},12320:function(e){var t;self,t=()=>(()=>{"use strict";var e={4567:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
vendor: 5,788 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;const o=n(9042),a=n(6114),s=n(9924),c=n(844),l=n(5596),u=n(4725),f=n(3656);let h=t.AccessibilityManager=class extends c.Disposable{constructor(e,t){super(),this._terminal=e,this._renderService=t,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=document.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=document.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let e=0;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);if(this._topBoundaryFocusListener=e=>this._handleBoundaryFocus(e,0),this._bottomBoundaryFocusListener=e=>this._handleBoundaryFocus(e,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=document.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new s.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize((e=>this._handleResize(e.rows)))),this.register(this._terminal.onRender((e=>this._refreshRows(e.start,e.end)))),this.register(this._terminal.onScroll((()=>this._refreshRows()))),this.register(this._terminal.onA11yChar((e=>this._handleChar(e)))),this.register(this._terminal.onLineFeed((()=>this._handleChar("\n")))),this.register(this._terminal.onA11yTab((e=>this._handleTab(e)))),this.register(this._terminal.onKey((e=>this._handleKey(e.key)))),this.register(this._terminal.onBlur((()=>this._clearLiveRegion()))),this.register(this._renderService.onDimensionsChange((()=>this._refreshRowsDimensions()))),this._screenDprMonitor=new l.ScreenDprMonitor(window),this.register(this._screenDprMonitor),this._screenDprMonitor.setListener((()=>this._refreshRowsDimensions())),this.register((0,f.addDisposableDomListener)(window,"resize",(()=>this._refreshRowsDimensions()))),this._refreshRows(),this.register((0,c.toDisposable)((()=>{this._accessibilityContainer.remove(),this._rowElements.length=0})))}_handleTab(e){for(let t=0;t<e;t++)this._handleChar(" ")}_handleChar(e){this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=o.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((()=>{this._accessibilityContainer.appendChild(this._liveRegion)}),0))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&this._liveRegion.remove()}_handleKey(e){this._clearLiveRegion(),/\p{Control}/u.test(e)||this._charsToConsume.push(e)}_refreshRows(e,t){this._liveRegionDebouncer.refresh(e,t,this._terminal.rows)}_renderRows(e,t){const n=this._terminal.buffer,r=n.lines.length.toString();for(let i=e;i<=t;i++){const e=n.translateBufferLineToString(n.ydisp+i,!0),t=(n.ydisp+i+1).toString(),o=this._rowElements[i];o&&(0===e.length?o.innerText="Â ":o.textContent=e,o.setAttribute("aria-posinset",t),o.setAttribute("aria-setsize",r))}this._announceCharacters()}_announceCharacters(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")}_handleBoundaryFocus(e,t){const n=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")===(0===t?"1":`${this._terminal.buffer.lines.length}`))return;if(e.relatedTarget!==r)return;let i,o;if(0===t?(i=n,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(i=this._rowElements.shift(),o=n,this._rowContainer.removeChild(i)),i.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){const e=this._createAccessibilityTreeNode();this._rowElements.unshift(e),this._rowContainer.insertAdjacentElement("afterbegin",e)}else{const e=this._createAccessibilityTreeNode();this._rowElements.push(e),this._rowContainer.appendChild(e)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}_handleResize(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let e=this._rowContainer.children.length;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){const e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e}
vendor: 4,635 bytes, line 2
2_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){this._accessibilityContainer.style.width=`${this._renderService.dimensions.css.canvas.width}px`,this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}}_refreshRowDimensions(e){e.style.height=`${this._renderService.dimensions.css.cell.height}px`}};t.AccessibilityManager=h=r([i(1,u.IRenderService)],h)},3614:(e,t)=>{function n(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"�[200~"+e+"�[201~":e}function i(e,t,i,o){e=r(e=n(e),i.decPrivateModes.bracketedPasteMode&&!0!==o.rawOptions.ignoreBracketedPasteMode),i.triggerDataEvent(e,!0),t.value=""}function o(e,t,n){const r=n.getBoundingClientRect(),i=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.width="20px",t.style.height="20px",t.style.left=`${i}px`,t.style.top=`${o}px`,t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=n,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n,r){e.stopPropagation(),e.clipboardData&&i(e.clipboardData.getData("text/plain"),t,n,r)},t.paste=i,t.moveTextAreaUnderMouseCursor=o,t.rightClickHandler=function(e,t,n,r,i){o(e,t,n),i&&r.rightClickSelect(e),t.value=r.selectionText,t.select()}},7239:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;const r=n(1505);t.ColorContrastCache=class{constructor(){this._color=new r.TwoKeyMap,this._css=new r.TwoKeyMap}setCss(e,t,n){this._css.set(e,t,n)}getCss(e,t){return this._css.get(e,t)}setColor(e,t,n){this._color.set(e,t,n)}getColor(e,t){return this._color.get(e,t)}clear(){this._color.clear(),this._css.clear()}}},3656:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,r){e.addEventListener(t,n,r);let i=!1;return{dispose:()=>{i||(i=!0,e.removeEventListener(t,n,r))}}}},6465:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;const o=n(3656),a=n(8460),s=n(844),c=n(2585);let l=t.Linkifier2=class extends s.Disposable{get currentLink(){return this._currentLink}constructor(e){super(),this._bufferService=e,this._linkProviders=[],this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this.register(new a.EventEmitter),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this.register(new a.EventEmitter),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this.register((0,s.getDisposeArrayDisposable)(this._linkCacheDisposables)),this.register((0,s.toDisposable)((()=>{this._lastMouseEvent=void 0}))),this.register(this._bufferService.onResize((()=>{this._clearCurrentLink(),this._wasResized=!0})))}registerLinkProvider(e){return this._linkProviders.push(e),{dispose:()=>{const t=this._linkProviders.indexOf(e);-1!==t&&this._linkProviders.splice(t,1)}}}attachToDom(e,t,n){this._element=e,this._mouseService=t,this._renderService=n,this.register((0,o.addDisposableDomListener)(this._element,"mouseleave",(()=>{this._isMouseOut=!0,this._clearCurrentLink()}))),this.register((0,o.addDisposableDomListener)(this._element,"mousemove",this._handleMouseMove.bind(this))),this.register((0,o.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,o.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))}_handleMouseMove(e){if(this._lastMouseEvent=e,!this._element||!this._mouseService)return;const t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(!t)return;this._isMouseOut=!1;const n=e.composedPath();for(let e=0;e<n.length;e++){const t=n[e];if(t.classList.contains("xterm"))break;if(t.classList.contains("xterm-hover"))return}this._lastBufferCell&&t.x===this._lastBufferCell.x&&t.y===this._lastBufferCell.y||
2(this._handleHover(t),this._lastBufferCell=t)}_handleHover(e){if(this._activeLine!==e.y||this._wasResized)return this._clearCurrentLink(),this._askForLink(e,!1),void(this._wasResized=!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))}_askForLink(e,t){var n,r;this._activeProviderReplies&&t||(null===(n=this._activeProviderReplies)||void 0===n||n.forEach((e=>{null==e||e.forEach((e=>{e.link.dispose&&e.link.dispose()}))})),this._activeProviderReplies=new Map,this._activeLine=e.y);let i=!1;for(const[n,o]of this._linkProviders.entries())t?(null===(r=this._activeProviderReplies)||void 0===r?void 0:r.get(n))&&(i=this._checkLinkProviderResult(n,e,i)):o.provideLinks(e.y,(t=>{var r,o;if(this._isMouseOut)return;const a=null==t?void 0:t.map((e=>({link:e})));null===(r=this._activeProviderReplies)||void 0===r||r.set(n,a),i=this._checkLinkProviderResult(n,e,i),(null===(o=this._activeProviderReplies)||void 0===o?void 0:o.size)===this._linkProviders.length&&this._removeIntersectingLinks(e.y,this._activeProviderReplies)}))}_removeIntersectingLinks(e,t){const n=new Set;for(let r=0;r<t.size;r++){const i=t.get(r);if(i)for(let t=0;t<i.length;t++){const r=i[t],o=r.link.range.start.y<e?0:r.link.range.start.x,a=r.link.range.end.y>e?this._bufferService.cols:r.link.range.end.x;for(let e=o;e<=a;e++){if(n.has(e)){i.splice(t--,1);break}n.add(e)}}}}_checkLinkProviderResult(e,t,n){var r;if(!this._activeProviderReplies)return n;const i=this._activeProviderReplies.get(e);let o=!1;for(let t=0;t<e;t++)this._activeProviderReplies.has(t)&&!this._activeProviderReplies.get(t)||(o=!0);if(!o&&i){const e=i.find((e=>this._linkAtPosition(e.link,t)));e&&(n=!0,this._handleNewLink(e))}if(this._activeProviderReplies.size===this._linkProviders.length&&!n)for(let e=0;e<this._activeProviderReplies.size;e++){const i=null===(r=this._activeProviderReplies.get(e))||void 0===r?void 0:r.find((e=>this._linkAtPosition(e.link,t)));if(i){n=!0,this._handleNewLink(i);break}}return n}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(e){if(!this._element||!this._mouseService||!this._currentLink)return;const t=this._positionFromMouseEvent(e,this._element,this._mouseService);t&&this._mouseDownLink===this._currentLink&&this._linkAtPosition(this._currentLink.link,t)&&this._currentLink.link.activate(e,this._currentLink.link.text)}_clearCurrentLink(e,t){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!t||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,s.disposeArray)(this._linkCacheDisposables))}_handleNewLink(e){if(!this._element||!this._lastMouseEvent||!this._mouseService)return;const t=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);t&&this._linkAtPosition(e.link,t)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:()=>{var e,t;return null===(t=null===(e=this._currentLink)||void 0===e?void 0:e.state)||void 0===t?void 0:t.decorations.pointerCursor},set:e=>{var t,n;(null===(t=this._currentLink)||void 0===t?void 0:t.state)&&this._currentLink.state.decorations.pointerCursor!==e&&(this._currentLink.state.decorations.pointerCursor=e,this._currentLink.state.isHovered&&(null===(n=this._element)||void 0===n||n.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:()=>{var e,t;return null===(t=null===(e=this._currentLink)||void 0===e?void 0:e.state)||void 0===t?void 0:t.decorations.underline},set:t=>{var n,r,i;(null===(n=this._currentLink)||void 0===n?void 0:n.state)&&(null===(i=null===(r=this._currentLink)||void 0===r?void 0:r.state)||void 0===i?void 0:i.decorations.underline)!==t&&(this._currentLink.state.decorations.underline=t,this._currentLink.state.isHovered&&this._fireUnderlineEvent(e.link,t))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange((e=>{if(!this._currentLink)return;const t=0===e.start?0:e.start+1+this._bufferService.buffer.ydisp,n=this._bufferService.buffer.ydisp+1+e.end;if(this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=n&&(this._clearCurrentLink(t,n),this._lastMouseEvent&&this._element)){const e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._askForLink(e,!1)}}))))}_linkHover(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)}_fireUnderlineEvent(e,t){const n=e.range,r=this._bufferService.buffer.ydisp,i=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(i)}_linkLeave(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)}_linkAtPosition(e,t){const n=e.range.start.y*this._bufferService.cols+e.range.start.x,r=e.range.end.y*this._bufferService.cols+e.range.end.x,i=t.y*this._bufferService.cols+t.x;return n<=i&&i<=r}_positionFromMouseEvent(e,t,n){const r=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}}};t.Linkifier2=l=r([i(0,c.IBufferService)],l)},9042:(e,t)=>
vendor: 4,773 bytes, line 2
2{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},3730:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.OscLinkProvider=void 0;const o=n(511),a=n(2585);let s=t.OscLinkProvider=class{constructor(e,t,n){this._bufferService=e,this._optionsService=t,this._oscLinkService=n}provideLinks(e,t){var n;const r=this._bufferService.buffer.lines.get(e-1);if(!r)return void t(void 0);const i=[],a=this._optionsService.rawOptions.linkHandler,s=new o.CellData,l=r.getTrimmedLength();let u=-1,f=-1,h=!1;for(let t=0;t<l;t++)if(-1!==f||r.hasContent(t)){if(r.loadCell(t,s),s.hasExtendedAttrs()&&s.extended.urlId){if(-1===f){f=t,u=s.extended.urlId;continue}h=s.extended.urlId!==u}else-1!==f&&(h=!0);if(h||-1!==f&&t===l-1){const r=null===(n=this._oscLinkService.getLinkData(u))||void 0===n?void 0:n.uri;if(r){const n={start:{x:f+1,y:e},end:{x:t+(h||t!==l-1?0:1),y:e}};let o=!1;if(!(null==a?void 0:a.allowNonHttpProtocols))try{const e=new URL(r);["http:","https:"].includes(e.protocol)||(o=!0)}catch(e){o=!0}o||i.push({text:r,range:n,activate:(e,t)=>a?a.activate(e,t,n):c(0,t),hover:(e,t)=>{var r;return null===(r=null==a?void 0:a.hover)||void 0===r?void 0:r.call(a,e,t,n)},leave:(e,t)=>{var r;return null===(r=null==a?void 0:a.leave)||void 0===r?void 0:r.call(a,e,t,n)}})}h=!1,s.hasExtendedAttrs()&&s.extended.urlId?(f=t,u=s.extended.urlId):(f=-1,u=-1)}}t(i)}};function c(e,t){if(confirm(`Do you want to navigate to ${t}?\n\nWARNING: This link could potentially be dangerous`)){const n=window.open();if(n){try{n.opener=null}catch(e){}n.location.href=t}else console.warn("Opening link blocked as opener could not be cleared")}}t.OscLinkProvider=s=r([i(0,a.IBufferService),i(1,a.IOptionsService),i(2,a.IOscLinkService)],s)},6193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0,t.RenderDebouncer=class{constructor(e,t){this._parentWindow=e,this._renderCallback=t,this._refreshCallbacks=[]}dispose(){this._animationFrame&&(this._parentWindow.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}addRefreshCallback(e){return this._refreshCallbacks.push(e),this._animationFrame||(this._animationFrame=this._parentWindow.requestAnimationFrame((()=>this._innerRefresh()))),this._animationFrame}refresh(e,t,n){this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=this._parentWindow.requestAnimationFrame((()=>this._innerRefresh())))}_innerRefresh(){if(this._animationFrame=void 0,void 0===this._rowStart||void 0===this._rowEnd||void 0===this._rowCount)return void this._runRefreshCallbacks();const e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t),this._runRefreshCallbacks()}_runRefreshCallbacks(){for(const e of this._refreshCallbacks)e(0);this._refreshCallbacks=[]}}},5596:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;const r=n(844);class i extends r.Disposable{constructor(e){super(),this._parentWindow=e,this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this.register((0,r.toDisposable)((()=>{this.clearListener()})))}setListener(e){this._listener&&this.clearListener(),this._listener=e,this._outerListener=()=>{this._listener&&(this._listener(this._parentWindow.devicePixelRatio,this._currentDevicePixelRatio),this._updateDpr())},this._updateDpr()}_updateDpr(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this._resolutionMediaMatchList=this._parentWindow.matchMedia(`screen and (resolution: ${this._parentWindow.devicePixelRatio}dppx)`),this._resolutionMediaMatchList.addListener(this._outerListener))}clearListener(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)}}t.ScreenDprMonitor=i},3236:(e,t,n)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;const r=n(3614),i=n(3656),o=n(6465),a=n(9042),s=n(3730),c=n(1680),l=n(3107),u=n(5744),f=n(2950),h=n(1296),d=n(428),p=n(4269),g=n(5114),m=n(8934),v=n(3230),y=n(9312),b=n(4725),_=n(6731),w=n(8055),x=n(8969),S=n(8460),E=n(844),k=n(6114),O=n(8437),C=n(2584),A=n(7399),T=n(5941),P=n(9074),D=n(2585),M=n(5435),R=n(4567),j="undefined"!=typeof window?window.document:null;class N extends x.CoreTerminal{get onFocus(){return this._onFocus.event}get onBlur(){return this._onBlur.event}get onA11yChar(){return this._onA11yCharEmitter.event}get onA11yTab(){return this._onA11yTabEmitter.event}get onWillOpen(){return this._onWillOpen.event}constructor(e={}){super(e),this.browser=k,this._keyDownHandled=!1,this._keyDownSeen=!1,this._keyPressHandled=!1,this._unprocessedDeadKey=!1,this._accessibilityManager=this.register(new E.MutableDisposable),this._onCursorMove=this.register(new S.EventEmitter),this.onCursorMove=this._onCursorMove.event,this._onKey=this.register(new S.EventEmitter),this.onKey=this._onKey.event,this._onRender=this.register(new S.EventEmitter),this.onRender=this._onRender.event,this._onSelectionChange=this.register(new S.EventEmitter),this.onSelectionChange=this._onSelectionChange.event,this._onTitleChange=this.register(new S.EventEmitter),this.onTitleChange=this._onTitleChange.event,this._onBell=this.register(new S.EventEmitter),this.onBell=this._onBell.event,this._onFocus=this.register(new S.EventEmitter),this._onBlur=this.register(new S.EventEmitter),this._onA11yCharEmitter=this.register(new S.EventEmitter),this._onA11yTabEmitter=this.register(new S.EventEmitter),this._onWillOpen=this.register(new S.EventEmitter),this._setup(),this.linkifier2=this.register(this._instantiationService.createInstance(o.Linkifier2)),this.linkifier2.registerLinkProvider(this._instantiationService.createInstance(s.OscLinkProvider)),this._decorationService=this._instantiationService.createInstance(P.DecorationService),this._instantiationService.setService(D.IDecorationService,this._decorationService),this.register(this._inputHandler.onRequestBell((()=>this._onBell.fire()))),this.register(this._inputHandler.onRequestRefreshRows(((e,t)=>this.refresh(e,t)))),this.register(this._inputHandler.onRequestSendFocus((()=>this._reportFocus()))),this.register(this._inputHandler.onRequestReset((()=>this.reset()))),this.register(this._inputHandler.onRequestWindowsOptionsReport((e=>this._reportWindowsOptions(e)))),this.register(this._inputHandler.onColor((e=>this._handleColorEvent(e)))),this.register((0,S.forwardEvent)(this._inputHandler.onCursorMove,this._onCursorMove)),this.register((0,S.forwardEvent)(this._inputHandler.onTitleChange,this._onTitleChange)),this.register((0,S.forwardEvent)(this._inputHandler.onA11yChar,this._onA11yCharEmitter)),this.register((0,S.forwardEvent)(this._inputHandler.onA11yTab,this._onA11yTabEmitter)),this.register(this._bufferService.onResize((e=>this._afterResize(e.cols,e.rows)))),this.register((0,E.toDisposable)((()=>{var e,t;this._customKeyEventHandler=void 0,null===(t=null===(e=this.element)||void 0===e?void 0:e.parentNode)||void 0===t||t.removeChild(this.element)})))}_handleColorEvent(e){if(this._themeService)for(const t of e){let e,n="";switch(t.index){case 256:e="foreground",n="10";break;case 257:e="background",n="11";break;case 258:e="cursor",n="12";break;default:e="ansi",n="4;"+t.index}switch(t.type){case 0:const r=w.color.toColorRGB("ansi"===e?this._themeService.colors.ansi[t.index]:this._themeService.colors[e]);this.coreService.triggerDataEvent(`${C.C0.ESC}]${n};${(0,T.toRgbString)(r)}${C.C1_ESCAPED.ST}`);break;case 1:if("ansi"===e)this._themeService.modifyColors((e=>e.ansi[t.index]=w.rgba.toColor(...t.color)));else{const n=e;this._themeService.modifyColors((e=>e[n]=w.rgba.toColor(...t.color)))}break;case 2:this._themeService.restoreColor(t.index)}}}_setup(){super._setup(),this._customKeyEventHandler=void 0}get buffer(){return this.buffers.active}focus(){this.textarea&&this.textarea.focus({preventScroll:!0})}_handleScreenReaderModeOptionChange(e){e?!this._accessibilityManager.value&&this._renderService&&(this._accessibilityManager.value=this._instantiationService.createInstance(R.AccessibilityManager,this)):this._accessibilityManager.clear()}_handleTextAreaFocus(e){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(C.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()}blur(){var e;return null===(e=this.textarea)||void 0===e?void 0:e.blur()}_handleTextAreaBlur(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(C.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()}_syncTextArea(){if(!this.textarea||!this.buffer.isCursorInViewport||this._compositionHelper.isComposing||!this._renderService)return;const e=this.buffer.ybase+this.buffer.y,t=this.buffer.lines.get(e);if(!t)return;const n=Math.min(this.buffer.x,this.cols-1),r=this._renderService.dimensions.css.
vendor: 7,105 bytes, line 2
2cell.height,i=t.getWidth(n),o=this._renderService.dimensions.css.cell.width*i,a=this.buffer.y*this._renderService.dimensions.css.cell.height,s=n*this._renderService.dimensions.css.cell.width;this.textarea.style.left=s+"px",this.textarea.style.top=a+"px",this.textarea.style.width=o+"px",this.textarea.style.height=r+"px",this.textarea.style.lineHeight=r+"px",this.textarea.style.zIndex="-5"}_initGlobal(){this._bindKeys(),this.register((0,i.addDisposableDomListener)(this.element,"copy",(e=>{this.hasSelection()&&(0,r.copyHandler)(e,this._selectionService)})));const e=e=>(0,r.handlePasteEvent)(e,this.textarea,this.coreService,this.optionsService);this.register((0,i.addDisposableDomListener)(this.textarea,"paste",e)),this.register((0,i.addDisposableDomListener)(this.element,"paste",e)),k.isFirefox?this.register((0,i.addDisposableDomListener)(this.element,"mousedown",(e=>{2===e.button&&(0,r.rightClickHandler)(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)}))):this.register((0,i.addDisposableDomListener)(this.element,"contextmenu",(e=>{(0,r.rightClickHandler)(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)}))),k.isLinux&&this.register((0,i.addDisposableDomListener)(this.element,"auxclick",(e=>{1===e.button&&(0,r.moveTextAreaUnderMouseCursor)(e,this.textarea,this.screenElement)})))}_bindKeys(){this.register((0,i.addDisposableDomListener)(this.textarea,"keyup",(e=>this._keyUp(e)),!0)),this.register((0,i.addDisposableDomListener)(this.textarea,"keydown",(e=>this._keyDown(e)),!0)),this.register((0,i.addDisposableDomListener)(this.textarea,"keypress",(e=>this._keyPress(e)),!0)),this.register((0,i.addDisposableDomListener)(this.textarea,"compositionstart",(()=>this._compositionHelper.compositionstart()))),this.register((0,i.addDisposableDomListener)(this.textarea,"compositionupdate",(e=>this._compositionHelper.compositionupdate(e)))),this.register((0,i.addDisposableDomListener)(this.textarea,"compositionend",(()=>this._compositionHelper.compositionend()))),this.register((0,i.addDisposableDomListener)(this.textarea,"input",(e=>this._inputEvent(e)),!0)),this.register(this.onRender((()=>this._compositionHelper.updateCompositionElements())))}open(e){var t;if(!e)throw new Error("Terminal requires a parent element.");e.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),e.appendChild(this.element);const n=j.createDocumentFragment();this._viewportElement=j.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=j.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=j.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=j.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=j.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.promptLabel),k.isChromeOS||this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this._coreBrowserService=this._instantiationService.createInstance(g.CoreBrowserService,this.textarea,null!==(t=this._document.defaultView)&&void 0!==t?t:window),this._instantiationService.setService(b.ICoreBrowserService,this._coreBrowserService),this.register((0,i.addDisposableDomListener)(this.textarea,"focus",(e=>this._handleTextAreaFocus(e)))),this.register((0,i.addDisposableDomListener)(this.textarea,"blur",(()=>this._handleTextAreaBlur()))),this._helperContainer.appendChild(this.textarea),this._charSizeService=this._instantiationService.createInstance(d.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(b.ICharSizeService,this._charSizeService),this._themeService=this._instantiationService.createInstance(_.ThemeService),this._instantiationService.setService(b.IThemeService,this._themeService),this._characterJoinerService=this._instantiationService.createInstance(p.CharacterJoinerService),this._instantiationService.setService(b.ICharacterJoinerService,this._characterJoinerService),this._renderService=this.register(this._instantiationService.createInstance(v.RenderService,this.rows,this.screenElement)),this._instantiationService.setService(b.IRenderService,this._renderService),this.register(this._renderService.onRenderedViewportChange((e=>this._onRender.fire(e)))),this.onResize((e=>this._renderService.resize(e.cols,e.rows))),this._compositionView=j.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(f.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n);try{this._onWillOpen.fire(this.element)}catch(e){}this._renderService.hasRenderer()||this._renderService.setRenderer(this._createRenderer()),this._mouseService=this._instantiationService.createInstance(m.MouseService),this._instantiationService.setService(b.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,this._viewportElement,this._viewportScrollArea),this.viewport.onRequestScrollLines((e=>this.scrollLines(e.amount,e.suppressScrollEvent,1))),this.register(this._inputHandler.onRequestSyncScrollBar((()=>this.viewport.syncScrollArea()))),this.register(this.viewport),this.register(this.onCursorMove((()=>{this._renderService.handleCursorMove(),this._syncTextArea()}))),this.register(this.onResize((()=>this._renderService.handleResize(this.cols,this.rows)))),this.register(this.onBlur((()=>this._renderService.handleBlur()))),this.register(this.onFocus((()=>this._renderService.handleFocus()))),this.register(this._renderService.onDimensionsChange((()=>this.viewport.syncScrollArea()))),this._selectionService=this.register(this._instantiationService.createInstance(y.SelectionService,this.element,this.screenElement,this.linkifier2)),this._instantiationService.setService(b.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((e=>this.scrollLines(e.amount,e.suppressScrollEvent)))),this.register(this._selectionService.onSelectionChange((()=>this._onSelectionChange.fire()))),this.register(this._selectionService.onRequestRedraw((e=>this._renderService.handleSelectionChanged(e.start,e.end,e.columnSelectMode)))),this.register(this._selectionService.onLinuxMouseSelection((e=>{this.textarea.value=e,this.textarea.focus(),this.textarea.select()}
vendor: 21,785 bytes, line 2
2))),this.register(this._onScroll.event((e=>{this.viewport.syncScrollArea(),this._selectionService.refresh()}))),this.register((0,i.addDisposableDomListener)(this._viewportElement,"scroll",(()=>this._selectionService.refresh()))),this.linkifier2.attachToDom(this.screenElement,this._mouseService,this._renderService),this.register(this._instantiationService.createInstance(l.BufferDecorationRenderer,this.screenElement)),this.register((0,i.addDisposableDomListener)(this.element,"mousedown",(e=>this._selectionService.handleMouseDown(e)))),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager.value=this._instantiationService.createInstance(R.AccessibilityManager,this)),this.register(this.optionsService.onSpecificOptionChange("screenReaderMode",(e=>this._handleScreenReaderModeOptionChange(e)))),this.options.overviewRulerWidth&&(this._overviewRulerRenderer=this.register(this._instantiationService.createInstance(u.OverviewRulerRenderer,this._viewportElement,this.screenElement))),this.optionsService.onSpecificOptionChange("overviewRulerWidth",(e=>{!this._overviewRulerRenderer&&e&&this._viewportElement&&this.screenElement&&(this._overviewRulerRenderer=this.register(this._instantiationService.createInstance(u.OverviewRulerRenderer,this._viewportElement,this.screenElement)))})),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()}_createRenderer(){return this._instantiationService.createInstance(h.DomRenderer,this.element,this.screenElement,this._viewportElement,this.linkifier2)}bindMouse(){const e=this,t=this.element;function n(t){const n=e._mouseService.getMouseReportCoords(t,e.screenElement);if(!n)return!1;let r,i;switch(t.overrideType||t.type){case"mousemove":i=32,void 0===t.buttons?(r=3,void 0!==t.button&&(r=t.button<3?t.button:3)):r=1&t.buttons?0:4&t.buttons?1:2&t.buttons?2:3;break;case"mouseup":i=0,r=t.button<3?t.button:3;break;case"mousedown":i=1,r=t.button<3?t.button:3;break;case"wheel":if(0===e.viewport.getLinesScrolled(t))return!1;i=t.deltaY<0?0:1,r=4;break;default:return!1}return!(void 0===i||void 0===r||r>4)&&e.coreMouseService.triggerMouseEvent({col:n.col,row:n.row,x:n.x,y:n.y,button:r,action:i,ctrl:t.ctrlKey,alt:t.altKey,shift:t.shiftKey})}const r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},o={mouseup:e=>(n(e),e.buttons||(this._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.removeEventListener("mousemove",r.mousedrag)),this.cancel(e)),wheel:e=>(n(e),this.cancel(e,!0)),mousedrag:e=>{e.buttons&&n(e)},mousemove:e=>{e.buttons||n(e)}};this.register(this.coreMouseService.onProtocolChange((e=>{e?("debug"===this.optionsService.rawOptions.logLevel&&this._logService.debug("Binding to mouse events:",this.coreMouseService.explainEvents(e)),this.element.classList.add("enable-mouse-events"),this._selectionService.disable()):(this._logService.debug("Unbinding from mouse events."),this.element.classList.remove("enable-mouse-events"),this._selectionService.enable()),8&e?r.mousemove||(t.addEventListener("mousemove",o.mousemove),r.mousemove=o.mousemove):(t.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&e?r.wheel||(t.addEventListener("wheel",o.wheel,{passive:!1}),r.wheel=o.wheel):(t.removeEventListener("wheel",r.wheel),r.wheel=null),2&e?r.mouseup||(t.addEventListener("mouseup",o.mouseup),r.mouseup=o.mouseup):(this._document.removeEventListener("mouseup",r.mouseup),t.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&e?r.mousedrag||(r.mousedrag=o.mousedrag):(this._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)}))),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,i.addDisposableDomListener)(t,"mousedown",(e=>{if(e.preventDefault(),this.focus(),this.coreMouseService.areMouseEventsActive&&!this._selectionService.shouldForceSelection(e))return n(e),r.mouseup&&this._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.addEventListener("mousemove",r.mousedrag),this.cancel(e)}))),this.register((0,i.addDisposableDomListener)(t,"wheel",(e=>{if(!r.wheel){if(!this.buffer.hasScrollback){const t=this.viewport.getLinesScrolled(e);if(0===t)return;const n=C.C0.ESC+(this.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(e.deltaY<0?"A":"B");let r="";for(let e=0;e<Math.abs(t);e++)r+=n;return this.coreService.triggerDataEvent(r,!0),this.cancel(e,!0)}return this.viewport.handleWheel(e)?this.cancel(e):void 0}}),{passive:!1})),this.register((0,i.addDisposableDomListener)(t,"touchstart",(e=>{if(!this.coreMouseService.areMouseEventsActive)return this.viewport.handleTouchStart(e),this.cancel(e)}),{passive:!0})),this.register((0,i.addDisposableDomListener)(t,"touchmove",(e=>{if(!this.coreMouseService.areMouseEventsActive)return this.viewport.handleTouchMove(e)?void 0:this.cancel(e)}),{passive:!1}))}refresh(e,t){var n;null===(n=this._renderService)||void 0===n||n.refreshRows(e,t)}updateCursorStyle(e){var t;(null===(t=this._selectionService)||void 0===t?void 0:t.shouldColumnSelect(e))?this.element.classList.add("column-select"):this.element.classList.remove("column-select")}_showCursor(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))}scrollLines(e,t,n=0){var r;1===n?(super.scrollLines(e,t,n),this.refresh(0,this.rows-1)):null===(r=this.viewport)||void 0===r||r.scrollLines(e)}paste(e){(0,r.paste)(e,this.textarea,this.coreService,this.optionsService)}attachCustomKeyEventHandler(e){this._customKeyEventHandler=e}registerLinkProvider(e){return this.linkifier2.registerLinkProvider(e)}registerCharacterJoiner(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");const t=this._characterJoinerService.register(e);return this.refresh(0,this.rows-1),t}deregisterCharacterJoiner(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(e)&&this.refresh(0,this.rows-1)}get markers(){return this.buffer.markers}registerMarker(e){return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)}registerDecoration(e){return this._decorationService.registerDecoration(e)}hasSelection(){return!!this._selectionService&&this._selectionService.hasSelection}select(e,t,n){this._selectionService.setSelection(e,t,n)}getSelection(){return this._selectionService?this._selectionService.selectionText:""}getSelectionPosition(){if(this._selectionService&&this._selectionService.hasSelection)return{start:{x:this._selectionService.selectionStart[0],y:this._selectionService.selectionStart[1]},end:{x:this._selectionService.selectionEnd[0],y:this._selectionService.selectionEnd[1]}}}clearSelection(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()}selectAll(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()}selectLines(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)}_keyDown(e){if(this._keyDownHandled=!1,this._keyDownSeen=!0,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;const t=this.browser.isMac&&this.options.macOptionIsMeta&&e.altKey;if(!t&&!this._compositionHelper.keydown(e))return this.options.scrollOnUserInput&&this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;t||"Dead"!==e.key&&"AltGraph"!==e.key||(this._unprocessedDeadKey=!0);const n=(0,A.evaluateKeyboardEvent)(e,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===n.type||2===n.type){const t=this.rows-1;return this.scrollLines(2===n.type?-t:t),this.cancel(e,!0)}return 1===n.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(n.cancel&&this.cancel(e,!0),!n.key||!!(e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&1===e.key.length&&e.key.charCodeAt(0)>=65&&e.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(n.key!==C.C0.ETX&&n.key!==C.C0.CR||(this.textarea.value=""),this._onKey.fire({key:n.key,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(n.key,!0),!this.optionsService.rawOptions.screenReaderMode||e.altKey||e.ctrlKey?this.cancel(e,!0):void(this._keyDownHandled=!0))))}_isThirdLevelShift(e,t){const n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey||e.isWindows&&t.getModifierState("AltGraph");return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)}_keyUp(e){this._keyDownSeen=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)}_keyPress(e){let t;if(this._keyPressHandled=!1,this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(t,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))}_inputEvent(e){if(e.data&&"insertText"===e.inputType&&(!e.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;const t=e.data;return this.coreService.triggerDataEvent(t,!0),this.cancel(e),!0}return!1}resize(e,t){e!==this.cols||t!==this.rows?super.resize(e,t):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()}_afterResize(e,t){var n,r;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0)}clear(){var e;if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(let e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(O.DEFAULT_ATTR_DATA));this._onScroll.fire({position:this.buffer.ydisp,source:0}),null===(e=this.viewport)||void 0===e||e.reset(),this.refresh(0,this.rows-1)}}reset(){var e,t;this.options.rows=this.rows,this.options.cols=this.cols;const n=this._customKeyEventHandler;this._setup(),super.reset(),null===(e=this._selectionService)||void 0===e||e.reset(),this._decorationService.reset(),null===(t=this.viewport)||void 0===t||t.reset(),this._customKeyEventHandler=n,this.refresh(0,this.rows-1)}clearTextureAtlas(){var e;null===(e=this._renderService)||void 0===e||e.clearTextureAtlas()}_reportFocus(){var e;(null===(e=this.element)||void 0===e?void 0:e.classList.contains("focus"))?this.coreService.triggerDataEvent(C.C0.ESC+"[I"):this.coreService.triggerDataEvent(C.C0.ESC+"[O")}_reportWindowsOptions(e){if(this._renderService)switch(e){case M.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:const e=this._renderService.dimensions.css.canvas.width.toFixed(0),t=this._renderService.dimensions.css.canvas.height.toFixed(0);this.coreService.triggerDataEvent(`${C.C0.ESC}[4;${t};${e}t`);break;case M.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:const n=this._renderService.dimensions.css.cell.width.toFixed(0),r=this._renderService.dimensions.css.cell.height.toFixed(0);this.coreService.triggerDataEvent(`${C.C0.ESC}[6;${r};${n}t`)}}cancel(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1}}t.Terminal=N},9924:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeBasedDebouncer=void 0,t.TimeBasedDebouncer=class{constructor(e,t=1e3){this._renderCallback=e,this._debounceThresholdMS=t,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}dispose(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)}refresh(e,t,n){this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t;const r=Date.now();if(r-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=r,this._innerRefresh();else if(!this._additionalRefreshRequested){const e=r-this._lastRefreshMs,t=this._debounceThresholdMS-e;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout((()=>{this._lastRefreshMs=Date.now(),this._innerRefresh(),this._additionalRefreshRequested=!1,this._refreshTimeoutID=void 0}),t)}}_innerRefresh(){if(void 0===this._rowStart||void 0===this._rowEnd||void 0===this._rowCount)return;const e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t)}}},1680:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;const o=n(3656),a=n(4725),s=n(8460),c=n(844),l=n(2585);let u=t.Viewport=class extends c.Disposable{constructor(e,t,n,r,i,a,c,l){super(),this._viewportElement=e,this._scrollArea=t,this._bufferService=n,this._optionsService=r,this._charSizeService=i,this._renderService=a,this._coreBrowserService=c,this.scrollBarWidth=0,this._currentRowHeight=0,this._currentDeviceCellHeight=0,this._lastRecordedBufferLength=0,this._lastRecordedViewportHeight=0,this._lastRecordedBufferHeight=0,this._lastTouchY=0,this._lastScrollTop=0,this._wheelPartialScroll=0,this._refreshAnimationFrame=null,this._ignoreNextScrollEvent=!1,this._smoothScrollState={startTime:0,origin:-1,target:-1},this._onRequestScrollLines=this.register(new s.EventEmitter),this.onRequestScrollLines=this._onRequestScrollLines.event,this.scrollBarWidth=this._viewportElement.offsetWidth-this._scrollArea.offsetWidth||15,this.register((0,o.addDisposableDomListener)(this._viewportElement,"scroll",this._handleScroll.bind(this))),this._activeBuffer=this._bufferService.buffer,this.register(this._bufferService.buffers.onBufferActivate((e=>this._activeBuffer=e.activeBuffer))),this._renderDimensions=this._renderService.dimensions,this.register(this._renderService.onDimensionsChange((e=>this._renderDimensions=e))),this._handleThemeChange(l.colors),this.register(l.onChangeColors((e=>this._handleThemeChange(e)))),this.register(this._optionsService.onSpecificOptionChange("scrollback",(()=>this.syncScrollArea()))),setTimeout((()=>this.syncScrollArea()))}_handleThemeChange(e){this._viewportElement.style.backgroundColor=e.background.css}reset(){this._currentRowHeight=0,this._currentDeviceCellHeight=0,this._lastRecordedBufferLength=0,this._lastRecordedViewportHeight=0,this._lastRecordedBufferHeight=0,this._lastTouchY=0,this._lastScrollTop=0,this._coreBrowserService.window.requestAnimationFrame((()=>this.syncScrollArea()))}_refresh(e){if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&this._coreBrowserService.window.cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._innerRefresh())))}_innerRefresh(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.device.cell.height/this._coreBrowserService.dpr,this._currentDeviceCellHeight=this._renderService.dimensions.device.cell.height,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;const e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.css.canvas.height);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}const e=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==e&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=e),this._refreshAnimationFrame=null}syncScrollArea(e=!1){if(this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.css.canvas.height&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.device.cell.height===this._currentDeviceCellHeight||this._refresh(e)}_handleScroll(e){if(this._lastScrollTop=this._viewportElement.scrollTop,!this._viewportElement.offsetParent)return;if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._onRequestScrollLines.fire({amount:0,suppressScrollEvent:!0});const t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._onRequestScrollLines.fire({amount:t,suppressScrollEvent:!0})}_smoothScroll(){if(this._isDisposed||-1===this._smoothScrollState.origin||-1===this._smoothScrollState.target)return;const e=this._smoothScrollPercent();this._viewportElement.scrollTop=this._smoothScrollState.origin+Math.round(e*(this._smoothScrollState.target-this._smoothScrollState.origin)),e<1?this._coreBrowserService.window.requestAnimationFrame((()=>this._smoothScroll())):this._clearSmoothScrollState()}_smoothScrollPercent(){return this._optionsService.rawOptions.smoothScrollDuration&&this._smoothScrollState.startTime?Math.max(Math.min((Date.now()-this._smoothScrollState.startTime)/this._optionsService.rawOptions.smoothScrollDuration,1),0):1}_clearSmoothScrollState(){this._smoothScrollState.startTime=0,this._smoothScrollState.origin=-1,this._smoothScrollState.target=-1}_bubbleScroll(e,t){const n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)}handleWheel(e){const t=this._getPixelsScrolled(e);return 0!==t&&(this._optionsService.rawOptions.smoothScrollDuration?(this._smoothScrollState.startTime=Date.now(),this._smoothScrollPercent()<1?(this._smoothScrollState.origin=this._viewportElement.scrollTop,-1===this._smoothScrollState.target?this._smoothScrollState.target=this._viewportElement.scrollTop+t:this._smoothScrollState.target+=t,this._smoothScrollState.target=Math.max(Math.min(this._smoothScrollState.target,this._viewportElement.scrollHeight),0),this._smoothScroll()):this._clearSmoothScrollState()):this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))}scrollLines(e){if(0!==e)if(this._optionsService.rawOptions.smoothScrollDuration){const t=e*this._currentRowHeight;this._smoothScrollState.startTime=Date.now(),this._smoothScrollPercent()<1?(this._smoothScrollState.origin=this._viewportElement.scrollTop,this._smoothScrollState.target=this._smoothScrollState.origin+t,this._smoothScrollState.target=Math.max(Math.min(this._smoothScrollState.target,this._viewportElement.scrollHeight),0),this._smoothScroll()):this._clearSmoothScrollState()}else this._onRequestScrollLines.fire({amount:e,suppressScrollEvent:!1})}_getPixelsScrolled(e){if(0===e.deltaY||e.shiftKey)return 0;let t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t}getBufferElements(e,t){var n;let r,i="";const o=[],a=null!=t?t:this._bufferService.buffer.lines.length,s=this._bufferService.buffer.lines;for(let t=e;t<a;t++){const e=s.get(t);if(!e)continue;const a=null===(n=s.get(t+1))||void 0===n?void 0:n.isWrapped;if(i+=e.translateToString(!a),!a||t===s.length-1){const e=document.createElement("div");e.textContent=i,o.push(e),i.length>0&&(r=e),i=""}}return{bufferElements:o,cursorElement:r}}getLinesScrolled(e){if(0===e.deltaY||e.shiftKey)return 0;let t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t}_applyScrollModifier(e,t){const n=this._optionsService.rawOptions.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:e*this._optionsService.rawOptions.scrollSensitivity}handleTouchStart(e){this._lastTouchY=e.touches[0].pageY}handleTouchMove(e){const t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))}};t.Viewport=u=r([i(2,l.IBufferService),i(3,l.IOptionsService),i(4,a.ICharSizeService),i(5,a.IRenderService),i(6,a.ICoreBrowserService),i(7,a.IThemeService)],u)},3107:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
vendor: 5,720 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.BufferDecorationRenderer=void 0;const o=n(3656),a=n(4725),s=n(844),c=n(2585);let l=t.BufferDecorationRenderer=class extends s.Disposable{constructor(e,t,n,r){super(),this._screenElement=e,this._bufferService=t,this._decorationService=n,this._renderService=r,this._decorationElements=new Map,this._altBufferIsActive=!1,this._dimensionsChanged=!1,this._container=document.createElement("div"),this._container.classList.add("xterm-decoration-container"),this._screenElement.appendChild(this._container),this.register(this._renderService.onRenderedViewportChange((()=>this._doRefreshDecorations()))),this.register(this._renderService.onDimensionsChange((()=>{this._dimensionsChanged=!0,this._queueRefresh()}))),this.register((0,o.addDisposableDomListener)(window,"resize",(()=>this._queueRefresh()))),this.register(this._bufferService.buffers.onBufferActivate((()=>{this._altBufferIsActive=this._bufferService.buffer===this._bufferService.buffers.alt}))),this.register(this._decorationService.onDecorationRegistered((()=>this._queueRefresh()))),this.register(this._decorationService.onDecorationRemoved((e=>this._removeDecoration(e)))),this.register((0,s.toDisposable)((()=>{this._container.remove(),this._decorationElements.clear()})))}_queueRefresh(){void 0===this._animationFrame&&(this._animationFrame=this._renderService.addRefreshCallback((()=>{this._doRefreshDecorations(),this._animationFrame=void 0})))}_doRefreshDecorations(){for(const e of this._decorationService.decorations)this._renderDecoration(e);this._dimensionsChanged=!1}_renderDecoration(e){this._refreshStyle(e),this._dimensionsChanged&&this._refreshXPosition(e)}_createElement(e){var t,n;const r=document.createElement("div");r.classList.add("xterm-decoration"),r.classList.toggle("xterm-decoration-top-layer","top"===(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.layer)),r.style.width=`${Math.round((e.options.width||1)*this._renderService.dimensions.css.cell.width)}px`,r.style.height=(e.options.height||1)*this._renderService.dimensions.css.cell.height+"px",r.style.top=(e.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.css.cell.height+"px",r.style.lineHeight=`${this._renderService.dimensions.css.cell.height}px`;const i=null!==(n=e.options.x)&&void 0!==n?n:0;return i&&i>this._bufferService.cols&&(r.style.display="none"),this._refreshXPosition(e,r),r}_refreshStyle(e){const t=e.marker.line-this._bufferService.buffers.active.ydisp;if(t<0||t>=this._bufferService.rows)e.element&&(e.element.style.display="none",e.onRenderEmitter.fire(e.element));else{let n=this._decorationElements.get(e);n||(n=this._createElement(e),e.element=n,this._decorationElements.set(e,n),this._container.appendChild(n),e.onDispose((()=>{this._decorationElements.delete(e),n.remove()}))),n.style.top=t*this._renderService.dimensions.css.cell.height+"px",n.style.display=this._altBufferIsActive?"none":"block",e.onRenderEmitter.fire(n)}}_refreshXPosition(e,t=e.element){var n;if(!t)return;const r=null!==(n=e.options.x)&&void 0!==n?n:0;"right"===(e.options.anchor||"left")?t.style.right=r?r*this._renderService.dimensions.css.cell.width+"px":"":t.style.left=r?r*this._renderService.dimensions.css.cell.width+"px":""}_removeDecoration(e){var t;null===(t=this._decorationElements.get(e))||void 0===t||t.remove(),this._decorationElements.delete(e),e.dispose()}};t.BufferDecorationRenderer=l=r([i(1,c.IBufferService),i(2,c.IDecorationService),i(3,a.IRenderService)],l)},5871:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorZoneStore=void 0,t.ColorZoneStore=class{constructor(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}get zones(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones}clear(){this._zones.length=0,this._zonePoolIndex=0}addDecoration(e){if(e.options.overviewRulerOptions){for(const t of this._zones)if(t.color===e.options.overviewRulerOptions.color&&t.position===e.options.overviewRulerOptions.position){if(this._lineIntersectsZone(t,e.marker.line))return;if(this._lineAdjacentToZone(t,e.marker.line,e.options.overviewRulerOptions.position))return void this._addLineToZone(t,e.marker.line)}if(this._zonePoolIndex<this._zonePool.length)return this._zonePool[this._zonePoolIndex].color=e.options.overviewRulerOptions.color,this._zonePool[this._zonePoolIndex].position=e.options.overviewRulerOptions.position,this._zonePool[this._zonePoolIndex].startBufferLine=e.marker.line,this._zonePool[this._zonePoolIndex].endBufferLine=e.marker.line,void this._zones.push(this._zonePool[this._zonePoolIndex++]);this._zones.push({color:e.options.overviewRulerOptions.color,position:e.options.overviewRulerOptions.position,startBufferLine:e.marker.line,endBufferLine:e.marker.line}),this._zonePool.push(this._zones[this._zones.length-1]),this._zonePoolIndex++}}setPadding(e){this._linePadding=e}_lineIntersectsZone(e,t){return t>=e.startBufferLine&&t<=e.endBufferLine}_lineAdjacentToZone(e,t,n){return t>=e.startBufferLine-this._linePadding[n||"full"]&&t<=e.endBufferLine+this._linePadding[n||"full"]}_addLineToZone(e,t){e.startBufferLine=Math.min(e.startBufferLine,t),e.endBufferLine=Math.max(e.endBufferLine,t)}}},5744:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
2Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewRulerRenderer=void 0;const o=n(5871),a=n(3656),s=n(4725),c=n(844),l=n(2585),u={full:0,left:0,center:0,right:0},f={full:0,left:0,center:0,right:0},h={full:0,left:0,center:0,right:0};let d=t.OverviewRulerRenderer=class extends c.Disposable{get _width(){return this._optionsService.options.overviewRulerWidth||0}constructor(e,t,n,r,i,a,s){var l;super(),this._viewportElement=e,this._screenElement=t,this._bufferService=n,this._decorationService=r,this._renderService=i,this._optionsService=a,this._coreBrowseService=s,this._colorZoneStore=new o.ColorZoneStore,this._shouldUpdateDimensions=!0,this._shouldUpdateAnchor=!0,this._lastKnownBufferLength=0,this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-decoration-overview-ruler"),this._refreshCanvasDimensions(),null===(l=this._viewportElement.parentElement)||void 0===l||l.insertBefore(this._canvas,this._viewportElement);const u=this._canvas.getContext("2d");if(!u)throw new Error("Ctx cannot be null");this._ctx=u,this._registerDecorationListeners(),this._registerBufferChangeListeners(),this._registerDimensionChangeListeners(),this.register((0,c.toDisposable)((()=>{var e;null===(e=this._canvas)||void 0===e||e.remove()})))}_registerDecorationListeners(){this.register(this._decorationService.onDecorationRegistered((()=>this._queueRefresh(void 0,!0)))),this.register(this._decorationService.onDecorationRemoved((()=>this._queueRefresh(void 0,!0))))}_registerBufferChangeListeners(){this.register(this._renderService.onRenderedViewportChange((()=>
vendor: 4,075 bytes, line 2
2this._queueRefresh()))),this.register(this._bufferService.buffers.onBufferActivate((()=>{this._canvas.style.display=this._bufferService.buffer===this._bufferService.buffers.alt?"none":"block"}))),this.register(this._bufferService.onScroll((()=>{this._lastKnownBufferLength!==this._bufferService.buffers.normal.lines.length&&(this._refreshDrawHeightConstants(),this._refreshColorZonePadding())})))}_registerDimensionChangeListeners(){this.register(this._renderService.onRender((()=>{this._containerHeight&&this._containerHeight===this._screenElement.clientHeight||(this._queueRefresh(!0),this._containerHeight=this._screenElement.clientHeight)}))),this.register(this._optionsService.onSpecificOptionChange("overviewRulerWidth",(()=>this._queueRefresh(!0)))),this.register((0,a.addDisposableDomListener)(this._coreBrowseService.window,"resize",(()=>this._queueRefresh(!0)))),this._queueRefresh(!0)}_refreshDrawConstants(){const e=Math.floor(this._canvas.width/3),t=Math.ceil(this._canvas.width/3);f.full=this._canvas.width,f.left=e,f.center=t,f.right=e,this._refreshDrawHeightConstants(),h.full=0,h.left=0,h.center=f.left,h.right=f.left+f.center}_refreshDrawHeightConstants(){u.full=Math.round(2*this._coreBrowseService.dpr);const e=this._canvas.height/this._bufferService.buffer.lines.length,t=Math.round(Math.max(Math.min(e,12),6)*this._coreBrowseService.dpr);u.left=t,u.center=t,u.right=t}_refreshColorZonePadding(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*u.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*u.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*u.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*u.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length}_refreshCanvasDimensions(){this._canvas.style.width=`${this._width}px`,this._canvas.width=Math.round(this._width*this._coreBrowseService.dpr),this._canvas.style.height=`${this._screenElement.clientHeight}px`,this._canvas.height=Math.round(this._screenElement.clientHeight*this._coreBrowseService.dpr),this._refreshDrawConstants(),this._refreshColorZonePadding()}_refreshDecorations(){this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();for(const e of this._decorationService.decorations)this._colorZoneStore.addDecoration(e);this._ctx.lineWidth=1;const e=this._colorZoneStore.zones;for(const t of e)"full"!==t.position&&this._renderColorZone(t);for(const t of e)"full"===t.position&&this._renderColorZone(t);this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1}_renderColorZone(e){this._ctx.fillStyle=e.color,this._ctx.fillRect(h[e.position||"full"],Math.round((this._canvas.height-1)*(e.startBufferLine/this._bufferService.buffers.active.lines.length)-u[e.position||"full"]/2),f[e.position||"full"],Math.round((this._canvas.height-1)*((e.endBufferLine-e.startBufferLine)/this._bufferService.buffers.active.lines.length)+u[e.position||"full"]))}_queueRefresh(e,t){this._shouldUpdateDimensions=e||this._shouldUpdateDimensions,this._shouldUpdateAnchor=t||this._shouldUpdateAnchor,void 0===this._animationFrame&&(this._animationFrame=this._coreBrowseService.window.requestAnimationFrame((()=>{this._refreshDecorations(),this._animationFrame=void 0})))}};t.OverviewRulerRenderer=d=r([i(2,l.IBufferService),i(3,l.IDecorationService),i(4,s.IRenderService),i(5,l.IOptionsService),i(6,s.ICoreBrowserService)],d)},2950:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
vendor: 5,441 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;const o=n(4725),a=n(2585),s=n(2584);let c=t.CompositionHelper=class{get isComposing(){return this._isComposing}constructor(e,t,n,r,i,o){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=r,this._coreService=i,this._renderService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}compositionstart(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")}compositionupdate(e){this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((()=>{this._compositionPosition.end=this._textarea.value.length}),0)}compositionend(){this._finalizeComposition(!0)}keydown(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)}_finalizeComposition(e){if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){const e={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((()=>{if(this._isSendingComposition){let t;this._isSendingComposition=!1,e.start+=this._dataAlreadySent.length,t=this._isComposing?this._textarea.value.substring(e.start,e.end):this._textarea.value.substring(e.start),t.length>0&&this._coreService.triggerDataEvent(t,!0)}}),0)}else{this._isSendingComposition=!1;const e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}}_handleAnyTextareaChanges(){const e=this._textarea.value;setTimeout((()=>{if(!this._isComposing){const t=this._textarea.value,n=t.replace(e,"");this._dataAlreadySent=n,t.length>e.length?this._coreService.triggerDataEvent(n,!0):t.length<e.length?this._coreService.triggerDataEvent(`${s.C0.DEL}`,!0):t.length===e.length&&t!==e&&this._coreService.triggerDataEvent(t,!0)}}),0)}updateCompositionElements(e){if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){const e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),t=this._renderService.dimensions.css.cell.height,n=this._bufferService.buffer.y*this._renderService.dimensions.css.cell.height,r=e*this._renderService.dimensions.css.cell.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=t+"px",this._compositionView.style.lineHeight=t+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";const i=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=n+"px",this._textarea.style.width=Math.max(i.width,1)+"px",this._textarea.style.height=Math.max(i.height,1)+"px",this._textarea.style.lineHeight=i.height+"px"}e||setTimeout((()=>this.updateCompositionElements(!0)),0)}}};t.CompositionHelper=c=r([i(2,a.IBufferService),i(3,a.IOptionsService),i(4,a.ICoreService),i(5,o.IRenderService)],c)},9806:(e,t)=>{function n(e,t,n){const r=n.getBoundingClientRect(),i=e.getComputedStyle(n),o=parseInt(i.getPropertyValue("padding-left")),a=parseInt(i.getPropertyValue("padding-top"));return[t.clientX-r.left-o,t.clientY-r.top-a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=n,t.getCoords=function(e,t,r,i,o,a,s,c,l){if(!a)return;const u=n(e,t,r);return u?(u[0]=Math.ceil((u[0]+(l?s/2:0))/s),u[1]=Math.ceil(u[1]/c),u[0]=Math.min(Math.max(u[0],1),i+(l?1:0)),u[1]=Math.min(Math.max(u[1],1),o),u):void 0}},9504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;const r=n(2584);function i(e,t,n,r){const i=e-o(e,n),s=t-o(t,n),u=Math.abs(i-s)-function(e,t,n){let r=0;const i=e-o(e,n),s=t-o(t,n);for(let o=0;o<Math.abs(i-s);o++){const s="A"===a(e,t)?-1:1,c=n.buffer.lines.get(i+s*o);(null==c?void 0:c.isWrapped)&&r++}return r}(e,t,n);return l(u,c(a(e,t),r))}function o(e,t){let n=0,r=t.buffer.lines.get(e),i=null==r?void 0:r.isWrapped;for(;i&&e>=0&&e<t.rows;)n++,r=t.buffer.lines.get(--e),i=null==r?void 0:r.isWrapped;return n}function a(e,t){return e>t?"A":"B"}function s(e,t,n,r,i,o){let a=e,s=t,c="";for(;a!==n||s!==r;)a+=i?1:-1,i&&a>o.cols-1?(c+=o.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!i&&a<0&&(c+=o.buffer.translateBufferLineToString(s,!1,0,e+1),a=o.cols-1,e=a,s--);return c+o.buffer.translateBufferLineToString(s,!1,e,a)}function c(e,t){const n=t?"O":"[";return r.C0.ESC+n+e}function l(e,t){e=Math.floor(e);let n="";for(let r=0;r<e;r++)n+=t;return n}t.moveToCellSequence=function(e,t,n,r){const a=n.buffer.x,u=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,a,u){return 0===i(t,r,a,u).length?"":l(s(e,t,e,t-o(t,a),!1,a).length,c("D",u))}(a,u,0,t,n,r)+i(u,t,n,r)+function(e,t,n,r,a,u){let f;f=i(t,r,a,u).length>0?r-o(r,a):t;const h=r,d=function(e,t,n,r,a,s){let c;return c=i(n,r,a,s).length>0?r-o(r,a):t,e<n&&c<=r||e>=n&&c<r?"C":"D"}(e,t,n,r,a,u);return l(s(e,f,n,h,"C"===d,a).length,c(d,u))}(a,u,e,t,n,r);let f;if(u===t)return f=a>e?"D":"C",l(Math.abs(a-e),c(f,r));f=u>t?"D":"C";
vendor: 4,556 bytes, line 2
2const h=Math.abs(u-t);return l(function(e,t){return t.cols-e}(u>t?e:a,n)+(h-1)*n.cols+1+((u>t?a:e)-1),c(f,r))}},1296:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;const o=n(3787),a=n(2550),s=n(2223),c=n(6171),l=n(4725),u=n(8055),f=n(8460),h=n(844),d=n(2585),p="xterm-dom-renderer-owner-",g="xterm-rows",m="xterm-fg-",v="xterm-bg-",y="xterm-focus",b="xterm-selection";let _=1,w=t.DomRenderer=class extends h.Disposable{constructor(e,t,n,r,i,s,l,u,d,m){super(),this._element=e,this._screenElement=t,this._viewportElement=n,this._linkifier2=r,this._charSizeService=s,this._optionsService=l,this._bufferService=u,this._coreBrowserService=d,this._themeService=m,this._terminalClass=_++,this._rowElements=[],this.onRequestRedraw=this.register(new f.EventEmitter).event,this._rowContainer=document.createElement("div"),this._rowContainer.classList.add(g),this._rowContainer.style.lineHeight="normal",this._rowContainer.setAttribute("aria-hidden","true"),this._refreshRowElements(this._bufferService.cols,this._bufferService.rows),this._selectionContainer=document.createElement("div"),this._selectionContainer.classList.add(b),this._selectionContainer.setAttribute("aria-hidden","true"),this.dimensions=(0,c.createRenderDimensions)(),this._updateDimensions(),this.register(this._optionsService.onOptionChange((()=>this._handleOptionsChanged()))),this.register(this._themeService.onChangeColors((e=>this._injectCss(e)))),this._injectCss(this._themeService.colors),this._rowFactory=i.createInstance(o.DomRendererRowFactory,document),this._element.classList.add(p+this._terminalClass),this._screenElement.appendChild(this._rowContainer),this._screenElement.appendChild(this._selectionContainer),this.register(this._linkifier2.onShowLinkUnderline((e=>this._handleLinkHover(e)))),this.register(this._linkifier2.onHideLinkUnderline((e=>this._handleLinkLeave(e)))),this.register((0,h.toDisposable)((()=>{this._element.classList.remove(p+this._terminalClass),this._rowContainer.remove(),this._selectionContainer.remove(),this._widthCache.dispose(),this._themeStyleElement.remove(),this._dimensionsStyleElement.remove()}))),this._widthCache=new a.WidthCache(document),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}_updateDimensions(){const e=this._coreBrowserService.dpr;this.dimensions.device.char.width=this._charSizeService.width*e,this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*e),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.left=0,this.dimensions.device.char.top=0,this.dimensions.device.canvas.width=this.dimensions.device.cell.width*this._bufferService.cols,this.dimensions.device.canvas.height=this.dimensions.device.cell.height*this._bufferService.rows,this.dimensions.css.canvas.width=Math.round(this.dimensions.device.canvas.width/e),this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/e),this.dimensions.css.cell.width=this.dimensions.css.canvas.width/this._bufferService.cols,this.dimensions.css.cell.height=this.dimensions.css.canvas.height/this._bufferService.rows;for(const e of this._rowElements)e.style.width=`${this.dimensions.css.canvas.width}px`,e.style.height=`${this.dimensions.css.cell.height}px`,e.style.lineHeight=`${this.dimensions.css.cell.height}px`,e.style.overflow="hidden";this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));const t=`${this._terminalSelector} .${g} span { display: inline-block; height: 100%; vertical-align: top;}`;this._dimensionsStyleElement.textContent=t,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=`${this.dimensions.css.
2canvas.width}px`,this._screenElement.style.height=`${this.dimensions.css.canvas.height}px`}_injectCss(e){this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));let t=`${this._terminalSelector} .${g} { color: ${e.foreground.css}; font-family: ${this._optionsService.rawOptions.fontFamily}; font-size: ${this._optionsService.rawOptions.fontSize}px; font-kerning: none; white-space: pre}`;t+=`${this._terminalSelector} .${g} .xterm-dim { color: ${u.color.multiplyOpacity(e.foreground,.5).css};}`,t+=`${this._terminalSelector} span:not(.xterm-bold) { font-weight: ${this._optionsService.rawOptions.fontWeight};}${this._terminalSelector} span.xterm-bold { font-weight: ${this._optionsService.rawOptions.fontWeightBold};}${this._terminalSelector} span.xterm-italic { font-style: italic;}`,t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { border-bottom-style: hidden; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% {"+` background-color: ${e.cursor.css};`+` color: ${e.cursorAccent.css}; } 50% { background-color: inherit;`+` color: ${e.cursor.css}; }}`,t+=`${this._terminalSelector} .${g}.${y} .xterm-cursor.xterm-cursor-blink:not(.xterm-cursor-block) { animation: blink_box_shadow_`+this._terminalClass+" 1s step-end infinite;}"+`${this._terminalSelector} .${g}.${y} .xterm-cursor.xterm-cursor-blink.xterm-cursor-block { animation: blink_block_`+this._terminalClass+" 1s step-end infinite;}"+`${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-block {`+` background-color: ${e.cursor.css};`+` color: ${e.cursorAccent.css};}`+`${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-outline {`+` outline: 1px solid ${e.cursor.css}; outline-offset: -1px;}`+`${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-bar {`+` box-shadow: ${this._optionsService.rawOptions.cursorWidth}px 0 0 ${e.cursor.css} inset;}`+`${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-underline {`+` border-bottom: 1px ${e.cursor.css}; border-bottom-style: solid; height: calc(100% - 1px);}`,t+=`${this._terminalSelector} .${b} { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}${this._terminalSelector}.focus .${b} div { position: absolute; background-color: ${e.selectionBackgroundOpaque.css};}${this._terminalSelector} .${b} div { position: absolute; background-color: ${e.selectionInactiveBackgroundOpaque.css};}`;for(const[n,r]of e.ansi.entries())t+=`${this._terminalSelector} .${m}${n} { color: ${r.css}; }${this._terminalSelector} .${m}${n}.xterm-dim { color: ${u.color.multiplyOpacity(r,.5).css}; }${this._terminalSelector} .${v}${n} { background-color: ${r.css}; }`;t+=`${this._terminalSelector} .${m}${s.INVERTED_DEFAULT_COLOR} { color: ${u.color.opaque(e.background).css}; }${this._terminalSelector} .${m}${s.INVERTED_DEFAULT_COLOR}.xterm-dim { color: ${u.color.multiplyOpacity(u.color.opaque(e.background),.5).css}; }${this._terminalSelector} .${v}${s.INVERTED_DEFAULT_COLOR} { background-color: ${e.foreground.css}; }`,this._themeStyleElement.textContent=t}_setDefaultSpacing(){const e=this.dimensions.css.cell.width-this._widthCache.get("W",!1,!1);this._rowContainer.style.letterSpacing=`${e}px`,this._rowFactory.defaultSpacing=e}handleDevicePixelRatioChange(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}_refreshRowElements(e,t){for(let e=this._rowElements.length;e<=t;e++){const e=document.createElement("div");this._rowContainer.appendChild(e),this._rowElements.push(e)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())}handleResize(e,t){this._refreshRowElements(e,t),this._updateDimensions()}handleCharSizeChanged(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}handleBlur(){this._rowContainer.classList.remove(y)}handleFocus(){this._rowContainer.classList.add(y),this.renderRows(this._bufferService.buffer.y,this._bufferService.buffer.y)}handleSelectionChanged(e,t,n){if(this._selectionContainer.replaceChildren(),this._rowFactory.handleSelectionChanged(e,t,n),this.renderRows(0,this._bufferService.rows-1),!e||!t)return;const r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(o>=this._bufferService.rows||a<0)return;const s=document.createDocumentFragment();if(n){const n=e[0]>t[0];s.appendChild(this._createSelectionElement(o,n?t[0]:e[0],n?e[0]:t[0],a-o+1))}else{const n=r===o?e[0]:0,c=o===i?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(o,n,c));const l=a-o-1;if(s.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,l)),o!==a){const e=i===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(a,0,e))}}this._selectionContainer.appendChild(s)}_createSelectionElement(e,t,n,r=1){const i=document.createElement("div");
vendor: 19,841 bytes, line 2
2return i.style.height=r*this.dimensions.css.cell.height+"px",i.style.top=e*this.dimensions.css.cell.height+"px",i.style.left=t*this.dimensions.css.cell.width+"px",i.style.width=this.dimensions.css.cell.width*(n-t)+"px",i}handleCursorMove(){}_handleOptionsChanged(){this._updateDimensions(),this._injectCss(this._themeService.colors),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}clear(){for(const e of this._rowElements)e.replaceChildren()}renderRows(e,t){const n=this._bufferService.buffer,r=n.ybase+n.y,i=Math.min(n.x,this._bufferService.cols-1),o=this._optionsService.rawOptions.cursorBlink,a=this._optionsService.rawOptions.cursorStyle,s=this._optionsService.rawOptions.cursorInactiveStyle;for(let c=e;c<=t;c++){const e=c+n.ydisp,t=this._rowElements[c],l=n.lines.get(e);if(!t||!l)break;t.replaceChildren(...this._rowFactory.createRow(l,e,e===r,a,s,i,o,this.dimensions.css.cell.width,this._widthCache,-1,-1))}}get _terminalSelector(){return`.${p}${this._terminalClass}`}_handleLinkHover(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)}_handleLinkLeave(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)}_setCellUnderline(e,t,n,r,i,o){n<0&&(e=0),r<0&&(t=0);const a=this._bufferService.rows-1;n=Math.max(Math.min(n,a),0),r=Math.max(Math.min(r,a),0),i=Math.min(i,this._bufferService.cols);const s=this._bufferService.buffer,c=s.ybase+s.y,l=Math.min(s.x,i-1),u=this._optionsService.rawOptions.cursorBlink,f=this._optionsService.rawOptions.cursorStyle,h=this._optionsService.rawOptions.cursorInactiveStyle;for(let a=n;a<=r;++a){const d=a+s.ydisp,p=this._rowElements[a],g=s.lines.get(d);if(!p||!g)break;p.replaceChildren(...this._rowFactory.createRow(g,d,d===c,f,h,l,u,this.dimensions.css.cell.width,this._widthCache,o?a===n?e:0:-1,o?(a===r?t:i)-1:-1))}}};t.DomRenderer=w=r([i(4,d.IInstantiationService),i(5,l.ICharSizeService),i(6,d.IOptionsService),i(7,d.IBufferService),i(8,l.ICoreBrowserService),i(9,l.IThemeService)],w)},3787:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=void 0;const o=n(2223),a=n(643),s=n(511),c=n(2585),l=n(8055),u=n(4725),f=n(4269),h=n(6171),d=n(3734);let p=t.DomRendererRowFactory=class{constructor(e,t,n,r,i,o,a){this._document=e,this._characterJoinerService=t,this._optionsService=n,this._coreBrowserService=r,this._coreService=i,this._decorationService=o,this._themeService=a,this._workCell=new s.CellData,this._columnSelectMode=!1,this.defaultSpacing=0}handleSelectionChanged(e,t,n){this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n}createRow(e,t,n,r,i,s,c,u,h,p,m){const v=[],y=this._characterJoinerService.getJoinedCharacters(t),b=this._themeService.colors;let _,w=e.getNoBgTrimmedLength();n&&w<s+1&&(w=s+1);let x=0,S="",E=0,k=0,O=0,C=!1,A=0,T=!1,P=0;const D=[],M=-1!==p&&-1!==m;for(let R=0;R<w;R++){e.loadCell(R,this._workCell);let w=this._workCell.getWidth();if(0===w)continue;let j=!1,N=R,L=this._workCell;if(y.length>0&&R===y[0][0]){j=!0;const t=y.shift();L=new f.JoinedCellData(this._workCell,e.translateToString(!0,t[0],t[1]),t[1]-t[0]),N=t[1]-1,w=L.getWidth()}const I=this._isCellInSelection(R,t),B=n&&R===s,F=M&&R>=p&&R<=m;let z=!1;this._decorationService.forEachDecorationAtCell(R,t,void 0,(e=>{z=!0}));let U=L.getChars()||a.WHITESPACE_CELL_CHAR;if(" "===U&&(L.isUnderline()||L.isOverline())&&(U="Â "),P=w*u-h.get(U,L.isBold(),L.isItalic()),_){if(x&&(I&&T||!I&&!T&&L.bg===E)&&(I&&T&&b.selectionForeground||L.fg===k)&&L.extended.ext===O&&F===C&&P===A&&!B&&!j&&!z){S+=U,x++;continue}x&&(_.textContent=S),_=this._document.createElement("span"),x=0,S=""}else _=this._document.createElement("span");if(E=L.bg,k=L.fg,O=L.extended.ext,C=F,A=P,T=I,j&&s>=R&&s<=N&&(s=R),!this._coreService.isCursorHidden&&B)if(D.push("xterm-cursor"),this._coreBrowserService.isFocused)c&&D.push("xterm-cursor-blink"),D.push("bar"===r?"xterm-cursor-bar":"underline"===r?"xterm-cursor-underline":"xterm-cursor-block");else if(i)switch(i){case"outline":D.push("xterm-cursor-outline");break;case"block":D.push("xterm-cursor-block");break;case"bar":D.push("xterm-cursor-bar");break;case"underline":D.push("xterm-cursor-underline")}if(L.isBold()&&D.push("xterm-bold"),L.isItalic()&&D.push("xterm-italic"),L.isDim()&&D.push("xterm-dim"),S=L.isInvisible()?a.WHITESPACE_CELL_CHAR:L.getChars()||a.WHITESPACE_CELL_CHAR,L.isUnderline()&&(D.push(`xterm-underline-${L.extended.underlineStyle}`)," "===S&&(S="Â "),!L.isUnderlineColorDefault()))if(L.isUnderlineColorRGB())_.style.textDecorationColor=`rgb(${d.AttributeData.toColorRGB(L.getUnderlineColor()).join(",")})`;else{let e=L.getUnderlineColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&L.isBold()&&e<8&&(e+=8),_.style.textDecorationColor=b.ansi[e].css}L.isOverline()&&(D.push("xterm-overline")," "===S&&(S="Â ")),L.isStrikethrough()&&D.push("xterm-strikethrough"),F&&(_.style.textDecoration="underline");let H=L.getFgColor(),q=L.getFgColorMode(),$=L.getBgColor(),W=L.getBgColorMode();const V=!!L.isInverse();if(V){const e=H;H=$,$=e;const t=q;q=W,W=t}let K,G,Z,Y=!1;switch(this._decorationService.forEachDecorationAtCell(R,t,void 0,(e=>{"top"!==e.options.layer&&Y||(e.backgroundColorRGB&&(W=50331648,$=e.backgroundColorRGB.rgba>>8&16777215,K=e.backgroundColorRGB),e.foregroundColorRGB&&(q=50331648,H=e.foregroundColorRGB.rgba>>8&16777215,G=e.foregroundColorRGB),Y="top"===e.options.layer)})),!Y&&I&&(K=this._coreBrowserService.isFocused?b.selectionBackgroundOpaque:b.selectionInactiveBackgroundOpaque,$=K.rgba>>8&16777215,W=50331648,Y=!0,b.selectionForeground&&(q=50331648,H=b.selectionForeground.rgba>>8&16777215,G=b.selectionForeground)),Y&&D.push("xterm-decoration-top"),W){case 16777216:case 33554432:Z=b.ansi[$],D.push(`xterm-bg-${$}`);break;case 50331648:Z=l.rgba.toColor($>>16,$>>8&255,255&$),this._addStyle(_,`background-color:#${g(($>>>0).toString(16),"0",6)}`);break;default:V?(Z=b.foreground,D.push(`xterm-bg-${o.INVERTED_DEFAULT_COLOR}`)):Z=b.background}switch(K||L.isDim()&&(K=l.color.multiplyOpacity(Z,.5)),q){case 16777216:case 33554432:L.isBold()&&H<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(H+=8),this._applyMinimumContrast(_,Z,b.ansi[H],L,K,void 0)||D.push(`xterm-fg-${H}`);break;case 50331648:const e=l.rgba.toColor(H>>16&255,H>>8&255,255&H);this._applyMinimumContrast(_,Z,e,L,K,G)||this._addStyle(_,`color:#${g(H.toString(16),"0",6)}`);break;default:this._applyMinimumContrast(_,Z,b.foreground,L,K,void 0)||V&&D.push(`xterm-fg-${o.INVERTED_DEFAULT_COLOR}`)}D.length&&(_.className=D.join(" "),D.length=0),B||j||z?_.textContent=S:x++,P!==this.defaultSpacing&&(_.style.letterSpacing=`${P}px`),v.push(_),R=N}return _&&x&&(_.textContent=S),v}_applyMinimumContrast(e,t,n,r,i,o){if(1===this._optionsService.rawOptions.minimumContrastRatio||(0,h.excludeFromContrastRatioDemands)(r.getCode()))return!1;const a=this._getContrastCache(r);let s;if(i||o||(s=a.getColor(t.rgba,n.rgba)),void 0===s){const e=this._optionsService.rawOptions.minimumContrastRatio/(r.isDim()?2:1);s=l.color.ensureContrastRatio(i||t,o||n,e),a.setColor((i||t).rgba,(o||n).rgba,null!=s?s:null)}return!!s&&(this._addStyle(e,`color:${s.css}`),!0)}_getContrastCache(e){return e.isDim()?this._themeService.colors.halfContrastCache:this._themeService.colors.contrastCache}_addStyle(e,t){e.setAttribute("style",`${e.getAttribute("style")||""}${t};`)}_isCellInSelection(e,t){const n=this._selectionStart,r=this._selectionEnd;return!(!n||!r)&&(this._columnSelectMode?n[0]<=r[0]?e>=n[0]&&t>=n[1]&&e<r[0]&&t<=r[1]:e<n[0]&&t>=n[1]&&e>=r[0]&&t<=r[1]:t>n[1]&&t<r[1]||n[1]===r[1]&&t===n[1]&&e>=n[0]&&e<r[0]||n[1]<r[1]&&t===r[1]&&e<r[0]||n[1]<r[1]&&t===n[1]&&e>=n[0])}};function g(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=p=r([i(1,u.ICharacterJoinerService),i(2,c.IOptionsService),i(3,u.ICoreBrowserService),i(4,c.ICoreService),i(5,c.IDecorationService),i(6,u.IThemeService)],p)},2550:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WidthCache=void 0,t.WidthCache=class{constructor(e){this._flat=new Float32Array(256),this._font="",this._fontSize=0,this._weight="normal",this._weightBold="bold",this._measureElements=[],this._container=e.createElement("div"),this._container.style.position="absolute",this._container.style.top="-50000px",this._container.style.width="50000px",this._container.style.whiteSpace="pre",this._container.style.fontKerning="none";const t=e.createElement("span"),n=e.createElement("span");n.style.fontWeight="bold";const r=e.createElement("span");r.style.fontStyle="italic";const i=e.createElement("span");i.style.fontWeight="bold",i.style.fontStyle="italic",this._measureElements=[t,n,r,i],this._container.appendChild(t),this._container.appendChild(n),this._container.appendChild(r),this._container.appendChild(i),e.body.appendChild(this._container),this.clear()}dispose(){this._container.remove(),this._measureElements.length=0,this._holey=void 0}clear(){this._flat.fill(-9999),this._holey=new Map}setFont(e,t,n,r){e===this._font&&t===this._fontSize&&n===this._weight&&r===this._weightBold||(this._font=e,this._fontSize=t,this._weight=n,this._weightBold=r,this._container.style.fontFamily=this._font,this._container.style.fontSize=`${this._fontSize}px`,this._measureElements[0].style.fontWeight=`${n}`,this._measureElements[1].style.fontWeight=`${r}`,this._measureElements[2].style.fontWeight=`${n}`,this._measureElements[3].style.fontWeight=`${r}`,this.clear())}get(e,t,n){let r=0;if(!t&&!n&&1===e.length&&(r=e.charCodeAt(0))<256)return-9999!==this._flat[r]?this._flat[r]:this._flat[r]=this._measure(e,0);let i=e;t&&(i+="B"),n&&(i+="I");let o=this._holey.get(i);if(void 0===o){let r=0;t&&(r|=1),n&&(r|=2),o=this._measure(e,r),this._holey.set(i,o)}return o}_measure(e,t){const n=this._measureElements[t];return n.textContent=e.repeat(32),n.offsetWidth/32}}},2223:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;const r=n(6114);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=r.isFirefox||r.isLegacyEdge?"bottom":"ideographic"},6171:(e,t)=>{function n(e){return 57508<=e&&e<=57558}Object.defineProperty(t,"__esModule",{value:!0}),t.createRenderDimensions=t.excludeFromContrastRatioDemands=t.isRestrictedPowerlineGlyph=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=n,t.isRestrictedPowerlineGlyph=function(e){return 57520<=e&&e<=57527},t.excludeFromContrastRatioDemands=function(e){return n(e)||function(e){return 9472<=e&&e<=9631}(e)},t.createRenderDimensions=function(){return{css:{canvas:{width:0,height:0},cell:{width:0,height:0}},device:{canvas:{width:0,height:0},cell:{width:0,height:0},char:{width:0,height:0,left:0,top:0}}}}},456:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0,t.SelectionModel=class{constructor(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}clearSelection(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0}get finalSelectionStart(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart}get finalSelectionEnd(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){const e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?e%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)-1]:[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}if(this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]){const e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[Math.max(e,this.selectionEnd[0]),this.selectionEnd[1]]}return this.selectionEnd}}areSelectionValuesReversed(){const e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])}handleTrim(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)}}},428:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;const o=n(2585),a=n(8460),s=n(844);let c=t.CharSizeService=class extends s.Disposable{get hasValidSize(){return this.width>0&&this.height>0}constructor(e,t,n){super(),this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=this.register(new a.EventEmitter),this.onCharSizeChange=this._onCharSizeChange.event,this._measureStrategy=new l(e,t,this._optionsService),this.register(this._optionsService.onMultipleOptionChange(["fontFamily","fontSize"],(()=>this.measure())))}measure(){const e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())}};t.CharSizeService=c=r([i(2,o.IOptionsService)],c);class l{constructor(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W".repeat(32),this._measureElement.setAttribute("aria-hidden","true"),this._measureElement.style.whiteSpace="pre",this._measureElement.style.fontKerning="none",this._parentElement.appendChild(this._measureElement)}measure(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=`${this._optionsService.rawOptions.fontSize}px`;const e={height:Number(this._measureElement.offsetHeight),width:Number(this._measureElement.offsetWidth)};return 0!==e.width&&0!==e.height&&(this._result.width=e.width/32,this._result.height=Math.ceil(e.height)),this._result}}},4269:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerService=t.JoinedCellData=void 0;const o=n(3734),a=n(643),s=n(511),c=n(2585);class l extends o.AttributeData{constructor(e,t,n){super(),this.content=0,this.combinedData="",this.fg=e.fg,this.bg=e.bg,this.combinedData=t,this._width=n}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(e){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.JoinedCellData=l;let u=t.CharacterJoinerService=class e{constructor(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new s.CellData}register(e){const t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id}deregister(e){for(let t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1}getJoinedCharacters(e){if(0===this._characterJoiners.length)return[];const t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];const n=[],r=t.translateToString(!0);let i=0,o=0,s=0,c=t.getFg(0),l=t.getBg(0);for(let e=0;e<t.getTrimmedLength();e++)if(t.loadCell(e,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==c||this._workCell.bg!==l){if(e-i>1){const e=this._getJoinedRanges(r,s,o,t,i);for(let t=0;t<e.length;t++)n.push(e[t])}i=e,s=o,c=this._workCell.fg,l=this._workCell.bg}o+=this._workCell.getChars().length||a.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-i>1){const e=this._getJoinedRanges(r,s,o,t,i);for(let t=0;t<e.length;t++)n.push(e[t])}return n}_getJoinedRanges(t,n,r,i,o){const a=t.substring(n,r);let s=[];try{s=this._characterJoiners[0].handler(a)}catch(e){console.error(e)}for(let t=1;t<this._characterJoiners.length;t++)try{const n=this._characterJoiners[t].handler(a);for(let t=0;t<n.length;t++)e._mergeRanges(s,n[t])}catch(e){console.error(e)}return this._stringRangesToCellRanges(s,i,o),s}_stringRangesToCellRanges(e,t,n){let r=0,i=!1,o=0,s=e[r];if(s){for(let c=n;c<this._bufferService.cols;c++){const n=t.getWidth(c),l=t.getString(c).length||a.WHITESPACE_CELL_CHAR.length;if(0!==n){if(!i&&s[0]<=o&&(s[0]=c,i=!0),s[1]<=o){if(s[1]=c,s=e[++r],!s)break;s[0]<=o?(s[0]=c,i=!0):i=!1}o+=l}}s&&(s[1]=this._bufferService.cols)}}static _mergeRanges(e,t){let n=!1;for(let r=0;r<e.length;r++){const i=e[r];if(n){if(t[1]<=i[0])return e[r-1][1]=t[1],e;if(t[1]<=i[1])return e[r-1][1]=Math.max(t[1],i[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=i[0])return e.splice(r,0,t),e;if(t[1]<=i[1])return i[0]=Math.min(t[0],i[0]),e;t[0]<i[1]&&(i[0]=Math.min(t[0],i[0]),n=!0)}}return n?e[e.length-1][1]=t[1]:e.push(t),e}};t.CharacterJoinerService=u=r([i(0,c.IBufferService)],u)},5114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0,t.CoreBrowserService=class{constructor(e,t){this._textarea=e,this.window=t,this._isFocused=!1,this._cachedIsFocused=void 0,this._textarea.addEventListener("focus",(()=>this._isFocused=!0)),this._textarea.addEventListener("blur",(()=>this._isFocused=!1))}get dpr(){return this.window.devicePixelRatio}get isFocused(){return void 0===this._cachedIsFocused&&(this._cachedIsFocused=this._isFocused&&this._textarea.ownerDocument.hasFocus(),queueMicrotask((()=>this._cachedIsFocused=void 0))),this._cachedIsFocused}}},8934:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;const o=n(4725),a=n(9806);let s=t.MouseService=class{constructor(e,t){this._renderService=e,this._charSizeService=t}getCoords(e,t,n,r,i){return(0,a.getCoords)(window,e,t,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.css.
vendor: 2,461 bytes, line 2
2cell.width,this._renderService.dimensions.css.cell.height,i)}getMouseReportCoords(e,t){const n=(0,a.getCoordsRelativeToElement)(window,e,t);if(this._charSizeService.hasValidSize)return n[0]=Math.min(Math.max(n[0],0),this._renderService.dimensions.css.canvas.width-1),n[1]=Math.min(Math.max(n[1],0),this._renderService.dimensions.css.canvas.height-1),{col:Math.floor(n[0]/this._renderService.dimensions.css.cell.width),row:Math.floor(n[1]/this._renderService.dimensions.css.cell.height),x:Math.floor(n[0]),y:Math.floor(n[1])}}};t.MouseService=s=r([i(0,o.IRenderService),i(1,o.ICharSizeService)],s)},3230:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;const o=n(3656),a=n(6193),s=n(5596),c=n(4725),l=n(8460),u=n(844),f=n(7226),h=n(2585);let d=t.RenderService=class extends u.Disposable{get dimensions(){return this._renderer.value.dimensions}constructor(e,t,n,r,i,c,h,d){if(super(),this._rowCount=e,this._charSizeService=r,this._renderer=this.register(new u.MutableDisposable),this._pausedResizeTask=new f.DebouncedIdleTask,this._isPaused=!1,this._needsFullRefresh=!1,this._isNextRenderRedrawOnly=!0,this._needsSelectionRefresh=!1,this._canvasWidth=0,this._canvasHeight=0,this._selectionState={start:void 0,end:void 0,columnSelectMode:!1},this._onDimensionsChange=this.register(new l.EventEmitter),this.onDimensionsChange=this._onDimensionsChange.event,this._onRenderedViewportChange=this.register(new l.EventEmitter),this.onRenderedViewportChange=this._onRenderedViewportChange.event,this._onRender=this.register(new l.EventEmitter),this.onRender=this._onRender.event,this._onRefreshRequest=this.register(new l.EventEmitter),this.onRefreshRequest=this._onRefreshRequest.event,this._renderDebouncer=new a.RenderDebouncer(h.window,((e,t)=>this._renderRows(e,t))),this.register(this._renderDebouncer),this._screenDprMonitor=new s.ScreenDprMonitor(h.window),this._screenDprMonitor.setListener((()=>this.handleDevicePixelRatioChange())),this.register(this._screenDprMonitor),this.register(c.onResize((()=>
2this._fullRefresh()))),this.register(c.buffers.onBufferActivate((()=>{var e;return null===(e=this._renderer.value)||void 0===e?void 0:e.clear()}))),this.register(n.onOptionChange((()=>this._handleOptionsChanged()))),this.register(this._charSizeService.onCharSizeChange((()=>this.handleCharSizeChanged()))),this.register(i.onDecorationRegistered((()=>this._fullRefresh()))),this.register(i.onDecorationRemoved((()=>this._fullRefresh()))),this.register(n.onMultipleOptionChange(["customGlyphs","drawBoldTextInBrightColors","letterSpacing","lineHeight","fontFamily","fontSize","fontWeight","fontWeightBold","minimumContrastRatio"],(()=>{this.clear(),this.handleResize(c.cols,c.rows),this._fullRefresh()}))),this.register(n.onMultipleOptionChange(["cursorBlink","cursorStyle"],(()=>this.refreshRows(c.buffer.y,c.buffer.y,!0)))),this.register((0,o.addDisposableDomListener)(h.window,"resize",(()=>this.handleDevicePixelRatioChange()))),this.register(d.onChangeColors((()=>this._fullRefresh()))),"IntersectionObserver"in h.window){const e=new h.window.IntersectionObserver((e=>this._handleIntersectionChange(e[e.length-1])),{threshold:0});e.observe(t),this.register({dispose:()=>e.disconnect()})}}_handleIntersectionChange(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this._pausedResizeTask.flush(),this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)}refreshRows(e,t,n=!1){this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))}_renderRows(e,t){this._renderer.value&&(e=Math.min(e,this._rowCount-1),t=Math.min(t,this._rowCount-1),this._renderer.value.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.value.handleSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:e,end:t}),this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0)}resize(e,t){this._rowCount=t,this._fireOnCanvasResize()}_handleOptionsChanged(){this._renderer.value&&(this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize())}_fireOnCanvasResize(){this._renderer.value&&(this._renderer.value.dimensions.css.canvas.width===this._canvasWidth&&this._renderer.value.dimensions.css.canvas.height===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.value.dimensions))}hasRenderer(){return!!this._renderer.value}setRenderer(e){this._renderer.value=e,this._renderer.value.onRequestRedraw((e=>this.refreshRows(e.start,e.end,!0))),this._needsSelectionRefresh=!0,this._fullRefresh()}addRefreshCallback(e){return this._renderDebouncer.addRefreshCallback(e)}_fullRefresh(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)}clearTextureAtlas(){var e,t;this._renderer.value&&(null===(t=(e=this._renderer.value).clearTextureAtlas)||void 0===t||t.call(e),this._fullRefresh())}handleDevicePixelRatioChange(){this._charSizeService.measure(),this._renderer.value&&(this._renderer.value.handleDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1))}handleResize(e,t){this._renderer.value&&(this._isPaused?this._pausedResizeTask.set((()=>this._renderer.value.handleResize(e,t))):this._renderer.value.handleResize(e,t),this._fullRefresh())}handleCharSizeChanged(){var e;null===(e=this._renderer.value)||void 0===e||e.handleCharSizeChanged()}handleBlur(){var e;null===(e=this._renderer.value)||void 0===e||e.handleBlur()}handleFocus(){var e;null===(e=this._renderer.value)||void 0===e||e.handleFocus()}handleSelectionChanged(e,t,n){var r;this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,null===(r=this._renderer.value)||void 0===r||r.handleSelectionChanged(e,t,n)}handleCursorMove(){var e;null===(e=this._renderer.value)||void 0===e||e.handleCursorMove()}clear(){var e;null===(e=this._renderer.value)||void 0===e||e.clear()}};t.RenderService=d=r([i(2,h.IOptionsService),i(3,c.ICharSizeService),i(4,h.IDecorationService),i(5,h.IBufferService),i(6,c.ICoreBrowserService),i(7,c.IThemeService)],d)},9312:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
vendor: 23,186 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;const o=n(9806),a=n(9504),s=n(456),c=n(4725),l=n(8460),u=n(844),f=n(6114),h=n(4841),d=n(511),p=n(2585),g=String.fromCharCode(160),m=new RegExp(g,"g");let v=t.SelectionService=class extends u.Disposable{constructor(e,t,n,r,i,o,a,c,f){super(),this._element=e,this._screenElement=t,this._linkifier=n,this._bufferService=r,this._coreService=i,this._mouseService=o,this._optionsService=a,this._renderService=c,this._coreBrowserService=f,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new d.CellData,this._mouseDownTimeStamp=0,this._oldHasSelection=!1,this._oldSelectionStart=void 0,this._oldSelectionEnd=void 0,this._onLinuxMouseSelection=this.register(new l.EventEmitter),this.onLinuxMouseSelection=this._onLinuxMouseSelection.event,this._onRedrawRequest=this.register(new l.EventEmitter),this.onRequestRedraw=this._onRedrawRequest.event,this._onSelectionChange=this.register(new l.EventEmitter),this.onSelectionChange=this._onSelectionChange.event,this._onRequestScrollLines=this.register(new l.EventEmitter),this.onRequestScrollLines=this._onRequestScrollLines.event,this._mouseMoveListener=e=>this._handleMouseMove(e),this._mouseUpListener=e=>this._handleMouseUp(e),this._coreService.onUserInput((()=>{this.hasSelection&&this.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((e=>this._handleTrim(e))),this.register(this._bufferService.buffers.onBufferActivate((e=>this._handleBufferActivate(e)))),this.enable(),this._model=new s.SelectionModel(this._bufferService),this._activeSelectionMode=0,this.register((0,u.toDisposable)((()=>{this._removeMouseDownListeners()})))}reset(){this.clearSelection()}disable(){this.clearSelection(),this._enabled=!1}enable(){this._enabled=!0}get selectionStart(){return this._model.finalSelectionStart}get selectionEnd(){return this._model.finalSelectionEnd}get hasSelection(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])}get selectionText(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";const n=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";const i=e[0]<t[0]?e[0]:t[0],o=e[0]<t[0]?t[0]:e[0];for(let a=e[1];a<=t[1];a++){const e=n.translateBufferLineToString(a,!0,i,o);r.push(e)}}else{const i=e[1]===t[1]?t[0]:void 0;r.push(n.translateBufferLineToString(e[1],!0,e[0],i));for(let i=e[1]+1;i<=t[1]-1;i++){const e=n.lines.get(i),t=n.translateBufferLineToString(i,!0);(null==e?void 0:e.isWrapped)?r[r.length-1]+=t:r.push(t)}if(e[1]!==t[1]){const e=n.lines.get(t[1]),i=n.translateBufferLineToString(t[1],!0,0,t[0]);e&&e.isWrapped?r[r.length-1]+=i:r.push(i)}}return r.map((e=>e.replace(m," "))).join(f.isWindows?"\r\n":"\n")}clearSelection(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()}refresh(e){this._refreshAnimationFrame||(this._refreshAnimationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._refresh()))),f.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)}_refresh(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})}_isClickInSelection(e){const t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(n&&r&&t)&&this._areCoordsInSelection(t,n,r)}isCellInSelection(e,t){const n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!(!n||!r)&&this._areCoordsInSelection([e,t],n,r)}_areCoordsInSelection(e,t,n){return e[1]>t[1]&&e[1]<n[1]||t[1]===n[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<n[0]||t[1]<n[1]&&e[1]===n[1]&&e[0]<n[0]||t[1]<n[1]&&e[1]===t[1]&&e[0]>=t[0]}_selectWordAtCursor(e,t){var n,r;const i=null===(r=null===(n=this._linkifier.currentLink)||void 0===n?void 0:n.link)||void 0===r?void 0:r.range;if(i)return this._model.selectionStart=[i.start.x-1,i.start.y-1],this._model.selectionStartLength=(0,h.getRangeLength)(i,this._bufferService.cols),this._model.selectionEnd=void 0,!0;const o=this._getMouseBufferCoords(e);return!!o&&(this._selectWordAt(o,t),this._model.selectionEnd=void 0,!0)}selectAll(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()}selectLines(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()}_handleTrim(e){this._model.handleTrim(e)&&this.refresh()}_getMouseBufferCoords(e){const t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t}_getMouseEventScrollAmount(e){let t=(0,o.getCoordsRelativeToElement)(this._coreBrowserService.window,e,this._screenElement)[1];const n=this._renderService.dimensions.css.canvas.height;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),t/=50,t/Math.abs(t)+Math.round(14*t))}shouldForceSelection(e){return f.isMac?e.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:e.shiftKey}handleMouseDown(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._handleIncrementalClick(e):1===e.detail?this._handleSingleClick(e):2===e.detail?this._handleDoubleClick(e):3===e.detail&&this._handleTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}}_addMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=this._coreBrowserService.window.setInterval((()=>this._dragScroll()),50)}_removeMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),this._coreBrowserService.window.clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0}_handleIncrementalClick(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))}_handleSingleClick(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),!this._model.selectionStart)return;this._model.selectionEnd=void 0;const t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}_handleDoubleClick(e){this._selectWordAtCursor(e,!0)&&(this._activeSelectionMode=1)}_handleTripleClick(e){const t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))}shouldColumnSelect(e){return e.altKey&&!(f.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)}_handleMouseMove(e){if(e.stopImmediatePropagation(),!this._model.selectionStart)return;const t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),!this._model.selectionEnd)return void this.refresh(!0);2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));const n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){const e=n.lines.get(this._model.selectionEnd[1]);e&&0===e.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}_dragScroll(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});const e=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}}_handleMouseUp(e){const t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey&&this._optionsService.rawOptions.altClickMovesCursor){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){const t=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(t&&void 0!==t[0]&&void 0!==t[1]){const e=(0,a.moveToCellSequence)(t[0]-1,t[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(e,!0)}}}else this._fireEventIfSelectionChanged()}_fireEventIfSelectionChanged(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd,n=!(!e||!t||e[0]===t[0]&&e[1]===t[1]);n?e&&t&&(this._oldSelectionStart&&this._oldSelectionEnd&&e[0]===this._oldSelectionStart[0]&&e[1]===this._oldSelectionStart[1]&&t[0]===this._oldSelectionEnd[0]&&t[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(e,t,n)):this._oldHasSelection&&this._fireOnSelectionChange(e,t,n)}_fireOnSelectionChange(e,t,n){this._oldSelectionStart=e,this._oldSelectionEnd=t,this._oldHasSelection=n,this._onSelectionChange.fire()}_handleBufferActivate(e){this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((e=>this._handleTrim(e)))}_convertViewportColToCharacterIndex(e,t){let n=t;for(let r=0;t>=r;r++){const i=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:i>1&&t!==r&&(n+=i-1)}return n}setSelection(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh(),this._fireEventIfSelectionChanged()}rightClickSelect(e){this._isClickInSelection(e)||(this._selectWordAtCursor(e,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())}_getWordAt(e,t,n=!0,r=!0){if(e[0]>=this._bufferService.cols)return;const i=this._bufferService.buffer,o=i.lines.get(e[1]);if(!o)return;const a=i.translateBufferLineToString(e[1],!1);let s=this._convertViewportColToCharacterIndex(o,e[0]),c=s;const l=e[0]-s;let u=0,f=0,h=0,d=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;c<a.length&&" "===a.charAt(c+1);)c++}else{let t=e[0],n=e[0];0===o.getWidth(t)&&(u++,t--),2===o.getWidth(n)&&(f++,n++);const r=o.getString(n).length;for(r>1&&(d+=r-1,c+=r-1);t>0&&s>0&&!this._isCharWordSeparator(o.loadCell(t-1,this._workCell));){o.loadCell(t-1,this._workCell);const e=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,t--):e>1&&(h+=e-1,s-=e-1),s--,t--}for(;n<o.length&&c+1<a.length&&!this._isCharWordSeparator(o.loadCell(n+1,this._workCell));){o.loadCell(n+1,this._workCell);const e=this._workCell.getChars().length;2===this._workCell.getWidth()?(f++,n++):e>1&&(d+=e-1,c+=e-1),c++,n++}}c++;let p=s+l-u+h,g=Math.min(this._bufferService.cols,c-s+u+f-h-d);if(t||""!==a.slice(s,c).trim()){if(n&&0===p&&32!==o.getCodePoint(0)){const t=i.lines.get(e[1]-1);if(t&&o.isWrapped&&32!==t.getCodePoint(this._bufferService.cols-1)){const t=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(t){const e=this._bufferService.cols-t.start;p-=e,g+=e}}}if(r&&p+g===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){const t=i.lines.get(e[1]+1);if((null==t?void 0:t.isWrapped)&&32!==t.getCodePoint(0)){const t=this._getWordAt([0,e[1]+1],!1,!1,!0);t&&(g+=t.length)}}return{start:p,length:g}}}_selectWordAt(e,t){const n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}}_selectToWordAt(e){const t=this._getWordAt(e,!0);if(t){let n=e[1];for(;t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}}_isCharWordSeparator(e){return 0!==e.getWidth()&&this._optionsService.rawOptions.wordSeparator.indexOf(e.getChars())>=0}_selectLineAt(e){const t=this._bufferService.buffer.getWrappedRangeForLine(e),n={start:{x:0,y:t.first},end:{x:this._bufferService.cols-1,y:t.last}};this._model.selectionStart=[0,t.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,h.getRangeLength)(n,this._bufferService.cols)}};t.SelectionService=v=r([i(3,p.IBufferService),i(4,p.ICoreService),i(5,c.IMouseService),i(6,p.IOptionsService),i(7,c.IRenderService),i(8,c.ICoreBrowserService)],v)},4725:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IThemeService=t.ICharacterJoinerService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;const r=n(8343);t.ICharSizeService=(0,r.createDecorator)("CharSizeService"),t.ICoreBrowserService=(0,r.createDecorator)("CoreBrowserService"),t.IMouseService=(0,r.createDecorator)("MouseService"),t.IRenderService=(0,r.createDecorator)("RenderService"),t.ISelectionService=(0,r.createDecorator)("SelectionService"),t.ICharacterJoinerService=(0,r.createDecorator)("CharacterJoinerService"),t.IThemeService=(0,r.createDecorator)("ThemeService")},6731:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeService=t.DEFAULT_ANSI_COLORS=void 0;const o=n(7239),a=n(8055),s=n(8460),c=n(844),l=n(2585),u=a.css.toColor("#ffffff"),f=a.css.toColor("#000000"),h=a.css.toColor("#ffffff"),d=a.css.toColor("#000000"),p={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=Object.freeze((()=>{const e=[a.css.toColor("#2e3436"),a.css.toColor("#cc0000"),a.css.toColor("#4e9a06"),a.css.toColor("#c4a000"),a.css.toColor("#3465a4"),a.css.toColor("#75507b"),a.css.toColor("#06989a"),a.css.toColor("#d3d7cf"),a.css.toColor("#555753"),a.css.toColor("#ef2929"),a.css.toColor("#8ae234"),a.css.toColor("#fce94f"),a.css.toColor("#729fcf"),a.css.toColor("#ad7fa8"),a.css.toColor("#34e2e2"),a.css.toColor("#eeeeec")],t=[0,95,135,175,215,255];for(let n=0;n<216;n++){const r=t[n/36%6|0],i=t[n/6%6|0],o=t[n%6];e.push({css:a.channels.toCss(r,i,o),rgba:a.channels.toRgba(r,i,o)})}for(let t=0;t<24;t++){const n=8+10*t;e.push({css:a.channels.toCss(n,n,n),rgba:a.channels.toRgba(n,n,n)})}return e})());let g=t.ThemeService=class extends c.Disposable{get colors(){return this._colors}constructor(e){super(),this._optionsService=e,this._contrastCache=new o.ColorContrastCache,this._halfContrastCache=new o.ColorContrastCache,this._onChangeColors=this.register(new s.EventEmitter),this.onChangeColors=this._onChangeColors.event,this._colors={foreground:u,background:f,cursor:h,cursorAccent:d,selectionForeground:void 0,selectionBackgroundTransparent:p,selectionBackgroundOpaque:a.color.blend(f,p),selectionInactiveBackgroundTransparent:p,selectionInactiveBackgroundOpaque:a.color.blend(f,p),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache,halfContrastCache:this._halfContrastCache},this._updateRestoreColors(),this._setTheme(this._optionsService.rawOptions.theme),this.register(this._optionsService.onSpecificOptionChange("minimumContrastRatio",(()=>this._contrastCache.clear()))),this.register(this._optionsService.onSpecificOptionChange("theme",(()=>this._setTheme(this._optionsService.rawOptions.theme))))}_setTheme(e={}){const n=this._colors;if(n.foreground=m(e.foreground,u),n.background=m(e.background,f),n.cursor=m(e.cursor,h),n.cursorAccent=m(e.cursorAccent,d),n.selectionBackgroundTransparent=m(e.selectionBackground,p),n.selectionBackgroundOpaque=a.color.blend(n.background,n.selectionBackgroundTransparent),n.selectionInactiveBackgroundTransparent=m(e.selectionInactiveBackground,n.selectionBackgroundTransparent),n.selectionInactiveBackgroundOpaque=a.color.blend(n.background,n.selectionInactiveBackgroundTransparent),n.selectionForeground=e.selectionForeground?m(e.selectionForeground,a.NULL_COLOR):void 0,n.selectionForeground===a.NULL_COLOR&&(n.selectionForeground=void 0),a.color.isOpaque(n.selectionBackgroundTransparent)){const e=.3;n.selectionBackgroundTransparent=a.color.opacity(n.selectionBackgroundTransparent,e)}if(a.color.isOpaque(n.selectionInactiveBackgroundTransparent)){const e=.3;n.selectionInactiveBackgroundTransparent=a.color.opacity(n.selectionInactiveBackgroundTransparent,e)}if(n.ansi=t.DEFAULT_ANSI_COLORS.slice(),n.ansi[0]=m(e.black,t.DEFAULT_ANSI_COLORS[0]),n.ansi[1]=m(e.red,t.DEFAULT_ANSI_COLORS[1]),n.ansi[2]=m(e.green,t.DEFAULT_ANSI_COLORS[2]),n.ansi[3]=m(e.yellow,t.DEFAULT_ANSI_COLORS[3]),n.ansi[4]=m(e.blue,t.DEFAULT_ANSI_COLORS[4]),n.ansi[5]=m(e.magenta,t.DEFAULT_ANSI_COLORS[5]),n.ansi[6]=m(e.cyan,t.DEFAULT_ANSI_COLORS[6]),n.ansi[7]=m(e.white,t.DEFAULT_ANSI_COLORS[7]),n.ansi[8]=m(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),n.ansi[9]=m(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),n.ansi[10]=m(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),n.ansi[11]=m(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),n.ansi[12]=m(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),n.ansi[13]=m(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),n.ansi[14]=m(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),n.ansi[15]=m(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),e.extendedAnsi){const r=Math.min(n.ansi.length-16,e.extendedAnsi.length);for(let i=0;i<r;i++)n.ansi[i+16]=m(e.extendedAnsi[i],t.DEFAULT_ANSI_COLORS[i+16])}this._contrastCache.clear(),this._halfContrastCache.clear(),this._updateRestoreColors(),this._onChangeColors.fire(this.colors)}restoreColor(e){this._restoreColor(e),this._onChangeColors.fire(this.colors)}_restoreColor(e){if(void 0!==e)switch(e){case 256:this._colors.foreground=this._restoreColors.foreground;break;case 257:this._colors.background=this._restoreColors.background;break;case 258:this._colors.cursor=this._restoreColors.cursor;break;default:this._colors.ansi[e]=this._restoreColors.ansi[e]}else for(let e=0;e<this._restoreColors.ansi.length;++e)this._colors.ansi[e]=this._restoreColors.ansi[e]}modifyColors(e){e(this._colors),this._onChangeColors.fire(this.colors)}_updateRestoreColors(){this._restoreColors={foreground:this._colors.foreground,background:this._colors.background,cursor:this._colors.cursor,ansi:this._colors.ansi.slice()}}};function m(e,t){if(void 0!==e)try{return a.css.toColor(e)}catch(e){}return t}t.ThemeService=g=r([i(0,l.IOptionsService)],g)},6349:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;const r=n(8460),i=n(844);class o extends i.Disposable{constructor(e){super(),this._maxLength=e,this.onDeleteEmitter=this.register(new r.EventEmitter),this.onDelete=this.onDeleteEmitter.event,this.onInsertEmitter=this.register(new r.EventEmitter),this.onInsert=this.onInsertEmitter.event,this.onTrimEmitter=this.register(new r.EventEmitter),this.onTrim=this.onTrimEmitter.event,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}get maxLength(){return this._maxLength}set maxLength(e){if(this._maxLength===e)return;const t=new Array(e);for(let n=0;n<Math.min(e,this.length);n++)t[n]=this._array[this._getCyclicIndex(n)];this._array=t,this._maxLength=e,this._startIndex=0}get length(){return this._length}set length(e){if(e>this._length)for(let t=this._length;t<e;t++)this._array[t]=void 0;this._length=e}get(e){return this._array[this._getCyclicIndex(e)]}set(e,t){this._array[this._getCyclicIndex(e)]=t}push(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++}recycle(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]}get isFull(){return this._length===this._maxLength}pop(){return this._array[this._getCyclicIndex(this._length---1)]}splice(e,t,...n){if(t){for(let n=e;n<this._length-t;n++)this._array[this._getCyclicIndex(n)]=this._array[this._getCyclicIndex(n+t)];this._length-=t,this.onDeleteEmitter.fire({index:e,amount:t})}for(let t=this._length-1;t>=e;t--)this._array[this._getCyclicIndex(t+n.length)]=this._array[this._getCyclicIndex(t)];for(let t=0;t<n.length;t++)this._array[this._getCyclicIndex(e+t)]=n[t];if(n.length&&this.onInsertEmitter.fire({index:e,amount:n.length}),this._length+n.length>this._maxLength){const e=this._length+n.length-this._maxLength;this._startIndex+=e,this._length=this._maxLength,this.onTrimEmitter.fire(e)}else this._length+=n.length}trimStart(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)}shiftElements(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(let r=t-1;r>=0;r--)this.set(e+r+n,this.get(e+r));const r=e+t+n-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(let r=0;r<t;r++)this.set(e+r+n,this.get(e+r))}}_getCyclicIndex(e){return(this._startIndex+e)%this._maxLength}}t.CircularList=o},1439:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n=5){if("object"!=typeof t)return t;const r=Array.isArray(t)?[]:{};for(const i in t)r[i]=n<=1?t[i]:t[i]&&e(t[i],n-1);return r}},8055:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=t.NULL_COLOR=void 0;const r=n(6114);let i=0,o=0,a=0,s=0;var c,l,u,f,h;function d(e){const t=e.toString(16);return t.length<2?"0"+t:t}function p(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}t.NULL_COLOR={css:"#00000000",rgba:0},function(e){e.toCss=function(e,t,n,r){return void 0!==r?`#${d(e)}${d(t)}${d(n)}${d(r)}
2`:`#${d(e)}${d(t)}${d(n)}`},e.toRgba=function(e,t,n,r=255){return(e<<24|t<<16|n<<8|r)>>>0}}(c||(t.channels=c={})),function(e){function t(e,t){return s=Math.round(255*t),[i,o,a]=h.toChannels(e.rgba),{css:c.toCss(i,o,a,s),rgba:c.toRgba(i,o,a,s)}}e.blend=function(e,t){if(s=(255&t.rgba)/255,1===s)return{css:t.css,rgba:t.rgba};const n=t.rgba>>24&255,r=t.rgba>>16&255,l=t.rgba>>8&255,u=e.rgba>>24&255,f=e.rgba>>16&255,h=e.rgba>>8&255;return i=u+Math.round((n-u)*s),o=f+Math.round((r-f)*s),a=h+Math.round((l-h)*s),{css:c.toCss(i,o,a),rgba:c.toRgba(i,o,a)}},e.isOpaque=function(e){return 255==(255&e.rgba)},e.ensureContrastRatio=function(e,t,n){const r=h.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return h.toColor(r>>24&255,r>>16&255,r>>8&255)},e.opaque=function(e){const t=(255|e.rgba)>>>0;return[i,o,a]=h.toChannels(t),{css:c.toCss(i,o,a),rgba:t}},e.opacity=t,e.multiplyOpacity=function(e,n){return s=255&e.rgba,t(e,s*n/255)},e.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}}(l||(t.color=l={})),function(e){let t,n;if(!r.isNode){const e=document.createElement("canvas");e.width=1,e.height=1;const r=e.getContext("2d",{willReadFrequently:!0});r&&(t=r,t.globalCompositeOperation="copy",n=t.createLinearGradient(0,0,1,1))}e.toColor=function(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return i=parseInt(e.slice(1,2).repeat(2),16),o=parseInt(e.slice(2,3).repeat(2),16),a=parseInt(e.slice(3,4).repeat(2),16),h.toColor(i,o,a);case 5:return i=parseInt(e.slice(1,2).repeat(2),16),o=parseInt(e.slice(2,3).repeat(2),16),a=parseInt(e.slice(3,4).repeat(2),16),s=parseInt(e.slice(4,5).repeat(2),16),h.toColor(i,o,a,s);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}const r=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(r)return i=parseInt(r[1]),o=parseInt(r[2]),a=parseInt(r[3]),s=Math.round(255*(void 0===r[5]?1:parseFloat(r[5]))),h.toColor(i,o,a,s);if(!t||!n)throw new Error("css.toColor: Unsupported css format");if(t.fillStyle=n,t.fillStyle=e,"string"!=typeof t.fillStyle)throw new Error("css.toColor: Unsupported css format");if(t.fillRect(0,0,1,1),[i,o,a,s]=t.getImageData(0,0,1,1).data,255!==s)throw new Error("css.toColor: Unsupported css format");return{rgba:c.toRgba(i,o,a,s),css:e}}}(u||(t.css=u={})),function(e){function t(e,t,n){const r=e/255,i=t/255,o=n/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(f||(t.rgb=f={})),function(e){function t(e,t,n){const r=e>>24&255,i=e>>16&255,o=e>>8&255;let a=t>>24&255,s=t>>16&255,c=t>>8&255,l=p(f.relativeLuminance2(a,s,c),f.relativeLuminance2(r,i,o));for(;l<n&&(a>0||s>0||c>0);)a-=Math.max(0,Math.ceil(.1*a)),s-=Math.max(0,Math.ceil(.1*s)),c-=Math.max(0,Math.ceil(.1*c)),l=p(f.relativeLuminance2(a,s,c),f.relativeLuminance2(r,i,o));return(a<<24|s<<16|c<<8|255)>>>0}function n(e,t,n){const r=e>>24&255,i=e>>16&255,o=e>>8&255;let a=t>>24&255,s=t>>16&255,c=t>>8&255,l=p(f.relativeLuminance2(a,s,c),f.relativeLuminance2(r,i,o));for(;l<n&&(a<255||s<255||c<255);)a=Math.min(255,a+Math.ceil(.1*(255-a))),s=Math.min(255,s+Math.ceil(.1*(255-s))),c=Math.min(255,c+Math.ceil(.1*(255-c))),l=p(f.relativeLuminance2(a,s,c),f.relativeLuminance2(r,i,o));return(a<<24|s<<16|c<<8|255)>>>0}e.ensureContrastRatio=function(e,r,i){const o=f.relativeLuminance(e>>8),a=f.relativeLuminance(r>>8);if(p(o,a)<i){if(a<o){const a=t(e,r,i),s=p(o,f.relativeLuminance(a>>8));if(s<i){const t=n(e,r,i);return s>p(o,f.relativeLuminance(t>>8))?a:t}return a}const s=n(e,r,i),c=p(o,f.relativeLuminance(s>>8));if(c<i){const n=t(e,r,i);return c>p(o,f.relativeLuminance(n>>8))?s:n}return s}},e.reduceLuminance=t,e.increaseLuminance=n,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,n,r){return{css:c.toCss(e,t,n,r),rgba:c.toRgba(e,t,n,r)}}}(h||(t.rgba=h={})),t.toPaddedHex=d,t.contrastRatio=p},8969:(e,t,n)=>
vendor: 5,069 bytes, line 2
2{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;const r=n(844),i=n(2585),o=n(4348),a=n(7866),s=n(744),c=n(7302),l=n(6975),u=n(8460),f=n(1753),h=n(1480),d=n(7994),p=n(9282),g=n(5435),m=n(5981),v=n(2660);let y=!1;class b extends r.Disposable{get onScroll(){return this._onScrollApi||(this._onScrollApi=this.register(new u.EventEmitter),this._onScroll.event((e=>{var t;null===(t=this._onScrollApi)||void 0===t||t.fire(e.position)}))),this._onScrollApi.event}get cols(){return this._bufferService.cols}get rows(){return this._bufferService.rows}get buffers(){return this._bufferService.buffers}get options(){return this.optionsService.options}set options(e){for(const t in e)this.optionsService.options[t]=e[t]}constructor(e){super(),this._windowsWrappingHeuristics=this.register(new r.MutableDisposable),this._onBinary=this.register(new u.EventEmitter),this.onBinary=this._onBinary.event,this._onData=this.register(new u.EventEmitter),this.onData=this._onData.event,this._onLineFeed=this.register(new u.EventEmitter),this.onLineFeed=this._onLineFeed.event,this._onResize=this.register(new u.EventEmitter),this.onResize=this._onResize.event,this._onWriteParsed=this.register(new u.EventEmitter),this.onWriteParsed=this._onWriteParsed.event,this._onScroll=this.register(new u.EventEmitter),this._instantiationService=new o.InstantiationService,this.optionsService=this.register(new c.OptionsService(e)),this._instantiationService.setService(i.IOptionsService,this.optionsService),this._bufferService=this.register(this._instantiationService.createInstance(s.BufferService)),this._instantiationService.setService(i.IBufferService,this._bufferService),this._logService=this.register(this._instantiationService.createInstance(a.LogService)),this._instantiationService.setService(i.ILogService,this._logService),this.coreService=this.register(this._instantiationService.createInstance(l.CoreService)),this._instantiationService.setService(i.ICoreService,this.coreService),this.coreMouseService=this.register(this._instantiationService.createInstance(f.CoreMouseService)),this._instantiationService.setService(i.ICoreMouseService,this.coreMouseService),this.unicodeService=this.register(this._instantiationService.createInstance(h.UnicodeService)),this._instantiationService.setService(i.IUnicodeService,this.unicodeService),this._charsetService=this._instantiationService.createInstance(d.CharsetService),this._instantiationService.setService(i.ICharsetService,this._charsetService),this._oscLinkService=this._instantiationService.createInstance(v.OscLinkService),this._instantiationService.setService(i.IOscLinkService,this._oscLinkService),this._inputHandler=this.register(new g.InputHandler(this._bufferService,this._charsetService,this.coreService,this._logService,this.optionsService,this._oscLinkService,this.coreMouseService,this.unicodeService)),this.register((0,u.forwardEvent)(this._inputHandler.onLineFeed,this._onLineFeed)),this.register(this._inputHandler),this.register((0,u.forwardEvent)(this._bufferService.onResize,this._onResize)),this.register((0,u.forwardEvent)(this.coreService.onData,this._onData)),this.register((0,u.forwardEvent)(this.coreService.onBinary,this._onBinary)),this.register(this.coreService.onRequestScrollToBottom((()=>this.scrollToBottom()))),this.register(this.coreService.onUserInput((()=>this._writeBuffer.handleUserInput()))),this.register(this.optionsService.onMultipleOptionChange(["windowsMode","windowsPty"],(()=>this._handleWindowsPtyOptionChange()))),this.register(this._bufferService.onScroll((e=>{this._onScroll.fire({position:this._bufferService.buffer.ydisp,source:0}),this._inputHandler.markRangeDirty(this._bufferService.buffer.scrollTop,this._bufferService.buffer.scrollBottom)}))),this.register(this._inputHandler.onScroll((e=>{this._onScroll.fire({position:this._bufferService.buffer.ydisp,source:0}),this._inputHandler.markRangeDirty(this._bufferService.buffer.scrollTop,this._bufferService.buffer.scrollBottom)}))),this._writeBuffer=this.register(new m.WriteBuffer(((e,t)=>this._inputHandler.parse(e,t)))),this.register((0,u.forwardEvent)(this._writeBuffer.onWriteParsed,this._onWriteParsed))}write(e,t){this._writeBuffer.write(e,t)}writeSync(e,t){this._logService.logLevel<=i.LogLevelEnum.WARN&&!y&&(this._logService.warn("writeSync is unreliable and will be removed soon."),y=!0),this._writeBuffer.writeSync(e,t)}resize(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,s.MINIMUM_COLS),t=Math.max(t,s.MINIMUM_ROWS),this._bufferService.resize(e,t))}scroll(e,t=!1){this._bufferService.scroll(e,t)}scrollLines(e,t,n){this._bufferService.scrollLines(e,t,n)}scrollPages(e){this.scrollLines(e*(this.rows-1))}scrollToTop(){this.scrollLines(-this._bufferService.buffer.ydisp)}scrollToBottom(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)}scrollToLine(e){const t=e-this._bufferService.buffer.ydisp;0!==t&&this.scrollLines(t)}registerEscHandler(e,t){return this._inputHandler.registerEscHandler(e,t)}registerDcsHandler(e,t){return this._inputHandler.registerDcsHandler(e,t)}
vendor: 5,730 bytes, line 2
2registerCsiHandler(e,t){return this._inputHandler.registerCsiHandler(e,t)}registerOscHandler(e,t){return this._inputHandler.registerOscHandler(e,t)}_setup(){this._handleWindowsPtyOptionChange()}reset(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()}_handleWindowsPtyOptionChange(){let e=!1;const t=this.optionsService.rawOptions.windowsPty;t&&void 0!==t.buildNumber&&void 0!==t.buildNumber?e=!!("conpty"===t.backend&&t.buildNumber<21376):this.optionsService.rawOptions.windowsMode&&(e=!0),e?this._enableWindowsWrappingHeuristics():this._windowsWrappingHeuristics.clear()}_enableWindowsWrappingHeuristics(){if(!this._windowsWrappingHeuristics.value){const e=[];e.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),e.push(this.registerCsiHandler({final:"H"},(()=>((0,p.updateWindowsModeWrappedState)(this._bufferService),!1)))),this._windowsWrappingHeuristics.value=(0,r.toDisposable)((()=>{for(const t of e)t.dispose()}))}}}t.CoreTerminal=b},8460:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0,t.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=e=>(this._listeners.push(e),{dispose:()=>{if(!this._disposed)for(let t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)}})),this._event}fire(e,t){const n=[];for(let e=0;e<this._listeners.length;e++)n.push(this._listeners[e]);for(let r=0;r<n.length;r++)n[r].call(void 0,e,t)}dispose(){this.clearListeners(),this._disposed=!0}clearListeners(){this._listeners&&(this._listeners.length=0)}},t.forwardEvent=function(e,t){return e((e=>t.fire(e)))}},5435:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;const o=n(2584),a=n(7116),s=n(2015),c=n(844),l=n(482),u=n(8437),f=n(8460),h=n(643),d=n(511),p=n(3734),g=n(2585),m=n(6242),v=n(6351),y=n(5941),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2},_=131072;function w(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var x;!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(x||(t.WindowsOptionsReportType=x={}));let S=0;class E extends c.Disposable{getAttrData(){return this._curAttrData}constructor(e,t,n,r,i,c,h,p,g=new s.EscapeSequenceParser){super(),this._bufferService=e,this._charsetService=t,this._coreService=n,this._logService=r,this._optionsService=i,this._oscLinkService=c,this._coreMouseService=h,this._unicodeService=p,this._parser=g,this._parseBuffer=new Uint32Array(4096),this._stringDecoder=new l.StringToUtf32,this._utf8Decoder=new l.Utf8ToUtf32,this._workCell=new d.CellData,this._windowTitle="",this._iconName="",this._windowTitleStack=[],this._iconNameStack=[],this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone(),this._onRequestBell=this.register(new f.EventEmitter),this.onRequestBell=this._onRequestBell.event,this._onRequestRefreshRows=this.register(new f.EventEmitter),this.onRequestRefreshRows=this._onRequestRefreshRows.event,this._onRequestReset=this.register(new f.EventEmitter),this.onRequestReset=this._onRequestReset.event,this._onRequestSendFocus=this.register(new f.EventEmitter),this.onRequestSendFocus=this._onRequestSendFocus.event,this._onRequestSyncScrollBar=this.register(new f.EventEmitter),this.onRequestSyncScrollBar=this._onRequestSyncScrollBar.event,this._onRequestWindowsOptionsReport=this.register(new f.EventEmitter),this.onRequestWindowsOptionsReport=this._onRequestWindowsOptionsReport.event,this._onA11yChar=this.register(new f.EventEmitter),this.onA11yChar=this._onA11yChar.event,this._onA11yTab=this.register(new f.EventEmitter),this.onA11yTab=this._onA11yTab.event,this._onCursorMove=this.register(new f.EventEmitter),this.onCursorMove=this._onCursorMove.event,this._onLineFeed=this.register(new f.EventEmitter),this.onLineFeed=this._onLineFeed.event,this._onScroll=this.register(new f.EventEmitter),this.onScroll=this._onScroll.event,this._onTitleChange=this.register(new f.EventEmitter),this.onTitleChange=this._onTitleChange.event,this._onColor=this.register(new f.EventEmitter),this.onColor=this._onColor.event,this._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},this._specialColors=[256,257,258],this.register(this._parser),this._dirtyRowTracker=new k(this._bufferService),this._activeBuffer=this._bufferService.buffer,this.register(this._bufferService.buffers.onBufferActivate((e=>
vendor: 4,117 bytes, line 2
2this._activeBuffer=e.activeBuffer))),this._parser.setCsiHandlerFallback(((e,t)=>{this._logService.debug("Unknown CSI code: ",{identifier:this._parser.identToString(e),params:t.toArray()})})),this._parser.setEscHandlerFallback((e=>{this._logService.debug("Unknown ESC code: ",{identifier:this._parser.identToString(e)})})),this._parser.setExecuteHandlerFallback((e=>{this._logService.debug("Unknown EXECUTE code: ",{code:e})})),this._parser.setOscHandlerFallback(((e,t,n)=>{this._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),this._parser.setDcsHandlerFallback(((e,t,n)=>{"HOOK"===t&&(n=n.toArray()),this._logService.debug("Unknown DCS code: ",{identifier:this._parser.identToString(e),action:t,payload:n})})),this._parser.setPrintHandler(((e,t,n)=>this.print(e,t,n))),this._parser.registerCsiHandler({final:"@"},(e=>this.insertChars(e))),this._parser.registerCsiHandler({intermediates:" ",final:"@"},(e=>this.scrollLeft(e))),this._parser.registerCsiHandler({final:"A"},(e=>this.cursorUp(e))),this._parser.registerCsiHandler({intermediates:" ",final:"A"},(e=>this.scrollRight(e))),this._parser.registerCsiHandler({final:"B"},(e=>this.cursorDown(e))),this._parser.registerCsiHandler({final:"C"},(e=>this.cursorForward(e))),this._parser.registerCsiHandler({final:"D"},(e=>this.cursorBackward(e))),this._parser.registerCsiHandler({final:"E"},(e=>this.cursorNextLine(e))),this._parser.registerCsiHandler({final:"F"},(e=>this.cursorPrecedingLine(e))),this._parser.registerCsiHandler({final:"G"},(e=>this.cursorCharAbsolute(e))),this._parser.registerCsiHandler({final:"H"},(e=>this.cursorPosition(e))),this._parser.registerCsiHandler({final:"I"},(e=>this.cursorForwardTab(e))),this._parser.registerCsiHandler({final:"J"},(e=>this.eraseInDisplay(e,!1))),this._parser.registerCsiHandler({prefix:"?",final:"J"},(e=>this.eraseInDisplay(e,!0))),this._parser.registerCsiHandler({final:"K"},(e=>this.eraseInLine(e,!1))),this._parser.registerCsiHandler({prefix:"?",final:"K"},(e=>this.eraseInLine(e,!0))),this._parser.registerCsiHandler({final:"L"},(e=>this.insertLines(e))),this._parser.registerCsiHandler({final:"M"},(e=>this.deleteLines(e))),this._parser.registerCsiHandler({final:"P"},(e=>this.deleteChars(e))),this._parser.registerCsiHandler({final:"S"},(e=>this.scrollUp(e))),this._parser.registerCsiHandler({final:"T"},(e=>this.scrollDown(e))),this._parser.registerCsiHandler({final:"X"},(e=>this.eraseChars(e))),this._parser.registerCsiHandler({final:"Z"},(e=>this.cursorBackwardTab(e))),this._parser.registerCsiHandler({final:"`"},(e=>this.charPosAbsolute(e))),this._parser.registerCsiHandler({final:"a"},(e=>this.hPositionRelative(e))),this._parser.registerCsiHandler({final:"b"},(e=>this.repeatPrecedingCharacter(e))),this._parser.registerCsiHandler({final:"c"},(e=>this.sendDeviceAttributesPrimary(e))),this._parser.registerCsiHandler({prefix:">",final:"c"},(e=>this.sendDeviceAttributesSecondary(e))),this._parser.registerCsiHandler({final:"d"},(e=>this.linePosAbsolute(e))),this._parser.registerCsiHandler({final:"e"},(e=>this.vPositionRelative(e))),this._parser.registerCsiHandler({final:"f"},(e=>this.hVPosition(e))),this._parser.registerCsiHandler({final:"g"},(e=>this.tabClear(e))),this._parser.registerCsiHandler({final:"h"},(e=>this.setMode(e))),this._parser.registerCsiHandler({prefix:"?",final:"h"},(e=>this.setModePrivate(e))),this._parser.registerCsiHandler({final:"l"},(e=>this.resetMode(e))),this._parser.registerCsiHandler({prefix:"?",final:"l"},(e=>this.resetModePrivate(e))),this._parser.registerCsiHandler({final:"m"},(e=>this.charAttributes(e))),this._parser.registerCsiHandler({final:"n"},(e=>this.deviceStatus(e))),this._parser.registerCsiHandler({prefix:"?",final:"n"},(e=>this.deviceStatusPrivate(e))),this._parser.registerCsiHandler({intermediates:"!",final:"p"},(e=>this.softReset(e))),this._parser.registerCsiHandler({intermediates:" ",final:"q"},(e=>this.setCursorStyle(e))),this._parser.registerCsiHandler({final:"r"},(e=>this.setScrollRegion(e))),this._parser.registerCsiHandler({final:"s"},(e=>this.saveCursor(e))),this._parser.registerCsiHandler({final:"t"},(e=>
2this.windowOptions(e))),this._parser.registerCsiHandler({final:"u"},(e=>this.restoreCursor(e))),this._parser.registerCsiHandler({intermediates:"'",final:"}"},(e=>this.insertColumns(e))),this._parser.registerCsiHandler({intermediates:"'",final:"~"},(e=>this.deleteColumns(e))),this._parser.registerCsiHandler({intermediates:'"',final:"q"},(e=>this.selectProtected(e))),this._parser.registerCsiHandler({intermediates:"$",final:"p"},(e=>this.requestMode(e,!0))),this._parser.registerCsiHandler({prefix:"?",intermediates:"$",final:"p"},(e=>this.requestMode(e,!1))),this._parser.setExecuteHandler(o.C0.BEL,(()=>this.bell())),this._parser.setExecuteHandler(o.C0.LF,(()=>this.lineFeed())),this._parser.setExecuteHandler(o.C0.VT,(()=>this.lineFeed())),this._parser.setExecuteHandler(o.C0.FF,(()=>this.lineFeed())),this._parser.setExecuteHandler(o.C0.CR,(()=>this.carriageReturn())),this._parser.setExecuteHandler(o.C0.BS,(()=>this.backspace())),this._parser.setExecuteHandler(o.C0.HT,(()=>this.tab())),this._parser.setExecuteHandler(o.C0.SO,(()=>this.shiftOut())),this._parser.setExecuteHandler(o.C0.SI,(()=>this.shiftIn())),this._parser.setExecuteHandler(o.C1.IND,(()=>this.index())),this._parser.setExecuteHandler(o.C1.NEL,(()=>this.nextLine())),this._parser.setExecuteHandler(o.C1.HTS,(()=>this.tabSet())),this._parser.registerOscHandler(0,new m.OscHandler((e=>(this.setTitle(e),this.setIconName(e),!0)))),this._parser.registerOscHandler(1,new m.OscHandler((e=>this.setIconName(e)))),this._parser.registerOscHandler(2,new m.OscHandler((e=>this.setTitle(e)))),this._parser.registerOscHandler(4,new m.OscHandler((e=>this.setOrReportIndexedColor(e)))),this._parser.registerOscHandler(8,new m.OscHandler((e=>this.setHyperlink(e)))),this._parser.registerOscHandler(10,new m.OscHandler((e=>this.setOrReportFgColor(e)))),this._parser.registerOscHandler(11,new m.OscHandler((e=>this.setOrReportBgColor(e)))),this._parser.registerOscHandler(12,new m.OscHandler((e=>this.setOrReportCursorColor(e)))),this._parser.registerOscHandler(104,new m.OscHandler((e=>this.restoreIndexedColor(e)))),this._parser.registerOscHandler(110,new m.OscHandler((e=>this.restoreFgColor(e)))),this._parser.registerOscHandler(111,new m.OscHandler((e=>this.restoreBgColor(e)))),this._parser.registerOscHandler(112,new m.OscHandler((e=>this.restoreCursorColor(e)))),this._parser.registerEscHandler({final:"7"},(()=>this.saveCursor())),this._parser.registerEscHandler({final:"8"},(()=>this.restoreCursor())),this._parser.registerEscHandler({final:"D"},(()=>this.index())),this._parser.registerEscHandler({final:"E"},(()=>this.nextLine())),this._parser.registerEscHandler({final:"H"},(()=>this.tabSet())),this._parser.registerEscHandler({final:"M"},(()=>this.reverseIndex())),this._parser.registerEscHandler({final:"="},(()=>this.keypadApplicationMode())),this._parser.registerEscHandler({final:">"},(()=>this.keypadNumericMode())),this._parser.registerEscHandler({final:"c"},(()=>this.fullReset())),this._parser.registerEscHandler({final:"n"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"o"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"|"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"}"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"~"},(()=>this.setgLevel(1))),this._parser.registerEscHandler({intermediates:"%",final:"@"},(()=>this.selectDefaultCharset())),this._parser.registerEscHandler({intermediates:"%",final:"G"},(()=>this.selectDefaultCharset()));for(const e in a.CHARSETS)this._parser.registerEscHandler({intermediates:"(",final:e},(()=>this.selectCharset("("+e))),this._parser.registerEscHandler({intermediates:")",final:e},(()=>this.selectCharset(")"+e))),this._parser.registerEscHandler({intermediates:"*",final:e},(()=>this.selectCharset("*"+e))),this._parser.registerEscHandler({intermediates:"+",final:e},(()=>this.selectCharset("+"+e))),this._parser.registerEscHandler({intermediates:"-",final:e},(()=>this.selectCharset("-"+e))),this._parser.registerEscHandler({intermediates:".",final:e},(()=>this.selectCharset("."+e))),this._parser.registerEscHandler({intermediates:"/",final:e},(()=>this.selectCharset("/"+e)));this._parser.registerEscHandler({intermediates:"#",final:"8"},(()=>this.screenAlignmentPattern())),this._parser.setErrorHandler((e=>(this._logService.error("Parsing error: ",e),e))),this._parser.registerDcsHandler({intermediates:"$",final:"q"},new v.DcsHandler(((e,t)=>this.requestStatusString(e,t))))}_preserveStack(e,t,n,r){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=n,this._parseStack.position=r}_logSlowResolvingAsync(e){this._logService.logLevel<=g.LogLevelEnum.WARN&&Promise.race([e,new Promise(((e,t)=>setTimeout((()=>t("#SLOW_TIMEOUT")),5e3)))]).catch((e=>{if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")}))}_getCurrentLinkId(){return this._curAttrData.extended.urlId}parse(e,t){let n,r=this._activeBuffer.x,i=this._activeBuffer.y,o=0;const a=this._parseStack.paused;if(a){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(n),n;r=this._parseStack.cursorStartX,i=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>_&&(o=this._parseStack.position+_)}if(this._logService.logLevel<=g.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?` "${e}"`:` "${Array.prototype.map.call(e,(e=>String.fromCharCode(e))).join("")}"`),"string"==typeof e?e.split("").map((e=>e.charCodeAt(0))):e),this._parseBuffer.length<e.length&&this._parseBuffer.length<_&&(this._parseBuffer=new Uint32Array(Math.min(e.length,_))),a||this._dirtyRowTracker.clearRange(),e.length>_)for(let t=o;t<e.length;t+=_){const o=t+_<e.length?t+_:e.length,a="string"==typeof e?this._stringDecoder.decode(e.substring(t,o),this._parseBuffer):this._utf8Decoder.decode(e.subarray(t,o),this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,a))return this._preserveStack(r,i,a,t),this._logSlowResolvingAsync(n),n}else if(!a){const t="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,t))return this._preserveStack(r,i,t,0),this._logSlowResolvingAsync(n),n}this._activeBuffer.x===r&&this._activeBuffer.y===i||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowTracker.start,this._dirtyRowTracker.end)}print(e,t,n){let r,i;const o=this._charsetService.charset,a=this._optionsService.rawOptions.screenReaderMode,s=this._bufferService.cols,c=this._coreService.decPrivateModes.wraparound,u=this._coreService.modes.insertMode,f=this._curAttrData;let d=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._activeBuffer.x&&n-t>0&&2===d.getWidth(this._activeBuffer.x-1)&&d.setCellFromCodePoint(this._activeBuffer.x-1,0,1,f.fg,f.bg,f.extended);for(let p=t;p<n;++p){if(r=e[p],i=this._unicodeService.wcwidth(r),r<127&&o){const e=o[String.fromCharCode(r)];e&&(r=e.charCodeAt(0))}if(a&&this._onA11yChar.fire((0,l.stringFromCodePoint)(r)),this._getCurrentLinkId()&&this._oscLinkService.addLineToLink(this._getCurrentLinkId(),this._activeBuffer.ybase+this._activeBuffer.y),i||!this._activeBuffer.x){if(this._activeBuffer.x+i-1>=s)if(c){for(;this._activeBuffer.x<s;)d.setCellFromCodePoint(this._activeBuffer.x++,0,1,f.fg,f.bg,f.extended);this._activeBuffer.x=0,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),d=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=s-1,2===i)continue;if(u&&(d.insertCells(this._activeBuffer.x,i,this._activeBuffer.getNullCell(f),f),2===d.getWidth(s-1)&&d.setCellFromCodePoint(s-1,h.NULL_CELL_CODE,h.NULL_CELL_WIDTH,f.fg,f.bg,f.extended)),d.setCellFromCodePoint(this._activeBuffer.x++,r,i,f.fg,f.bg,f.extended),i>0)for(;--i;)d.setCellFromCodePoint(this._activeBuffer.x++,0,0,f.fg,f.bg,f.extended)}else d.getWidth(this._activeBuffer.x-1)?d.addCodepointToCell(this._activeBuffer.x-1,r):d.addCodepointToCell(this._activeBuffer.x-2,r)}n-t>0&&(d.loadCell(this._activeBuffer.x-1,this._workCell),2===this._workCell.getWidth()||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCo
vendor: 59,381 bytes, line 2
2deAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x<s&&n-t>0&&0===d.getWidth(this._activeBuffer.x)&&!d.hasContent(this._activeBuffer.x)&&d.setCellFromCodePoint(this._activeBuffer.x,0,1,f.fg,f.bg,f.extended),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}registerCsiHandler(e,t){return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,(e=>!w(e.params[0],this._optionsService.rawOptions.windowOptions)||t(e)))}registerDcsHandler(e,t){return this._parser.registerDcsHandler(e,new v.DcsHandler(t))}registerEscHandler(e,t){return this._parser.registerEscHandler(e,t)}registerOscHandler(e,t){return this._parser.registerOscHandler(e,new m.OscHandler(t))}bell(){return this._onRequestBell.fire(),!0}lineFeed(){return this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows?this._activeBuffer.y=this._bufferService.rows-1:this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0}carriageReturn(){return this._activeBuffer.x=0,!0}backspace(){var e;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===e?void 0:e.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;const e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);e.hasWidth(this._activeBuffer.x)&&!e.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0}tab(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;const e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0}shiftOut(){return this._charsetService.setgLevel(1),!0}shiftIn(){return this._charsetService.setgLevel(0),!0}_restrictCursor(e=this._bufferService.cols-1){this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_setCursor(e,t){this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_moveCursor(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)}cursorUp(e){const t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0}cursorDown(e){const t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0}cursorForward(e){return this._moveCursor(e.params[0]||1,0),!0}cursorBackward(e){return this._moveCursor(-(e.params[0]||1),0),!0}cursorNextLine(e){return this.cursorDown(e),this._activeBuffer.x=0,!0}cursorPrecedingLine(e){return this.cursorUp(e),this._activeBuffer.x=0,!0}cursorCharAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0}cursorPosition(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0}charPosAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0}hPositionRelative(e){return this._moveCursor(e.params[0]||1,0),!0}linePosAbsolute(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0}vPositionRelative(e){return this._moveCursor(0,e.params[0]||1),!0}hVPosition(e){return this.cursorPosition(e),!0}tabClear(e){const t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0}cursorForwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0}cursorBackwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0}selectProtected(e){const t=e.params[0];return 1===t&&(this._curAttrData.bg|=536870912),2!==t&&0!==t||(this._curAttrData.bg&=-536870913),!0}_eraseInBufferLine(e,t,n,r=!1,i=!1){const o=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);o.replaceCells(t,n,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData(),i),r&&(o.isWrapped=!1)}_resetBufferLine(e,t=!1){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n&&(n.fill(this._activeBuffer.getNullCell(this._eraseAttrData()),t),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+e),n.isWrapped=!1)}eraseInDisplay(e,t=!1){let n;switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x,t);n<this._bufferService.rows;n++)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(n);break;case 1:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n,0,this._activeBuffer.x+1,!0,t),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(n+1).isWrapped=!1);n--;)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(0);break;case 2:for(n=this._bufferService.rows,this._dirtyRowTracker.markDirty(n-1);n--;)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(0);break;case 3:const e=this._activeBuffer.lines.length-this._bufferService.rows;e>0&&(this._activeBuffer.lines.trimStart(e),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-e,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-e,0),this._onScroll.fire(0))}return!0}eraseInLine(e,t=!1){switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x,t);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1,t);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0,t)}return this._dirtyRowTracker.markDirty(this._activeBuffer.y),!0}insertLines(e){this._restrictCursor();let t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const n=this._activeBuffer.ybase+this._activeBuffer.y,r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,i=this._bufferService.rows-1+this._activeBuffer.ybase-r+1;for(;t--;)this._activeBuffer.lines.splice(i-1,1),this._activeBuffer.lines.splice(n,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}deleteLines(e){this._restrictCursor();let t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const n=this._activeBuffer.ybase+this._activeBuffer.y;let r;for(r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,r=this._bufferService.rows-1+this._activeBuffer.ybase-r;t--;)this._activeBuffer.lines.splice(n,1),this._activeBuffer.lines.splice(r,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}insertChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.insertCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}deleteChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.deleteCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}scrollUp(e){let t=e.params[0]||1;for(;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollDown(e){let t=e.params[0]||1;for(;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(u.DEFAULT_ATTR_DATA));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollLeft(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.deleteCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollRight(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.insertCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}insertColumns(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.insertCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}deleteColumns(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.deleteCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}eraseChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(e.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}repeatPrecedingCharacter(e){if(!this._parser.precedingCodepoint)return!0;const t=e.params[0]||1,n=new Uint32Array(t);for(let e=0;e<t;++e)n[e]=this._parser.precedingCodepoint;return this.print(n,0,n.length),!0}sendDeviceAttributesPrimary(e){return e.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(o.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(o.C0.ESC+"[?6c")),!0}sendDeviceAttributesSecondary(e){return e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(o.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(o.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(o.C0.ESC+"[>83;40003;0c")),!0}_is(e){return 0===(this._optionsService.rawOptions.termName+"").indexOf(e)}setMode(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!0;break;case 20:this._optionsService.options.convertEol=!0}return!0}setModePrivate(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),this._charsetService.setgCharset(1,a.DEFAULT_CHARSET),this._charsetService.setgCharset(2,a.DEFAULT_CHARSET),this._charsetService.setgCharset(3,a.DEFAULT_CHARSET);break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:this._optionsService.options.cursorBlink=!0;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0,this._onRequestSendFocus.fire();break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 1016:this._coreMouseService.activeEncoding="SGR_PIXELS";break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}return!0}resetMode(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!1;break;case 20:this._optionsService.options.convertEol=!1}return!0}resetModePrivate(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:this._optionsService.options.cursorBlink=!1;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:case 1016:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[t]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}return!0}requestMode(e,t){const n=this._coreService.decPrivateModes,{activeProtocol:r,activeEncoding:i}=this._coreMouseService,a=this._coreService,{buffers:s,cols:c}=this._bufferService,{active:l,alt:u}=s,f=this._optionsService.rawOptions,h=e=>e?1:2,d=e.params[0];return p=d,g=t?2===d?4:4===d?h(a.modes.insertMode):12===d?3:20===d?h(f.convertEol):0:1===d?h(n.applicationCursorKeys):3===d?f.windowOptions.setWinLines?80===c?2:132===c?1:0:0:6===d?h(n.origin):7===d?h(n.wraparound):8===d?3:9===d?h("X10"===r):12===d?h(f.cursorBlink):25===d?h(!a.isCursorHidden):45===d?h(n.reverseWraparound):66===d?h(n.applicationKeypad):67===d?4:1e3===d?h("VT200"===r):1002===d?h("DRAG"===r):1003===d?h("ANY"===r):1004===d?h(n.sendFocus):1005===d?4:1006===d?h("SGR"===i):1015===d?4:1016===d?h("SGR_PIXELS"===i):1048===d?1:47===d||1047===d||1049===d?h(l===u):2004===d?h(n.bracketedPasteMode):0,a.triggerDataEvent(`${o.C0.ESC}[${t?"":"?"}${p};${g}$y`),!0;var p,g}_updateAttrColor(e,t,n,r,i){return 2===t?(e|=50331648,e&=-16777216,e|=p.AttributeData.fromColorRGB([n,r,i])):5===t&&(e&=-50331904,e|=33554432|255&n),e}_extractColor(e,t,n){const r=[0,0,-1,0,0,0];let i=0,o=0;do{if(r[o+i]=e.params[t+o],e.hasSubParams(t+o)){const n=e.getSubParams(t+o);let a=0;do{5===r[1]&&(i=1),r[o+a+1+i]=n[a]}while(++a<n.length&&a+o+1+i<r.length);break}if(5===r[1]&&o+i>=2||2===r[1]&&o+i>=5)break;r[1]&&(i=1)}while(++o+t<e.length&&o+i<r.length);for(let e=2;e<r.length;++e)-1===r[e]&&(r[e]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return o}_processUnderline(e,t){t.extended=t.extended.clone(),(!~e||e>5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()}_processSGR0(e){e.fg=u.DEFAULT_ATTR_DATA.fg,e.bg=u.DEFAULT_ATTR_DATA.bg,e.extended=e.extended.clone(),e.extended.underlineStyle=0,e.extended.underlineColor&=-67108864,e.updateExtended()}charAttributes(e){if(1===e.length&&0===e.params[0])return this._processSGR0(this._curAttrData),!0;const t=e.length;let n;const r=this._curAttrData;for(let i=0;i<t;i++)n=e.params[i],n>=30&&n<=37?(r.fg&=-50331904,r.fg|=16777216|n-30):n>=40&&n<=47?(r.bg&=-50331904,r.bg|=16777216|n-40):n>=90&&n<=97?(r.fg&=-50331904,r.fg|=16777224|n-90):n>=100&&n<=107?(r.bg&=-50331904,r.bg|=16777224|n-100):0===n?this._processSGR0(r):1===n?r.fg|=134217728:3===n?r.bg|=67108864:4===n?(r.fg|=268435456,this._processUnderline(e.hasSubParams(i)?e.getSubParams(i)[0]:1,r)):5===n?r.fg|=536870912:7===n?r.fg|=67108864:8===n?r.fg|=1073741824:9===n?r.fg|=2147483648:2===n?r.bg|=134217728:21===n?this._processUnderline(2,r):22===n?(r.fg&=-134217729,r.bg&=-134217729):23===n?r.bg&=-67108865:24===n?(r.fg&=-268435457,this._processUnderline(0,r)):25===n?r.fg&=-536870913:27===n?r.fg&=-67108865:28===n?r.fg&=-1073741825:29===n?r.fg&=2147483647:39===n?(r.fg&=-67108864,r.fg|=16777215&u.DEFAULT_ATTR_DATA.fg):49===n?(r.bg&=-67108864,r.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):38===n||48===n||58===n?i+=this._extractColor(e,i,r):53===n?r.bg|=1073741824:55===n?r.bg&=-1073741825:59===n?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):100===n?(r.fg&=-67108864,r.fg|=16777215&u.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",n);return!0}deviceStatus(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(`${o.C0.ESC}[0n`);break;case 6:const e=this._activeBuffer.y+1,t=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${o.C0.ESC}[${e};${t}R`)}return!0}deviceStatusPrivate(e){if(6===e.params[0]){const e=this._activeBuffer.y+1,t=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${o.C0.ESC}[?${e};${t}R`)}return!0}softReset(e){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0}setCursorStyle(e){const t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}const n=t%2==1;return this._optionsService.options.cursorBlink=n,!0}setScrollRegion(e){const t=e.params[0]||1;let n;return(e.length<2||(n=e.params[1])>this._bufferService.rows||0===n)&&(n=this._bufferService.rows),n>t&&(this._activeBuffer.scrollTop=t-1,this._activeBuffer.scrollBottom=n-1,this._setCursor(0,0)),!0}windowOptions(e){if(!w(e.params[0],this._optionsService.rawOptions.windowOptions))return!0;const t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(x.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(x.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(`${o.C0.ESC}[8;${this._bufferService.rows};${this._bufferService.cols}t`);break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0}saveCursor(e){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0}restoreCursor(e){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0}setTitle(e){return this._windowTitle=e,this._onTitleChange.fire(e),!0}setIconName(e){return this._iconName=e,!0}setOrReportIndexedColor(e){const t=[],n=e.split(";");for(;n.length>1;){const e=n.shift(),r=n.shift();if(/^\d+$/.exec(e)){const n=parseInt(e);if(O(n))if("?"===r)t.push({type:0,index:n});else{const e=(0,y.parseColor)(r);e&&t.push({type:1,index:n,color:e})}}}return t.length&&this._onColor.fire(t),!0}setHyperlink(e){const t=e.split(";");return!(t.length<2)&&(t[1]?this._createHyperlink(t[0],t[1]):!t[0]&&this._finishHyperlink())}_createHyperlink(e,t){this._getCurrentLinkId()&&this._finishHyperlink();const n=e.split(":");let r;const i=n.findIndex((e=>e.startsWith("id=")));return-1!==i&&(r=n[i].slice(3)||void 0),this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=this._oscLinkService.registerLink({id:r,uri:t}),this._curAttrData.updateExtended(),!0}_finishHyperlink(){return this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=0,this._curAttrData.updateExtended(),!0}_setOrReportSpecialColor(e,t){const n=e.split(";");for(let e=0;e<n.length&&!(t>=this._specialColors.length);++e,++t)if("?"===n[e])this._onColor.fire([{type:0,index:this._specialColors[t]}]);else{const r=(0,y.parseColor)(n[e]);r&&this._onColor.fire([{type:1,index:this._specialColors[t],color:r}])}return!0}setOrReportFgColor(e){return this._setOrReportSpecialColor(e,0)}setOrReportBgColor(e){return this._setOrReportSpecialColor(e,1)}setOrReportCursorColor(e){return this._setOrReportSpecialColor(e,2)}restoreIndexedColor(e){if(!e)return this._onColor.fire([{type:2}]),!0;const t=[],n=e.split(";");for(let e=0;e<n.length;++e)if(/^\d+$/.exec(n[e])){const r=parseInt(n[e]);O(r)&&t.push({type:2,index:r})}return t.length&&this._onColor.fire(t),!0}restoreFgColor(e){return this._onColor.fire([{type:2,index:256}]),!0}restoreBgColor(e){return this._onColor.fire([{type:2,index:257}]),!0}restoreCursorColor(e){return this._onColor.fire([{type:2,index:258}]),!0}nextLine(){return this._activeBuffer.x=0,this.index(),!0}keypadApplicationMode(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0}keypadNumericMode(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0}selectDefaultCharset(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),!0}selectCharset(e){return 2!==e.length?(this.selectDefaultCharset(),!0):("/"===e[0]||this._charsetService.setgCharset(b[e[0]],a.CHARSETS[e[1]]||a.DEFAULT_CHARSET),!0)}index(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0}tabSet(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0}reverseIndex(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){const e=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,e,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0}fullReset(){return this._parser.reset(),this._onRequestReset.fire(),!0}reset(){this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone()}_eraseAttrData(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal}setgLevel(e){return this._charsetService.setgLevel(e),!0}screenAlignmentPattern(){const e=new d.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg,this._setCursor(0,0);for(let t=0;t<this._bufferService.rows;++t){const n=this._activeBuffer.ybase+this._activeBuffer.y+t,r=this._activeBuffer.lines.get(n);r&&(r.fill(e),r.isWrapped=!1)}return this._dirtyRowTracker.markAllDirty(),this._setCursor(0,0),!0}requestStatusString(e,t){const n=this._bufferService.buffer,r=this._optionsService.rawOptions;return(e=>(this._coreService.triggerDataEvent(`${o.C0.ESC}${e}${o.C0.ESC}\\`),!0))('"q'===e?`P1$r${this._curAttrData.isProtected()?1:0}"q`:'"p'===e?'P1$r61;1"p':"r"===e?`P1$r${n.scrollTop+1};${n.scrollBottom+1}r`:"m"===e?"P1$r0m":" q"===e?`P1$r${{block:2,underline:4,bar:6}[r.cursorStyle]-(r.cursorBlink?1:0)} q`:"P0$r")}markRangeDirty(e,t){this._dirtyRowTracker.markRangeDirty(e,t)}}t.InputHandler=E;let k=class{constructor(e){this._bufferService=e,this.clearRange()}clearRange(){this.start=this._bufferService.buffer.y,this.end=this._bufferService.buffer.y}markDirty(e){e<this.start?this.start=e:e>this.end&&(this.end=e)}markRangeDirty(e,t){e>t&&(S=e,e=t,t=S),e<this.start&&(this.start=e),t>this.end&&(this.end=t)}markAllDirty(){this.markRangeDirty(0,this._bufferService.rows-1)}};function O(e){return 0<=e&&e<256}k=r([i(0,g.IBufferService)],k)},844:(e,t)=>{function n(e){for(const t of e)t.dispose();e.length=0}Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.toDisposable=t.MutableDisposable=t.Disposable=void 0,t.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(const e of this._disposables)e.dispose();this._disposables.length=0}register(e){return this._disposables.push(e),e}unregister(e){const t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)}},t.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}},t.toDisposable=function(e){return{dispose:e}},t.disposeArray=n,t.getDisposeArrayDisposable=function(e){return{dispose:()=>n(e)}}},1505:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FourKeyMap=t.TwoKeyMap=void 0;class n{constructor(){this._data={}}set(e,t,n){this._data[e]||(this._data[e]={}),this._data[e][t]=n}get(e,t){return this._data[e]?this._data[e][t]:void 0}clear(){this._data={}}}t.TwoKeyMap=n,t.FourKeyMap=class{constructor(){this._data=new n}set(e,t,r,i,o){this._data.get(e,t)||this._data.set(e,t,new n),this._data.get(e,t).set(r,i,o)}get(e,t,n,r){var i;return null===(i=this._data.get(e,t))||void 0===i?void 0:i.get(n,r)}clear(){this._data.clear()}}},6114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isChromeOS=t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.getSafariVersion=t.isSafari=t.isLegacyEdge=t.isFirefox=t.isNode=void 0,t.isNode="undefined"==typeof navigator;const n=t.isNode?"node":navigator.userAgent,r=t.isNode?"node":navigator.platform;t.isFirefox=n.includes("Firefox"),t.isLegacyEdge=n.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(n),t.getSafariVersion=function(){if(!t.isSafari)return 0;const e=n.match(/Version\/(\d+)/);return null===e||e.length<2?0:parseInt(e[1])},t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(r),t.isIpad="iPad"===r,t.isIphone="iPhone"===r,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(r),t.isLinux=r.indexOf("Linux")>=0,t.isChromeOS=/\bCrOS\b/.test(n)},6106:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SortedList=void 0;let n=0;t.SortedList=class{constructor(e){this._getKey=e,this._array=[]}clear(){this._array.length=0}insert(e){0!==this._array.length?(n=this._search(this._getKey(e)),this._array.splice(n,0,e)):this._array.push(e)}delete(e){if(0===this._array.length)return!1;const t=this._getKey(e);if(void 0===t)return!1;if(n=this._search(t),-1===n)return!1;if(this._getKey(this._array[n])!==t)return!1;do{if(this._array[n]===e)return this._array.splice(n,1),!0}while(++n<this._array.length&&this._getKey(this._array[n])===t);return!1}*getKeyIterator(e){if(0!==this._array.length&&(n=this._search(e),!(n<0||n>=this._array.length)&&this._getKey(this._array[n])===e))do{yield this._array[n]}while(++n<this._array.length&&this._getKey(this._array[n])===e)}forEachByKey(e,t){if(0!==this._array.length&&(n=this._search(e),!(n<0||n>=this._array.length)&&this._getKey(this._array[n])===e))do{t(this._array[n])}while(++n<this._array.length&&this._getKey(this._array[n])===e)}values(){return[...this._array].values()}_search(e){let t=0,n=this._array.length-1;for(;n>=t;){let r=t+n>>1;const i=this._getKey(this._array[r]);if(i>e)n=r-1;else{if(!(i<e)){for(;r>0&&this._getKey(this._array[r-1])===e;)r--;return r}t=r+1}}return t}}},7226:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DebouncedIdleTask=t.IdleTaskQueue=t.PriorityTaskQueue=void 0;const r=n(6114);class i{constructor(){this._tasks=[],this._i=0}enqueue(e){this._tasks.push(e),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(e){this._idleCallback=void 0;let t=0,n=0,r=e.timeRemaining(),i=0;for(;this._i<this._tasks.length;){if(t=Date.now(),this._tasks[this._i]()||this._i++,t=Math.max(1,Date.now()-t),n=Math.max(t,n),i=e.timeRemaining(),1.5*n>i)return r-t<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(r-t))}ms`),void this._start();r=i}this.clear()}}class o extends i{_requestCallback(e){return setTimeout((()=>e(this._createDeadline(16))))}_cancelCallback(e){clearTimeout(e)}_createDeadline(e){const t=Date.now()+e;return{timeRemaining:()=>Math.max(0,t-Date.now())}}}t.PriorityTaskQueue=o,t.IdleTaskQueue=!r.isNode&&"requestIdleCallback"in window?class extends i{_requestCallback(e){return requestIdleCallback(e)}_cancelCallback(e){cancelIdleCallback(e)}}:o,t.DebouncedIdleTask=class{constructor(){this._queue=new t.IdleTaskQueue}set(e){this._queue.clear(),this._queue.enqueue(e)}flush(){this._queue.flush()}}},9282:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;const r=n(643);t.updateWindowsModeWrappedState=function(e){const t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),i=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);i&&n&&(i.isWrapped=n[r.CHAR_DATA_CODE_INDEX]!==r.NULL_CELL_CODE&&n[r.CHAR_DATA_CODE_INDEX]!==r.WHITESPACE_CELL_CODE)}},3734:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;class n{constructor(){this.fg=0,this.bg=0,this.extended=new r}static toColorRGB(e){return[e>>>16&255,e>>>8&255,255&e]}static fromColorRGB(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]}clone(){const e=new n;return e.fg=this.fg,e.bg=this.bg,e.extended=this.extended.clone(),e}isInverse(){return 67108864&this.fg}isBold(){return 134217728&this.fg}isUnderline(){return this.hasExtendedAttrs()&&0!==this.extended.underlineStyle?1:268435456&this.fg}isBlink(){return 536870912&this.fg}isInvisible(){return 1073741824&this.fg}isItalic(){return 67108864&this.bg}isDim(){return 134217728&this.bg}isStrikethrough(){return 2147483648&this.fg}isProtected(){return 536870912&this.bg}isOverline(){return 1073741824&this.bg}getFgColorMode(){return 50331648&this.fg}getBgColorMode(){return 50331648&this.bg}isFgRGB(){return 50331648==(50331648&this.fg)}isBgRGB(){return 50331648==(50331648&this.bg)}isFgPalette(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)}isBgPalette(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)}isFgDefault(){return 0==(50331648&this.fg)}isBgDefault(){return 0==(50331648&this.bg)}isAttributeDefault(){return 0===this.fg&&0===this.bg}getFgColor(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}}getBgColor(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}}hasExtendedAttrs(){return 268435456&this.bg}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()}isUnderlineColorRGB(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()}isUnderlineColorPalette(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()}isUnderlineColorDefault(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()}getUnderlineStyle(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0}}t.AttributeData=n;class r{get ext(){return this._urlId?-469762049&this._ext|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(469762048&this._ext)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return 67108863&this._ext}set underlineColor(e){this._ext&=-67108864,this._ext|=67108863&e}get urlId(){return this._urlId}set urlId(e){this._urlId=e}constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}clone(){return new r(this._ext,this._urlId)}isEmpty(){return 0===this.underlineStyle&&0===this._urlId}}t.ExtendedAttrs=r},9092:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Buffer=t.MAX_BUFFER_SIZE=void 0;const r=n(6349),i=n(7226),o=n(3734),a=n(8437),s=n(4634),c=n(511),l=n(643),u=n(4863),f=n(7116);t.MAX_BUFFER_SIZE=4294967295,t.Buffer=class{constructor(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.tabs={},this.savedY=0,this.savedX=0,this.savedCurAttrData=a.DEFAULT_ATTR_DATA.clone(),this.savedCharset=f.DEFAULT_CHARSET,this.markers=[],this._nullCell=c.CellData.fromCharData([0,l.NULL_CELL_CHAR,l.NULL_CELL_WIDTH,l.NULL_CELL_CODE]),this._whitespaceCell=c.CellData.fromCharData([0,l.WHITESPACE_CELL_CHAR,l.WHITESPACE_CELL_WIDTH,l.WHITESPACE_CELL_CODE]),this._isClearing=!1,this._memoryCleanupQueue=new i.IdleTaskQueue,this._memoryCleanupPosition=0,this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}getNullCell(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new o.ExtendedAttrs),this._nullCell}getWhitespaceCell(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new o.ExtendedAttrs),this._whitespaceCell}getBlankLine(e,t){return new a.BufferLine(this._bufferService.cols,this.getNullCell(e),t)}get hasScrollback(){return this._hasScrollback&&this.lines.maxLength>this._rows}get isCursorInViewport(){const e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows}_getCorrectBufferLength(e){if(!this._hasScrollback)return e;const n=e+this._optionsService.rawOptions.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n}fillViewportRows(e){if(0===this.lines.length){void 0===e&&(e=a.DEFAULT_ATTR_DATA);let t=this._rows;for(;t--;)this.lines.push(this.getBlankLine(e))}}clear(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}resize(e,t){const n=this.getNullCell(a.DEFAULT_ATTR_DATA);let r=0;const i=this._getCorrectBufferLength(t);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols<e)for(let t=0;t<this.lines.length;t++)r+=+this.lines.get(t).resize(e,n);let o=0;if(this._rows<t)for(let r=this._rows;r<t;r++)this.lines.length<t+this.ybase&&(this._optionsService.rawOptions.windowsMode||void 0!==this._optionsService.rawOptions.windowsPty.backend||void 0!==this._optionsService.rawOptions.windowsPty.buildNumber?this.lines.push(new a.BufferLine(e,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+o+1?(this.ybase--,o++,this.ydisp>0&&this.ydisp--):this.lines.push(new a.BufferLine(e,n)));else for(let e=this._rows;e>t;e--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i<this.lines.maxLength){const e=this.lines.length-i;e>0&&(this.lines.trimStart(e),this.ybase=Math.max(this.ybase-e,0),this.ydisp=Math.max(this.ydisp-e,0),this.savedY=Math.max(this.savedY-e,0)),this.lines.maxLength=i}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),o&&(this.y+=o),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(let t=0;t<this.lines.length;t++)r+=+this.lines.get(t).resize(e,n);this._cols=e,this._rows=t,this._memoryCleanupQueue.clear(),r>.1*this.lines.length&&(this._memoryCleanupPosition=0,this._memoryCleanupQueue.enqueue((()=>this._batchedMemoryCleanup())))}_batchedMemoryCleanup(){let e=!0;this._memoryCleanupPosition>=this.lines.length&&(this._memoryCleanupPosition=0,e=!1);let t=0;for(;this._memoryCleanupPosition<this.lines.length;)if(t+=this.lines.get(this._memoryCleanupPosition++).cleanupMemory(),t>100)return!0;return e}get _isReflowEnabled(){const e=this._optionsService.rawOptions.windowsPty;return e&&e.buildNumber?this._hasScrollback&&"conpty"===e.backend&&e.buildNumber>=21376:this._hasScrollback&&!this._optionsService.rawOptions.windowsMode}_reflow(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))}_reflowLarger(e,t){const n=(0,s.reflowLargerGetLinesToRemove)(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(a.DEFAULT_ATTR_DATA));if(n.length>0){const r=(0,s.reflowLargerCreateNewLayout)(this.lines,n);(0,s.reflowLargerApplyNewLayout)(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}}_reflowLargerAdjustViewport(e,t,n){const r=this.getNullCell(a.DEFAULT_ATTR_DATA);let i=n;for(;i-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<t&&this.lines.push(new a.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)}_reflowSmaller(e,t){const n=this.getNullCell(a.DEFAULT_ATTR_DATA),r=[];let i=0;for(let o=this.lines.length-1;o>=0;o--){let c=this.lines.get(o);if(!c||!c.isWrapped&&c.getTrimmedLength()<=e)continue;const l=[c];for(;c.isWrapped&&o>0;)c=this.lines.get(--o),l.unshift(c);const u=this.ybase+this.y;if(u>=o&&u<o+l.length)continue;const f=l[l.length-1].getTrimmedLength(),h=(0,s.reflowSmallerGetNewLineLengths)(l,this._cols,e),d=h.length-l.length;let p;p=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+d):Math.max(0,this.lines.length-this.lines.maxLength+d);const g=[];for(let e=0;e<d;e++){const e=this.getBlankLine(a.DEFAULT_ATTR_DATA,!0);g.push(e)}g.length>0&&(r.push({start:o+l.length+i,newLines:g}),i+=g.length),l.push(...g);let m=h.length-1,v=h[m];0===v&&(m--,v=h[m]);let y=l.length-d-1,b=f;for(;y>=0;){const e=Math.min(b,v);if(void 0===l[m])break;if(l[m].copyCellsFrom(l[y],b-e,v-e,e,!0),v-=e,0===v&&(m--,v=h[m]),b-=e,0===b){y--;const e=Math.max(y,0);b=(0,s.getWrappedLineTrimmedLength)(l,e,this._cols)}}for(let t=0;t<l.length;t++)h[t]<e&&l[t].setCell(h[t],n);let _=d-p;for(;_-- >0;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+i)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+d,this.ybase+t-1)}if(r.length>0){const e=[],t=[];for(let e=0;e<this.lines.length;e++)t.push(this.lines.get(e));const n=this.lines.length;let o=n-1,a=0,s=r[a];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+i);let c=0;for(let l=Math.min(this.lines.maxLength-1,n+i-1);l>=0;l--)if(s&&s.start>o+c){for(let e=s.newLines.length-1;e>=0;e--)this.lines.set(l--,s.newLines[e]);l++,e.push({index:o+1,amount:s.newLines.length}),c+=s.newLines.length,s=r[++a]}else this.lines.set(l,t[o--]);let l=0;for(let t=e.length-1;t>=0;t--)e[t].index+=l,this.lines.onInsertEmitter.fire(e[t]),l+=e[t].amount;const u=Math.max(0,n+i-this.lines.maxLength);u>0&&this.lines.onTrimEmitter.fire(u)}}translateBufferLineToString(e,t,n=0,r){const i=this.lines.get(e);return i?i.translateToString(t,n,r):""}getWrappedRangeForLine(e){let t=e,n=e;for(;t>0&&this.lines.get(t).isWrapped;)t--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:t,last:n}}setupTabStops(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.rawOptions.tabStopWidth)this.tabs[e]=!0}prevStop(e){for(null==e&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e}nextStop(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e}clearMarkers(e){this._isClearing=!0;for(let t=0;t<this.markers.length;t++)this.markers[t].line===e&&(this.markers[t].dispose(),this.markers.splice(t--,1));this._isClearing=!1}clearAllMarkers(){this._isClearing=!0;for(let e=0;e<this.markers.length;e++)this.markers[e].dispose(),this.markers.splice(e--,1);this._isClearing=!1}addMarker(e){const t=new u.Marker(e);return this.markers.push(t),t.register(this.lines.onTrim((e=>{t.line-=e,t.line<0&&t.dispose()}))),t.register(this.lines.onInsert((e=>{t.line>=e.index&&(t.line+=e.amount)}))),t.register(this.lines.onDelete((e=>{t.line>=e.index&&t.line<e.index+e.amount&&t.dispose(),t.line>e.index&&(t.line-=e.amount)}))),t.register(t.onDispose((()=>this._removeMarker(t)))),t}_removeMarker(e){this._isClearing||this.markers.splice(this.markers.indexOf(e),1)}}},8437:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;const r=n(3734),i=n(511),o=n(643),a=n(482);t.DEFAULT_ATTR_DATA=Object.freeze(new r.AttributeData);let s=0;class c{constructor(e,t,n=!1){this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);const r=t||i.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]);for(let t=0;t<e;++t)this.setCell(t,r);this.length=e}get(e){const t=this._data[3*e+0],n=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:n?(0,a.stringFromCodePoint)(n):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]}set(e,t){this._data[3*e+1]=t[o.CHAR_DATA_ATTR_INDEX],t[o.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[o.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[o.CHAR_DATA_WIDTH_INDEX]<<22}getWidth(e){return this._data[3*e+0]>>22}hasWidth(e){return 12582912&this._data[3*e+0]}getFg(e){return this._data[3*e+1]}getBg(e){return this._data[3*e+2]}hasContent(e){return 4194303&this._data[3*e+0]}getCodePoint(e){const t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t}isCombined(e){return 2097152&this._data[3*e+0]}getString(e){const t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?(0,a.stringFromCodePoint)(2097151&t):""}isProtected(e){return 536870912&this._data[3*e+2]}loadCell(e,t){return s=3*e,t.content=this._data[s+0],t.fg=this._data[s+1],t.bg=this._data[s+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t}setCell(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg}setCellFromCodePoint(e,t,n,r,i,o){268435456&i&&(this._extendedAttrs[e]=o),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=r,this._data[3*e+2]=i}addCodepointToCell(e,t){let n=this._data[3*e+0];2097152&n?this._combined[e]+=(0,a.stringFromCodePoint)(t):(2097151&n?(this._combined[e]=(0,a.stringFromCodePoint)(2097151&n)+(0,a.stringFromCodePoint)(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)}insertCells(e,t,n,o){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==o?void 0:o.fg)||0,(null==o?void 0:o.bg)||0,(null==o?void 0:o.extended)||new r.ExtendedAttrs),t<this.length-e){const r=new i.CellData;for(let n=this.length-e-t-1;n>=0;--n)this.setCell(e+t+n,this.loadCell(e+n,r));for(let r=0;r<t;++r)this.setCell(e+r,n)}else for(let t=e;t<this.length;++t)this.setCell(t,n);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==o?void 0:o.fg)||0,(null==o?void 0:o.bg)||0,(null==o?void 0:o.extended)||new r.ExtendedAttrs)}deleteCells(e,t,n,o){if(e%=this.length,t<this.length-e){const r=new i.CellData;for(let n=0;n<this.length-e-t;++n)this.setCell(e+n,this.loadCell(e+t+n,r));for(let e=this.length-t;e<this.length;++e)this.setCell(e,n)}else for(let t=e;t<this.length;++t)this.setCell(t,n);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==o?void 0:o.fg)||0,(null==o?void 0:o.bg)||0,(null==o?void 0:o.extended)||new r.ExtendedAttrs),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null==o?void 0:o.fg)||0,(null==o?void 0:o.bg)||0,(null==o?void 0:o.extended)||new r.ExtendedAttrs)}replaceCells(e,t,n,i,o=!1){if(o)for(e&&2===this.getWidth(e-1)&&!this.isProtected(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new r.ExtendedAttrs),t<this.length&&2===this.getWidth(t-1)&&!this.isProtected(t)&&this.setCellFromCodePoint(t,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new r.ExtendedAttrs);e<t&&e<this.length;)this.isProtected(e)||this.setCell(e,n),e++;else for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new r.ExtendedAttrs),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new r.ExtendedAttrs);e<t&&e<this.length;)this.setCell(e++,n)}resize(e,t){if(e===this.length)return 4*this._data.length*2<this._data.buffer.byteLength;const n=3*e;if(e>this.length){if(this._data.buffer.byteLength>=4*n)this._data=new Uint32Array(this._data.buffer,0,n);else{const e=new Uint32Array(n);e.set(this._data),this._data=e}for(let n=this.length;n<e;++n)this.setCell(n,t)}else{this._data=this._data.subarray(0,n);const t=Object.keys(this._combined);for(let n=0;n<t.length;n++){const r=parseInt(t[n],10);r>=e&&delete this._combined[r]}const r=Object.keys(this._extendedAttrs);for(let t=0;t<r.length;t++){const n=parseInt(r[t],10);n>=e&&delete this._extendedAttrs[n]}}return this.length=e,4*n*2<this._data.buffer.byteLength}cleanupMemory(){if(4*this._data.length*2<this._data.buffer.byteLength){const e=new Uint32Array(this._data.length);return e.set(this._data),this._data=e,1}return 0}fill(e,t=!1){if(t)for(let t=0;t<this.length;++t)this.isProtected(t)||this.setCell(t,e);else{this._combined={},this._extendedAttrs={};for(let t=0;t<this.length;++t)this.setCell(t,e)}}copyFrom(e){this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={};for(const t in e._combined)this._combined[t]=e._combined[t];this._extendedAttrs={};for(const t in e._extendedAttrs)this._extendedAttrs[t]=e._extendedAttrs[t];this.isWrapped=e.isWrapped}clone(){const e=new c(0);e._data=new Uint32Array(this._data),e.length=this.length;for(const t in this._combined)e._combined[t]=this._combined[t];for(const t in this._extendedAttrs)e._extendedAttrs[t]=this._extendedAttrs[t];return e.isWrapped=this.isWrapped,e}getTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0}getNoBgTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0]||50331648&this._data[3*e+2])return e+(this._data[3*e+0]>>22);return 0}copyCellsFrom(e,t,n,r,i){const o=e._data;if(i)for(let i=r-1;i>=0;i--){for(let e=0;e<3;e++)this._data[3*(n+i)+e]=o[3*(t+i)+e];268435456&o[3*(t+i)+2]&&(this._extendedAttrs[n+i]=e._extendedAttrs[t+i])}else for(let i=0;i<r;i++){for(let e=0;e<3;e++)this._data[3*(n+i)+e]=o[3*(t+i)+e];268435456&o[3*(t+i)+2]&&(this._extendedAttrs[n+i]=e._extendedAttrs[t+i])}const a=Object.keys(e._combined);for(let r=0;r<a.length;r++){const i=parseInt(a[r],10);i>=t&&(this._combined[i-t+n]=e._combined[i])}}translateToString(e=!1,t=0,n=this.length){e&&(n=Math.min(n,this.getTrimmedLength()));let r="";for(;t<n;){const e=this._data[3*t+0],n=2097151&e;r+=2097152&e?this._combined[t]:n?(0,a.stringFromCodePoint)(n):o.WHITESPACE_CELL_CHAR,t+=e>>22||1}return r}}t.BufferLine=c},4841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeLength=void 0,t.getRangeLength=function(e,t){if(e.start.y>e.end.y)throw new Error(`Buffer range end (${e.end.x}, ${e.end.y}) cannot be before start (${e.start.x}, ${e.start.y})`);return t*(e.end.y-e.start.y)+(e.end.x-e.start.x+1)}},4634:(e,t)=>{function n(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();const r=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),i=2===e[t+1].getWidth(0);return r&&i?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,r,i,o){const a=[];for(let s=0;s<e.length-1;s++){let c=s,l=e.get(++c);if(!l.isWrapped)continue;const u=[e.get(s)];for(;c<e.length&&l.isWrapped;)u.push(l),l=e.get(++c);if(i>=s&&i<c){s+=u.length-1;continue}let f=0,h=n(u,f,t),d=1,p=0;for(;d<u.length;){const e=n(u,d,t),i=e-p,a=r-h,s=Math.min(i,a);u[f].copyCellsFrom(u[d],p,h,s,!1),h+=s,h===r&&(f++,h=0),p+=s,p===e&&(d++,p=0),0===h&&0!==f&&2===u[f-1].getWidth(r-1)&&(u[f].copyCellsFrom(u[f-1],r-1,h++,1,!1),u[f-1].setCell(r-1,o))}u[f].replaceCells(h,r,o);let g=0;for(let e=u.length-1;e>0&&(e>f||0===u[e].getTrimmedLength());e--)g++;g>0&&(a.push(s+u.length-g),a.push(g)),s+=u.length-1}return a},t.reflowLargerCreateNewLayout=function(e,t){const n=[];let r=0,i=t[r],o=0;for(let a=0;a<e.length;a++)if(i===a){const n=t[++r];e.onDeleteEmitter.fire({index:a-o,amount:n}),a+=n-1,o+=n,i=t[++r]}else n.push(a);return{layout:n,countRemoved:o}},t.reflowLargerApplyNewLayout=function(e,t){const n=[];for(let r=0;r<t.length;r++)n.push(e.get(t[r]));for(let t=0;t<n.length;t++)e.set(t,n[t]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(e,t,r){const i=[],o=e.map(((r,i)=>n(e,i,t))).reduce(((e,t)=>e+t));let a=0,s=0,c=0;for(;c<o;){if(o-c<r){i.push(o-c);break}a+=r;const l=n(e,s,t);a>l&&(a-=l,s++);const u=2===e[s].getWidth(a-1);u&&a--;const f=u?r-1:r;i.push(f),c+=f}return i},t.getWrappedLineTrimmedLength=n},5295:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;const r=n(8460),i=n(844),o=n(9092);class a extends i.Disposable{constructor(e,t){super(),this._optionsService=e,this._bufferService=t,this._onBufferActivate=this.register(new r.EventEmitter),this.onBufferActivate=this._onBufferActivate.event,this.reset(),this.register(this._optionsService.onSpecificOptionChange("scrollback",(()=>this.resize(this._bufferService.cols,this._bufferService.rows)))),this.register(this._optionsService.onSpecificOptionChange("tabStopWidth",(()=>this.setupTabStops())))}reset(){this._normal=new o.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new o.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()}get alt(){return this._alt}get active(){return this._activeBuffer}get normal(){return this._normal}activateNormalBuffer(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clearAllMarkers(),this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))}activateAltBuffer(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))}resize(e,t){this._normal.resize(e,t),this._alt.resize(e,t),this.setupTabStops(e)}setupTabStops(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)}}t.BufferSet=a},511:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;const r=n(482),i=n(643),o=n(3734);class a extends o.AttributeData{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new o.ExtendedAttrs,this.combinedData=""}static fromCharData(e){const t=new a;return t.setFromCharData(e),t}isCombined(){return 2097152&this.content}getWidth(){return this.content>>22}getChars(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,r.stringFromCodePoint)(2097151&this.content):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content}setFromCharData(e){this.fg=e[i.CHAR_DATA_ATTR_INDEX],this.bg=0;let t=!1;if(e[i.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[i.CHAR_DATA_CHAR_INDEX].length){const n=e[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){const r=e[i.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[i.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[i.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[i.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[i.CHAR_DATA_WIDTH_INDEX]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.CellData=a},643:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_EXT=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=0,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.DEFAULT_EXT=0,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},4863:(e,t,n)=>
vendor: 2,931 bytes, line 2
2{Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;const r=n(8460),i=n(844);class o{get id(){return this._id}constructor(e){this.line=e,this.isDisposed=!1,this._disposables=[],this._id=o._nextId++,this._onDispose=this.register(new r.EventEmitter),this.onDispose=this._onDispose.event}dispose(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),(0,i.disposeArray)(this._disposables),this._disposables.length=0)}register(e){return this._disposables.push(e),e}}t.Marker=o,o._nextId=1},7116:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"â",a:"â",b:"â",c:"â",d:"â",e:"â",f:"°",g:"±",h:"â¤",i:"â",j:"â",k:"â",l:"â",m:"â",n:"â¼",o:"âº",p:"â»",q:"â",r:"â¼",s:"â½",t:"â",u:"â¤",v:"â´",w:"â¬",x:"â",y:"â¤",z:"â¥","{":"Ï","|":"â ","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ã","\\":"Ã","]":"Ã
","^":"Ã","`":"é","{":"ä","|":"ö","}":"Ã¥","~":"ü"},t.CHARSETS.R={"#":"£","@":"à ","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à ","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ã","\\":"Ã","]":"Ã","{":"ä","|":"ö","}":"ü","~":"Ã"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à ","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ã","[":"Ã","\\":"Ã","]":"Ã
","^":"Ã","`":"ä","{":"æ","|":"ø","}":"Ã¥","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ã","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"Ã","[":"Ã","\\":"Ã","]":"Ã
","^":"Ã","`":"é","{":"ä","|":"ö","}":"Ã¥","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à ","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},2584:(e,t)=>{var n,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.C1_ESCAPED=t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="�",e.STX="�",e.ETX="�",e.EOT="�",e.ENQ="�",e.ACK="�",e.BEL="�",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="�",e.SI="�",e.DLE="�",e.DC1="�",e.DC2="�",e.DC3="�",e.DC4="�",e.NAK="�",e.SYN="�",e.ETB="�",e.CAN="�",e.EM="�",e.SUB="�",e.ESC="�",e.FS="�",e.GS="�",e.RS="�",e.US="�",e.SP=" ",e.DEL="�"}(n||(t.C0=n={})),function(e){e.PAD="Â",e.HOP="Â",e.BPH="Â",e.NBH="Â",e.IND="Â",e.NEL="Â
",e.SSA="Â",e.ESA="Â",e.HTS="Â",e.HTJ="Â",e.VTS="Â",e.PLD="Â",e.PLU="Â",e.RI="Â",e.SS2="Â",e.SS3="Â",e.DCS="Â",e.PU1="Â",e.PU2="Â",e.STS="Â",e.CCH="Â",e.MW="Â",e.SPA="Â",e.EPA="Â",e.SOS="Â",e.SGCI="Â",e.SCI="Â",e.CSI="Â",e.ST="Â",e.OSC="Â",e.PM="Â",e.APC="Â"}(r||(t.C1=r={})),function(e){e.ST=`${n.ESC}\\`}(i||(t.C1_ESCAPED=i={}))}
vendor: 14,795 bytes, line 2
2,7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;const r=n(2584),i={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,o){const a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:if(e.altKey){a.key=r.C0.ESC+r.C0.DEL;break}a.key=r.C0.DEL;break;case 9:if(e.shiftKey){a.key=r.C0.ESC+"[Z";break}a.key=r.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,a.cancel=!0;break;case 27:a.key=r.C0.ESC,e.altKey&&(a.key=r.C0.ESC+r.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"D",a.key===r.C0.ESC+"[1;3D"&&(a.key=r.C0.ESC+(n?"b":"[1;5D"))):a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"C",a.key===r.C0.ESC+"[1;3C"&&(a.key=r.C0.ESC+(n?"f":"[1;5C"))):a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==r.C0.ESC+"[1;3A"||(a.key=r.C0.ESC+"[1;5A")):a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==r.C0.ESC+"[1;3B"||(a.key=r.C0.ESC+"[1;5B")):a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=r.C0.ESC+"[2~");break;case 46:a.key=s?r.C0.ESC+"[3;"+(s+1)+"~":r.C0.ESC+"[3~";break;case 36:a.key=s?r.C0.ESC+"[1;"+(s+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:a.key=s?r.C0.ESC+"[1;"+(s+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:e.ctrlKey?a.key=r.C0.ESC+"[5;"+(s+1)+"~":a.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:e.ctrlKey?a.key=r.C0.ESC+"[6;"+(s+1)+"~":a.key=r.C0.ESC+"[6~";break;case 112:a.key=s?r.C0.ESC+"[1;"+(s+1)+"P":r.C0.ESC+"OP";break;case 113:a.key=s?r.C0.ESC+"[1;"+(s+1)+"Q":r.C0.ESC+"OQ";break;case 114:a.key=s?r.C0.ESC+"[1;"+(s+1)+"R":r.C0.ESC+"OR";break;case 115:a.key=s?r.C0.ESC+"[1;"+(s+1)+"S":r.C0.ESC+"OS";break;case 116:a.key=s?r.C0.ESC+"[15;"+(s+1)+"~":r.C0.ESC+"[15~";break;case 117:a.key=s?r.C0.ESC+"[17;"+(s+1)+"~":r.C0.ESC+"[17~";break;case 118:a.key=s?r.C0.ESC+"[18;"+(s+1)+"~":r.C0.ESC+"[18~";break;case 119:a.key=s?r.C0.ESC+"[19;"+(s+1)+"~":r.C0.ESC+"[19~";break;case 120:a.key=s?r.C0.ESC+"[20;"+(s+1)+"~":r.C0.ESC+"[20~";break;case 121:a.key=s?r.C0.ESC+"[21;"+(s+1)+"~":r.C0.ESC+"[21~";break;case 122:a.key=s?r.C0.ESC+"[23;"+(s+1)+"~":r.C0.ESC+"[23~";break;case 123:a.key=s?r.C0.ESC+"[24;"+(s+1)+"~":r.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!o||!e.altKey||e.metaKey)!n||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&("_"===e.key&&(a.key=r.C0.US),"@"===e.key&&(a.key=r.C0.NUL)):65===e.keyCode&&(a.type=1);else{const t=i[e.keyCode],n=null==t?void 0:t[e.shiftKey?1:0];if(n)a.key=r.C0.ESC+n;else if(e.keyCode>=65&&e.keyCode<=90){const t=e.ctrlKey?e.keyCode-64:e.keyCode+32;let n=String.fromCharCode(t);e.shiftKey&&(n=n.toUpperCase()),a.key=r.C0.ESC+n}else if(32===e.keyCode)a.key=r.C0.ESC+(e.ctrlKey?r.C0.NUL:" ");else if("Dead"===e.key&&e.code.startsWith("Key")){let t=e.code.slice(3,4);e.shiftKey||(t=t.toLowerCase()),a.key=r.C0.ESC+t,a.cancel=!0}}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=r.C0.DEL:219===e.keyCode?a.key=r.C0.ESC:220===e.keyCode?a.key=r.C0.FS:221===e.keyCode&&(a.key=r.C0.GS)}return a}},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t=0,n=e.length){let r="";for(let i=t;i<n;++i){let t=e[i];t>65535?(t-=65536,r+=String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):r+=String.fromCharCode(t)}return r},t.StringToUtf32=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){const n=e.length;if(!n)return 0;let r=0,i=0;if(this._interim){const n=e.charCodeAt(i++);56320<=n&&n<=57343?t[r++]=1024*(this._interim-55296)+n-56320+65536:(t[r++]=this._interim,t[r++]=n),this._interim=0}for(let o=i;o<n;++o){const i=e.charCodeAt(o);if(55296<=i&&i<=56319){if(++o>=n)return this._interim=i,r;const a=e.charCodeAt(o);56320<=a&&a<=57343?t[r++]=1024*(i-55296)+a-56320+65536:(t[r++]=i,t[r++]=a)}else 65279!==i&&(t[r++]=i)}return r}},t.Utf8ToUtf32=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){const n=e.length;if(!n)return 0;let r,i,o,a,s=0,c=0,l=0;if(this.interim[0]){let r=!1,i=this.interim[0];i&=192==(224&i)?31:224==(240&i)?15:7;let o,a=0;for(;(o=63&this.interim[++a])&&a<4;)i<<=6,i|=o;const c=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,u=c-a;for(;l<u;){if(l>=n)return 0;if(o=e[l++],128!=(192&o)){l--,r=!0;break}this.interim[a++]=o,i<<=6,i|=63&o}r||(2===c?i<128?l--:t[s++]=i:3===c?i<2048||i>=55296&&i<=57343||65279===i||(t[s++]=i):i<65536||i>1114111||(t[s++]=i)),this.interim.fill(0)}const u=n-4;let f=l;for(;f<n;){for(;!(!(f<u)||128&(r=e[f])||128&(i=e[f+1])||128&(o=e[f+2])||128&(a=e[f+3]));)t[s++]=r,t[s++]=i,t[s++]=o,t[s++]=a,f+=4;if(r=e[f++],r<128)t[s++]=r;else if(192==(224&r)){if(f>=n)return this.interim[0]=r,s;if(i=e[f++],128!=(192&i)){f--;continue}if(c=(31&r)<<6|63&i,c<128){f--;continue}t[s++]=c}else if(224==(240&r)){if(f>=n)return this.interim[0]=r,s;if(i=e[f++],128!=(192&i)){f--;continue}if(f>=n)return this.interim[0]=r,this.interim[1]=i,s;if(o=e[f++],128!=(192&o)){f--;continue}if(c=(15&r)<<12|(63&i)<<6|63&o,c<2048||c>=55296&&c<=57343||65279===c)continue;t[s++]=c}else if(240==(248&r)){if(f>=n)return this.interim[0]=r,s;if(i=e[f++],128!=(192&i)){f--;continue}if(f>=n)return this.interim[0]=r,this.interim[1]=i,s;if(o=e[f++],128!=(192&o)){f--;continue}if(f>=n)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=o,s;if(a=e[f++],128!=(192&a)){f--;continue}if(c=(7&r)<<18|(63&i)<<12|(63&o)<<6|63&a,c<65536||c>1114111)continue;t[s++]=c}}return s}}},225:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;const n=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],r=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]];let i;t.UnicodeV6=class{constructor(){if(this.version="6",!i){i=new Uint8Array(65536),i.fill(1),i[0]=0,i.fill(0,1,32),i.fill(0,127,160),i.fill(2,4352,4448),i[9001]=2,i[9002]=2,i.fill(2,11904,42192),i[12351]=1,i.fill(2,44032,55204),i.fill(2,63744,64256),i.fill(2,65040,65050),i.fill(2,65072,65136),i.fill(2,65280,65377),i.fill(2,65504,65511);for(let e=0;e<n.length;++e)i.fill(0,n[e][0],n[e][1]+1)}}wcwidth(e){return e<32?0:e<127?1:e<65536?i[e]:function(e,t){let n,r=0,i=t.length-1;if(e<t[0][0]||e>t[i][1])return!1;for(;i>=r;)if(n=r+i>>1,e>t[n][1])r=n+1;else{if(!(e<t[n][0]))return!0;i=n-1}return!1}(e,r)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1}}},5981:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;const r=n(8460),i=n(844);class o extends i.Disposable{constructor(e){super(),this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._didUserInput=!1,this._onWriteParsed=this.register(new r.EventEmitter),this.onWriteParsed=this._onWriteParsed.event}handleUserInput(){this._didUserInput=!0}writeSync(e,t){if(void 0!==t&&this._syncCalls>t)return void(this._syncCalls=0);if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,this._isSyncWriting)return;let n;for(this._isSyncWriting=!0;n=this._writeBuffer.shift();){this._action(n);const e=this._callbacks.shift();e&&e()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}write(e,t){if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");if(!this._writeBuffer.length){if(this._bufferOffset=0,this._didUserInput)return this._didUserInput=!1,this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t),void this._innerWrite();setTimeout((()=>this._innerWrite()))}this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)}_innerWrite(e=0,t=!0){const n=e||Date.now();for(;this._writeBuffer.length>this._bufferOffset;){const e=this._writeBuffer[this._bufferOffset],r=this._action(e,t);if(r){const e=e=>Date.now()-n>=12?setTimeout((()=>this._innerWrite(0,e))):this._innerWrite(n,e);return void r.catch((e=>(queueMicrotask((()=>{throw e})),Promise.resolve(!1)))).then(e)}const i=this._callbacks[this._bufferOffset];if(i&&i(),this._bufferOffset++,this._pendingData-=e.length,Date.now()-n>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((()=>this._innerWrite()))):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()}}t.WriteBuffer=o},5941:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;const n=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,r=/^[\da-f]+$/;function i(e,t){const n=e.toString(16),r=n.length<2?"0"+n:n;switch(t){case 4:return n[0];case 8:return r;case 12:return(r+r).slice(0,3);default:return r+r}}t.parseColor=function(e){if(!e)return;let t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);const e=n.exec(t);if(e){const t=e[1]?15:e[4]?255:e[7]?4095:65535;return[Math.round(parseInt(e[1]||e[4]||e[7]||e[10],16)/t*255),Math.round(parseInt(e[2]||e[5]||e[8]||e[11],16)/t*255),Math.round(parseInt(e[3]||e[6]||e[9]||e[12],16)/t*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),r.exec(t)&&[3,6,9,12].includes(t.length))){const e=t.length/3,n=[0,0,0];for(let r=0;r<3;++r){const i=parseInt(t.slice(e*r,e*r+e),16);n[r]=1===e?i<<4:2===e?i:3===e?i>>4:i>>8}return n}},t.toRgbString=function(e,t=16){const[n,r,o]=e;return`rgb:${i(n,t)}/${i(r,t)}/${i(o,t)}`}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;const r=n(482),i=n(8742),o=n(5770),a=[];t.DcsParser=class{constructor(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=a}registerHandler(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);const n=this._handlers[e];return n.push(t),{dispose:()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}clearHandler(e){this._handlers[e]&&delete this._handlers[e]}setHandlerFallback(e){this._handlerFb=e}reset(){if(this._active.length)for(let e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=a,this._ident=0}hook(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(let e=this._active.length-1;e>=0;e--)this._active[e].hook(t);else this._handlerFb(this._ident,"HOOK",t)}put(e,t,n){if(this._active.length)for(let r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._ident,"PUT",(0,r.utf32ToString)(e,t,n))}unhook(e,t=!0){if(this._active.length){let n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,i=this._stack.fallThrough,this._stack.paused=!1),!i&&!1===n){for(;r>=0&&(n=this._active[r].unhook(e),!0!==n);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].unhook(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0}};const s=new i.Params;s.addParam(0),t.DcsHandler=class{constructor(e){this._handler=e,this._data="",this._params=s,this._hitLimit=!1}hook(e){this._params=e.length>1||e.params[0]?e.clone():s,this._data="",this._hitLimit=!1}put(e,t,n){this._hitLimit||(this._data+=(0,r.utf32ToString)(e,t,n),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))}
vendor: 4,287 bytes, line 2
2unhook(e){let t=!1;if(this._hitLimit)t=!1;else if(e&&(t=this._handler(this._data,this._params),t instanceof Promise))return t.then((e=>(this._params=s,this._data="",this._hitLimit=!1,e)));return this._params=s,this._data="",this._hitLimit=!1,t}}},2015:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;const r=n(844),i=n(8742),o=n(6242),a=n(6351);class s{constructor(e){this.table=new Uint8Array(e)}setDefault(e,t){this.table.fill(e<<4|t)}add(e,t,n,r){this.table[t<<8|e]=n<<4|r}addMany(e,t,n,r){for(let i=0;i<e.length;i++)this.table[t<<8|e[i]]=n<<4|r}}t.TransitionTable=s;const c=160;t.VT500_TRANSITION_TABLE=function(){const e=new s(4095),t=Array.apply(null,Array(256)).map(((e,t)=>t)),n=(e,n)=>t.slice(e,n),r=n(32,127),i=n(0,24);i.push(25),i.push.apply(i,n(28,32));const o=n(0,14);let a;for(a in e.setDefault(1,0),e.addMany(r,0,2,0),o)e.addMany([24,26,153,154],a,3,0),e.addMany(n(128,144),a,3,0),e.addMany(n(144,152),a,3,0),e.add(156,a,0,0),e.add(27,a,11,1),e.add(157,a,4,8),e.addMany([152,158,159],a,0,7),e.add(155,a,11,3),e.add(144,a,11,9);return e.addMany(i,0,3,0),e.addMany(i,1,3,1),e.add(127,1,0,1),e.addMany(i,8,0,8),e.addMany(i,3,3,3),e.add(127,3,0,3),e.addMany(i,4,3,4),e.add(127,4,0,4),e.addMany(i,6,3,6),e.addMany(i,5,3,5),e.add(127,5,0,5),e.addMany(i,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(r,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(n(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(r,7,0,7),e.addMany(i,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(n(64,127),3,7,0),e.addMany(n(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(n(48,60),4,8,4),e.addMany(n(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(n(32,64),6,0,6),e.add(127,6,0,6),e.addMany(n(64,127),6,0,0),e.addMany(n(32,48),3,9,5),e.addMany(n(32,48),5,9,5),e.addMany(n(48,64),5,0,6),e.addMany(n(64,127),5,7,0),e.addMany(n(32,48),4,9,5),e.addMany(n(32,48),1,9,2),e.addMany(n(32,48),2,9,2),e.addMany(n(48,127),2,10,0),e.addMany(n(48,80),1,10,0),e.addMany(n(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(n(96,127),1,10,0),e.add(80,1,11,9),e.addMany(i,9,0,9),e.add(127,9,0,9),e.addMany(n(28,32),9,0,9),e.addMany(n(32,48),9,9,12),e.addMany(n(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(i,11,0,11),e.addMany(n(32,128),11,0,11),e.addMany(n(28,32),11,0,11),e.addMany(i,10,0,10),e.add(127,10,0,10),e.addMany(n(28,32),10,0,10),e.addMany(n(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(n(32,48),10,9,12),e.addMany(i,12,0,12),e.add(127,12,0,12),e.addMany(n(28,32),12,0,12),e.addMany(n(32,48),12,9,12),e.addMany(n(48,64),12,0,11),e.addMany(n(64,127),12,12,13),e.addMany(n(64,127),10,12,13),e.addMany(n(64,127),9,12,13),e.addMany(i,13,13,13),e.addMany(r,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(c,0,2,0),e.add(c,8,5,8),e.add(c,6,0,6),e.add(c,11,0,11),e.add(c,13,13,13),e}();class l extends r.Disposable{constructor(e=t.VT500_TRANSITION_TABLE){super(),this._transitions=e,this._parseStack={state:0,handlers:[],handlerPos:0,transition:0,chunkPos:0},this.initialState=0,this.currentState=this.initialState,this._params=new i.Params,this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,this._printHandlerFb=(e,t,n)=>{},this._executeHandlerFb=e=>{},this._csiHandlerFb=(e,t)=>{},this._escHandlerFb=e=>{},this._errorHandlerFb=e=>e,this._printHandler=this._printHandlerFb,this._executeHandlers=Object.create(null),this._csiHandlers=Object.create(null),this._escHandlers=Object.create(null),this.register((0,r.toDisposable)((()=>{this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null)}))),this._oscParser=this.register(new o.OscParser),this._dcsParser=this.register(new a.DcsParser),this._errorHandler=this._errorHandlerFb,this.registerEscHandler({final:"\\"},(()=>!0))}_identifier(e,t=[64,126]){let n=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if(n=e.prefix.charCodeAt(0),n&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(let t=0;t<e.intermediates.length;
vendor: 22,390 bytes, line 2
2++t){const r=e.intermediates.charCodeAt(t);if(32>r||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");const r=e.final.charCodeAt(0);if(t[0]>r||r>t[1])throw new Error(`final must be in range ${t[0]} .. ${t[1]}`);return n<<=8,n|=r,n}identToString(e){const t=[];for(;e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")}setPrintHandler(e){this._printHandler=e}clearPrintHandler(){this._printHandler=this._printHandlerFb}registerEscHandler(e,t){const n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);const r=this._escHandlers[n];return r.push(t),{dispose:()=>{const e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}clearEscHandler(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]}setEscHandlerFallback(e){this._escHandlerFb=e}setExecuteHandler(e,t){this._executeHandlers[e.charCodeAt(0)]=t}clearExecuteHandler(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]}setExecuteHandlerFallback(e){this._executeHandlerFb=e}registerCsiHandler(e,t){const n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);const r=this._csiHandlers[n];return r.push(t),{dispose:()=>{const e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}clearCsiHandler(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]}setCsiHandlerFallback(e){this._csiHandlerFb=e}registerDcsHandler(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)}clearDcsHandler(e){this._dcsParser.clearHandler(this._identifier(e))}setDcsHandlerFallback(e){this._dcsParser.setHandlerFallback(e)}registerOscHandler(e,t){return this._oscParser.registerHandler(e,t)}clearOscHandler(e){this._oscParser.clearHandler(e)}setOscHandlerFallback(e){this._oscParser.setHandlerFallback(e)}setErrorHandler(e){this._errorHandler=e}clearErrorHandler(){this._errorHandler=this._errorHandlerFb}reset(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])}_preserveStack(e,t,n,r,i){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=n,this._parseStack.transition=r,this._parseStack.chunkPos=i}parse(e,t,n){let r,i=0,o=0,a=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,a=this._parseStack.chunkPos+1;else{if(void 0===n||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");const t=this._parseStack.handlers;let o=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===n&&o>-1)for(;o>=0&&(r=t[o](this._params),!0!==r);o--)if(r instanceof Promise)return this._parseStack.handlerPos=o,r;this._parseStack.handlers=[];break;case 4:if(!1===n&&o>-1)for(;o>=0&&(r=t[o](),!0!==r);o--)if(r instanceof Promise)return this._parseStack.handlerPos=o,r;this._parseStack.handlers=[];break;case 6:if(i=e[this._parseStack.chunkPos],r=this._dcsParser.unhook(24!==i&&26!==i,n),r)return r;27===i&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(i=e[this._parseStack.chunkPos],r=this._oscParser.end(24!==i&&26!==i,n),r)return r;27===i&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,a=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(let n=a;n<t;++n){switch(i=e[n],o=this._transitions.table[this.currentState<<8|(i<160?i:c)],o>>4){case 2:for(let r=n+1;;++r){if(r>=t||(i=e[r])<32||i>126&&i<c){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(i=e[r])<32||i>126&&i<c){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(i=e[r])<32||i>126&&i<c){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(i=e[r])<32||i>126&&i<c){this._printHandler(e,n,r),n=r-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:n,code:i,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:const a=this._csiHandlers[this._collect<<8|i];let s=a?a.length-1:-1;for(;s>=0&&(r=a[s](this._params),!0!==r);s--)if(r instanceof Promise)return this._preserveStack(3,a,s,o,n),r;s<0&&this._csiHandlerFb(this._collect<<8|i,this._params),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(i-48)}}while(++n<t&&(i=e[n])>47&&i<60);n--;break;case 9:this._collect<<=8,this._collect|=i;break;case 10:const l=this._escHandlers[this._collect<<8|i];let u=l?l.length-1:-1;for(;u>=0&&(r=l[u](),!0!==r);u--)if(r instanceof Promise)return this._preserveStack(4,l,u,o,n),r;u<0&&this._escHandlerFb(this._collect<<8|i),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|i,this._params);break;case 13:for(let r=n+1;;++r)if(r>=t||24===(i=e[r])||26===i||27===i||i>127&&i<c){this._dcsParser.put(e,n,r),n=r-1;break}break;case 14:if(r=this._dcsParser.unhook(24!==i&&26!==i),r)return this._preserveStack(6,[],0,o,n),r;27===i&&(o|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0;break;case 4:this._oscParser.start();break;case 5:for(let r=n+1;;r++)if(r>=t||(i=e[r])<32||i>127&&i<c){this._oscParser.put(e,n,r),n=r-1;break}break;case 6:if(r=this._oscParser.end(24!==i&&26!==i),r)return this._preserveStack(5,[],0,o,n),r;27===i&&(o|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0}this.currentState=15&o}}}t.EscapeSequenceParser=l},6242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;const r=n(5770),i=n(482),o=[];t.OscParser=class{constructor(){this._state=0,this._active=o,this._id=-1,this._handlers=Object.create(null),this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}registerHandler(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);const n=this._handlers[e];return n.push(t),{dispose:()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}clearHandler(e){this._handlers[e]&&delete this._handlers[e]}setHandlerFallback(e){this._handlerFb=e}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=o}reset(){if(2===this._state)for(let e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=o,this._id=-1,this._state=0}_start(){if(this._active=this._handlers[this._id]||o,this._active.length)for(let e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")}_put(e,t,n){if(this._active.length)for(let r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._id,"PUT",(0,i.utf32ToString)(e,t,n))}start(){this.reset(),this._state=1}put(e,t,n){if(3!==this._state){if(1===this._state)for(;t<n;){const n=e[t++];if(59===n){this._state=2,this._start();break}if(n<48||57<n)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+n-48}2===this._state&&n-t>0&&this._put(e,t,n)}}end(e,t=!0){if(0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){let n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,i=this._stack.fallThrough,this._stack.paused=!1),!i&&!1===n){for(;r>=0&&(n=this._active[r].end(e),!0!==n);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].end(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._id,"END",e);this._active=o,this._id=-1,this._state=0}}},t.OscHandler=class{constructor(e){this._handler=e,this._data="",this._hitLimit=!1}start(){this._data="",this._hitLimit=!1}put(e,t,n){this._hitLimit||(this._data+=(0,i.utf32ToString)(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))}end(e){let t=!1;if(this._hitLimit)t=!1;else if(e&&(t=this._handler(this._data),t instanceof Promise))return t.then((e=>(this._data="",this._hitLimit=!1,e)));return this._data="",this._hitLimit=!1,t}}},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;const n=2147483647;class r{static fromArray(e){const t=new r;if(!e.length)return t;for(let n=Array.isArray(e[0])?1:0;n<e.length;++n){const r=e[n];if(Array.isArray(r))for(let e=0;e<r.length;++e)t.addSubParam(r[e]);else t.addParam(r)}return t}constructor(e=32,t=32){if(this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}clone(){const e=new r(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e}toArray(){const e=[];for(let t=0;t<this.length;++t){e.push(this.params[t]);const n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,r))}return e}reset(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}addParam(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>n?n:e}}addSubParam(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>n?n:e,this._subParamsIdx[this.length-1]++}}hasSubParams(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0}getSubParams(e){const t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null}getSubParamsAll(){const e={};for(let t=0;t<this.length;++t){const n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&(e[t]=this._subParams.slice(n,r))}return e}addDigit(e){let t;if(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)return;const r=this._digitIsSub?this._subParams:this.params,i=r[t-1];r[t-1]=~i?Math.min(10*i+e,n):e}}t.Params=r},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0,t.AddonManager=class{constructor(){this._addons=[]}dispose(){for(let e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()}loadAddon(e,t){const n={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(n),t.dispose=()=>this._wrappedAddonDispose(n),t.activate(e)}_wrappedAddonDispose(e){if(e.isDisposed)return;let t=-1;for(let n=0;n<this._addons.length;n++)if(this._addons[n]===e){t=n;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}}},8771:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;const r=n(3785),i=n(511);t.BufferApiView=class{constructor(e,t){this._buffer=e,this.type=t}init(e){return this._buffer=e,this}get cursorY(){return this._buffer.y}get cursorX(){return this._buffer.x}get viewportY(){return this._buffer.ydisp}get baseY(){return this._buffer.ybase}get length(){return this._buffer.lines.length}getLine(e){const t=this._buffer.lines.get(e);if(t)return new r.BufferLineApiView(t)}getNullCell(){return new i.CellData}}},3785:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;const r=n(511);t.BufferLineApiView=class{constructor(e){this._line=e}get isWrapped(){return this._line.isWrapped}get length(){return this._line.length}getCell(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)}translateToString(e,t,n){return this._line.translateToString(e,t,n)}}},8285:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;const r=n(8771),i=n(8460),o=n(844);class a extends o.Disposable{constructor(e){super(),this._core=e,this._onBufferChange=this.register(new i.EventEmitter),this.onBufferChange=this._onBufferChange.event,this._normal=new r.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new r.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate((()=>this._onBufferChange.fire(this.active)))}get active(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")}get normal(){return this._normal.init(this._core.buffers.normal)}get alternate(){return this._alternate.init(this._core.buffers.alt)}}t.BufferNamespaceApi=a},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0,t.ParserApi=class{constructor(e){this._core=e}registerCsiHandler(e,t){return this._core.registerCsiHandler(e,(e=>t(e.toArray())))}addCsiHandler(e,t){return this.registerCsiHandler(e,t)}registerDcsHandler(e,t){return this._core.registerDcsHandler(e,((e,n)=>t(e,n.toArray())))}addDcsHandler(e,t){return this.registerDcsHandler(e,t)}registerEscHandler(e,t){return this._core.registerEscHandler(e,t)}addEscHandler(e,t){return this.registerEscHandler(e,t)}registerOscHandler(e,t){return this._core.registerOscHandler(e,t)}addOscHandler(e,t){return this.registerOscHandler(e,t)}}},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0,t.UnicodeApi=class{constructor(e){this._core=e}register(e){this._core.unicodeService.register(e)}get versions(){return this._core.unicodeService.versions}get activeVersion(){return this._core.unicodeService.activeVersion}set activeVersion(e){this._core.unicodeService.activeVersion=e}}},744:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;const o=n(8460),a=n(844),s=n(5295),c=n(2585);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;let l=t.BufferService=class extends a.Disposable{get buffer(){return this.buffers.active}constructor(e){super(),this.isUserScrolling=!1,this._onResize=this.register(new o.EventEmitter),this.onResize=this._onResize.event,this._onScroll=this.register(new o.EventEmitter),this.onScroll=this._onScroll.event,this.cols=Math.max(e.rawOptions.cols||0,t.MINIMUM_COLS),this.rows=Math.max(e.rawOptions.rows||0,t.MINIMUM_ROWS),this.buffers=this.register(new s.BufferSet(e,this))}resize(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this._onResize.fire({cols:e,rows:t})}reset(){this.buffers.reset(),this.isUserScrolling=!1}scroll(e,t=!1){const n=this.buffer;let r;r=this._cachedBlankLine,r&&r.length===this.cols&&r.getFg(0)===e.fg&&r.getBg(0)===e.bg||(r=n.getBlankLine(e,t),this._cachedBlankLine=r),r.isWrapped=t;const i=n.ybase+n.scrollTop,o=n.ybase+n.scrollBottom;if(0===n.scrollTop){const e=n.lines.isFull;o===n.lines.length-1?e?n.lines.recycle().copyFrom(r):n.lines.push(r.clone()):n.lines.splice(o+1,0,r.clone()),e?this.isUserScrolling&&(n.ydisp=Math.max(n.ydisp-1,0)):(n.ybase++,this.isUserScrolling||n.ydisp++)}else{const e=o-i+1;n.lines.shiftElements(i+1,e-1,-1),n.lines.set(o,r.clone())}this.isUserScrolling||(n.ydisp=n.ybase),this._onScroll.fire(n.ydisp)}scrollLines(e,t,n){const r=this.buffer;if(e<0){if(0===r.ydisp)return;this.isUserScrolling=!0}else e+r.ydisp>=r.ybase&&(this.isUserScrolling=!1);const i=r.ydisp;r.ydisp=Math.max(Math.min(r.ydisp+e,r.ybase),0),i!==r.ydisp&&(t||this._onScroll.fire(r.ydisp))}};t.BufferService=l=r([i(0,c.IOptionsService)],l)},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0,t.CharsetService=class{constructor(){this.glevel=0,this._charsets=[]}reset(){this.charset=void 0,this._charsets=[],this.glevel=0}setgLevel(e){this.glevel=e,this.charset=this._charsets[e]}setgCharset(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)}}},1753:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;const o=n(2585),a=n(8460),s=n(844),c={NONE:{events:0,restrict:()=>!1},X10:{events:1,restrict:e=>4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)},VT200:{events:19,restrict:e=>32!==e.action},DRAG:{events:23,restrict:e=>32!==e.action||3!==e.button},ANY:{events:31,restrict:e=>!0}};function l(e,t){let n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}const u=String.fromCharCode,f={DEFAULT:e=>{const t=[l(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":`�[M${u(t[0])}${u(t[1])}${u(t[2])}`},SGR:e=>{const t=0===e.action&&4!==e.button?"m":"M";return`�[<${l(e,!0)};${e.col};${e.row}${t}`},SGR_PIXELS:e=>{const t=0===e.action&&4!==e.button?"m":"M";return`�[<${l(e,!0)};${e.x};${e.y}${t}`}};let h=t.CoreMouseService=class extends s.Disposable{constructor(e,t){super(),this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._lastEvent=null,this._onProtocolChange=this.register(new a.EventEmitter),this.onProtocolChange=this._onProtocolChange.event;for(const e of Object.keys(c))this.addProtocol(e,c[e]);for(const e of Object.keys(f))this.addEncoding(e,f[e]);this.reset()}addProtocol(e,t){this._protocols[e]=t}addEncoding(e,t){this._encodings[e]=t}get activeProtocol(){return this._activeProtocol}get areMouseEventsActive(){return 0!==this._protocols[this._activeProtocol].events}set activeProtocol(e){if(!this._protocols[e])throw new Error(`unknown protocol "${e}"`);this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)}get activeEncoding(){return this._activeEncoding}set activeEncoding(e){if(!this._encodings[e])throw new Error(`unknown encoding "${e}"`);this._activeEncoding=e}reset(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null}triggerMouseEvent(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._equalEvents(this._lastEvent,e,"SGR_PIXELS"===this._activeEncoding))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;const t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0}explainEvents(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}}_equalEvents(e,t,n){if(n){if(e.x!==t.x)return!1;if(e.y!==t.y)return!1}else{if(e.col!==t.col)return!1;if(e.row!==t.row)return!1}return e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift}};t.CoreMouseService=h=r([i(0,o.IBufferService),i(1,o.ICoreService)],h)},6975:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;const o=n(1439),a=n(8460),s=n(844),c=n(2585),l=Object.freeze({insertMode:!1}),u=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0});let f=t.CoreService=class extends s.Disposable{constructor(e,t,n){super(),this._bufferService=e,this._logService=t,this._optionsService=n,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=this.register(new a.EventEmitter),this.onData=this._onData.event,this._onUserInput=this.register(new a.EventEmitter),this.onUserInput=this._onUserInput.event,this._onBinary=this.register(new a.EventEmitter),this.onBinary=this._onBinary.event,this._onRequestScrollToBottom=this.register(new a.EventEmitter),this.onRequestScrollToBottom=this._onRequestScrollToBottom.event,this.modes=(0,o.clone)(l),this.decPrivateModes=(0,o.clone)(u)}reset(){this.modes=(0,o.clone)(l),this.decPrivateModes=(0,o.clone)(u)}triggerDataEvent(e,t=!1){if(this._optionsService.rawOptions.disableStdin)return;const n=this._bufferService.buffer;t&&this._optionsService.rawOptions.scrollOnUserInput&&n.ybase!==n.ydisp&&this._onRequestScrollToBottom.f
2ire(),t&&this._onUserInput.fire(),this._logService.debug(`sending data "${e}"`,(()=>e.split("").map((e=>e.charCodeAt(0))))),this._onData.fire(e)}triggerBinaryEvent(e){this._optionsService.rawOptions.disableStdin||(this._logService.debug(`sending binary "${e}"`,(()=>e.split("").map((e=>e.charCodeAt(0))))),this._onBinary.fire(e))}};t.CoreService=f=r([i(0,c.IBufferService),i(1,c.ILogService),i(2,c.IOptionsService)],f)},9074:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DecorationService=void 0;const r=n(8055),i=n(8460),o=n(844),a=n(6106);let s=0,c=0;class l extends o.Disposable{get decorations(){return this._decorations.values()}constructor(){super(),this._decorations=new a.SortedList((e=>null==e?void 0:e.marker.line)),this._onDecorationRegistered=this.register(new i.EventEmitter),this.onDecorationRegistered=this._onDecorationRegistered.event,this._onDecorationRemoved=this.register(new i.EventEmitter),this.onDecorationRemoved=this._onDecorationRemoved.event,this.register((0,o.toDisposable)((()=>this.reset())))}registerDecoration(e){if(e.marker.isDisposed)return;const t=new u(e);if(t){const e=t.marker.onDispose((()=>t.dispose()));t.onDispose((()=>{t&&(this._decorations.delete(t)&&this._onDecorationRemoved.fire(t),e.dispose())})),this._decorations.insert(t),this._onDecorationRegistered.fire(t)}return t}reset(){for(const e of this._decorations.values())e.dispose();this._decorations.clear()}*getDecorationsAtCell(e,t,n){var r,i,o;let a=0,s=0;for(const c of this._decorations.getKeyIterator(t))a=null!==(r=c.options.x)&&void 0!==r?r:0,s=a+(null!==(i=c.options.width)&&void 0!==i?i:1),e>=a&&e<s&&(!n||(null!==(o=c.options.layer)&&void 0!==o?o:"bottom")===n)&&(yield c)}forEachDecorationAtCell(e,t,n,r){this._decorations.forEachByKey(t,(t=>{var i,o,a;s=null!==(i=t.options.x)&&void 0!==i?i:0,c=s+(null!==(o=t.options.width)&&void 0!==o?o:1),e>=s&&e<c&&(!n||(null!==(a=t.options.layer)&&void 0!==a?a:"bottom")===n)&&r(t)}))}}t.DecorationService=l;class u extends o.Disposable{get isDisposed(){return this._isDisposed}get backgroundColorRGB(){return null===this._cachedBg&&(this.options.backgroundColor?this._cachedBg=r.css.toColor(this.options.backgroundColor):this._cachedBg=void 0),this._cachedBg}get foregroundColorRGB(){return null===this._cachedFg&&(this.options.foregroundColor?this._cachedFg=r.css.toColor(this.options.foregroundColor):this._cachedFg=void 0),this._cachedFg}constructor(e){super(),this.options=e,this.onRenderEmitter=this.register(new i.EventEmitter),this.onRender=this.onRenderEmitter.event,this._onDispose=this.register(new i.EventEmitter),this.onDispose=this._onDispose.event,this._cachedBg=null,this._cachedFg=null,this.marker=e.marker,this.options.overviewRulerOptions&&!this.options.overviewRulerOptions.position&&(this.options.overviewRulerOptions.position="full")}dispose(){this._onDispose.fire(),super.dispose()}}},4348:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;const r=n(2585),i=n(8343);class o{constructor(...e){this._entries=new Map;for(const[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}forEach(e){for(const[t,n]of this._entries.entries())e(t,n)}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}t.ServiceCollection=o,t.InstantiationService=class{constructor(){this._services=new o,this._services.set(r.IInstantiationService,this)}setService(e,t){this._services.set(e,t)}getService(e){return this._services.get(e)}createInstance(e,...t){const n=(0,i.getServiceDependencies)(e).sort(((e,t)=>e.index-t.index)),r=[];for(const t of n){const n=this._services.get(t.id);if(!n)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);r.push(n)}const o=n.length>0?n[0].index:t.length;if(t.length!==o)throw new Error(`[createInstance] First service dependency of ${e.name} at position ${o+1} conflicts with ${t.length} static arguments`);return new e(...[...t,...r])}}},7866:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};
vendor: 10,224 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.traceCall=t.setTraceLogger=t.LogService=void 0;const o=n(844),a=n(2585),s={trace:a.LogLevelEnum.TRACE,debug:a.LogLevelEnum.DEBUG,info:a.LogLevelEnum.INFO,warn:a.LogLevelEnum.WARN,error:a.LogLevelEnum.ERROR,off:a.LogLevelEnum.OFF};let c,l=t.LogService=class extends o.Disposable{get logLevel(){return this._logLevel}constructor(e){super(),this._optionsService=e,this._logLevel=a.LogLevelEnum.OFF,this._updateLogLevel(),this.register(this._optionsService.onSpecificOptionChange("logLevel",(()=>this._updateLogLevel()))),c=this}_updateLogLevel(){this._logLevel=s[this._optionsService.rawOptions.logLevel]}_evalLazyOptionalParams(e){for(let t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())}_log(e,t,n){this._evalLazyOptionalParams(n),e.call(console,(this._optionsService.options.logger?"":"xterm.js: ")+t,...n)}trace(e,...t){var n,r;this._logLevel<=a.LogLevelEnum.TRACE&&this._log(null!==(r=null===(n=this._optionsService.options.logger)||void 0===n?void 0:n.trace.bind(this._optionsService.options.logger))&&void 0!==r?r:console.log,e,t)}debug(e,...t){var n,r;this._logLevel<=a.LogLevelEnum.DEBUG&&this._log(null!==(r=null===(n=this._optionsService.options.logger)||void 0===n?void 0:n.debug.bind(this._optionsService.options.logger))&&void 0!==r?r:console.log,e,t)}info(e,...t){var n,r;this._logLevel<=a.LogLevelEnum.INFO&&this._log(null!==(r=null===(n=this._optionsService.options.logger)||void 0===n?void 0:n.info.bind(this._optionsService.options.logger))&&void 0!==r?r:console.info,e,t)}warn(e,...t){var n,r;this._logLevel<=a.LogLevelEnum.WARN&&this._log(null!==(r=null===(n=this._optionsService.options.logger)||void 0===n?void 0:n.warn.bind(this._optionsService.options.logger))&&void 0!==r?r:console.warn,e,t)}error(e,...t){var n,r;this._logLevel<=a.LogLevelEnum.ERROR&&this._log(null!==(r=null===(n=this._optionsService.options.logger)||void 0===n?void 0:n.error.bind(this._optionsService.options.logger))&&void 0!==r?r:console.error,e,t)}};t.LogService=l=r([i(0,a.IOptionsService)],l),t.setTraceLogger=function(e){c=e},t.traceCall=function(e,t,n){if("function"!=typeof n.value)throw new Error("not supported");const r=n.value;n.value=function(...e){if(c.logLevel!==a.LogLevelEnum.TRACE)return r.apply(this,e);c.trace(`GlyphRenderer#${r.name}(${e.map((e=>JSON.stringify(e))).join(", ")})`);const t=r.apply(this,e);return c.trace(`GlyphRenderer#${r.name} return`,t),t}}},7302:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=void 0;const r=n(8460),i=n(844),o=n(6114);t.DEFAULT_OPTIONS={cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,cursorInactiveStyle:"outline",customGlyphs:!0,drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",ignoreBracketedPasteMode:!1,lineHeight:1,letterSpacing:0,linkHandler:null,logLevel:"info",logger:null,scrollback:1e3,scrollOnUserInput:!0,scrollSensitivity:1,screenReaderMode:!1,smoothScrollDuration:0,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:o.isMac,windowOptions:{},windowsMode:!1,windowsPty:{},wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1,overviewRulerWidth:0};const a=["normal","bold","100","200","300","400","500","600","700","800","900"];class s extends i.Disposable{constructor(e){super(),this._onOptionChange=this.register(new r.EventEmitter),this.onOptionChange=this._onOptionChange.event;const n=Object.assign({},t.DEFAULT_OPTIONS);for(const t in e)if(t in n)try{const r=e[t];n[t]=this._sanitizeAndValidateOption(t,r)}catch(e){console.error(e)}this.rawOptions=n,this.options=Object.assign({},n),this._setupOptions()}onSpecificOptionChange(e,t){return this.onOptionChange((n=>{n===e&&t(this.rawOptions[e])}))}onMultipleOptionChange(e,t){return this.onOptionChange((n=>{-1!==e.indexOf(n)&&t()}))}_setupOptions(){const e=e=>{if(!(e in t.DEFAULT_OPTIONS))throw new Error(`No option with key "${e}"`);return this.rawOptions[e]},n=(e,n)=>{if(!(e in t.DEFAULT_OPTIONS))throw new Error(`No option with key "${e}"`);n=this._sanitizeAndValidateOption(e,n),this.rawOptions[e]!==n&&(this.rawOptions[e]=n,this._onOptionChange.fire(e))};for(const t in this.rawOptions){const r={get:e.bind(this,t),set:n.bind(this,t)};Object.defineProperty(this.options,t,r)}}_sanitizeAndValidateOption(e,n){switch(e){case"cursorStyle":if(n||(n=t.DEFAULT_OPTIONS[e]),!function(e){return"block"===e||"underline"===e||"bar"===e}(n))throw new Error(`"${n}" is not a valid value for ${e}`);break;case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof n&&1<=n&&n<=1e3)break;n=a.includes(n)?n:t.DEFAULT_OPTIONS[e];break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(`${e} cannot be less than 1, value: ${n}`);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(`${e} cannot be less than 0, value: ${n}`);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(`${e} cannot be less than or equal to 0, value: ${n}`);break;case"rows":case"cols":if(!n&&0!==n)throw new Error(`${e} must be numeric, value: ${n}`);break;case"windowsPty":n=null!=n?n:{}}return n}}t.OptionsService=s},2660:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.OscLinkService=void 0;const o=n(2585);let a=t.OscLinkService=class{constructor(e){this._bufferService=e,this._nextId=1,this._entriesWithId=new Map,this._dataByLinkId=new Map}registerLink(e){const t=this._bufferService.buffer;if(void 0===e.id){const n=t.addMarker(t.ybase+t.y),r={data:e,id:this._nextId++,lines:[n]};return n.onDispose((()=>this._removeMarkerFromLink(r,n))),this._dataByLinkId.set(r.id,r),r.id}const n=e,r=this._getEntryIdKey(n),i=this._entriesWithId.get(r);if(i)return this.addLineToLink(i.id,t.ybase+t.y),i.id;const o=t.addMarker(t.ybase+t.y),a={id:this._nextId++,key:this._getEntryIdKey(n),data:n,lines:[o]};return o.onDispose((()=>this._removeMarkerFromLink(a,o))),this._entriesWithId.set(a.key,a),this._dataByLinkId.set(a.id,a),a.id}addLineToLink(e,t){const n=this._dataByLinkId.get(e);if(n&&n.lines.every((e=>e.line!==t))){const e=this._bufferService.buffer.addMarker(t);n.lines.push(e),e.onDispose((()=>this._removeMarkerFromLink(n,e)))}}getLinkData(e){var t;return null===(t=this._dataByLinkId.get(e))||void 0===t?void 0:t.data}_getEntryIdKey(e){return`${e.id};;${e.uri}`}_removeMarkerFromLink(e,t){const n=e.lines.indexOf(t);-1!==n&&(e.lines.splice(n,1),0===e.lines.length&&(void 0!==e.data.id&&this._entriesWithId.delete(e.key),this._dataByLinkId.delete(e.id)))}};t.OscLinkService=a=r([i(0,o.IBufferService)],a)},8343:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0;const n="di$target",r="di$dependencies";t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);const i=function(e,t,o){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,i){t[n]===t?t[r].push({id:e,index:i}):(t[r]=[{id:e,index:i}],t[n]=t)}(i,e,o)};return i.toString=()=>e,t.serviceRegistry.set(e,i),i}},2585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IDecorationService=t.IUnicodeService=t.IOscLinkService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;const r=n(8343);var i;t.IBufferService=(0,r.createDecorator)("BufferService"),t.ICoreMouseService=(0,r.createDecorator)("CoreMouseService"),t.ICoreService=(0,r.createDecorator)("CoreService"),t.ICharsetService=(0,r.createDecorator)("CharsetService"),t.IInstantiationService=(0,r.createDecorator)("InstantiationService"),function(e){e[e.TRACE=0]="TRACE",e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.OFF=5]="OFF"}(i||(t.LogLevelEnum=i={})),t.ILogService=(0,r.createDecorator)("LogService"),t.IOptionsService=(0,r.createDecorator)("OptionsService"),t.IOscLinkService=(0,r.createDecorator)("OscLinkService"),t.IUnicodeService=(0,r.createDecorator)("UnicodeService"),t.IDecorationService=(0,r.createDecorator)("DecorationService")},1480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;const r=n(8460),i=n(225);t.UnicodeService=class{constructor(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter,this.onChange=this._onChange.event;const e=new i.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}dispose(){this._onChange.dispose()}get versions(){return Object.keys(this._providers)}get activeVersion(){return this._active}set activeVersion(e){if(!this._providers[e])throw new Error(`unknown Unicode version "${e}"`);this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)}register(e){this._providers[e.version]=e}wcwidth(e){return this._activeProvider.wcwidth(e)}getStringCellWidth(e){let t=0;const n=e.length;for(let r=0;r<n;++r){let i=e.charCodeAt(r);if(55296<=i&&i<=56319){if(++r>=n)return t+this.wcwidth(i);const o=e.charCodeAt(r);56320<=o&&o<=57343?i=1024*(i-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(i)}return t}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}var r={};return(()=>{var e=r;
2Object.defineProperty(e,"__esModule",{value:!0}),e.Terminal=void 0;const t=n(9042),i=n(3236),o=n(844),a=n(5741),s=n(8285),c=n(7975),l=n(7090),u=["cols","rows"];class f extends o.Disposable{constructor(e){super(),this._core=this.register(new i.Terminal(e)),this._addonManager=this.register(new a.AddonManager),this._publicOptions=Object.assign({},this._core.options);const t=e=>this._core.options[e],n=(e,t)=>{this._checkReadonlyOptions(e),this._core.options[e]=t};for(const e in this._core.options){const r={get:t.bind(this,e),set:n.bind(this,e)};Object.defineProperty(this._publicOptions,e,r)}}_checkReadonlyOptions(e){if(u.includes(e))throw new Error(`Option "${e}" can only be set in the constructor`)}_checkProposedApi(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")}get onBell(){return this._core.onBell}get onBinary(){return this._core.onBinary}get onCursorMove(){return this._core.onCursorMove}get onData(){return this._core.onData}get onKey(){return this._core.onKey}get onLineFeed(){return this._core.onLineFeed}get onRender(){return this._core.onRender}get onResize(){return this._core.onResize}get onScroll(){return this._core.onScroll}get onSelectionChange(){return this._core.onSelectionChange}get onTitleChange(){return this._core.onTitleChange}get onWriteParsed(){return this._core.onWriteParsed}get element(){return this._core.element}get parser(){return this._parser||(this._parser=new c.ParserApi(this._core)),this._parser}get unicode(){return this._checkProposedApi(),new l.UnicodeApi(this._core)}get textarea(){return this._core.textarea}get rows(){return this._core.rows}get cols(){return this._core.cols}get buffer(){return this._buffer||(this._buffer=this.register(new s.BufferNamespaceApi(this._core))),this._buffer}get markers(){return this._checkProposedApi(),this._core.markers}get modes(){const e=this._core.coreService.decPrivateModes;let t="none";switch(this._core.coreMouseService.activeProtocol){case"X10":t="x10";break;case"VT200":t="vt200";break;case"DRAG":t="drag";break;case"ANY":t="any"}return{applicationCursorKeysMode:e.applicationCursorKeys,applicationKeypadMode:e.applicationKeypad,bracketedPasteMode:e.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:t,originMode:e.origin,reverseWraparoundMode:e.reverseWraparound,sendFocusMode:e.sendFocus,wraparoundMode:e.wraparound}}get options(){return this._publicOptions}set options(e){for(const t in e)this._publicOptions[t]=e[t]}blur(){this._core.blur()}focus(){this._core.focus()}resize(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)}open(e){this._core.open(e)}attachCustomKeyEventHandler(e){this._core.attachCustomKeyEventHandler(e)}registerLinkProvider(e){return this._core.registerLinkProvider(e)}registerCharacterJoiner(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)}deregisterCharacterJoiner(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)}registerMarker(e=0){return this._verifyIntegers(e),this._core.registerMarker(e)}registerDecoration(e){var t,n,r;return this._checkProposedApi(),this._verifyPositiveIntegers(null!==(t=e.x)&&void 0!==t?t:0,null!==(n=e.width)&&void 0!==n?n:0,null!==(r=e.height)&&void 0!==r?r:0),this._core.registerDecoration(e)}hasSelection(){return this._core.hasSelection()}select(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)}getSelection(){return this._core.getSelection()}getSelectionPosition(){return this._core.getSelectionPosition()}clearSelection(){this._core.clearSelection()}selectAll(){this._core.selectAll()}selectLines(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)}dispose(){super.dispose()}scrollLines(e){this._verifyIntegers(e),this._core.scrollLines(e)}scrollPages(e){this._verifyIntegers(e),this._core.scrollPages(e)}scrollToTop(){this._core.scrollToTop()}scrollToBottom(){this._core.scrollToBottom()}scrollToLine(e){this._verifyIntegers(e),this._core.scrollToLine(e)}clear(){this._core.clear()}write(e,t){this._core.write(e,t)}writeln(e,t){this._core.write(e),this._core.write("\r\n",t)}paste(e){this._core.paste(e)}refresh(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)}reset(){this._core.reset()}clearTextureAtlas(){this._core.clearTextureAtlas()}loadAddon(e){this._addonManager.loadAddon(this,e)}static get strings(){return t}_verifyIntegers(...e){for(const t of e)if(t===1/0||isNaN(t)||t%1!=0)throw new Error("This API only accepts integers")}_verifyPositiveIntegers(...e){for(const t of e)if(t&&(t===1/0||isNaN(t)||t%1!=0||t<0))throw new Error("This API only accepts positive integers")}}e.Terminal=f})(),r})(),e.exports=t()},85034:function(e){"use strict";const t=Object.getPrototypeOf({});function n(){return function(e){return!("object"!=typeof e||null===e||e instanceof RegExp||e instanceof Date)}}function r(e){function r(e){return"constructor"!==e&&"prototype"!==e&&"__proto__"!==e}const i=Object.prototype.propertyIsEnumerable;const o=e?.symbols?function(e){const t=Object.keys(e),n=Object.getOwnPropertySymbols(e);for(let r=0,o=n.length;r<o;++r)i.call(e,n[r])&&t.push(n[r]);return t}:Object.keys,a="function"==typeof e?.cloneProtoObject?e.cloneProtoObject:void 0,s="function"==typeof e?.isMergeableObject?e.isMergeableObject:n(),c=!0===e?.onlyDefinedProperties;const l=e&&"function"==typeof e.mergeArray?e.mergeArray({clone:u,deepmerge:f,getKeys:o,isMergeableObject:s}):function(e,t){const n=e.length,r=t.length;let i=0;const o=new Array(n+r);for(;i<n;++i)o[i]=u(e[i]);for(i=0;i<r;++i)o[i+n]=u(t[i]);return o};function u(e){return s(e)?Array.isArray(e)?function(e){let t=0;const n=e.length,r=new Array(n);for(;t<n;++t)r[t]=u(e[t]);return r}(e):function(e){const n={};if(a&&Object.getPrototypeOf(e)!==t)return a(e);const i=o(e);let s,c,l;
vendor: 46,563 bytes, line 2
2for(s=0,c=i.length;s<c;++s)r(l=i[s])&&(n[l]=u(e[l]));return n}(e):e}function f(e,n){if(c&&void 0===n)return u(e);const i=Array.isArray(n),h=Array.isArray(e);return"object"!=typeof(d=n)||null===d?n:s(e)?i&&h?l(e,n):i!==h?u(n):function(e,n){const i={},l=o(e),h=o(n);let d,p,g;for(d=0,p=l.length;d<p;++d)r(g=l[d])&&-1===h.indexOf(g)&&(i[g]=u(e[g]));for(d=0,p=h.length;d<p;++d)if(r(g=h[d]))if(g in e)-1!==l.indexOf(g)&&(a&&s(n[g])&&Object.getPrototypeOf(n[g])!==t?i[g]=a(n[g]):i[g]=f(e[g],n[g]));else{if(c&&void 0===n[g])continue;i[g]=u(n[g])}return i}(e,n):u(n);var d}return e?.all?function(){switch(arguments.length){case 0:return{};case 1:return u(arguments[0]);case 2:return f(arguments[0],arguments[1])}let e;for(let t=0,n=arguments.length;t<n;++t)e=f(e,arguments[t]);return e}:f}e.exports=r,e.exports.default=r,e.exports.deepmerge=r,Object.defineProperty(e.exports,"isMergeableObject",{get:n})},28670:function(e){e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=e,n=function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var n=0;n<=3;n++)n<3?((e[n]<0||e[n]>255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},r={},i=0,o=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];i<o.length;i+=1){var a=o[i];r["[object "+a+"]"]=a.toLowerCase()}var s=function(e){return r[Object.prototype.toString.call(e)]||"object"},c=s,l=function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==c(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},u=s,f=function(e){if(e.length<2)return null;var t=e.length-1;return"string"==u(e[t])?e[t].toLowerCase():null},h=Math.PI,d={clip_rgb:n,limit:e,type:s,unpack:l,last:f,PI:h,TWOPI:2*h,PITHIRD:h/3,DEG2RAD:h/180,RAD2DEG:180/h},p={format:{},autodetect:[]},g=d.last,m=d.clip_rgb,v=d.type,y=p,b=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===v(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=g(e),i=!1;if(!r){i=!0,y.sorted||(y.autodetect=y.autodetect.sort((function(e,t){return t.p-e.p})),y.sorted=!0);for(var o=0,a=y.autodetect;o<a.length;o+=1){var s=a[o];if(r=s.test.apply(s,e))break}}if(!y.format[r])throw new Error("unknown format: "+e);var c=y.format[r].apply(null,i?e:e.slice(0,-1));n._rgb=m(c),3===n._rgb.length&&n._rgb.push(1)};b.prototype.toString=function(){return"function"==v(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var _=b,w=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(w.Color,[null].concat(e)))};w.Color=_,w.version="2.4.2";var x=w,S=d.unpack,E=Math.max,k=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=S(e,"rgb"),r=n[0],i=n[1],o=n[2],a=1-E(r/=255,E(i/=255,o/=255)),s=a<1?1/(1-a):0;return[(1-r-a)*s,(1-i-a)*s,(1-o-a)*s,a]},O=k,C=d.unpack,A=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=C(e,"cmyk"))[0],r=e[1],i=e[2],o=e[3],a=e.length>4?e[4]:1;return 1===o?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-o),r>=1?0:255*(1-r)*(1-o),i>=1?0:255*(1-i)*(1-o),a]},T=A,P=x,D=_,M=p,R=d.unpack,j=d.type,N=O;D.prototype.cmyk=function(){return N(this._rgb)},P.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(D,[null].concat(e,["cmyk"])))},M.format.cmyk=T,M.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=R(e,"cmyk"),"array"===j(e)&&4===e.length)return"cmyk"}});var L=d.unpack,I=d.last,B=function(e){return Math.round(100*e)/100},F=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=L(e,"hsla"),r=I(e)||"lsa";return n[0]=B(n[0]||0),n[1]=B(100*n[1])+"%",n[2]=B(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},z=F,U=d.unpack,H=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=U(e,"rgba"))[0],r=e[1],i=e[2];n/=255,r/=255,i/=255;var o,a,s=Math.min(n,r,i),c=Math.max(n,r,i),l=(c+s)/2;return c===s?(o=0,a=Number.NaN):o=l<.5?(c-s)/(c+s):(c-s)/(2-c-s),n==c?a=(r-i)/(c-s):r==c?a=2+(i-n)/(c-s):i==c&&(a=4+(n-r)/(c-s)),(a*=60)<0&&(a+=360),e.length>3&&void 0!==e[3]?[a,o,l,e[3]]:[a,o,l]},q=H,$=d.unpack,W=d.last,V=z,K=q,G=Math.round,Z=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=$(e,"rgba"),r=W(e)||"rgb";return"hsl"==r.substr(0,3)?V(K(n),r):(n[0]=G(n[0]),n[1]=G(n[1]),n[2]=G(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},Y=Z,X=d.unpack,Q=Math.round,J=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,i,o,a=(t=X(t,"hsl"))[0],s=t[1],c=t[2];if(0===s)r=i=o=255*c;else{var l=[0,0,0],u=[0,0,0],f=c<.5?c*(1+s):c+s-c*s,h=2*c-f,d=a/360;l[0]=d+1/3,l[1]=d,l[2]=d-1/3;for(var p=0;p<3;p++)l[p]<0&&(l[p]+=1),l[p]>1&&(l[p]-=1),6*l[p]<1?u[p]=h+6*(f-h)*l[p]:2*l[p]<1?u[p]=f:3*l[p]<2?u[p]=h+(f-h)*(2/3-l[p])*6:u[p]=h;r=(e=[Q(255*u[0]),Q(255*u[1]),Q(255*u[2])])[0],i=e[1],o=e[2]}return t.length>3?[r,i,o,t[3]]:[r,i,o,1]},ee=J,te=ee,ne=p,re=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,ie=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,oe=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ae=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,se=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ce=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,le=Math.round,ue=function(e){var t;if(e=e.toLowerCase().trim(),ne.format.named)try{return ne.format.named(e)}catch(e){}if(t=e.match(re)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match(ie)){for(var i=t.slice(1,5),o=0;o<4;o++)i[o]=+i[o];return i}if(t=e.match(oe)){for(var a=t.slice(1,4),s=0;s<3;s++)a[s]=le(2.55*a[s]);return a[3]=1,a}if(t=e.match(ae)){for(var c=t.slice(1,5),l=0;l<3;l++)c[l]=le(2.55*c[l]);return c[3]=+c[3],c}if(t=e.match(se)){var u=t.slice(1,4);u[1]*=.01,u[2]*=.01;var f=te(u);return f[3]=1,f}if(t=e.match(ce)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var d=te(h);return d[3]=+t[4],d}};ue.test=function(e){return re.test(e)||ie.test(e)||oe.test(e)||ae.test(e)||se.test(e)||ce.test(e)};var fe=ue,he=x,de=_,pe=p,ge=d.type,me=Y,ve=fe;de.prototype.css=function(e){return me(this._rgb,e)},he.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(de,[null].concat(e,["css"])))},pe.format.css=ve,pe.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===ge(e)&&ve.test(e))return"css"}});var ye=_,be=x,_e=p,we=d.unpack;_e.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=we(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},be.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ye,[null].concat(e,["gl"])))},ye.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var xe=d.unpack,Se=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=xe(e,"rgb"),i=r[0],o=r[1],a=r[2],s=Math.min(i,o,a),c=Math.max(i,o,a),l=c-s,u=100*l/255,f=s/(255-l)*100;return 0===l?n=Number.NaN:(i===c&&(n=(o-a)/l),o===c&&(n=2+(a-i)/l),a===c&&(n=4+(i-o)/l),(n*=60)<0&&(n+=360)),[n,u,f]},Ee=Se,ke=d.unpack,Oe=Math.floor,Ce=function(){for(var e,t,n,r,i,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];var c,l,u,f=(a=ke(a,"hcg"))[0],h=a[1],d=a[2];d*=255;var p=255*h;if(0===h)c=l=u=d;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var g=Oe(f/=60),m=f-g,v=d*(1-h),y=v+p*(1-m),b=v+p*m,_=v+p;switch(g){case 0:c=(e=[_,b,v])[0],l=e[1],u=e[2];break;case 1:c=(t=[y,_,v])[0],l=t[1],u=t[2];break;case 2:c=(n=[v,_,b])[0],l=n[1],u=n[2];break;case 3:c=(r=[v,y,_])[0],l=r[1],u=r[2];break;case 4:c=(i=[b,v,_])[0],l=i[1],u=i[2];break;case 5:c=(o=[_,v,y])[0],l=o[1],u=o[2]}}return[c,l,u,a.length>3?a[3]:1]},Ae=Ce,Te=d.unpack,Pe=d.type,De=x,Me=_,Re=p,je=Ee;Me.prototype.hcg=function(){return je(this._rgb)},De.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Me,[null].concat(e,["hcg"])))},Re.format.hcg=Ae,Re.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Te(e,"hcg"),"array"===Pe(e)&&3===e.length)return"hcg"}});var Ne=d.unpack,Le=d.last,Ie=Math.round,Be=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ne(e,"rgba"),r=n[0],i=n[1],o=n[2],a=n[3],s=Le(e)||"auto";void 0===a&&(a=1),"auto"===s&&(s=a<1?"rgba":"rgb");var c="000000"+((r=Ie(r))<<16|(i=Ie(i))<<8|(o=Ie(o))).toString(16);c=c.substr(c.length-6);var l="0"+Ie(255*a).toString(16);switch(l=l.substr(l.length-2),s.toLowerCase()){case"rgba":return"#"+c+l;case"argb":return"#"+l+c;default:return"#"+c}},Fe=Be,ze=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ue=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,He=function(e){if(e.match(ze)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Ue)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},qe=x,$e=_,We=d.type,Ve=p,Ke=Fe;$e.prototype.hex=function(e){return Ke(this._rgb,e)},qe.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply($e,[null].concat(e,["hex"])))},Ve.format.hex=He,Ve.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===We(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var Ge=d.unpack,Ze=d.TWOPI,Ye=Math.min,Xe=Math.sqrt,Qe=Math.acos,Je=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=Ge(e,"rgb"),i=r[0],o=r[1],a=r[2],s=Ye(i/=255,o/=255,a/=255),c=(i+o+a)/3,l=c>0?1-s/c:0;return 0===l?n=NaN:(n=(i-o+(i-a))/2,n/=Xe((i-o)*(i-o)+(i-a)*(o-a)),n=Qe(n),a>o&&(n=Ze-n),n/=Ze),[360*n,l,c]},et=Je,tt=d.unpack,nt=d.limit,rt=d.TWOPI,it=d.PITHIRD,ot=Math.cos,at=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,o=(e=tt(e,"hsi"))[0],a=e[1],s=e[2];return isNaN(o)&&(o=0),isNaN(a)&&(a=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?r=1-((i=(1-a)/3)+(n=(1+a*ot(rt*o)/ot(it-rt*o))/3)):o<2/3?i=1-((n=(1-a)/3)+(r=(1+a*ot(rt*(o-=1/3))/ot(it-rt*o))/3)):n=1-((r=(1-a)/3)+(i=(1+a*ot(rt*(o-=2/3))/ot(it-rt*o))/3)),[255*(n=nt(s*n*3)),255*(r=nt(s*r*3)),255*(i=nt(s*i*3)),e.length>3?e[3]:1]},st=at,ct=d.unpack,lt=d.type,ut=x,ft=_,ht=p,dt=et;ft.prototype.hsi=function(){return dt(this._rgb)},ut.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ft,[null].concat(e,["hsi"])))},ht.format.hsi=st,ht.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ct(e,"hsi"),"array"===lt(e)&&3===e.length)return"hsi"}});var pt=d.unpack,gt=d.type,mt=x,vt=_,yt=p,bt=q;vt.prototype.hsl=function(){return bt(this._rgb)},mt.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(vt,[null].concat(e,["hsl"])))},yt.format.hsl=ee,yt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=pt(e,"hsl"),"array"===gt(e)&&3===e.length)return"hsl"}});var _t=d.unpack,wt=Math.min,xt=Math.max,St=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,o=(e=_t(e,"rgb"))[0],a=e[1],s=e[2],c=wt(o,a,s),l=xt(o,a,s),u=l-c;return i=l/255,0===l?(n=Number.NaN,r=0):(r=u/l,o===l&&(n=(a-s)/u),a===l&&(n=2+(s-o)/u),s===l&&(n=4+(o-a)/u),(n*=60)<0&&(n+=360)),[n,r,i]},Et=St,kt=d.unpack,Ot=Math.floor,Ct=function(){for(var e,t,n,r,i,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];var c,l,u,f=(a=kt(a,"hsv"))[0],h=a[1],d=a[2];if(d*=255,0===h)c=l=u=d;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var p=Ot(f/=60),g=f-p,m=d*(1-h),v=d*(1-h*g),y=d*(1-h*(1-g));switch(p){case 0:c=(e=[d,y,m])[0],l=e[1],u=e[2];break;case 1:c=(t=[v,d,m])[0],l=t[1],u=t[2];break;case 2:c=(n=[m,d,y])[0],l=n[1],u=n[2];break;case 3:c=(r=[m,v,d])[0],l=r[1],u=r[2];break;case 4:c=(i=[y,m,d])[0],l=i[1],u=i[2];break;case 5:c=(o=[d,m,v])[0],l=o[1],u=o[2]}}return[c,l,u,a.length>3?a[3]:1]},At=Ct,Tt=d.unpack,Pt=d.type,Dt=x,Mt=_,Rt=p,jt=Et;Mt.prototype.hsv=function(){return jt(this._rgb)},Dt.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Mt,[null].concat(e,["hsv"])))},Rt.format.hsv=At,Rt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Tt(e,"hsv"),"array"===Pt(e)&&3===e.length)return"hsv"}});var Nt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Lt=Nt,It=d.unpack,Bt=Math.pow,Ft=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=It(e,"rgb"),r=n[0],i=n[1],o=n[2],a=Ht(r,i,o),s=a[0],c=a[1],l=116*c-16;return[l<0?0:l,500*(s-c),200*(c-a[2])]},zt=function(e){return(e/=255)<=.04045?e/12.92:Bt((e+.055)/1.055,2.4)},Ut=function(e){return e>Lt.t3?Bt(e,1/3):e/Lt.t2+Lt.t0},Ht=function(e,t,n){return e=zt(e),t=zt(t),n=zt(n),[Ut((.4124564*e+.3575761*t+.1804375*n)/Lt.Xn),Ut((.2126729*e+.7151522*t+.072175*n)/Lt.Yn),Ut((.0193339*e+.119192*t+.9503041*n)/Lt.Zn)]},qt=Ft,$t=Nt,Wt=d.unpack,Vt=Math.pow,Kt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,o=(e=Wt(e,"lab"))[0],a=e[1],s=e[2];return r=(o+16)/116,n=isNaN(a)?r:r+a/500,i=isNaN(s)?r:r-s/200,r=$t.Yn*Zt(r),n=$t.Xn*Zt(n),i=$t.Zn*Zt(i),[Gt(3.2404542*n-1.5371385*r-.4985314*i),Gt(-.969266*n+1.8760108*r+.041556*i),Gt(.0556434*n-.2040259*r+1.0572252*i),e.length>3?e[3]:1]},Gt=function(e){return 255*(e<=.00304?12.92*e:1.055*Vt(e,1/2.4)-.055)},Zt=function(e){return e>$t.t1?e*e*e:$t.t2*(e-$t.t0)},Yt=Kt,Xt=d.unpack,Qt=d.type,Jt=x,en=_,tn=p,nn=qt;en.prototype.lab=function(){return nn(this._rgb)},Jt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["lab"])))},tn.format.lab=Yt,tn.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Xt(e,"lab"),"array"===Qt(e)&&3===e.length)return"lab"}});var rn=d.unpack,on=d.RAD2DEG,an=Math.sqrt,sn=Math.atan2,cn=Math.round,ln=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=rn(e,"lab"),r=n[0],i=n[1],o=n[2],a=an(i*i+o*o),s=(sn(o,i)*on+360)%360;return 0===cn(1e4*a)&&(s=Number.NaN),[r,a,s]},un=ln,fn=d.unpack,hn=qt,dn=un,pn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=fn(e,"rgb"),r=n[0],i=n[1],o=n[2],a=hn(r,i,o),s=a[0],c=a[1],l=a[2];return dn(s,c,l)},gn=pn,mn=d.unpack,vn=d.DEG2RAD,yn=Math.sin,bn=Math.cos,_n=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=mn(e,"lch"),r=n[0],i=n[1],o=n[2];return isNaN(o)&&(o=0),[r,bn(o*=vn)*i,yn(o)*i]},wn=_n,xn=d.unpack,Sn=wn,En=Yt,kn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=xn(e,"lch"))[0],r=e[1],i=e[2],o=Sn(n,r,i),a=o[0],s=o[1],c=o[2],l=En(a,s,c);return[l[0],l[1],l[2],e.length>3?e[3]:1]},On=kn,Cn=d.unpack,An=On,Tn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Cn(e,"hcl").reverse();return An.apply(void 0,n)},Pn=Tn,Dn=d.unpack,Mn=d.type,Rn=x,jn=_,Nn=p,Ln=gn;jn.prototype.lch=function(){return Ln(this._rgb)},jn.prototype.hcl=function(){return Ln(this._rgb).reverse()},Rn.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(jn,[null].concat(e,["lch"])))},Rn.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(jn,[null].concat(e,["hcl"])))},Nn.format.lch=On,Nn.format.hcl=Pn,["lch","hcl"].forEach((function(e){return Nn.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=Dn(t,e),"array"===Mn(t)&&3===t.length)return e}})}));var In={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Bn=_,Fn=p,zn=d.type,Un=In,Hn=He,qn=Fe;Bn.prototype.name=function(){for(var e=qn(this._rgb,"rgb"),t=0,n=Object.keys(Un);t<n.length;t+=1){var r=n[t];if(Un[r]===e)return r.toLowerCase()}return e},Fn.format.named=function(e){if(e=e.toLowerCase(),Un[e])return Hn(Un[e]);throw new Error("unknown color name: "+e)},Fn.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===zn(e)&&Un[e.toLowerCase()])return"named"}});var $n=d.unpack,Wn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=$n(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Vn=Wn,Kn=d.type,Gn=function(e){if("number"==Kn(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Zn=x,Yn=_,Xn=p,Qn=d.type,Jn=Vn;Yn.prototype.num=function(){return Jn(this._rgb)},Zn.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Yn,[null].concat(e,["num"])))},Xn.format.num=Gn,Xn.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Qn(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var er=x,tr=_,nr=p,rr=d.unpack,ir=d.type,or=Math.round;tr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(or)},tr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:or(t):t}))},er.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tr,[null].concat(e,["rgb"])))},nr.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=rr(e,"rgba");return void 0===n[3]&&(n[3]=1),n},nr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=rr(e,"rgba"),"array"===ir(e)&&(3===e.length||4===e.length&&"number"==ir(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var ar=Math.log,sr=function(e){var t,n,r,i=e/100;return i<66?(t=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*ar(n),r=i<20?0:.8274096064007395*(r=i-10)-254.76935184120902+115.67994401066147*ar(r)):(t=351.97690566805693+.114206453784165*(t=i-55)-40.25366309332127*ar(t),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*ar(n),r=255),[t,n,r,1]},cr=sr,lr=d.unpack,ur=Math.round,fr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=lr(e,"rgb"),i=r[0],o=r[2],a=1e3,s=4e4,c=.4;s-a>c;){var l=cr(n=.5*(s+a));l[2]/l[0]>=o/i?s=n:a=n}return ur(n)},hr=x,dr=_,pr=p,gr=fr;dr.prototype.temp=dr.prototype.kelvin=dr.prototype.temperature=function(){return gr(this._rgb)},hr.temp=hr.kelvin=hr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(dr,[null].concat(e,["temp"])))},pr.format.temp=pr.format.kelvin=pr.format.temperature=sr;var mr=d.unpack,vr=Math.cbrt,yr=Math.pow,br=Math.sign,_r=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=mr(e,"rgb"),r=n[0],i=n[1],o=n[2],a=[xr(r/255),xr(i/255),xr(o/255)],s=a[0],c=a[1],l=a[2],u=vr(.4122214708*s+.5363325363*c+.0514459929*l),f=vr(.2119034982*s+.6806995451*c+.1073969566*l),h=vr(.0883024619*s+.2817188376*c+.6299787005*l);return[.2104542553*u+.793617785*f-.0040720468*h,1.9779984951*u-2.428592205*f+.4505937099*h,.0259040371*u+.7827717662*f-.808675766*h]},wr=_r;function xr(e){var t=Math.abs(e);return t<.04045?e/12.92:(br(e)||1)*yr((t+.055)/1.055,2.4)}var Sr=d.unpack,Er=Math.pow,kr=Math.sign,Or=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Sr(e,"lab"))[0],r=e[1],i=e[2],o=Er(n+.3963377774*r+.2158037573*i,3),a=Er(n-.1055613458*r-.0638541728*i,3),s=Er(n-.0894841775*r-1.291485548*i,3);return[255*Ar(4.0767416621*o-3.3077115913*a+.2309699292*s),255*Ar(-1.2684380046*o+2.6097574011*a-.3413193965*s),255*Ar(-.0041960863*o-.7034186147*a+1.707614701*s),e.length>3?e[3]:1]},Cr=Or;function Ar(e){var t=Math.abs(e);return t>.0031308?(kr(e)||1)*(1.055*Er(t,1/2.4)-.055):12.92*e}var Tr=d.unpack,Pr=d.type,Dr=x,Mr=_,Rr=p,jr=wr;Mr.prototype.oklab=function(){return jr(this._rgb)},Dr.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Mr,[null].concat(e,["oklab"])))},Rr.format.oklab=Cr,Rr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Tr(e,"oklab"),"array"===Pr(e)&&3===e.length)return"oklab"}});var Nr=d.unpack,Lr=wr,Ir=un,Br=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Nr(e,"rgb"),r=n[0],i=n[1],o=n[2],a=Lr(r,i,o),s=a[0],c=a[1],l=a[2];return Ir(s,c,l)},Fr=Br,zr=d.unpack,Ur=wn,Hr=Cr,qr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=zr(e,"lch"))[0],r=e[1],i=e[2],o=Ur(n,r,i),a=o[0],s=o[1],c=o[2],l=Hr(a,s,c);return[l[0],l[1],l[2],e.length>3?e[3]:1]},$r=qr,Wr=d.unpack,Vr=d.type,Kr=x,Gr=_,Zr=p,Yr=Fr;Gr.prototype.oklch=function(){return Yr(this._rgb)},Kr.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Gr,[null].concat(e,["oklch"])))},Zr.format.oklch=$r,Zr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Wr(e,"oklch"),"array"===Vr(e)&&3===e.length)return"oklch"}});var Xr=_,Qr=d.type;Xr.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Qr(e)?t?(this._rgb[3]=e,this):new Xr([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},_.prototype.clipped=function(){return this._rgb._clipped||!1};var Jr=_,ei=Nt;Jr.prototype.darken=function(e){void 0===e&&(e=1);var t=this,n=t.lab();return n[0]-=ei.Kn*e,new Jr(n,"lab").alpha(t.alpha(),!0)},Jr.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},Jr.prototype.darker=Jr.prototype.darken,Jr.prototype.brighter=Jr.prototype.brighten,_.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],i=this[n]();if(r){var o=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(o>-1)return i[o];throw new Error("unknown channel "+r+" in mode "+n)}return i};var ti=_,ni=d.type,ri=Math.pow,ii=1e-7,oi=20;ti.prototype.luminance=function(e){if(void 0!==e&&"number"===ni(e)){if(0===e)return new ti([0,0,0,this._rgb[3]],"rgb");if(1===e)return new ti([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n="rgb",r=oi,i=function(t,o){var a=t.interpolate(o,.5,n),s=a.luminance();return Math.abs(e-s)<ii||!r--?a:s>e?i(t,a):i(a,o)},o=(t>e?i(new ti([0,0,0]),this):i(this,new ti([255,255,255]))).rgb();return new ti(o.concat([this._rgb[3]]))}return ai.apply(void 0,this._rgb.slice(0,3))};var ai=function(e,t,n){return.2126*(e=si(e))+.7152*(t=si(t))+.0722*(n=si(n))},si=function(e){return(e/=255)<=.03928?e/12.92:ri((e+.055)/1.055,2.4)},ci={},li=_,ui=d.type,fi=ci,hi=function(e,t,n){void 0===n&&(n=.5);for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var o=r[0]||"lrgb";if(fi[o]||r.length||(o=Object.keys(fi)[0]),!fi[o])throw new Error("interpolation mode "+o+" is not defined");return"object"!==ui(e)&&(e=new li(e)),"object"!==ui(t)&&(t=new li(t)),fi[o](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))},di=_,pi=hi;di.prototype.mix=di.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return pi.apply(void 0,[this,e,t].concat(n))};var gi=_;gi.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new gi([t[0]*n,t[1]*n,t[2]*n,n],"rgb")};var mi=_,vi=Nt;mi.prototype.saturate=function(e){void 0===e&&(e=1);var t=this,n=t.lch();return n[1]+=vi.Kn*e,n[1]<0&&(n[1]=0),new mi(n,"lch").alpha(t.alpha(),!0)},mi.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var yi=_,bi=d.type;yi.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),i=r[0],o=r[1],a=this[i]();if(o){var s=i.indexOf(o)-("ok"===i.substr(0,2)?2:0);if(s>-1){if("string"==bi(t))switch(t.charAt(0)){case"+":case"-":a[s]+=+t;break;case"*":a[s]*=+t.substr(1);break;case"/":a[s]/=+t.substr(1);break;default:a[s]=+t}else{if("number"!==bi(t))throw new Error("unsupported value for Color.set");a[s]=t}var c=new yi(a,i);return n?(this._rgb=c._rgb,this):c}throw new Error("unknown channel "+o+" in mode "+i)}return a};var _i=_,wi=function(e,t,n){var r=e._rgb,i=t._rgb;return new _i(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};ci.rgb=wi;var xi=_,Si=Math.sqrt,Ei=Math.pow,ki=function(e,t,n){var r=e._rgb,i=r[0],o=r[1],a=r[2],s=t._rgb,c=s[0],l=s[1],u=s[2];return new xi(Si(Ei(i,2)*(1-n)+Ei(c,2)*n),Si(Ei(o,2)*(1-n)+Ei(l,2)*n),Si(Ei(a,2)*(1-n)+Ei(u,2)*n),"rgb")};ci.lrgb=ki;var Oi=_,Ci=function(e,t,n){var r=e.lab(),i=t.lab();return new Oi(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};ci.lab=Ci;var Ai=_,Ti=function(e,t,n,r){var i,o,a,s,c,l,u,f,h,d,p,g,m;return"hsl"===r?(a=e.hsl(),s=t.hsl()):"hsv"===r?(a=e.hsv(),s=t.hsv()):"hcg"===r?(a=e.hcg(),s=t.hcg()):"hsi"===r?(a=e.hsi(),s=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",a=e.hcl(),s=t.hcl()):"oklch"===r&&(a=e.oklch().reverse(),s=t.oklch().reverse()),"h"!==r.substr(0,1)&&"oklch"!==r||(c=(i=a)[0],u=i[1],h=i[2],l=(o=s)[0],f=o[1],d=o[2]),isNaN(c)||isNaN(l)?isNaN(c)?isNaN(l)?g=Number.NaN:(g=l,1!=h&&0!=h||"hsv"==r||(p=f)):(g=c,1!=d&&0!=d||"hsv"==r||(p=u)):g=c+n*(l>c&&l-c>180?l-(c+360):l<c&&c-l>180?l+360-c:l-c),void 0===p&&(p=u+n*(f-u)),m=h+n*(d-h),new Ai("oklch"===r?[m,p,g]:[g,p,m],r)},Pi=Ti,Di=function(e,t,n){return Pi(e,t,n,"lch")};ci.lch=Di,ci.hcl=Di;var Mi=_,Ri=function(e,t,n){var r=e.num(),i=t.num();return new Mi(r+n*(i-r),"num")};ci.num=Ri;var ji=Ti,Ni=function(e,t,n){return ji(e,t,n,"hcg")};ci.hcg=Ni;var Li=Ti,Ii=function(e,t,n){return Li(e,t,n,"hsi")};ci.hsi=Ii;var Bi=Ti,Fi=function(e,t,n){return Bi(e,t,n,"hsl")};ci.hsl=Fi;var zi=Ti,Ui=function(e,t,n){return zi(e,t,n,"hsv")};ci.hsv=Ui;var Hi=_,qi=function(e,t,n){var r=e.oklab(),i=t.oklab();return new Hi(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")};ci.oklab=qi;var $i=Ti,Wi=function(e,t,n){return $i(e,t,n,"oklch")};ci.oklch=Wi;var Vi=_,Ki=d.clip_rgb,Gi=Math.pow,Zi=Math.sqrt,Yi=Math.PI,Xi=Math.cos,Qi=Math.sin,Ji=Math.atan2,eo=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var i=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=i})),e=e.map((function(e){return new Vi(e)})),"lrgb"===t)return to(e,n);for(var o=e.shift(),a=o.get(t),s=[],c=0,l=0,u=0;u<a.length;u++)if(a[u]=(a[u]||0)*n[0],s.push(isNaN(a[u])?0:n[0]),"h"===t.charAt(u)&&!isNaN(a[u])){var f=a[u]/180*Yi;c+=Xi(f)*n[0],l+=Qi(f)*n[0]}var h=o.alpha()*n[0];e.forEach((function(e,r){var i=e.get(t);h+=e.alpha()*n[r+1];for(var o=0;o<a.length;o++)if(!isNaN(i[o]))if(s[o]+=n[r+1],"h"===t.charAt(o)){var u=i[o]/180*Yi;c+=Xi(u)*n[r+1],l+=Qi(u)*n[r+1]}else a[o]+=i[o]*n[r+1]}));for(var d=0;d<a.length;d++)if("h"===t.charAt(d)){for(var p=Ji(l/s[d],c/s[d])/Yi*180;p<0;)p+=360;for(;p>=360;)p-=360;a[d]=p}else a[d]=a[d]/s[d];return h/=r,new Vi(a,t).alpha(h>.99999?1:h,!0)},to=function(e,t){for(var n=e.length,r=[0,0,0,0],i=0;i<e.length;i++){var o=e[i],a=t[i]/n,s=o._rgb;r[0]+=Gi(s[0],2)*a,r[1]+=Gi(s[1],2)*a,r[2]+=Gi(s[2],2)*a,r[3]+=s[3]*a}return r[0]=Zi(r[0]),r[1]=Zi(r[1]),r[2]=Zi(r[2]),r[3]>.9999999&&(r[3]=1),new Vi(Ki(r))},no=x,ro=d.type,io=Math.pow,oo=function(e){var t="rgb",n=no("#ccc"),r=0,i=[0,1],o=[],a=[0,0],s=!1,c=[],l=!1,u=0,f=1,h=!1,d={},p=!0,g=1,m=function(e){if((e=e||["#fff","#000"])&&"string"===ro(e)&&no.brewer&&no.brewer[e.toLowerCase()]&&(e=no.brewer[e.toLowerCase()]),"array"===ro(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=no(e[t]);o.length=0;for(var n=0;n<e.length;n++)o.push(n/(e.length-1))}return w(),c=e},v=function(e){if(null!=s){for(var t=s.length-1,n=0;n<t&&e>=s[n];)n++;return n-1}return 0},y=function(e){return e},b=function(e){return e},_=function(e,r){var i,l;if(null==r&&(r=!1),isNaN(e)||null===e)return n;l=r?e:s&&s.length>2?v(e)/(s.length-2):f!==u?(e-u)/(f-u):1,l=b(l),r||(l=y(l)),1!==g&&(l=io(l,g)),l=a[0]+l*(1-a[0]-a[1]),l=Math.min(1,Math.max(0,l));var h=Math.floor(1e4*l);if(p&&d[h])i=d[h];else{if("array"===ro(c))for(var m=0;m<o.length;m++){var _=o[m];if(l<=_){i=c[m];break}if(l>=_&&m===o.length-1){i=c[m];break}if(l>_&&l<o[m+1]){l=(l-_)/(o[m+1]-_),i=no.interpolate(c[m],c[m+1],l,t);break}}else"function"===ro(c)&&(i=c(l));p&&(d[h]=i)}return i},w=function(){return d={}};m(e);var x=function(e){var t=no(_(e));return l&&t[l]?t[l]():t};return x.classes=function(e){if(null!=e){if("array"===ro(e))s=e,i=[e[0],e[e.length-1]];else{var t=no.analyze(i);s=0===e?[t.min,t.max]:no.limits(t,"e",e)}return x}return s},x.domain=function(e){if(!arguments.length)return i;u=e[0],f=e[e.length-1],o=[];var t=c.length;if(e.length===t&&u!==f)for(var n=0,r=Array.from(e);n<r.length;n+=1){var a=r[n];o.push((a-u)/(f-u))}else{for(var s=0;s<t;s++)o.push(s/(t-1));if(e.length>2){var l=e.map((function(t,n){return n/(e.length-1)})),h=e.map((function(e){return(e-u)/(f-u)}));h.every((function(e,t){return l[t]===e}))||(b=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=h[t+1];)t++;var n=(e-h[t])/(h[t+1]-h[t]);return l[t]+n*(l[t+1]-l[t])})}}return i=[u,f],x},x.mode=function(e){return arguments.length?(t=e,w(),x):t},x.range=function(e,t){return m(e),x},x.out=function(e){return l=e,x},x.spread=function(e){return arguments.length?(r=e,x):r},x.correctLightness=function(e){return null==e&&(e=!0),h=e,w(),y=h?function(e){for(var t=_(0,!0).lab()[0],n=_(1,!0).lab()[0],r=t>n,i=_(e,!0).lab()[0],o=t+(n-t)*e,a=i-o,s=0,c=1,l=20;Math.abs(a)>.01&&l-- >0;)r&&(a*=-1),a<0?(s=e,e+=.5*(c-e)):(c=e,e+=.5*(s-e)),i=_(e,!0).lab()[0],a=i-o;return e}:function(e){return e},x},x.padding=function(e){return null!=e?("number"===ro(e)&&(e=[e,e]),a=e,x):a},x.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=c.slice(0);else if(1===t)r=[x(.5)];else if(t>1){var o=i[0],a=i[1]-o;r=ao(0,t,!1).map((function(e){return x(o+e/(t-1)*a)}))}else{e=[];var l=[];if(s&&s.length>2)for(var u=1,f=s.length,h=1<=f;h?u<f:u>f;h?u++:u--)l.push(.5*(s[u-1]+s[u]));else l=i;r=l.map((function(e){return x(e)}))}return no[n]&&(r=r.map((function(e){return e[n]()}))),r},x.cache=function(e){return null!=e?(p=e,x):p},x.gamma=function(e){return null!=e?(g=e,x):g},x.nodata=function(e){return null!=e?(n=no(e),x):n},x};function ao(e,t,n){for(var r=[],i=e<t,o=n?i?t+1:t-1:t,a=e;i?a<o:a>o;i?a++:a--)r.push(a);return r}var so=_,co=oo,lo=function(e){for(var t=[1,1],n=1;n<e;n++){for(var r=[1],i=1;i<=t.length;i++)r[i]=(t[i]||0)+t[i-1];t=r}return t},uo=function(e){var t,n,r,i,o,a,s;if(2===(e=e.map((function(e){return new so(e)}))).length)t=e.map((function(e){return e.lab()})),o=t[0],a=t[1],i=function(e){var t=[0,1,2].map((function(t){return o[t]+e*(a[t]-o[t])}));return new so(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),o=n[0],a=n[1],s=n[2],i=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*o[t]+2*(1-e)*e*a[t]+e*e*s[t]}));return new so(t,"lab")};else if(4===e.length){var c;r=e.map((function(e){return e.lab()})),o=r[0],a=r[1],s=r[2],c=r[3],i=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*o[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*s[t]+e*e*e*c[t]}));return new so(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var l,u,f;l=e.map((function(e){return e.lab()})),f=e.length-1,u=lo(f),i=function(e){var t=1-e,n=[0,1,2].map((function(n){return l.reduce((function(r,i,o){return r+u[o]*Math.pow(t,f-o)*Math.pow(e,o)*i[n]}),0)}));return new so(n,"lab")}}return i},fo=function(e){var t=uo(e);return t.scale=function(){return co(t)},t},ho=x,po=function(e,t,n){if(!po[n])throw new Error("unknown blend mode "+n);return po[n](e,t)},go=function(e){return function(t,n){var r=ho(n).rgb(),i=ho(t).rgb();return ho.rgb(e(r,i))}},mo=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}},vo=function(e){return e},yo=function(e,t){return e*t/255},bo=function(e,t){return e>t?t:e},_o=function(e,t){return e>t?e:t},wo=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},xo=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},So=function(e,t){return 255*(1-(1-t/255)/(e/255))},Eo=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e};po.normal=go(mo(vo)),po.multiply=go(mo(yo)),po.screen=go(mo(wo)),po.overlay=go(mo(xo)),po.darken=go(mo(bo)),po.lighten=go(mo(_o)),po.dodge=go(mo(Eo)),po.burn=go(mo(So));for(var ko=po,Oo=d.type,Co=d.clip_rgb,Ao=d.TWOPI,To=Math.pow,Po=Math.sin,Do=Math.cos,Mo=x,Ro=function(e,t,n,r,i){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=[0,1]);var o,a=0;"array"===Oo(i)?o=i[1]-i[0]:(o=0,i=[i,i]);var s=function(s){var c=Ao*((e+120)/360+t*s),l=To(i[0]+o*s,r),u=(0!==a?n[0]+s*a:n)*l*(1-l)/2,f=Do(c),h=Po(c);return Mo(Co([255*(l+u*(-.14861*f+1.78277*h)),255*(l+u*(-.29227*f-.90649*h)),255*(l+u*(1.97294*f)),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?r:(r=e,s)},s.hue=function(e){return null==e?n:("array"===Oo(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,s)},s.lightness=function(e){return null==e?i:("array"===Oo(e)?(i=e,o=e[1]-e[0]):(i=[e,e],o=0),s)},s.scale=function(){return Mo.scale(s)},s.hue(n),s},jo=_,No="0123456789abcdef",Lo=Math.floor,Io=Math.random,Bo=function(){for(var e="#",t=0;t<6;t++)e+=No.charAt(Lo(16*Io()));return new jo(e,"hex")},Fo=s,zo=Math.log,Uo=Math.pow,Ho=Math.floor,qo=Math.abs,$o=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Fo(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Fo(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return Wo(n,e,t)},n},Wo=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==Fo(e)&&(e=$o(e));var r=e.min,i=e.max,o=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,i];var a=[];if("c"===t.substr(0,1)&&(a.push(r),a.push(i)),"e"===t.substr(0,1)){a.push(r);for(var s=1;s<n;s++)a.push(r+s/n*(i-r));a.push(i)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var c=Math.LOG10E*zo(r),l=Math.LOG10E*zo(i);a.push(r);for(var u=1;u<n;u++)a.push(Uo(10,c+u/n*(l-c)));a.push(i)}else if("q"===t.substr(0,1)){a.push(r);for(var f=1;f<n;f++){var h=(o.length-1)*f/n,d=Ho(h);if(d===h)a.push(o[d]);else{var p=h-d;a.push(o[d]*(1-p)+o[d+1]*p)}}a.push(i)}else if("k"===t.substr(0,1)){var g,m=o.length,v=new Array(m),y=new Array(n),b=!0,_=0,w=null;(w=[]).push(r);for(var x=1;x<n;x++)w.push(r+x/n*(i-r));for(w.push(i);b;){for(var S=0;S<n;S++)y[S]=0;for(var E=0;E<m;E++)for(var k=o[E],O=Number.MAX_VALUE,C=void 0,A=0;A<n;A++){var T=qo(w[A]-k);T<O&&(O=T,C=A),y[C]++,v[E]=C}for(var P=new Array(n),D=0;D<n;D++)P[D]=null;for(var M=0;M<m;M++)null===P[g=v[M]]?P[g]=o[M]:P[g]+=o[M];for(var R=0;R<n;R++)P[R]*=1/y[R];b=!1;for(var j=0;j<n;j++)if(P[j]!==w[j]){b=!0;break}w=P,++_>200&&(b=!1)}for(var N={},L=0;L<n;L++)N[L]=[];for(var I=0;I<m;I++)N[g=v[I]].push(o[I]);for(var B=[],F=0;F<n;F++)B.push(N[F][0]),B.push(N[F][N[F].length-1]);B=B.sort((function(e,t){return e-t})),a.push(B[0]);for(var z=1;z<B.length;z+=2){var U=B[z];isNaN(U)||-1!==a.indexOf(U)||a.push(U)}}return a},Vo={analyze:$o,limits:Wo},Ko=_,Go=function(e,t){e=new Ko(e),t=new Ko(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},Zo=_,Yo=Math.sqrt,Xo=Math.pow,Qo=Math.min,Jo=Math.max,ea=Math.atan2,ta=Math.abs,na=Math.cos,ra=Math.sin,ia=Math.exp,oa=Math.PI,aa=function(e,t,n,r,i){void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=1);var o=function(e){return 360*e/(2*oa)},a=function(e){return 2*oa*e/360};e=new Zo(e),t=new Zo(t);var s=Array.from(e.lab()),c=s[0],l=s[1],u=s[2],f=Array.from(t.lab()),h=f[0],d=f[1],p=f[2],g=(c+h)/2,m=(Yo(Xo(l,2)+Xo(u,2))+Yo(Xo(d,2)+Xo(p,2)))/2,v=.5*(1-Yo(Xo(m,7)/(Xo(m,7)+Xo(25,7)))),y=l*(1+v),b=d*(1+v),_=Yo(Xo(y,2)+Xo(u,2)),w=Yo(Xo(b,2)+Xo(p,2)),x=(_+w)/2,S=o(ea(u,y)),E=o(ea(p,b)),k=S>=0?S:S+360,O=E>=0?E:E+360,C=ta(k-O)>180?(k+O+360)/2:(k+O)/2,A=1-.17*na(a(C-30))+.24*na(a(2*C))+.32*na(a(3*C+6))-.2*na(a(4*C-63)),T=O-k;T=ta(T)<=180?T:O<=k?T+360:T-360,T=2*Yo(_*w)*ra(a(T)/2);var P=h-c,D=w-_,M=1+.015*Xo(g-50,2)/Yo(20+Xo(g-50,2)),R=1+.045*x,j=1+.015*x*A,N=30*ia(-Xo((C-275)/25,2)),L=-2*Yo(Xo(x,7)/(Xo(x,7)+Xo(25,7)))*ra(2*a(N)),I=Yo(Xo(P/(n*M),2)+Xo(D/(r*R),2)+Xo(T/(i*j),2)+L*(D/(r*R))*(T/(i*j)));return Jo(0,Qo(100,I))},sa=_,ca=function(e,t,n){void 0===n&&(n="lab"),e=new sa(e),t=new sa(t);var r=e.get(n),i=t.get(n),o=0;for(var a in r){var s=(r[a]||0)-(i[a]||0);o+=s*s}return Math.sqrt(o)},la=_,ua=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(la,[null].concat(e))),!0}catch(e){return!1}},fa=x,ha=oo,da={cool:function(){return ha([fa.hsl(180,1,.9),fa.hsl(250,.7,.4)])},hot:function(){return ha(["#000","#f00","#ff0","#fff"]).mode("rgb")}},pa={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},ga=0,ma=Object.keys(pa);ga<ma.length;ga+=1){var va=ma[ga];pa[va.toLowerCase()]=pa[va]}var ya=pa,ba=x;return ba.average=eo,ba.bezier=fo,ba.blend=ko,ba.cubehelix=Ro,ba.mix=ba.interpolate=hi,ba.random=Bo,ba.scale=oo,ba.analyze=Vo.analyze,ba.contrast=Go,ba.deltaE=aa,ba.distance=ca,ba.limits=Vo.limits,ba.valid=ua,ba.scales=da,ba.colors=In,ba.brewer=ya,ba}()},33390:function(e){function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((n=>{const r=e[n],i=typeof r;"object"!==i&&"function"!==i||Object.isFrozen(r)||t(r)})),e}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const o=e=>!!e.scope;class a{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!o(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){o(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const s=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class c{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=s({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEac
vendor: 1,956 bytes, line 2
2h((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{c._collapse(e)})))}}class l extends c{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function u(e){return e?"string"==typeof e?e:e.source:null}function f(e){return p("(?=",e,")")}function h(e){return p("(?:",e,")*")}function d(e){return p("(?:",e,")?")}function p(...e){return e.map((e=>u(e))).join("")}function g(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>u(e))).join("|")+")"}function m(e){return new RegExp(e.toString()+"|").exec("").length-1}const v=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=u(e),i="";for(;r.length>0;){const e=v.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i})).map((e=>`(${e})`)).join(t)}const b="[a-zA-Z]\\w*",_="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",x="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",E={begin:"\\\\[\\s\\S]",relevance:0},k={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[E]},O={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[E]},C=function(e,t,n={}){const r=i({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});
vendor: 19,128 bytes, line 2
2const o=g("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:p(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},A=C("//","$"),T=C("/\\*","\\*/"),P=C("#","$"),D={scope:"number",begin:w,relevance:0},M={scope:"number",begin:x,relevance:0},R={scope:"number",begin:S,relevance:0},j={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[E,{begin:/\[/,end:/\]/,relevance:0,contains:[E]}]},N={scope:"title",begin:b,relevance:0},L={scope:"title",begin:_,relevance:0},I={begin:"\\.\\s*"+_,relevance:0};var B=Object.freeze({__proto__:null,APOS_STRING_MODE:k,BACKSLASH_ESCAPE:E,BINARY_NUMBER_MODE:R,BINARY_NUMBER_RE:S,COMMENT:C,C_BLOCK_COMMENT_MODE:T,C_LINE_COMMENT_MODE:A,C_NUMBER_MODE:M,C_NUMBER_RE:x,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:P,IDENT_RE:b,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:I,NUMBER_MODE:D,NUMBER_RE:w,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:O,REGEXP_MODE:j,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=p(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:N,UNDERSCORE_IDENT_RE:_,UNDERSCORE_TITLE_MODE:L});function F(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function z(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=F,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function H(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function q(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function $(e,t){void 0===e.relevance&&(e.relevance=1)}const W=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=p(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},V=["of","and","for","in","not","or","if","then","parent","list","value"],K="keyword";function G(e,t,n=K){const r=Object.create(null);return"string"==typeof e?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach((function(n){Object.assign(r,G(e[n],t,n))})),r;function i(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,Z(n[0],n[1])]}))}}function Z(e,t){return t?Number(t):function(e){return V.includes(e.toLowerCase())}(e)?0:1}const Y={},X=e=>{console.error(e)},Q=(e,...t)=>{console.log(`WARN: ${e}`,...t)},J=(e,t)=>{Y[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Y[`${e}/${t}`]=!0)},ee=new Error;function te(e,t,{key:n}){let r=0;const i=e[n],o={},a={};for(let e=1;e<=t.length;e++)a[e+r]=i[e],o[e+r]=!0,r+=m(t[e-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function ne(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw X("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ee;if("object"!=typeof e.beginScope||null===e.beginScope)throw X("beginScope must be object"),ee;te(e,e.begin,{key:"beginScope"}),e.begin=y(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw X("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ee;if("object"!=typeof e.endScope||null===e.endScope)throw X("endScope must be object"),ee;te(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}function re(e){function t(t,n){return new RegExp(u(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(y(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function n(o,a){const s=o;if(o.isCompiled)return s;[z,q,ne,W].forEach((e=>e(o,a))),e.compilerExtensions.forEach((e=>e(o,a))),o.__beforeBegin=null,[U,H,$].forEach((e=>e(o,a))),o.isCompiled=!0;let c=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=G(o.keywords,e.case_insensitive)),s.keywordPatternRe=t(c,!0),a&&(o.begin||(o.begin=/\B|\b/),s.beginRe=t(s.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(s.endRe=t(s.end)),s.terminatorEnd=u(s.end)||"",o.endsWithParent&&a.terminatorEnd&&(s.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(s.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return i(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ie(e))return i(e,{starts:e.starts?i(e.starts):null});if(Object.isFrozen(e))return i(e);return e}("self"===e?o:e)}))),o.contains.forEach((function(e){n(e,s)})),o.starts&&n(o.starts,a),s.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}(e)}function ie(e){return!!e&&(e.endsWithParent||ie(e.starts))}class oe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ae=r,se=i,ce=Symbol("nomatch"),le=7,ue=function(e){const r=Object.create(null),i=Object.create(null),o=[];let a=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:l};function m(e){return u.noHighlightRe.test(e)}function v(e,t,n){let r="",i="";"object"==typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(J("10.7.0","highlight(lang, code, ...args) has been deprecated."),J("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);const o={code:r,language:i};O("before:highlight",o);const a=o.result?o.result:y(o.language,o.code,n);return a.code=o.code,O("after:highlight",a),a}function y(e,t,i,o){const c=Object.create(null);function l(){if(!O.keywords)return void A.addText(T);let e=0;O.keywordPatternRe.lastIndex=0;let t=O.keywordPatternRe.exec(T),n="";for(;t;){n+=T.substring(e,t.index);const i=x.case_insensitive?t[0].toLowerCase():t[0],o=(r=i,O.keywords[r]);if(o){const[e,r]=o;if(A.addText(n),n="",c[i]=(c[i]||0)+1,c[i]<=le&&(P+=r),e.startsWith("_"))n+=t[0];else{const n=x.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0];e=O.keywordPatternRe.lastIndex,t=O.keywordPatternRe.exec(T)}var r;n+=T.substring(e),A.addText(n)}function f(){null!=O.subLanguage?function(){if(""===T)return;let e=null;if("string"==typeof O.subLanguage){if(!r[O.subLanguage])return void A.addText(T);e=y(O.subLanguage,T,!0,C[O.subLanguage]),C[O.subLanguage]=e._top}else e=b(T,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(P+=e.relevance),A.__addSublanguage(e._emitter,e.language)}():l(),T=""}function h(e,t){""!==e&&(A.startScope(t),A.addText(e),A.endScope())}function d(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=x.classNameAliases[e[n]]||e[n],i=t[n];r?h(i,r):(T=i,l(),T=""),n++}}function p(e,t){return e.scope&&"string"==typeof e.scope&&A.openNode(x.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h(T,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),T=""):e.beginScope._multi&&(d(e.beginScope,t),T="")),O=Object.create(e,{parent:{value:O}}),O}function g(e,t,r){let i=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,r);if(i){if(e["on:end"]){const r=new n(e);e["on:end"](t,r),r.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,t,r)}function m(e){return 0===O.matcher.regexIndex?(T+=e[0],1):(R=!0,0)}function v(e){const n=e[0],r=t.substring(e.index),i=g(O,e,r);if(!i)return ce;const o=O;O.endScope&&O.endScope._wrap?(f(),h(n,O.endScope._wrap)):O.endScope&&O.endScope._multi?(f(),d(O.endScope,e)):o.skip?T+=n:(o.returnEnd||o.excludeEnd||(T+=n),f(),o.excludeEnd&&(T=n));do{O.scope&&A.closeNode(),O.skip||O.subLanguage||(P+=O.relevance),O=O.parent}while(O!==i.parent);return i.starts&&p(i.starts,e),o.returnEnd?0:n.length}let _={};function w(r,o){const s=o&&o[0];if(T+=r,null==s)return f(),0;if("begin"===_.type&&"end"===o.type&&_.index===o.index&&""===s){if(T+=t.slice(o.index,o.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=_.rule,t}return 1}if(_=o,"begin"===o.type)return function(e){const t=e[0],r=e.rule,i=new n(r),o=[r.__beforeBegin,r["on:begin"]];for(const n of o)if(n&&(n(e,i),i.isMatchIgnored))return m(t);return r.skip?T+=t:(r.excludeBegin&&(T+=t),f(),r.returnBegin||r.excludeBegin||(T=t)),p(r,e),r.returnBegin?0:t.length}(o);if("illegal"===o.type&&!i){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(O.scope||"<unnamed>")+'"');throw e.mode=O,e}if("end"===o.type){const e=v(o);if(e!==ce)return e}if("illegal"===o.type&&""===s)return T+="\n",1;if(M>1e5&&M>3*o.index){throw new Error("potential infinite loop, way more iterations than matches")}return T+=s,s.length}const x=S(e);if(!x)throw X(s.replace("{}",e)),new Error('Unknown language: "'+e+'"');const E=re(x);let k="",O=o||E;const C={},A=new u.__emitter(u);!function(){const e=[];for(let t=O;t!==x;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>A.openNode(e)))}();let T="",P=0,D=0,M=0,R=!1;try{if(x.__emitTokens)x.__emitTokens(t,A);else{for(O.matcher.considerAll();;){M++,R?R=!1:O.matcher.considerAll(),O.matcher.lastIndex=D;const e=O.matcher.exec(t);if(!e)break;const n=w(t.substring(D,e.index),e);D=e.index+n}w(t.substring(D))}return A.finalize(),k=A.toHTML(),{language:e,value:k,relevance:P,illegal:!1,_emitter:A,_top:O}}catch(n){if(n.message&&n.message.includes("Illegal"))return{language:e,value:ae(t),illegal:!0,relevance:0,_illegalBy:{message:n.message,index:D,context:t.slice(D-100,D+100),mode:n.mode,resultSoFar:k},_emitter:A};if(a)return{language:e,value:ae(t),illegal:!1,relevance:0,errorRaised:n,_emitter:A,_top:O};throw n}}function b(e,t){t=t||u.languages||Object.keys(r);const n=function(e){const t={value:ae(e),illegal:!1,relevance:0,_top:c,_emitter:new u.__emitter(u)};return t._emitter.addText(e),t}(e),i=t.filter(S).filter(k).map((t=>y(t,e,!1)));i.unshift(n);const o=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(S(e.language).supersetOf===t.language)return 1;if(S(t.language).supersetOf===e.language)return-1}return 0})),[a,s]=o,l=a;return l.secondBest=s,l}function _(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t);if(n){const t=S(n[1]);return t||(Q(s.replace("{}",n[1])),Q("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>m(e)||S(e)))}(e);if(m(n))return;if(O("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(u.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),u.throwUnescapedHTML)){throw new oe("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const r=t.textContent,o=n?v(r,{language:n,ignoreIllegals:!0}):b(r);e.innerHTML=o.value,e.dataset.highlighted="yes",function(e,t,n){const r=t&&i[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)}(e,n,o.language),e.result={language:o.language,re:o.relevance,relevance:o.relevance},o.secondBest&&(e.secondBest={language:o.secondBest.language,relevance:o.secondBest.relevance}),O("after:highlightElement",{el:e,result:o,text:r})}let w=!1;function x(){if("loading"===document.readyState)return w||window.addEventListener("DOMContentLoaded",(function(){x()}),!1),void(w=!0);document.querySelectorAll(u.cssSelector).forEach(_)}function S(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{i[e.toLowerCase()]=t}))}function k(e){const t=S(e);return t&&!t.disableAutodetect}function O(e,t){const n=e;o.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(e,{highlight:v,highlightAuto:b,highlightAll:x,highlightElement:_,highlightBlock:function(e){return J("10.7.0","highlightBlock will be removed entirely in v12.0"),J("10.7.0","Please use highlightElement now."),_(e)},configure:function(e){u=se(u,e)},initHighlighting:()=>{x(),J("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){x(),J("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let i=null;try{i=n(e)}catch(e){if(X("Language definition for '{}' could not be registered.".replace("{}",t)),!a)throw e;X(e),i=c}i.name||(i.name=t),r[t]=i,i.rawDefinition=n.bind(null,e),i.aliases&&E(i.aliases,{languageName:t})},unregisterLanguage:function(e){delete r[e];for(const t of Object.keys(i))i[t]===e&&delete i[t]},listLanguages:function(){return Object.keys(r)},getLanguage:S,registerAliases:E,autoDetection:k,inherit:se,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),o.push(e)},removePlugin:function(e){const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="11.11.1",e.regex={concat:p,lookahead:f,either:g,optional:d,anyNumberOfTimes:h};for(const e in B)"object"==typeof B[e]&&t(B[e]);return Object.assign(e,B),e},fe=ue({});fe.newInstance=()=>ue({}),e.exports=fe,fe.HighlightJS=fe,fe.default=fe},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(83997);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(83997);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},61120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},94334:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4942);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
2))),i.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},82963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002),i=n(97326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},86854:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);var i=n(40181);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},83997:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},24750:function(e,t,n){"use strict";n.d(t,{x7:function(){return ne},X5:function(){return Q},Me:function(){return Y},oo:function(){return oe},RR:function(){return ee},Qo:function(){return re},dr:function(){return ie},cv:function(){return X},uY:function(){return J},dp:function(){return te}});const r=["start","end"],i=["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-"+r[0],t+"-"+r[1])),[]),o=Math.min,a=Math.max,s=Math.round,c=Math.floor,l=e=>({x:e,y:e}
vendor: 4,294 bytes, line 2
2),u={left:"right",right:"left",bottom:"top",top:"bottom"};function f(e,t,n){return a(e,o(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return g(v(e))}function b(e,t,n){void 0===n&&(n=!1);const r=p(e),i=y(e),o=m(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=O(a)),[a,O(a)]}function _(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const w=["left","right"],x=["right","left"],S=["top","bottom"],E=["bottom","top"];function k(e,t,n,r){const i=p(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?x:w:t?w:x;case"left":case"right":return t?S:E;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(_)))),o}function O(e){const t=d(e);return u[t]+e.slice(t.length)}function C(e){return"number"!=typeof e?function(e){var t,n,r,i;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}}(e):{top:e,right:e,bottom:e,left:e}}function A(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function T(e,t,n){let{reference:r,floating:i}=e;const o=v(t),a=y(t),s=m(a),c=d(t),l="y"===o,u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let g;switch(c){case"top":g={x:u,y:r.y-i.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-i.width,y:f};break;default:g={x:r.x,y:r.y}}const b=p(t);return b&&(g[a]+=h*("end"===b?1:-1)*(n&&l?-1:1)),g}async function P(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=h(t,e),g=C(p),m=s[d?"floating"===f?"reference":"floating":f],v=A(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),y="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),_=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},w=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:c}):y);return{top:(v.top-w.top+g.top)/_.y,bottom:(w.bottom-v.bottom+g.bottom)/_.y,left:(v.left-w.left+g.left)/_.x,right:(w.right-v.right+g.right)/_.x}}function D(e){const t=o(...e.map((e=>e.left))),n=o(...e.map((e=>e.top)));return{x:t,y:n,width:a(...e.map((e=>e.right)))-t,height:a(...e.map((e=>e.bottom)))-n}}const M=new Set(["left","top"]);var R=n(37317);function j(e){const t=(0,R.Dx)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=(0,R.Re)(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,c=s(n)!==o||s(r)!==a;return c&&(n=o,r=a),{width:n,height:r,$:c}}function N(e){return(0,R.kK)(e)?e:e.contextElement}function L(e){const t=N(e);if(!(0,R.Re)(t))return l(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=j(t);let a=(o?s(n.width):n.width)/r,c=(o?s(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const I=l(0);function B(e){const t=(0,R.Jj)(e);return(0,R.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:I}function F(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=N(e);let a=l(1);t&&(r?(0,R.kK)(r)&&(a=L(r)):a=L(e));const s=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===(0,R.Jj)(e)}(o,n,r)?B(o):l(0);let c=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,f=i.width/a.x,h=i.height/a.y;if(o&&r){const e=(0,R.Jj)(o),t=(0,R.kK)(r)?(0,R.Jj)(r):r;let n=e,i=(0,R.wK)(n);for(;i&&t!==n;){const e=L(i),t=i.getBoundingClientRect(),r=(0,R.Dx)(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.to
vendor: 6,625 bytes, line 2
2p+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,f*=e.x,h*=e.y,c+=o,u+=a,n=(0,R.Jj)(i),i=(0,R.wK)(n)}}return A({width:f,height:h,x:c,y:u})}function z(e,t){const n=(0,R.Lw)(e).scrollLeft;return t?t.left+n:F((0,R.tF)(e)).left+n}function U(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-z(e,n),y:n.top+t.scrollTop}}const H=25;function q(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,i=(0,R.Jj)(e),o=(0,R.tF)(e),a=i.visualViewport;let s=o.clientWidth,c=o.clientHeight,l=0,u=0;if(a){const e=!(0,R.Pf)()||"fixed"===t;r?e||(l=-a.offsetLeft,u=-a.offsetTop):(s=a.width,c=a.height,e&&(l=a.offsetLeft,u=a.offsetTop))}if(z(o)<=0){const e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),a="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;a<=H&&(s-=a)}return{width:s,height:c,x:l,y:u}}(e,n,t);else if("document"===t)r=function(e){const t=(0,R.Lw)(e),n=e.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=a(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-t.scrollLeft+z(e);const s=-t.scrollTop;return"rtl"===(0,R.Dx)(n).direction&&(o+=a(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:s}}((0,R.tF)(e));else if((0,R.kK)(t))r=function(e,t){const n=F(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=L(e);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=B(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function $(e,t,n){const r=(0,R.Re)(t),i=(0,R.tF)(t),o="fixed"===n,a=F(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=l(0);if((r||!o)&&(("body"!==(0,R.wk)(t)||(0,R.ao)(i))&&(s=(0,R.Lw)(t)),r)){const e=F(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=z(i));const u=!i||r||o?l(0):U(i,s);return{x:a.left+s.scrollLeft-c.x-u.x,y:a.top+s.scrollTop-c.y-u.y,width:a.width,height:a.height}}function W(e){return"static"===(0,R.Dx)(e).position}function V(e,t){if(!(0,R.Re)(e)||"fixed"===(0,R.Dx)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,R.tF)(e)===n&&(n=n.ownerDocument.body),n}function K(e,t){const n=(0,R.Jj)(e);if((0,R.tR)(e))return n;if(!(0,R.Re)(e)){let t=(0,R.Ow)(e);for(;t&&!(0,R.Py)(t);){if((0,R.kK)(t)&&!W(t))return t;t=(0,R.Ow)(t)}return n}let r=V(e,t);for(;r&&(0,R.Ze)(r)&&W(r);)r=V(r,t);return r&&(0,R.Py)(r)&&W(r)&&!(0,R.hT)(r)?n:r||(0,R.gQ)(e)||n}const G={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=(0,R.tF)(r),s=!!t&&(0,R.tR)(t.floating);if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},u=l(1);const f=l(0),h=(0,R.Re)(r);if((h||!o)&&(("body"!==(0,R.wk)(r)||(0,R.ao)(a))&&(c=(0,R.Lw)(r)),h)){const e=F(r);u=L(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}const d=!a||h||o?l(0):U(a,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-c.scrollTop*u.y+f.y+d.y}},getDocumentElement:R.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[..."clippingAncestors"===n?(0,R.tR)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,R.Kx)(e,[],!1).filter((e=>(0,R.kK)(e)&&"body"!==(0,R.wk)(e))),i=null;const o="fixed"===(0,R.Dx)(e).position;let a=o?(0,R.Ow)(e):e;for(;(0,R.kK)(a)&&!(0,R.Py)(a);){const e=(0,R.Dx)(a),t=(0,R.hT)(a),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter((e=>e!==a)),a=(0,R.Ow)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],c=q(t,s[0],i);let l=c.top,u=c.right,f=c.bottom,h=c.left;for(let e=1;e<s.length;e++){const n=q(t,s[e],i);l=a(n.top,l),u=o(n.right,u),f=o(n.bottom,f),h=a(n.left,h)}return{width:u-h,height:f-l,x:h,y:l}},getOffsetParent:K,getElementRects:async function(e){const t=this.getOffsetParent||K,n=this.getDimensions,r=await n(e.floating);return{reference:$(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=j(e);return{width:t,height:n}},getScale:L,isElement:R.kK,isRTL:function(e){return"rtl"===(0,R.Dx)(e).direction}};function Z(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Y(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=N(e),d=i||s?[...h?(0,R.Kx)(h):[],...t?(0,R.Kx)(t):[]]:[];d.forEach((e=>{i&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)}));const p=h&&u?function(e,t,n){let r,i=null;const s=(0,R.tF)(e);function l(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function u(n,f){void 0===n&&(n=!1),void 0===f&&(f=1),l();const h=e.getBoundingClientRect(),{left:d,top:p,width:g,height:m}=h;if(n||t(),!g||!m)return;const v={rootMargin:-c(p)+"px "+-c(s.clientWidth-(d+g))+"px "+-c(s.clientHeight-(p+m))+"px "+-c(d)+"px",threshold:a(0,o(1,f))||1};let y=!0;function b(t){const n=t[0].intersectionRatio;if(!Z(h,e.getBoundingClientRect()))return u();if(n!==f){if(!y)return u();n?u(!1,n):r=setTimeout((()=>{u(!1,1e-7)}),1e3)}y=!1}try{i=new IntersectionObserver(b,{...v,root:s.ownerDocument})}catch(e){i=new IntersectionObserver(b,v)}i.observe(e)}const f=(0,R.Jj)(e),h=()=>u(n);return f.addEventListener("resize",h),u(!0),()=>{f.removeEventListener("resize",h),l()}}(h,n,s):null;let g,m=-1,v=null;l&&(v=new ResizeObserver((e=>{let[r]=e;r&&r.target===h&&v&&t&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=v)||e.observe(t)}))),n()})),h&&!f&&v.observe(h),t&&v.observe(t));let y=f?F(e):null;return f&&function t(){const r=F(e);y&&!Z(y,r)&&n();y=r,g=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach((e=>{i&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(g)}}const X=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=d(n),s=p(n),c="y"===v(n),l=M.has(a)?-1:1,u=o&&c?-1:1,f=h(t,e);let{mainAxis:g,crossAxis:m,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
vendor: 4,896 bytes, line 2
2:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof y&&(m="end"===s?-1*y:y),c?{x:m*u,y:g*l}:{x:g*l,y:m*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},Q=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:a,middlewareData:s,placement:c,platform:l,elements:u}=t,{crossAxis:f=!1,alignment:g,allowedPlacements:m=i,autoAlignment:v=!0,...y}=h(e,t),w=void 0!==g||m===i?function(e,t,n){return(e?[...n.filter((t=>p(t)===e)),...n.filter((t=>p(t)!==e))]:n.filter((e=>d(e)===e))).filter((n=>!e||p(n)===e||!!t&&_(n)!==n))}(g||null,v,m):m,x=(null==(n=s.autoPlacement)?void 0:n.index)||0,S=w[x];if(null==S)return{};if(c!==S)return{reset:{placement:w[0]}};const E=await l.detectOverflow(t,y),k=b(S,a,await(null==l.isRTL?void 0:l.isRTL(u.floating))),O=[E[d(S)],E[k[0]],E[k[1]]],C=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:S,overflows:O}],A=w[x+1];if(A)return{data:{index:x+1,overflows:C},reset:{placement:A}};const T=C.map((e=>{const t=p(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),P=(null==(o=T.filter((e=>e[2].slice(0,p(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||T[0][0];return P!==c?{data:{index:x+1,overflows:C},reset:{placement:P}}:{}}}},J=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=h(e,t),u={x:n,y:r},d=await o.detectOverflow(t,l),p=v(i),m=g(p);let y=u[m],b=u[p];const _=(e,t)=>f(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);a&&(y=_(m,y)),s&&(b=_(p,b));const w=c.fn({...t,[m]:y,[p]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[m]:a,[p]:s}}}}}},ee=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...w}=h(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const x=d(i),S=v(s),E=d(s)===s,C=await(null==c.isRTL?void 0:c.isRTL(l.floating)),A=p||(E||!y?[O(s)]:function(e){const t=O(e);return[_(e),t,_(t)]}(s)),T="none"!==m;!p&&T&&A.push(...k(s,y,m,C));const P=[s,...A],D=await c.detectOverflow(t,w),M=[];let R=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&M.push(D[x]),f){const e=b(i,a,C);M.push(D[e[0]],D[e[1]])}if(R=[...R,{placement:i,overflows:M}],!M.every((e=>e<=0))){var j,N;const e=((null==(j=o.flip)?void 0:j.index)||0)+1,t=P[e];if(t){if(!("alignment"===f&&S!==v(t))||R.every((e=>v(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}}}let n=null==(N=R.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(g){case"bestFit":{var L;const e=null==(L=R.filter((e=>{if(T){const t=v(e.placement);return t===S||"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:L[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},te=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:s}=t,{apply:c=(()=>{}),...l}=h(e,t),u=await i.detectOverflow(t,l),f=d(n),g=p(n),m="y"===v(n),{width:y,height:b}=r.floating;let _,w;"top"===f||"bottom"===f?(_=f,w=g===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(w=f,_="end"===g?"top":"bottom");const x=b-u.top-u.bottom,S=y-u.left-u.right,E=o(b-u[_],x),k=o(y-u[w],S),O=t.middlewareData.shift,C=!O;let A=E,T=k;null!=O&&O.enabled.x&&(T=S),null!=O&&O.enabled.y&&(A=x),C&&!g&&(m?T=y-2*a(u.left,u.right):A=b-2*a(u.top,u.bottom)),await c({...t,availableWidth:T,availableHeight:A});const P=await i.getDimensions(s.floating);return y!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}},ne=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:s,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=h(e,t)||{};if(null==u)return{};const g=C(d),v={x:n,y:r},b=y(i),_=m(b),w=await s.getDimensions(u),x="y"===b,S=x?"top":"left",E=x?"bottom":"right",k=x?"clientHeight":"clientWidth",O=a.reference[_]+a.reference[b]-v[b]-a.floating[_],A=v[b]-a.reference[b],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let P=T?T[k]:0;P&&await(null==s.isElement?void 0:s.isElement(T))||(P=c.floating[k]||a.floating[_]);const D=O/2-A/2,M=P/2-w[_]/2-1,R=o(g[S],M),j=o(g[E],M),N=P-w[_]-j,L=P/2-w[_]/2+D,I=f(R,L,N),B=!l.arrow&&null!=p(i)&&L!==I&&a.reference[_]/2-(L<R?R:j)-w[_]/2<0,F=B?L<R?L-R:L-N:0;
vendor: 4,530 bytes, line 2
2return{[b]:v[b]+F,data:{[b]:I,centerOffset:L-I-F,...B&&{alignmentOffset:F}},reset:B}}}),re=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:i,platform:s,strategy:c}=t,{padding:l=2,x:u,y:f}=h(e,t),p=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]);if(!p.length)return{};const g=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let e=0;e<t.length;e++){const i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map((e=>A(D(e))))}(p),m=A(D(p)),y=C(l);const b=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=u&&null!=f)return g.find((e=>u>e.left-y.left&&u<e.right+y.right&&f>e.top-y.top&&f<e.bottom+y.bottom))||m;if(g.length>=2){if("y"===v(n)){const e=g[0],t=g[g.length-1],r="top"===d(n),i=e.top,o=t.bottom,a=r?e.left:t.left;return A({x:a,y:i,width:(r?e.right:t.right)-a,height:o-i})}const e="left"===d(n),t=a(...g.map((e=>e.right))),r=o(...g.map((e=>e.left))),i=g.filter((n=>e?n.left===r:n.right===t)),s=i[0].top,c=i[i.length-1].bottom;return A({x:r,y:s,width:t-r,height:c-s})}return m}},floating:r.floating,strategy:c});return i.reference.x!==b.reference.x||i.reference.y!==b.reference.y||i.reference.width!==b.reference.width||i.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ie=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r;const{x:i,y:o,placement:a,rects:s,middlewareData:c}=t,{offset:l=0,mainAxis:u=!0,crossAxis:f=!0}=h(e,t),p={x:i,y:o},m=v(a),y=g(m);let b=p[y],_=p[m];const w=h(l,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(n=w.mainAxis)?n:0,crossAxis:null!=(r=w.crossAxis)?r:0};if(u){const e="y"===y?"height":"width",t=s.reference[y]-s.floating[e]+x.mainAxis,n=s.reference[y]+s.reference[e]-x.mainAxis;b<t?b=t:b>n&&(b=n)}if(f){var S,E;const e="y"===y?"width":"height",t=M.has(d(a)),n=s.reference[m]-s.floating[e]+(t&&(null==(S=c.offset)?void 0:S[m])||0)+(t?0:x.crossAxis),r=s.reference[m]+s.reference[e]+(t?0:(null==(E=c.offset)?void 0:E[m])||0)-(t?x.crossAxis:0);_<n?_=n:_>r&&(_=r)}return{[y]:b,[m]:_}}}},oe=(e,t,n)=>{const r=new Map,i=null!=n?n:{},o={...G,...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:P},c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=T(l,r,c),h=r,d=0;const p={};for(let n=0;n<o.length;n++){const g=o[n];if(!g)continue;const{name:m,fn:v}=g,{x:y,y:b,data:_,reset:w}=await v({x:u,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:l,platform:s,elements:{reference:e,floating:t}});u=null!=y?y:u,f=null!=b?b:f,p[m]={...p[m],..._},w&&d<50&&(d++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(l=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:u,y:f}=T(l,h,c))),n=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:p}})(e,t,{...i,platform:o})}},1371:function(e,t,n){"use strict";n.d(t,{RR:function(){return p},X5:function(){return g},YF:function(){return f},cv:function(){return h},uY:function(){return d},x7:function(){return m}});var r=n(24750),i=n(67294),o=n(73935),a="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function c(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function l(e,t){const n=c(e);return Math.round(t*n)/n}function u(e){const t=i.useRef(e);return a((()=>{t.current=e})),t}function f(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:h,elements:{reference:d,floating:p}={},transform:g=!0,whileElementsMounted:m,open:v}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[_,w]=i.useState(f);s(_,f)||w(f);const[x,S]=i.useState(null),[E,k]=i.useState(null),O=i.useCallback((e=>
vendor: 4,474 bytes, line 2
2{e!==P.current&&(P.current=e,S(e))}),[]),C=i.useCallback((e=>{e!==D.current&&(D.current=e,k(e))}),[]),A=d||x,T=p||E,P=i.useRef(null),D=i.useRef(null),M=i.useRef(y),R=null!=m,j=u(m),N=u(h),L=u(v),I=i.useCallback((()=>{if(!P.current||!D.current)return;const e={placement:t,strategy:n,middleware:_};N.current&&(e.platform=N.current),(0,r.oo)(P.current,D.current,e).then((e=>{const t={...e,isPositioned:!1!==L.current};B.current&&!s(M.current,t)&&(M.current=t,o.flushSync((()=>{b(t)})))}))}),[_,t,n,N,L]);a((()=>{!1===v&&M.current.isPositioned&&(M.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[v]);const B=i.useRef(!1);a((()=>(B.current=!0,()=>{B.current=!1})),[]),a((()=>{if(A&&(P.current=A),T&&(D.current=T),A&&T){if(j.current)return j.current(A,T,I);I()}}),[A,T,I,j,R]);const F=i.useMemo((()=>({reference:P,floating:D,setReference:O,setFloating:C})),[O,C]),z=i.useMemo((()=>({reference:A,floating:T})),[A,T]),U=i.useMemo((()=>{const e={position:n,left:0,top:0};if(!z.floating)return e;const t=l(z.floating,y.x),r=l(z.floating,y.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...c(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,g,z.floating,y.x,y.y]);return i.useMemo((()=>({...y,update:I,refs:F,elements:z,floatingStyles:U})),[y,I,F,z,U])}const h=(e,t)=>{const n=(0,r.cv)(e);return{name:n.name,fn:n.fn,options:[e,t]}},d=(e,t)=>{const n=(0,r.uY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{const n=(0,r.RR)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{const n=(0,r.X5)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:i}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{};var o}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},37317:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function i(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof o(e).Node)}function c(e){return!!r()&&(e instanceof Element||e instanceof o(e).Element)}function l(e){return!!r()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=x(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function h(e){return/^(table|td|th)$/.test(i(e))}function d(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{Dx:function(){return x},Jj:function(){return o},Kx:function(){return O},Lw:function(){return S},Ow:function(){return E},Pf:function(){return _},Py:function(){return w},Re:function(){return l},Ze:function(){return h},ao:function(){return f},gQ:function(){return b},hT:function(){return y},kK:function(){return c},tF:function(){return a},tR:function(){return d},wK:function(){return C},wk:function(){return i}});const p=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;let v;function y(e){const t=c(e)?x(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!_()&&(m(t.backdropFilter)||m(t.filter))||p.test(t.willChange||"")||g.test(t.contain||"")}function b(e){let t=E(e);for(;l(t)&&!w(t);){if(y(t))return t;if(d(t))return null;t=E(t)}return null}function _(){return null==v&&(v="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),v}function w(e){return/^(html|body|#document)$/.test(i(e))}function x(e){return o(e).getComputedStyle(e)}function S(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function E(e){if("html"===i(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}function k(e){const t=E(e);return w(t)?(e.ownerDocument||e).body:l(t)&&f(t)?t:k(t)}function O(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=k(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),s=o(i);if(a){const e=C(s);
2return t.concat(s,s.visualViewport||[],f(i)?i:[],e&&n?O(e):[])}return t.concat(i,O(i,[],n))}function C(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},69983:function(e,t,n){"use strict";function r(e){return t=>typeof t===e}n.d(t,{Z:function(){return u}});var i=r("function"),o=e=>"RegExp"===Object.prototype.toString.call(e).slice(8,-1),a=e=>!s(e)&&!(e=>null===e)(e)&&(i(e)||"object"==typeof e),s=r("undefined");function c(e,t,n){return!!function(e,t,n){return e.get(t)?.has(n)??!1}(n,e,t)||(function(e,t,n){let r=e.get(t);r||(r=new WeakSet,e.set(t,r));r.add(n)}(n,e,t),e.constructor===t.constructor&&(Array.isArray(e)&&Array.isArray(t)?function(e,t,n){const{length:r}=e;if(r!==t.length)return!1;for(let i=r;0!=i--;)if(!l(e[i],t[i],n))return!1;return!0}(e,t,n):e instanceof Map&&t instanceof Map?function(e,t,n){if(e.size!==t.size)return!1;for(const n of e.entries())if(!t.has(n[0]))return!1;for(const r of e.entries())if(!l(r[1],t.get(r[0]),n))return!1;return!0}(e,t,n):e instanceof Set&&t instanceof Set?function(e,t){if(e.size!==t.size)return!1;for(const n of e.entries())if(!t.has(n[0]))return!1;return!0}(e,t):!(e instanceof WeakMap||e instanceof WeakSet)&&(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)?function(e,t){if(e.byteLength!==t.byteLength)return!1;const n=new DataView(e.buffer),r=new DataView(t.buffer);let i=e.byteLength;for(;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}(e,t):o(e)&&o(t)?e.source===t.source&&e.flags===t.flags:e instanceof Error&&t instanceof Error?function(e,t,n){return e.message===t.message&&e.name===t.name&&l(e.cause,t.cause,n)}(e,t,n):e.valueOf!==Object.prototype.valueOf?e.valueOf()===t.valueOf():e.toString!==Object.prototype.toString?e.toString()===t.toString():function(e,t,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let e=r.length;0!=e--;)if(!Object.prototype.hasOwnProperty.call(t,r[e]))return!1;for(let i=r.length;0!=i--;){const o=r[i];if(("_owner"!==o||!e.$$typeof)&&!l(e[o],t[o],n))return!1}return!0}(e,t,n))))}function l(e,t,n){return e===t||(!(!Number.isNaN(e)||!Number.isNaN(t))||!!(e&&a(e)&&t&&a(t))&&c(e,t,n))}function u(e,t){return l(e,t,new WeakMap)}},53710:function(e,t,n){"use strict";n.d(t,{D9:function(){return h},U5:function(){return d},b6:function(){return p},iP:function(){return g},rf:function(){return f}});var r=n(67294),i=n(69983);function o(){return!("undefined"==typeof window||!window?.document?.createElement)}function a(){}function s(e,...t){e&&e.removeEventListener&&e.removeEventListener(...t)}function c(e,...t){e&&e.addEventListener&&e.addEventListener(...t)}function l(e,t,n){0}function u(){const e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}function f(e,t){const n=u();(0,r.useEffect)((()=>{if(!n)return e()}),t)}o()?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(void 0);return(0,r.useEffect)((()=>{t.current=e})),t.current}o();function d(e,t){l();const n=(0,r.useRef)(t);return(0,i.Z)(t,n.current)||(n.current=t),(0,r.useMemo)(e,n.current)}function p(e){(0,r.useEffect)((()=>{e()}),[])}function g(e=0){const[t,n]=(0,r.useState)({height:o()?window.innerHeight:0,width:o()?window.innerWidth:0}),i=(0,r.useRef)(0),a=(0,r.useRef)((()=>{window.clearTimeout(i.current),i.current=window.setTimeout((()=>{n({width:window.innerWidth,height:window.innerHeight})}),e)}));return(0,r.useEffect)((()=>{if(!o())return()=>{};const e=a.current;return n({height:window.innerHeight,width:window.innerWidth}),c(window,"resize",e),()=>{s(window,"resize",e)}}),[]),t}},66474:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(7506),i=n(24139),o=new class extends r.l{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!i.sk&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
2this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}}},54948:function(e,t,n){"use strict";n.d(t,{Gm:function(){return i},Qy:function(){return s},ZF:function(){return c}});var r=n(24139);function i(e){return{onFetch:(t,n)=>{const i=async()=>{const n=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],c=t.state.data?.pageParams||[],l={pages:[],pageParams:[]};let u=!1;const f=(0,r.cG)(t.options,t.fetchOptions),h=async(e,n,i)=>{if(u)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const o={queryKey:t.queryKey,pageParam:n,direction:i?"backward":"forward",meta:t.options.meta};var a;a=o,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",(()=>{u=!0})),t.signal)});const s=await f(o),{maxPages:c}=t.options,l=i?r.Ht:r.VX;return{pages:l(e.pages,s,c),pageParams:l(e.pageParams,n,c)}};let d;if(i&&s.length){const e="backward"===i,t={pages:s,pageParams:c},r=(e?a:o)(n,t);d=await h(t,r,e)}else{d=await h(l,c[0]??n.initialPageParam);const t=e??s.length;for(let e=1;e<t;e++){const e=o(n,d);if(null==e)break;d=await h(d,e)}}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=i}}}function o(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function a(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function s(e,t){return!!t&&null!=o(e,t)}function c(e,t){return!(!t||!e.getPreviousPageParam)&&null!=a(e,t)}},27037:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>setTimeout(e,0);const o=r=>{t?e.push(r):i((()=>{n(r)}))},a=()=>{const t=e;e=[],t.length&&i((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{o((()=>{e(...t)}))},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}()},14304:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(7506),i=n(24139),o=new class extends r.l{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!i.sk&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#r}}},56888:function(e,t,n){"use strict";n.d(t,{A:function(){return s},z:function(){return c}});var r=n(24139),i=n(27037),o=n(72008),a=n(48907),s=class extends a.F{#i;#o;#a;#s;#c;#l;constructor(e){super(),this.#l=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#i=function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#i,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#a.remove(this)}setData(e,t){const n=(0,r.oE)(this.state.data,e,this.options);return this.#u({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#u({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(r.ZT).catch(r.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#i)}isActive(){return this.observers.some((e=>!1!==(0,r.Nc)(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.Kp)(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e=>e.shouldFetchOnWindowFocus()))?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find((e=>e.shouldFetchOnReconnect()))?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>
2t!==e)),this.observers.length||(this.#s&&(this.#l?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const n=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#l=!0,n.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=(0,r.cG)(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return i(n),this.#l=!1,this.options.persister?this.options.persister(e,n,this):e(n)}};i(a),this.options.behavior?.onFetch(a,this),this.#o=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#u({type:"fetch",meta:a.fetchOptions?.meta});const s=e=>{(0,o.DV)(e)&&e.silent||this.#u({type:"error",error:e}),(0,o.DV)(e)||(this.#a.config.onError?.(e,this),this.#a.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#s=(0,o.Mz)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{void 0!==e?(this.setData(e),this.#a.config.onSuccess?.(e,this),this.#a.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#s.start()}#u(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return(0,o.DV)(n)&&n.revert&&this.#o?{...this.#o,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.V.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#a.notify({query:this,type:"updated",action:e})}))}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,o.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},95855:function(e,t,n){"use strict";n.d(t,{S:function(){return m}});var r=n(24139),i=n(56888),o=n(27037),a=n(7506),s=class extends a.l{constructor(e={}){super(),this.config=e,this.#f=new Map}#f;build(e,t,n){const o=t.queryKey,a=t.queryHash??(0,r.Rm)(o,t);let s=this.get(a);return s||(s=new i.A({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){this.#f.has(e.queryHash)||(this.#f.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#f.get(e.queryHash);t&&(e.destroy(),t===e&&this.#f.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#f.get(e)}getAll(){return[...this.#f.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,r._x)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,r._x)(e,t))):t}notify(e){o.V.batch((()=>
2{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){o.V.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){o.V.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},c=n(48907),l=n(72008),u=class extends c.F{#h;#d;#s;constructor(e){super(),this.mutationId=e.mutationId,this.#d=e.mutationCache,this.#h=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#h.includes(e)||(this.#h.push(e),this.clearGcTimeout(),this.#d.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#h=this.#h.filter((t=>t!==e)),this.scheduleGc(),this.#d.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#h.length||("pending"===this.state.status?this.scheduleGc():this.#d.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){this.#s=(0,l.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#d.canRun(this)});const t="pending"===this.state.status,n=!this.#s.canStart();try{if(!t){this.#u({type:"pending",variables:e,isPaused:n}),await(this.#d.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#u({type:"pending",context:t,variables:e,isPaused:n})}const r=await this.#s.start();return await(this.#d.config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(this.#d.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),this.#u({type:"success",data:r}),r}catch(t){try{throw await(this.#d.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#d.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#u({type:"error",error:t})}}finally{this.#d.runNext(this)}}#u(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),o.V.batch((()=>{this.#h.forEach((t=>{t.onMutationUpdate(e)})),this.#d.notify({mutation:this,type:"updated",action:e})}))}};var f=class extends a.l{constructor(e={}){super(),this.config=e,this.#p=new Map,this.#g=Date.now()}#p;#g;build(e,t,n){const r=new u({mutationCache:this,mutationId:++this.#g,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=h(e),n=this.#p.get(t)??[];n.push(e),this.#p.set(t,n),this.notify({type:"added",mutation:e})}remove(e){const t=h(e);if(this.#p.has(t)){const n=this.#p.get(t)?.filter((t=>t!==e));n&&(0===n.length?this.#p.delete(t):this.#p.set(t,n))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#p.get(h(e))?.find((e=>"pending"===e.state.status));return!t||t===e}runNext(e){const t=this.#p.get(h(e))?.find((t=>
2t!==e&&t.state.isPaused));return t?.continue()??Promise.resolve()}clear(){o.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...this.#p.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,r.X7)(t,e)))}findAll(e={}){return this.getAll().filter((t=>(0,r.X7)(e,t)))}notify(e){o.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return o.V.batch((()=>Promise.all(e.map((e=>e.continue().catch(r.ZT))))))}};function h(e){return e.options.scope?.id??String(e.mutationId)}var d=n(66474),p=n(14304),g=n(54948),m=class{#m;#d;#c;#v;#y;#b;#_;#w;constructor(e={}){this.#m=e.queryCache||new s,this.#d=e.mutationCache||new f,this.#c=e.defaultOptions||{},this.#v=new Map,this.#y=new Map,this.#b=0}mount(){this.#b++,1===this.#b&&(this.#_=d.j.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#m.onFocus())})),this.#w=p.N.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#m.onOnline())})))}unmount(){this.#b--,0===this.#b&&(this.#_?.(),this.#_=void 0,this.#w?.(),this.#w=void 0)}isFetching(e){return this.#m.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#d.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#m.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),i=this.#m.build(this,n);return e.revalidateIfStale&&i.isStaleByTime((0,r.KC)(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return this.#m.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),o=this.#m.get(i.queryHash)?.state.data,a=(0,r.SE)(t,o);if(void 0!==a)return this.#m.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return o.V.batch((()=>this.#m.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#m.get(t.queryHash)?.state}removeQueries(e){const t=this.#m;o.V.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#m,r={type:"active",...e};return o.V.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},i=o.V.batch((()=>this.#m.findAll(e).map((e=>e.cancel(n)))));return Promise.all(i).then(r.ZT).catch(r.ZT)}invalidateQueries(e={},t={}){return o.V.batch((()=>{if(this.#m.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:t?.cancelRefetch??!0},i=o.V.batch((()=>this.#m.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(i).then(r.ZT)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#m.build(this,t);return n.isStaleByTime((0,r.KC)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.ZT).catch(r.ZT)}fetchInfiniteQuery(e){return e.behavior=(0,g.Gm)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.ZT).catch(r.ZT)}resumePausedMutations(){return p.N.isOnline()?this.#d.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#m}getMutationCache(){return this.#d}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#v.set((0,r.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#v.values()];let n={};return t.forEach((t=>{(0,r.to)(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){this.#y.set((0,r.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#y.values()];let n={};return t.forEach((t=>{(0,r.to)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===r.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#m.clear(),this.#d.clear()}}},72536:function(e,t,n){"use strict";n.d(t,{z:function(){return c}});var r=n(24139),i=n(27037),o=n(66474),a=n(7506),s=n(56888),c=class extends a.l{constructor(e,t){super(),this.options=t,this.#x=e,this.#S=null,this.bindMethods(),this.setOptions(t)}#x;#E=void 0;#k=void 0;#O=void 0;#C;#A;#S;#T;#P;#D;#M;#R;#j;#N=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#E.addObserver(this),l(this.#E,this.options)?this.#L():this.updateResult(),this.#I())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.#E,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.#E,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#B(),this.#F(),this.#E.removeObserver(this)}setOptions(e,t){const n=this.options,i=this.#E;if(this.options=this.#x.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,r.Nc)(this.options.enabled,this.#E))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#z(),this.#E.setOptions(this.options),n._defaulted&&!(0,r.VS)(this.options,n)&&this.#x.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#E,observer:this});const o=this.hasListeners();o&&f(this.#E,i,this.options,n)&&this.#L(),this.updateResult(t),!o||this.#E===i&&(0,r.Nc)(this.options.enabled,this.#E)===(0,r.Nc)(n.enabled,this.#E)&&
2(0,r.KC)(this.options.staleTime,this.#E)===(0,r.KC)(n.staleTime,this.#E)||this.#U();const a=this.#H();!o||this.#E===i&&(0,r.Nc)(this.options.enabled,this.#E)===(0,r.Nc)(n.enabled,this.#E)&&a===this.#j||this.#q(a)}getOptimisticResult(e){const t=this.#x.getQueryCache().build(this.#x,e),n=this.createResult(t,e);return function(e,t){if(!(0,r.VS)(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(this.#O=n,this.#A=this.options,this.#C=this.#E.state),n}getCurrentResult(){return this.#O}trackResult(e,t){const n={};return Object.keys(e).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),t?.(r),e[r])})})),n}trackProp(e){this.#N.add(e)}getCurrentQuery(){return this.#E}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#x.defaultQueryOptions(e),n=this.#x.getQueryCache().build(this.#x,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return this.#L({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#O)))}#L(e){this.#z();let t=this.#E.fetch(this.options,e);return e?.throwOnError||(t=t.catch(r.ZT)),t}#U(){this.#B();const e=(0,r.KC)(this.options.staleTime,this.#E);if(r.sk||this.#O.isStale||!(0,r.PN)(e))return;const t=(0,r.Kp)(this.#O.dataUpdatedAt,e)+1;this.#M=setTimeout((()=>{this.#O.isStale||this.updateResult()}),t)}#H(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#E):this.options.refetchInterval)??!1}#q(e){this.#F(),this.#j=e,!r.sk&&!1!==(0,r.Nc)(this.options.enabled,this.#E)&&(0,r.PN)(this.#j)&&0!==this.#j&&(this.#R=setInterval((()=>{(this.options.refetchIntervalInBackground||o.j.isFocused())&&this.#L()}),this.#j))}#I(){this.#U(),this.#q(this.#H())}#B(){this.#M&&(clearTimeout(this.#M),this.#M=void 0)}#F(){this.#R&&(clearInterval(this.#R),this.#R=void 0)}createResult(e,t){const n=this.#E,i=this.options,o=this.#O,a=this.#C,c=this.#A,u=e!==n?e.state:this.#k,{state:d}=e;let p,g={...d},m=!1;if(t._optimisticResults){const r=this.hasListeners(),o=!r&&l(e,t),a=r&&f(e,n,t,i);(o||a)&&(g={...g,...(0,s.z)(d.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:v,errorUpdatedAt:y,status:b}=g;if(t.select&&void 0!==g.data)if(o&&g.data===a?.data&&t.select===this.#T)p=this.#P;else try{this.#T=t.select,p=t.select(g.data),p=(0,r.oE)(o?.data,p,t),this.#P=p,this.#S=null}catch(e){this.#S=e}else p=g.data;if(void 0!==t.placeholderData&&void 0===p&&"pending"===b){let e;if(o?.isPlaceholderData&&t.placeholderData===c?.placeholderData)e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#D?.state.data,this.#D):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#S=null}catch(e){this.#S=e}void 0!==e&&(b="success",p=(0,r.oE)(o?.data,e,t),m=!0)}this.#S&&(v=this.#S,p=this.#P,y=Date.now(),b="error");const _="fetching"===g.fetchStatus,w="pending"===b,x="error"===b,S=w&&_,E=void 0!==p;return{status:b,fetchStatus:g.fetchStatus,isPending:w,isSuccess:"success"===b,isError:x,isInitialLoading:S,isLoading:S,data:p,dataUpdatedAt:g.dataUpdatedAt,error:v,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>u.dataUpdateCount||g.errorUpdateCount>u.errorUpdateCount,isFetching:_,isRefetching:_&&!w,isLoadingError:x&&!E,isPaused:"paused"===g.fetchStatus,isPlaceholderData:m,isRefetchError:x&&E,isStale:h(e,t),refetch:this.refetch}}updateResult(e){const t=this.#O,n=this.createResult(this.#E,this.options);if(this.#C=this.#E.state,this.#A=this.options,void 0!==this.#C.data&&(this.#D=this.#E),(0,r.VS)(n,t))return;this.#O=n;const i={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.#N.size)return!0;const r=new Set(n??this.#N);return this.options.throwOnError&&r.add("error"),Object.keys(this.#O).some((e=>{const n=e;return this.#O[n]!==t[n]&&r.has(n)}))})()&&(i.listeners=!0),this.#$({...i,...e})}#z(){const e=this.#x.getQueryCache().build(this.#x,this.options);if(e===this.#E)return;const t=this.#E;this.#E=e,this.#k=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#I()}#$(e){i.V.batch((()=>
2{e.listeners&&this.listeners.forEach((e=>{e(this.#O)})),this.#x.getQueryCache().notify({query:this.#E,type:"observerResultsUpdated"})}))}};function l(e,t){return function(e,t){return!1!==(0,r.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&u(e,t,t.refetchOnMount)}function u(e,t,n){if(!1!==(0,r.Nc)(t.enabled,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&h(e,t)}return!1}function f(e,t,n,i){return(e!==t||!1===(0,r.Nc)(i.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&h(e,n)}function h(e,t){return!1!==(0,r.Nc)(t.enabled,e)&&e.isStaleByTime((0,r.KC)(t.staleTime,e))}},48907:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(24139),i=class{#W;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.PN)(this.gcTime)&&(this.#W=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.sk?1/0:3e5))}clearGcTimeout(){this.#W&&(clearTimeout(this.#W),this.#W=void 0)}}},72008:function(e,t,n){"use strict";n.d(t,{DV:function(){return l},Kw:function(){return s},Mz:function(){return u}});var r=n(66474),i=n(14304),o=n(24139);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return"online"!==(e??"online")||i.N.isOnline()}var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof c}function u(e){let t,n,l,u=!1,f=0,h=!1;const d=new Promise(((e,t)=>{n=e,l=t})),p=()=>r.j.isFocused()&&("always"===e.networkMode||i.N.isOnline())&&e.canRun(),g=()=>s(e.networkMode)&&e.canRun(),m=r=>{h||(h=!0,e.onSuccess?.(r),t?.(),n(r))},v=n=>{h||(h=!0,e.onError?.(n),t?.(),l(n))},y=()=>new Promise((n=>{t=e=>{(h||p())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,h||e.onContinue?.()})),b=()=>{if(h)return;let t;const n=0===f?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch((t=>{if(h)return;const n=e.retry??(o.sk?0:3),r=e.retryDelay??a,i="function"==typeof r?r(f,t):r,s=!0===n||"number"==typeof n&&f<n||"function"==typeof n&&n(f,t);!u&&s?(f++,e.onFail?.(f,t),(0,o._v)(i).then((()=>p()?void 0:y())).then((()=>{u?v(t):b()}))):v(t)}))};return{promise:d,cancel:t=>{h||(v(new c(t)),e.abort?.())},continue:()=>(t?.(),d),cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1},canStart:g,start:()=>(g()?b():y().then(b),d)}}},7506:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},24139:function(e,t,n){"use strict";n.d(t,{CN:function(){return k},Ht:function(){return E},KC:function(){return c},Kp:function(){return s},Nc:function(){return l},PN:function(){return a},Rm:function(){return h},SE:function(){return o},VS:function(){return m},VX:function(){return S},Wk:function(){return x},X7:function(){return f},Ym:function(){return d},ZT:function(){return i},_v:function(){return _},_x:function(){return u},cG:function(){return O},oE:function(){return w},sk:function(){return r},to:function(){return p}});var r="undefined"==typeof window||"Deno"in globalThis;function i(){}function o(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"==typeof e?e(t):e}function l(e,t){return"function"==typeof e?e(t):e}function u(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==h(a,t.options))return!1}else if(!p(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(o&&!o(t)))}function f(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(d(t.options.mutationKey)!==d(o))return!1}else if(!p(t.options.mutationKey,o))return!1}return(!r||t.state.status===r)&&!(i&&!i(t))}function h(e,t){return(t?.queryKeyHashFn||d)(e)}function d(e){return JSON.stringify(e,((e,t)=>
2y(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function p(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!p(e[n],t[n]))))}function g(e,t){if(e===t)return e;const n=v(e)&&v(t);if(n||y(e)&&y(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),a=o.length,s=n?[]:{};let c=0;for(let i=0;i<a;i++){const a=n?i:o[i];(!n&&r.includes(a)||n)&&void 0===e[a]&&void 0===t[a]?(s[a]=void 0,c++):(s[a]=g(e[a],t[a]),s[a]===e[a]&&void 0!==e[a]&&c++)}return i===a&&c===i?e:s}return t}function m(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e){if(!b(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!b(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){return new Promise((t=>{setTimeout(t,e)}))}function w(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?g(e,t):t}function x(e){return e}function S(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var k=Symbol();function O(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==k?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}},30202:function(e,t,n){"use strict";n.d(t,{NL:function(){return a},aH:function(){return s}});var r=n(67294),i=n(85893),o=r.createContext(void 0),a=e=>{const t=r.useContext(o);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,i.jsx)(o.Provider,{value:e,children:t}))},9301:function(e,t,n){"use strict";n.d(t,{r:function(){return v}});var r=n(67294),i=n(27037);n(85893);function o(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var a=r.createContext(o()),s=()=>r.useContext(a),c=n(30202),l=r.createContext(!1),u=()=>r.useContext(l);l.Provider;var f=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},h=e=>{r.useEffect((()=>{e.clearReset()}),[e])},d=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>{return e.isError&&!t.isReset()&&!e.isFetching&&r&&(i=n,o=[e.error,r],"function"==typeof i?i(...o):!!i);var i,o},p=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},g=(e,t)=>e?.suspense&&t.isPending,m=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}));function v(e,t,n){const o=(0,c.NL)(n),a=u(),l=s(),v=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(v),v._optimisticResults=a?"isRestoring":"optimistic",p(v),f(v,l),h(l);const[y]=r.useState((()=>new t(o,v))),b=y.getOptimisticResult(v);if(r.useSyncExternalStore(r.useCallback((e=>{const t=a?()=>{}:y.subscribe(i.V.batchCalls(e));return y.updateResult(),t}),[y,a]),(()=>y.getCurrentResult()),(()=>y.getCurrentResult())),r.useEffect((()=>{y.setOptions(v,{listeners:!1})}),[v,y]),g(v,b))throw m(v,y,l);if(d({result:b,errorResetBoundary:l,throwOnError:v.throwOnError,query:o.getQueryCache().get(v.queryHash)}))throw b.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(v,b),v.notifyOnChangeProps?b:y.trackResult(b)}},29726:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(72536),i=n(54948),o=class extends r.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,i.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,i.Gm)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:o,isRefetching:a,isError:s,isRefetchError:c}
2=r,l=n.fetchMeta?.fetchMore?.direction,u=s&&"forward"===l,f=o&&"forward"===l,h=s&&"backward"===l,d=o&&"backward"===l;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.Qy)(t,n.data),hasPreviousPage:(0,i.ZF)(t,n.data),isFetchNextPageError:u,isFetchingNextPage:f,isFetchPreviousPageError:h,isFetchingPreviousPage:d,isRefetchError:c&&!u&&!h,isRefetching:a&&!f&&!d}}},a=n(9301);function s(e,t){return(0,a.r)(e,o,t)}},78551:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(72536),i=n(9301);function o(e,t){return(0,i.r)(e,r.z,t)}},7550:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var r=class{constructor(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!(t&&!1===t.bidirectional)}activate(e){this._disposables.push(i(this._socket,"message",(t=>{let n=t.data;e.write("string"==typeof n?n:new Uint8Array(n))}))),this._bidirectional&&(this._disposables.push(e.onData((e=>this._sendData(e)))),this._disposables.push(e.onBinary((e=>this._sendBinary(e))))),this._disposables.push(i(this._socket,"close",(()=>this.dispose()))),this._disposables.push(i(this._socket,"error",(()=>this.dispose())))}dispose(){for(let e of this._disposables)e.dispose()}_sendData(e){this._checkOpenSocket()&&this._socket.send(e)}_sendBinary(e){if(!this._checkOpenSocket())return;let t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);this._socket.send(t)}_checkOpenSocket(){switch(this._socket.readyState){case WebSocket.OPEN:return!0;case WebSocket.CONNECTING:throw new Error("Attach addon was loaded before socket was open");case WebSocket.CLOSING:return console.warn("Attach addon socket is closing"),!1;case WebSocket.CLOSED:throw new Error("Attach addon socket is closed");default:throw new Error("Unexpected socket state")}}};function i(e,t,n){return e.addEventListener(t,n),{dispose:()=>{n&&e.removeEventListener(t,n)}}}},52728:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var r=class{activate(e){this._terminal=e}dispose(){}fit(){let e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;let t=this._terminal._core;(this._terminal.rows!==e.rows||this._terminal.cols!==e.cols)&&(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let e=this._terminal._core._renderService.dimensions;if(0===e.css.cell.width||0===e.css.cell.height)return;let t=0===this._terminal.options.scrollback?0:this._terminal.options.overviewRuler?.width||14,n=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(n.getPropertyValue("height")),i=Math.max(0,parseInt(n.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),a=r-(parseInt(o.getPropertyValue("padding-top"))+parseInt(o.getPropertyValue("padding-bottom"))),s=i-(parseInt(o.getPropertyValue("padding-right"))+parseInt(o.getPropertyValue("padding-left")))-t;return{cols:Math.max(2,Math.floor(s/e.css.cell.width)),rows:Math.max(1,Math.floor(a/e.css.cell.height))}}}},73399:function(e,t,n){"use strict";n.d(t,{v8:function(){return L}});var r=Symbol("cache-parser");function i(e){return("string"==typeof e||"number"==typeof e)&&(e=Number(e))>=0&&e<1/0}function o(e){return!0===e||"number"==typeof e||"string"==typeof e&&"false"!==e}var a=Number;function s(e){var t=Object.defineProperty({},r,{enumerable:!1,value:1});if(!e||"string"!=typeof e)return t;var n=function(e){var t={},n=e.toLowerCase().replace(/\s+/g,"").split(",");for(var r in n){var i,o=n[r].split("=",2);t[o[0]]=null==(i=o[1])||i}return t}(e),s=n["max-age"],c=n["max-stale"],l=n["min-fresh"],u=n["s-maxage"],f=n["stale-if-error"],h=n["stale-while-revalidate"];return o(n.immutable)&&(t.immutable=!0),i(s)&&(t.maxAge=a(s)),i(c)&&(t.maxStale=a(c)),i(l)&&(t.minFresh=a(l)),o(n["must-revalidate"])&&(t.mustRevalidate=!0),o(n["must-understand"])&&(t.mustUnderstand=!0),o(n["no-cache"])&&(t.noCache=!0),o(n["no-store"])&&(t.noStore=!0),o(n["no-transform"])&&(t.noTransform=!0),o(n["only-if-cached"])&&(t.onlyIfCached=!0),o(n.private)&&(t.private=!0),o(n["proxy-revalidate"])&&(t.proxyRevalidate=!0),o(n.public)&&(t.public=!0),i(u)&&(t.sMaxAge=a(u)),i(f)&&(t.staleIfError=a(f)),i(h)&&(t.staleWhileRevalidate=a(h)),t}var c=Symbol();function l(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n[c]=1,n}var u=n(46278),f={d:(e,t)=>{for(var n in t)f.o(t,n)&&!f.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},h={};f.d(h,{h4:()=>p,UN:()=>M,uu:()=>T,Kd:()=>A,ZF:()=>N,nv:()=>O,p:()=>_,E7:()=>v,NQ:()=>g,xK:()=>R,G6:()=>w,LN:()=>E,Bw:()=>C,Ad:()=>y,$k:()=>k,v8:()=>j,Jk:()=>x,tI:()=>S,iS:()=>b});const d=(e=>{var t={};return f.d(t,e),t})({parse:()=>s}),p=Object.freeze({IfModifiedSince:"if-modified-since",LastModified:"last-modified",IfNoneMatch:"if-none-match",CacheControl:"cache-control",Pragma:"pragma",ETag:"etag",Expires:"expires",Age:"age",XAxiosCacheEtag:"x-axios-cache-etag",XAxiosCacheLastModified:"x-axios-cache-last-modified",XAxiosCacheStaleIfError:"x-axios-cache-stale-if-error"}),g=e=>{if(!e)return"not enough headers";const t=e[p.CacheControl];if(t){const{noCache:n,noStore:r,mustRevalidate:i,maxAge:o,immutable:a}=(0,d.parse)(String(t));if(n||r)return"dont cache";if(a)return 31536e6;if(i)return 0;if(void 0!==o){const t=e[p.Age];return t?1e3*(o-Number(t)):1e3*o}}const n=e[p.Expires];if(n){const e=Date.parse(String(n))-Date.now();return e>=0?e:"dont cache"}return"not enough headers"},m=(e=>{var t={};return f.d(t,e),t})({deferred:()=>l});function v(e){return e?t=>e(t)||304===t:e=>e>=200&&e<300||304===e}function y(e="get",t=[]){return e=e.toLowerCase(),t.some((t=>t===e))}function b(e,t){var n;t.headers||(t.headers={});const{etag:r,modifiedSince:i}=t.cache;if(r){const i=!0===r?null===(n=e.data)||void 0===n?void 0:n.headers[p.ETag]:r;i&&(t.headers[p.IfNoneMatch]=i)}i&&(t.headers[p.IfModifiedSince]=!0===i?e.data.headers[p.LastModified]||new Date(e.createdAt).toUTCString():i.toUTCString())}
2function _(e,t){return 304===e.status&&t?(e.cached=!0,e.data=t.data,e.status=t.status,e.statusText=t.statusText,e.headers=Object.assign(Object.assign({},t.headers),e.headers),t):{data:e.data,status:e.status,statusText:e.statusText,headers:e.headers}}function w(e){const t=async t=>{var n,r,i,o,a,s,c,l,u;const f=t.id=e.generateKey(t);if(!1===t.cache)return t;if(t.cache=Object.assign(Object.assign({},e.defaults.cache),t.cache),t.cache.cacheTakeover&&(null!==(n=(o=t.headers)[a=p.CacheControl])&&void 0!==n||(o[a]="no-cache"),null!==(r=(s=t.headers)[c=p.Pragma])&&void 0!==r||(s[c]="no-cache"),null!==(i=(l=t.headers)[u=p.Expires])&&void 0!==i||(l[u]="0")),!y(t.method,t.cache.methods))return t;let h=await e.storage.get(f,t);const d=t.cache.override;e:if("empty"===h.state||"stale"===h.state||d){if(e.waiting[f]&&!d&&(h=await e.storage.get(f,t),"empty"!==h.state))break e;return e.waiting[f]=(0,m.deferred)(),e.waiting[f].catch((()=>{})),await e.storage.set(f,{state:"loading",previous:d?h.data?"stale":"empty":h.state,data:h.data,createdAt:d&&!h.createdAt?Date.now():h.createdAt},t),"stale"===h.state&&b(h,t),t.validateStatus=v(t.validateStatus),t}let g;if("loading"===h.state){const n=e.waiting[f];if(!n)return await e.storage.remove(f,t),t;try{g=await n}catch(e){return t}}else g=h.data;return t.adapter=()=>Promise.resolve({config:t,data:g.data,headers:g.headers,status:g.status,statusText:g.statusText,cached:!0,id:f}),t};return{onFulfilled:t,apply:()=>e.interceptors.request.use(t)}}async function x(e,t){var n;if("function"==typeof t)return t(e);const{statusCheck:r,responseMatch:i,containsHeaders:o}=t;if(r&&!await r(e.status)||i&&!await i(e))return!1;if(o)for(const[t,r]of Object.entries(o))if(!await r(null!==(n=e.headers[t.toLowerCase()])&&void 0!==n?n:e.headers[t]))return!1;return!0}async function S(e,t,n){if("function"==typeof n)return n(t);for(const[r,i]of Object.entries(n)){if("delete"===i){await e.remove(r,t.config);continue}const n=await e.get(r,t.config);if("loading"===n.state)continue;const o=await i(n,t);"delete"!==o?"ignore"!==o&&await e.set(r,o,t.config):await e.remove(r,t.config)}}function E(e){const t=async(t,n)=>{var r;await e.storage.remove(t,n),null===(r=e.waiting[t])||void 0===r||r.reject(),delete e.waiting[t]},n=async n=>{var r,i,o;const a=n.id=null!==(r=(o=n.config).id)&&void 0!==r?r:o.id=e.generateKey(n.config);if(null!==(i=n.cached)&&void 0!==i||(n.cached=!1),n.cached)return n;const s=n.config,c=s.cache;if(!c)return Object.assign(Object.assign({},n),{cached:!1});if(c.update&&await S(e.storage,n,c.update),!y(s.method,c.methods))return n;const l=await e.storage.get(a,s);if("loading"!==l.state)return n;if(!l.data&&!await x(n,c.cachePredicate))return await t(a,s),n;for(const e of Object.keys(n.headers))e.startsWith("x-axios-cache")&&delete n.headers[e];c.etag&&!0!==c.etag&&(n.headers[p.XAxiosCacheEtag]=c.etag),c.modifiedSince&&(n.headers[p.XAxiosCacheLastModified]=!0===c.modifiedSince?"use-cache-timestamp":c.modifiedSince.toUTCString());let u=c.ttl||-1;if(c.interpretHeader){const r=e.headerInterpreter(n.headers);if("dont cache"===r)return await t(a,s),n;u="not enough headers"===r?u:r}const f=_(n,l.data);"function"==typeof u&&(u=await u(n)),c.staleIfError&&(n.headers[p.XAxiosCacheStaleIfError]=String(u));const h={state:"cached",ttl:u,createdAt:Date.now(),data:f},d=e.waiting[a];return d&&(d.resolve(h.data),delete e.waiting[a]),await e.storage.set(a,h,s),n},r=async n=>{var r;const i=n.config,o=i.id,a=i.cache;if(!a||!o)throw n;if(!y(i.method,a.methods))throw n;const s=await e.storage.get(o,i);if("loading"!==s.state||"stale"!==s.previous)throw await t(o,i),n;if(a.staleIfError){const t="function"==typeof a.staleIfError?await a.staleIfError(n.response,s,n):a.staleIfError;if(!0===t||"number"==typeof t&&s.createdAt+t>Date.now())return null===(r=e.waiting[o])||void 0===r||r.resolve(s.data),delete e.waiting[o],await e.storage.set(o,{state:"stale",createdAt:Date.now(),data:s.data},i),{cached:!0,config:i,id:o,data:s.data.data,headers:s.data.headers,status:s.data.status,statusText:s.data.statusText}}throw n};return{onFulfilled:n,onRejected:r,apply:()=>e.interceptors.response.use(n,r)}}const k=e=>!!e&&!!e["is-storage"];function O(e){const t=e.data.headers;return p.ETag in t||p.LastModified in t||p.XAxiosCacheEtag in t||p.XAxiosCacheStaleIfError in t||p.XAxiosCacheLastModified in t}function C(e){return e.createdAt+e.ttl<=Date.now()}function A({set:e,find:t,remove:n}){return{"is-storage":1,set:e,remove:n,get:async(r,i)=>{const o=await t(r,i);if(!o)return{state:"empty"};if("cached"!==o.state||!C(o))return o;if(O(o)){const t={state:"stale",createdAt:o.createdAt,data:o.data};return await e(r,t,i),t}return await n(r,i),{state:"empty"}}}}function T(e=!1){const t=A({set:(e,n)=>{t.data[e]=n},remove:e=>{delete t.data[e]},find:n=>{const r=t.data[n];return e&&void 0!==r?"function"==typeof structuredClone?structuredClone(r):JSON.parse(JSON.stringify(r)):r}});return t.data=Object.create(null),t}const P=(e=>{var t={};return f.d(t,e),t})({hash:()=>u.v}),D=/^\/|\/$/g;function M(e){return t=>{if(t.id)return t.id;const n=e(t);return"string"==typeof n||"number"==typeof n?`${n}`:`${(0,P.hash)(n)}`}}const R=M((({baseURL:e="",url:t="",method:n="get",params:r,data:i})=>(e&&(e=e.replace(D,"")),t&&(t=t.replace(D,"")),n&&(n=n.toLowerCase()),{url:e+(e&&t?"/":"")+t,params:r,method:n,data:i})));function j(e,t={}){var n,r,i,o,a,s;const c=e;if(c.defaults.cache)throw new Error("setupCache() should be called only once");if(c.storage=t.storage||T(),!k(c.storage))throw new Error("Use buildStorage() function");return c.waiting=t.waiting||{},c.generateKey=t.generateKey||R,c.headerInterpreter=t.headerInterpreter||g,c.requestInterceptor=t.requestInterceptor||w(c),c.responseInterceptor=t.responseInterceptor||E(c),c.debug=t.debug,c.defaults.cache={update:t.update||{},ttl:null!==(n=t.ttl)&&void 0!==n?n:3e5,methods:t.methods||["get"],cachePredicate:t.cachePredicate||{statusCheck:e=>e>=200&&e<400},etag:null===(r=t.etag)||void 0===r||r,modifiedSince:null!==(i=t.modifiedSince)&&void 0!==i?i:!1===t.etag,interpretHeader:null===(o=t.interpretHeader)||void 0===o||o,cacheTakeover:null===(a=t.cacheTakeover)||void 0===a||a,staleIfError:null===(s=t.staleIfError)||void 0===s||s,override:!1},c.requestInterceptor.apply(),c.responseInterceptor.apply(),c}function N(e,t="axios-cache-"){return A({find:n=>{const r=e.getItem(t+n);return r?JSON.parse(r):void 0},remove:n=>{e.removeItem(t+n)},set:(n,r)=>{const i=()=>e.setItem(t+n,JSON.stringify(r));try{return i()}catch(r){const o=Object.entries(e).filter((e=>e[0].startsWith(t))).map((e=>[e[0],JSON.parse(e[1])]));for(const t of o)"cached"===t[1].state&&C(t[1])&&!O(t[1])&&e.removeItem(t[0]);try{return i()}catch(t){const n=o.sort(((e,t)=>(e[1].createdAt||0)-(t[1].createdAt||0)));for(const t of n){e.removeItem(t[0]);try{return i()}catch(e){}}}e.removeItem(t+n)}}})}var L=h.v8},87066:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ct}});var r={};function i(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return me},hasStandardBrowserEnv:function(){return ye},hasStandardBrowserWebWorkerEnv:function(){return be},navigator:function(){return ve},origin:function(){return _e}});var o=n(34155);const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:c,toStringTag:l}=Symbol,u=(f=Object.create(null),e=>{const t=a.call(e);return f[t]||(f[t]=t.slice(8,-1).toLowerCase())});var f;const h=e=>(e=e.toLowerCase(),t=>u(t)===e),d=e=>t=>typeof t===e,{isArray:p}=Array,g=d("undefined");function m(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const v=h("ArrayBuffer");const y=d("string"),b=d("function"),_=d("number"),w=e=>null!==e&&"object"==typeof e,x=e=>{if("object"!==u(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||l in e||c in e)},S=h("Date"),E=h("File"),k=h("Blob"),O=h("FileList"),C=h("URLSearchParams"),[A,T,P,D]=["ReadableStream","Request","Response","Headers"].map(h);function M(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),p(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(m(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function R(e,t){if(m(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,N=e=>!g(e)&&e!==j;const L=(I="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>I&&e instanceof I);var I;const B=h("HTMLFormElement"),F=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),z=h("RegExp"),U=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};M(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)};const H=h("AsyncFunction"),q=($="function"==typeof setImmediate,W=b(j.postMessage),$?setImmediate:W?(V=`axios@${Math.random()}`,K=[],j.addEventListener("message",(({source:e,data:t})=>{e===j&&t===V&&K.length&&K.shift()()}),!1),e=>{K.push(e),j.postMessage(V,"*")}):e=>setTimeout(e));var $,W,V,K;const G="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):void 0!==o&&o.nextTick||q;var Z={isArray:p,isArrayBuffer:v,isBuffer:m,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=u(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer),t},isString:y,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:x,isEmptyObject:e=>{if(!w(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:A,isRequest:T,isResponse:P,isHeaders:D,isUndefined:g,isDate:S,isFile:E,isBlob:k,isRegExp:z,isFunction:b,isStream:e=>w(e)&&b(e.pipe),isURLSearchParams:C,isTypedArray:L,isFileList:O,forEach:M,merge:function e(){const{caseless:t}=N(this)&&this||{},n={},r=(r,i)=>{const o=t&&R(n,i)||i;x(n[o])&&x(r)?n[o]=e(n[o],r):x(r)?n[o]=e({},r):p(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(M(t,((t,r)=>{n&&b(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:h,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n}
vendor: 4,312 bytes, line 2
2,forEachEntry:(e,t)=>{const n=(e&&e[c]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:B,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:U,freezeMethods:e=>{U(e,((t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:R,global:j,isContextDefined:N,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[l]&&e[c])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[r]=e;const i=p(e)?[]:{};return M(e,((e,t)=>{const o=n(e,r+1);!g(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:H,isThenable:e=>e&&(w(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:q,asap:G,isIterable:e=>null!=e&&b(e[c])};function Y(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Z.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const X=Y.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Q[e]={value:e}})),Object.defineProperties(Y,Q),Object.defineProperty(X,"isAxiosError",{value:!0}),Y.from=(e,t,n,r,i,o)=>{const a=Object.create(X);return Z.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Y.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var J=Y,ee=null,te=n(48764).Buffer;function ne(e){return Z.isPlainObject(e)||Z.isArray(e)}function re(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function ie(e,t,n){return e?e.concat(t).map((function(e,t){return e=re(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const oe=Z.toFlatObject(Z,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ae=function(e,t,n){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new(ee||FormData);const r=(n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Z.isUndefined(t[e])}))).metaTokens,i=n.visitor||l,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(Z.isBoolean(e))return e.toString();if(!s&&Z.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):te.from(e):e}function l(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(Z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Z.isArray(e)&&function(e){return Z.isArray(e)&&!e.some(ne)}(e)||(Z.isFileList(e)||Z.endsWith(n,"[]"))&&(s=Z.toArray(e)))return n=re(n),s.forEach((function(e,r){!Z.isUndefined(e)&&null!==e&&t.append(!0===a?ie([n],r,o):null===a?n:n+"[]",c(e))})),!1;return!!ne(e)||(t.append(ie(i,n,o),c(e)),!1)}const u=[],f=Object.assign(oe,{defaultVisitor:l,convertValue:c,isVisitable:ne});if(!Z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Z.forEach(n,(function(n,o){!0===(!(Z.isUndefined(n)||null===n)&&i.call(t,n,Z.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};
vendor: 5,402 bytes, line 2
2function se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ce(e,t){this._pairs=[],e&&ae(e,this,t)}const le=ce.prototype;le.append=function(e,t){this._pairs.push([e,t])},le.toString=function(e){const t=e?function(t){return e.call(this,t,se)}:se;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ue=ce;function fe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function he(e,t,n){if(!t)return e;const r=n&&n.encode||fe;Z.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):Z.isURLSearchParams(t)?t.toString():new ue(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var de=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ge={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ue,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const me="undefined"!=typeof window&&"undefined"!=typeof document,ve="object"==typeof navigator&&navigator||void 0,ye=me&&(!ve||["ReactNative","NativeScript","NS"].indexOf(ve.product)<0),be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,_e=me&&window.location.href||"http://localhost";var we={...r,...ge};var xe=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&Z.isArray(r)?r.length:o,s)return Z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&Z.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&Z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const n={};return Z.forEachEntry(e,((e,r)=>{t(function(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Se={transitional:pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=Z.isObject(e);i&&Z.isHTMLForm(e)&&(e=new FormData(e));if(Z.isFormData(e))return r?JSON.stringify(xe(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ae(e,new we.classes.URLSearchParams,{visitor:function(e,t,n,r){return we.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((o=Z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ae(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(Z.isString(e))try{return(t||JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Se.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:we.classes.FormData,Blob:we.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],(e=>{Se.headers[e]={}}));var Ee=Se;const ke=Z.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"]);const Oe=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function Ae(e){return!1===e||null==e?e:Z.isArray(e)?e.map(Ae):String(e)}function Te(e,t,n,r,i){return Z.isFunction(r)?r.call(this,t,n):(i&&(t=n),Z.isString(t)?Z.isString(r)?-1!==t.indexOf(r):Z.isRegExp(r)?r.test(t):void 0:void 0)}class Pe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=Ce(t);if(!i)throw new Error("header name must be a non-empty string");const o=Z.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Ae(e))}const o=(e,t)=>
vendor: 4,388 bytes, line 2
2Z.forEach(e,((e,n)=>i(e,n,t)));if(Z.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&ke[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Z.isObject(e)&&Z.isIterable(e)){let n,r,i={};for(const t of e){if(!Z.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?Z.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=Ce(e)){const n=Z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Z.isFunction(t))return t.call(this,e,n);if(Z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ce(e)){const n=Z.findKey(this,e);return!(!n||void 0===this[n]||t&&!Te(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=Ce(e)){const i=Z.findKey(n,e);!i||t&&!Te(0,n[i],i,t)||(delete n[i],r=!0)}}return Z.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Te(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return Z.forEach(this,((r,i)=>{const o=Z.findKey(n,i);if(o)return t[o]=Ae(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=Ae(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Oe]=this[Oe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ce(e);t[r]||(!function(e,t){const n=Z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return Z.isArray(e)?e.forEach(r):r(e),this}}Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(Pe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Z.freezeMethods(Pe);var De=Pe;function Me(e,t){const n=this||Ee,r=t||n,i=De.from(r.headers);let o=r.data;return Z.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Re(e){return!(!e||!e.__CANCEL__)}function je(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}Z.inherits(je,J,{__CANCEL__:!0});var Ne=je;function Le(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var Ie=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),l=r[a];i||(i=c),n[o]=s,r[o]=c;let u=a,f=0;for(;u!==o;)f+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const h=l&&c-l;return h?Math.round(1e3*f/h):void 0}};var Be=function(e,t){let n,r,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]};const Fe=(e,t,n=3)=>{let r=0;const i=Ie(50,250);return Be((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,c=i(s);r=o;e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},ze=(e,t)=>
vendor: 10,677 bytes, line 2
2{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ue=e=>(...t)=>Z.asap((()=>e(...t)));var He=we.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,we.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(we.origin),we.navigator&&/(msie|trident)/i.test(we.navigator.userAgent)):()=>!0,qe=we.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Z.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Z.isString(r)&&a.push("path="+r),Z.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function $e(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const We=e=>e instanceof De?{...e}:e;function Ve(e,t){t=t||{};const n={};function r(e,t,n,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,n,i){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!Z.isUndefined(t))return r(void 0,t)}function a(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(We(e),We(t),0,!0)};return Z.forEach(Object.keys({...e,...t}),(function(r){const o=c[r]||i,a=o(e[r],t[r],r);Z.isUndefined(a)&&o!==s||(n[r]=a)})),n}var Ke=e=>{const t=Ve({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:c}=t;if(t.headers=s=De.from(s),t.url=he($e(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Z.isFormData(r))if(we.hasStandardBrowserEnv||we.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(we.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(t)),i||!1!==i&&He(t.url))){const e=o&&a&&qe.read(a);e&&s.set(o,e)}return t};var Ge="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ke(e);let i=r.data;const o=De.from(r.headers).normalize();let a,s,c,l,u,{responseType:f,onUploadProgress:h,onDownloadProgress:d}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=De.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Le((function(e){t(e),p()}),(function(e){n(e),p()}),{data:f&&"text"!==f&&"json"!==f?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||pe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new J(t,i.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,g)),g=null},void 0===i&&o.setContentType(null),"setRequestHeader"in g&&Z.forEach(o.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Z.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),f&&"json"!==f&&(g.responseType=r.responseType),d&&([c,u]=Fe(d,!0),g.addEventListener("progress",c)),h&&g.upload&&([s,l]=Fe(h),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Ne(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===we.protocols.indexOf(v)?n(new J("Unsupported protocol "+v+":",J.ERR_BAD_REQUEST,e)):g.send(i||null)}))};var Ze=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Ne(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>Z.asap(a),s}};const Ye=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Xe=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Qe=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of Xe(e))yield*Ye(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},Je="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,et=Je&&"function"==typeof ReadableStream,tt=Je&&("function"==typeof TextEncoder?(nt=new TextEncoder,e=>nt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var nt;const rt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},it=et&&rt((()=>{let e=!1;const t=new Request(we.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),ot=et&&rt((()=>Z.isReadableStream(new Response("").body))),at={stream:ot&&(e=>e.body)};var st;Je&&(st=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!at[e]&&(at[e]=Z.isFunction(st[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})})));const ct=async(e,t)=>{const n=Z.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e)){const t=new Request(we.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e)?(await tt(e)).byteLength:void 0)})(t):n};const lt={http:ee,xhr:Ge,fetch:Je&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:l,headers:u,withCredentials:f="same-origin",fetchOptions:h}=Ke(e);l=l?(l+"").toLowerCase():"text";let d,p=Ze([i,o&&o.toAbortSignal()],a);const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(c&&it&&"get"!==n&&"head"!==n&&0!==(m=await ct(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Z.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=ze(m,Fe(Ue(c)));r=Qe(n.body,65536,e,t)}}Z.isString(f)||(f=f?"include":"omit");const i="credentials"in Request.prototype;d=new Request(t,{...h,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:i?f:void 0});let o=await fetch(d,h);const a=ot&&("stream"===l||"response"===l);if(ot&&(s||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=Z.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&ze(t,Fe(Ue(s),!0))||[];o=new Response(Qe(o.body,65536,n,(()=>{r&&r(),g&&g()})),e)}l=l||"text";let v=await at[Z.findKey(at,l)||"text"](o,e);return!a&&g&&g(),await new Promise(((t,n)=>{Le(t,n,{data:v,headers:De.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:d})}))}catch(t){if(g&&g(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,d),{cause:t.cause||t});throw J.from(t,t&&t.code,e,d)}})};Z.forEach(lt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const ut=e=>`- ${e}`,ft=e=>Z.isFunction(e)||null===e||!1===e;var ht={getAdapter:e=>{e=Z.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!ft(n)&&(r=lt[(t=String(n)).toLowerCase()],void 0===r))throw new J(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(ut).join("\n"):" "+ut(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:lt};function dt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ne(null,e)}function pt(e){dt(e),e.headers=De.from(e.headers),e.data=Me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ht.getAdapter(e.adapter||Ee.adapter)(e).then((function(t){return dt(e),t.data=Me.call(e,e.transformResponse,t),t.headers=De.from(t.headers),t}),(function(t){return Re(t)||(dt(e),t&&t.response&&(t.response.data=Me.call(e,e.transformResponse,t.response),t.response.headers=De.from(t.response.headers))),Promise.reject(t)}))}const gt="1.11.0",mt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{mt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const vt={};mt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+gt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>
vendor: 2,793 bytes, line 2
2{if(!1===e)throw new J(r(i," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!vt[i]&&(vt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},mt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var yt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:mt};const bt=yt.validators;class _t{constructor(e){this.defaults=e||{},this.interceptors={request:new de,response:new de}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ve(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&yt.assertOptions(n,{silentJSONParsing:bt.transitional(bt.boolean),forcedJSONParsing:bt.transitional(bt.boolean),clarifyTimeoutError:bt.transitional(bt.boolean)},!1),null!=r&&(Z.isFunction(r)?t.paramsSerializer={serialize:r}:yt.assertOptions(r,{encode:bt.function,serialize:bt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),yt.assertOptions(t,{baseUrl:bt.spelling("baseURL"),withXsrfToken:bt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&Z.merge(i.common,i[t.method]);i&&Z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=De.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,f=0;if(!s){const e=[pt.bind(this),void 0];for(e.unshift(...a),e.push(...c),u=e.length,l=Promise.resolve(t);f<u;)l=l.then(e[f++],e[f++]);return l}u=a.length;let h=t;for(f=0;f<u;){const e=a[f++],t=a[f++];try{h=e(h)}catch(e){t.call(this,e);break}}try{l=pt.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,u=c.length;f<u;)l=l.then(c[f++],c[f++]);return l}getUri(e){return he($e((e=Ve(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}
vendor: 1,565 bytes, line 2
2Z.forEach(["delete","get","head","options"],(function(e){_t.prototype[e]=function(t,n){return this.request(Ve(n||{},{method:e,url:t,data:(n||{}).data}))}})),Z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Ve(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_t.prototype[e]=t(),_t.prototype[e+"Form"]=t(!0)}));var wt=_t;class xt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new Ne(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new xt((function(t){e=t})),cancel:e}}}var St=xt;const Et={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};Object.entries(Et).forEach((([e,t])=>{Et[t]=e}));var kt=Et;const Ot=function e(t){const n=new wt(t),r=i(wt.prototype.request,n);return Z.extend(r,wt.prototype,n,{allOwnKeys:!0}),Z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ve(t,n))},r}(Ee);Ot.Axios=wt,Ot.CanceledError=Ne,Ot.CancelToken=St,Ot.isCancel=Re,Ot.VERSION=gt,Ot.toFormData=ae,Ot.AxiosError=J,Ot.Cancel=Ot.CanceledError,Ot.all=function(e){return Promise.all(e)},Ot.spread=function(e){return function(t){return e.apply(null,t)}},Ot.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},Ot.mergeConfig=Ve,Ot.AxiosHeaders=De,Ot.formToJSON=e=>xe(Z.isHTMLForm(e)?new FormData(e):e),Ot.getAdapter=ht.getAdapter,Ot.HttpStatusCode=kt,Ot.default=Ot;var Ct=Ot},32462:function(e,t,n){"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function o(){}n.d(t,{ZP:function(){return w},B8:function(){return E}});var a=.7,s=1/a,c="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,h=new RegExp(`^rgb\\(${c},${c},${c}\\)$`),d=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),p=new RegExp(`^rgba\\(${c},${c},${c},${l}\\)$`),g=new RegExp(`^rgba\\(${u},${u},${u},${l}\\)$`),m=new RegExp(`^hsl\\(${l},${u},${u}\\)$`),v=new RegExp(`^hsla\\(${l},${u},${u},${l}\\)$`),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function _(){return this.rgb().formatRgb()}function w(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=f.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?x(t):3===n?
vendor: 6,790 bytes, line 2
2new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?S(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?S(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=h.exec(e))?new k(t[1],t[2],t[3],1):(t=d.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?S(t[1],t[2],t[3],t[4]):(t=g.exec(e))?S(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?D(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?D(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?x(y[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function x(e){return new k(e>>16&255,e>>8&255,255&e,1)}function S(e,t,n,r){return r<=0&&(e=t=n=NaN),new k(e,t,n,r)}function E(e,t,n,r){return 1===arguments.length?((i=e)instanceof o||(i=w(i)),i?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k):new k(e,t,n,null==r?1:r);var i}function k(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function O(){return`#${P(this.r)}${P(this.g)}${P(this.b)}`}function C(){const e=A(this.opacity);return`${1===e?"rgb(":"rgba("}${T(this.r)}, ${T(this.g)}, ${T(this.b)}${1===e?")":`, ${e})`}`}function A(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function T(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function P(e){return((e=T(e))<16?"0":"")+e.toString(16)}function D(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new R(e,t,n,r)}function M(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new R;if(e instanceof R)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=NaN,c=a-i,l=(a+i)/2;return c?(s=t===a?(n-r)/c+6*(n<r):n===a?(r-t)/c+2:(t-n)/c+4,c/=l<.5?a+i:2-a-i,s*=60):c=l>0&&l<1?0:s,new R(s,c,l,e.opacity)}function R(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function j(e){return(e=(e||0)%360)<0?e+360:e}function N(e){return Math.max(0,Math.min(1,e||0))}function L(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(o,w,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return M(this).formatHsl()},formatRgb:_,toString:_}),r(k,E,i(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(T(this.r),T(this.g),T(this.b),A(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatHex8:function(){return`#${P(this.r)}${P(this.g)}${P(this.b)}${P(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:C,toString:C})),r(R,(function(e,t,n,r){return 1===arguments.length?M(e):new R(e,t,n,null==r?1:r)}),i(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new R(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new R(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new k(L(e>=240?e-240:e+120,i,r),L(e,i,r),L(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new R(j(this.h),N(this.s),N(this.l),A(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=A(this.opacity);return`${1===e?"hsl(":"hsla("}${j(this.h)}, ${100*N(this.s)}%, ${100*N(this.l)}%${1===e?")":`, ${e})`}`}}))},22954:function(e,t){"use strict";t.Z=e=>()=>e},68063:function(e,t,n){"use strict";function r(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}n.d(t,{Z:function(){return r}})},84300:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(32462);function i(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}var o=n(22954);function a(e,t){return function(n){return e+n*t}}function s(e){return 1==(e=+e)?c:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,o.Z)(isNaN(t)?n:t)}}function c(e,t){var n=t-e;return n?a(e,n):(0,o.Z)(isNaN(e)?t:e)}var l=function e(t){var n=s(t);function i(e,t){var i=n((e=(0,r.B8)(e)).r,(t=(0,r.B8)(t)).r),o=n(e.g,t.g),a=n(e.b,t.b),s=c(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=a(t),e.opacity=s(t),e+""}}return i.gamma=e,i}(1);function u(e){return function(t){var n,i,o=t.length,a=new Array(o),s=new Array(o),c=new Array(o);for(n=0;n<o;++n)i=(0,r.B8)(t[n]),a[n]=i.r||0,s[n]=i.g||0,c[n]=i.b||0;return a=e(a),s=e(s),c=e(c),i.opacity=1,function(e){return i.r=a(e),i.g=s(e),i.b=c(e),i+""}}}u((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],a=e[r+1],s=r>0?e[r-1]:2*o-a,c=r<t-1?e[r+2]:2*a-o;return i((n-r/t)*t,s,o,a,c)}})),u((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],a=e[r%t],s=e[(r+1)%t],c=e[(r+2)%t];return i((n-r/t)*t,o,a,s,c)}}))},16773:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(68063),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(e,t){var n,a,s,c=i.lastIndex=o.lastIndex=0,l=-1,u=[],f=[];for(e+="",t+="";(n=i.exec(e))&&(a=o.exec(t));)(s=a.index)>c&&(s=t.slice(c,s),u[l]?u[l]+=s:u[++l]=s),(n=n[0])===(a=a[0])?u[l]?u[l]+=a:u[++l]=a:(u[++l]=null,f.push({i:l,x:(0,r.Z)(n,a)})),c=o.lastIndex;return c<t.length&&(s=t.slice(c),u[l]?u[l]+=s:u[++l]=s),u.length<2?f[0]?function(e){return function(t){return e(t)+""}}(f[0].x):function(e){return function(){return e}}(t):(t=f.length,function(e){for(var n,r=0;r<t;++r)u[(n=f[r]).i]=n.x(e);return u.join("")})}},62218:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(32462),i=n(84300);function o(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=h(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function a(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}var s=n(68063);function c(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=h(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var l=n(16773),u=n(22954);function f(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function h(e,t){var n,h,d=typeof t;return null==t||"boolean"===d?(0,u.Z)(t):("number"===d?s.Z:"string"===d?(n=(0,r.ZP)(t))?(t=n,i.ZP):l.Z:t instanceof r.ZP?i.ZP:t instanceof Date?a:(h=t,!ArrayBuffer.isView(
2h)||h instanceof DataView?Array.isArray(t)?o:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?c:s.Z:f))(e,t)}},38471:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=Object.prototype.hasOwnProperty;function i(e,t,n){for(n of e.keys())if(o(n,t))return n}function o(e,t){var n,a,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&o(e[a],t[a]););return-1===a}if(n===Set){if(e.size!==t.size)return!1;for(a of e){if((s=a)&&"object"==typeof s&&!(s=i(t,s)))return!1;if(!t.has(s))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(a of e){if((s=a[0])&&"object"==typeof s&&!(s=i(t,s)))return!1;if(!o(a[1],t.get(s)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return-1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return-1===a}if(!n||"object"==typeof e){for(n in a=0,e){if(r.call(e,n)&&++a&&!r.call(t,n))return!1;if(!(n in t)||!o(e[n],t[n]))return!1}return Object.keys(t).length===a}}return e!=e&&t!=t}},24345:function(e,t,n){"use strict";function r(){}n.d(t,{ok:function(){return r}})},22424:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});const{entries:r,setPrototypeOf:i,isFrozen:o,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object;let{freeze:c,seal:l,create:u}=Object,{apply:f,construct:h}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),l||(l=function(e){return e}),f||(f=function(e,t,n){return e.apply(t,n)}),h||(h=function(e,t){return new e(...t)});const d=A(Array.prototype.forEach),p=A(Array.prototype.lastIndexOf),g=A(Array.prototype.pop),m=A(Array.prototype.push),v=A(Array.prototype.splice),y=A(String.prototype.toLowerCase),b=A(String.prototype.toString),_=A(String.prototype.match),w=A(String.prototype.replace),x=A(String.prototype.indexOf),S=A(String.prototype.trim),E=A(Object.prototype.hasOwnProperty),k=A(RegExp.prototype.test),O=(C=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h(C,t)});var C;function A(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return f(e,t,r)}}function T(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;i&&i(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(o(t)||(t[r]=e),i=e)}e[i]=!0}return e}function P(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function D(e){const t=u(null);for(const[n,i]of r(e)){E(e,n)&&(Array.isArray(i)?t[n]=P(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=D(i):t[n]=i)}return t}function M(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=a(e)}return function(){return null}}const R=c(["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","section","select","shadow","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"]),j=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=c(["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"]),L=c(["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"]),I=c(["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"]),B=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=c(["#text"]),z=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=c(["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","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"]),H=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),q=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=l(/<%[\w\W]*|[\w\W]*%>/gm),V=l(/\$\{[\w\W]*/gm),K=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=l(/^aria-[\-\w]+$/),Z=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=l(/^(?:\w+script|data):/i),X=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=l(/^html$/i),J=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:J,DATA_ATTR:K,DOCTYPE_NAME:Q,ERB_EXPR:W,IS_ALLOWED_URI:Z,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:$,TMPLIT_EXPR:V});const te={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ne=function(){return"undefined"==typeof window?null:window},re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},ie=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var oe=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne();const n=t=>e(t);if(n.version="3.2.5",n.removed=[],!t||!t.document||t.document.nodeType!==te.document||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const o=i,a=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:l,Node:f,Element:h,NodeFilter:C,NamedNodeMap:A=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:P,DOMParser:$,trustedTypes:W}=t,V=h.prototype,K=M(V,"cloneNode"),G=M(V,"remove"),Y=M(V,"nextSibling"),X=M(V,"childNodes"),J=M(V,"parentNode");if("function"==typeof l){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let oe,ae="";const{implementation:se,createNodeIterator:ce,createDocumentFragment:le,getElementsByTagName:ue}=i,{importNode:fe}=o;let he=ie();n.isSupported="function"==typeof r&&"function"==typeof J&&se&&void 0!==se.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:pe,TMPLIT_EXPR:ge,DATA_ATTR:me,ARIA_ATTR:ve,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:be,CUSTOM_ELEMENT:_e}=ee;let{IS_ALLOWED_URI:we}=ee,xe=null;const Se=T({},[...R,...j,...N,...I,...F]);let Ee=null;
vendor: 7,915 bytes, line 2
2const ke=T({},[...z,...U,...H,...q]);let Oe=Object.seal(u(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}})),Ce=null,Ae=null,Te=!0,Pe=!0,De=!1,Me=!0,Re=!1,je=!0,Ne=!1,Le=!1,Ie=!1,Be=!1,Fe=!1,ze=!1,Ue=!0,He=!1,qe=!0,$e=!1,We={},Ve=null;const Ke=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ge=null;const Ze=T({},["audio","video","img","source","image","track"]);let Ye=null;const Xe=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,rt=null;const it=T({},[Qe,Je,et],b);let ot=T({},["mi","mo","mn","ms","mtext"]),at=T({},["annotation-xml"]);const st=T({},["title","style","font","a","script"]);let ct=null;const lt=["application/xhtml+xml","text/html"],ut="text/html";let ft=null,ht=null;const dt=i.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&"object"==typeof e||(e={}),e=D(e),ct=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ut:e.PARSER_MEDIA_TYPE,ft="application/xhtml+xml"===ct?b:y,xe=E(e,"ALLOWED_TAGS")?T({},e.ALLOWED_TAGS,ft):Se,Ee=E(e,"ALLOWED_ATTR")?T({},e.ALLOWED_ATTR,ft):ke,rt=E(e,"ALLOWED_NAMESPACES")?T({},e.ALLOWED_NAMESPACES,b):it,Ye=E(e,"ADD_URI_SAFE_ATTR")?T(D(Xe),e.ADD_URI_SAFE_ATTR,ft):Xe,Ge=E(e,"ADD_DATA_URI_TAGS")?T(D(Ze),e.ADD_DATA_URI_TAGS,ft):Ze,Ve=E(e,"FORBID_CONTENTS")?T({},e.FORBID_CONTENTS,ft):Ke,Ce=E(e,"FORBID_TAGS")?T({},e.FORBID_TAGS,ft):{},Ae=E(e,"FORBID_ATTR")?T({},e.FORBID_ATTR,ft):{},We=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Pe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Re=e.SAFE_FOR_TEMPLATES||!1,je=!1!==e.SAFE_FOR_XML,Ne=e.WHOLE_DOCUMENT||!1,Be=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Ie=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,He=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,$e=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||Z,tt=e.NAMESPACE||et,ot=e.MATHML_TEXT_INTEGRATION_POINTS||ot,at=e.HTML_INTEGRATION_POINTS||at,Oe=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Re&&(Pe=!1),Fe&&(Be=!0),We&&(xe=T({},F),Ee=[],!0===We.html&&(T(xe,R),T(Ee,z)),!0===We.svg&&(T(xe,j),T(Ee,U),T(Ee,q)),!0===We.svgFilters&&(T(xe,N),T(Ee,U),T(Ee,q)),!0===We.mathMl&&(T(xe,I),T(Ee,H),T(Ee,q))),e.ADD_TAGS&&(xe===Se&&(xe=D(xe)),T(xe,e.ADD_TAGS,ft)),e.ADD_ATTR&&(Ee===ke&&(Ee=D(Ee)),T(Ee,e.ADD_ATTR,ft)),e.ADD_URI_SAFE_ATTR&&T(Ye,e.ADD_URI_SAFE_ATTR,ft),e.FORBID_CONTENTS&&(Ve===Ke&&(Ve=D(Ve)),T(Ve,e.FORBID_CONTENTS,ft)),qe&&(xe["#text"]=!0),Ne&&T(xe,["html","head","body"]),xe.table&&(T(xe,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');oe=e.TRUSTED_TYPES_POLICY,ae=oe.createHTML("")}else void 0===oe&&(oe=re(W,a)),null!==oe&&"string"==typeof ae&&(ae=oe.createHTML(""));c&&c(e),ht=e}},mt=T({},[...j,...N,...L]),vt=T({},[...I,...B]),yt=function(e){m(n.removed,{element:e});try{J(e).removeChild(e)}catch(t){G(e)}},bt=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Be||Fe)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},_t=function(e){let t=null,n=null;if(Ie)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=oe?oe.createHTML(e):e;if(tt===et)try{t=(new $).parseFromString(r,ct)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),tt===et?ue.call(t,Ne?"html":"body")[0]:Ne?t.documentElement:o},wt=function(e){return ce.call(e.ownerDocument||e,e,C.SHOW_ELEMENT|C.SHOW_COMMENT|C.SHOW_TEXT|C.SHOW_PROCESSING_INSTRUCTION|C.SHOW_CDATA_SECTION,null)},xt=function(e){return e instanceof P&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof A)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},St=function(e){return"function"==typeof f&&e instanceof f};function Et(e,t,r){d(e,(e=>{e.call(n,t,r,ht)}))}const kt=function(e){let t=null;if(Et(he.beforeSanitizeElements,e,null),xt(e))return yt(e),!0;const r=ft(e.nodeName);if(Et(he.uponSanitizeElement,e,{tagName:r,allowedTags:xe}),e.hasChildNodes()&&!St(e.firstElementChild)&&k(/<[/\w!]/g,e.innerHTML)&&k(/<[/\w!]/g,e.textContent))return yt(e),!0;if(e.nodeType===te.progressingInstruction)return yt(e),!0;if(je&&e.nodeType===te.comment&&k(/<[/\w]/g,e.data))return yt(e),!0;if(!xe[r]||Ce[r]){if(!Ce[r]&&Ct(r)){if(Oe.tagNameCheck instanceof RegExp&&k(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(qe&&!Ve[r]){const t=J(e)||e.parentNode,n=X(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=K(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,Y(e))}}}return yt(e),!0}return e instanceof h&&!function(e){let t=J(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=y(e.tagName),r=y(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||ot[r]):Boolean(mt[n]):e.namespaceURI===Qe?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&at[r]:Boolean(vt[n]):e.namespaceURI===et?!(t.namespaceURI===Je&&!at[r])&&!(t.namespaceURI===Qe&&!ot[r])&&!vt[n]&&(st[n]||!mt[n]):!("application/xhtml+xml"!==ct||!rt[e.namespaceURI]))}(e)?(yt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!k(/<\/no(script|embed|frames)/i,e.innerHTML)?(Re&&e.nodeType===te.text&&(t=e.textContent,d([de,pe,ge],(e=>{t=w(t,e," ")})),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),Et(he.afterSanitizeElements,e,null),!1):(yt(e),!0)},Ot=function(e,t,n){if(Ue&&("id"===t||"name"===t)&&(n in i||n in dt))return!1;if(Pe&&!Ae[t]&&k(me,t));else if(Te&&k(ve,t));else if(!Ee[t]||Ae[t]){if(!(Ct(e)&&(Oe.tagNameCheck instanceof RegExp&&k(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&k(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&k(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if(Ye[t]);else if(k(we,w(n,be,"")));
2else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==x(n,"data:")||!Ge[e]){if(De&&!k(ye,w(n,be,"")));else if(n)return!1}else;return!0},Ct=function(e){return"annotation-xml"!==e&&_(e,_e)},At=function(e){Et(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||xt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:c}=o,l=ft(a);let u="value"===a?c:S(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,Et(he.uponSanitizeAttribute,e,r),u=r.attrValue,!He||"id"!==l&&"name"!==l||(bt(a,e),u="user-content-"+u),je&&k(/((--!?|])>)|<\/(style|title)/i,u)){bt(a,e);continue}if(r.forceKeepAttr)continue;if(bt(a,e),!r.keepAttr)continue;if(!Me&&k(/\/>/i,u)){bt(a,e);continue}Re&&d([de,pe,ge],(e=>{u=w(u,e," ")}));const f=ft(e.nodeName);if(Ot(f,l,u)){if(oe&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(f,l)){case"TrustedHTML":u=oe.createHTML(u);break;case"TrustedScriptURL":u=oe.createScriptURL(u)}try{s?e.setAttributeNS(s,a,u):e.setAttribute(a,u),xt(e)?yt(e):g(n.removed)}catch(e){}}}Et(he.afterSanitizeAttributes,e,null)},Tt=function e(t){let n=null;const r=wt(t);for(Et(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Et(he.uponSanitizeShadowNode,n,null),kt(n),At(n),n.content instanceof s&&e(n.content);Et(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,c=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!St(e)){if("function"!=typeof e.toString)throw O("toString is not a function");if("string"!=typeof(e=e.toString()))throw O("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Le||gt(t),n.removed=[],"string"==typeof e&&($e=!1),$e){if(e.nodeName){const t=ft(e.nodeName);if(!xe[t]||Ce[t])throw O("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof f)r=_t("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===te.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!Be&&!Re&&!Ne&&-1===e.indexOf("<"))return oe&&ze?oe.createHTML(e):e;if(r=_t(e),!r)return Be?null:ze?ae:""}r&&Ie&&yt(r.firstChild);const l=wt($e?e:r);for(;a=l.nextNode();)kt(a),At(a),a.content instanceof s&&Tt(a.content);if($e)return e;if(Be){if(Fe)for(c=le.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(Ee.shadowroot||Ee.shadowrootmode)&&(c=fe.call(o,c,!0)),c}let u=Ne?r.outerHTML:r.innerHTML;return Ne&&xe["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&k(Q,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Re&&d([de,pe,ge],(e=>{u=w(u,e," ")})),oe&&ze?oe.createHTML(u):u},n.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Le=!0},n.clearConfig=function(){ht=null,Le=!1},n.isValidAttribute=function(e,t,n){ht||gt({});const r=ft(e),i=ft(t);return Ot(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&m(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=p(he[e],t);return-1===n?void 0:v(he[e],n,1)[0]}return g(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he=ie()},n}()},32690:function(e,t,n){"use strict";n.d(t,{vZ:function(){return W}});var r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty;function a(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function s(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var i=r.cache,o=i.get(t),a=i.get(n);if(o&&a)return o===n&&a===t;i.set(t,n),i.set(n,t);var s=e(t,n,r);return i.delete(t),i.delete(n),s}}function c(e){return r(e).concat(i(e))}var l=Object.hasOwn||function(e,t){return o.call(e,t)};function u(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var f="__v",h="__o",d="_owner",p=Object.getOwnPropertyDescriptor,g=Object.keys;function m(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function v(e,t){return u(e.getTime(),t.getTime())}function y(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function b(e,t){return e===t}function _(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var i,o,a=new Array(r),s=e.entries(),c=0;(i=s.next())&&!i.done;){for(var l=t.entries(),u=!1,f=0;(o=l.next())&&!o.done;)if(a[f])f++;else{var h=i.value,d=o.value;if(n.equals(h[0],d[0],c,f,e,t,n)&&n.equals(h[1],d[1],h[0],d[0],e,t,n)){u=a[f]=!0;break}f++}if(!u)return!1;c++}return!0}var w=u;function x(e,t,n){var r=g(e),i=r.length;
vendor: 4,168 bytes, line 2
2if(g(t).length!==i)return!1;for(;i-- >0;)if(!T(e,t,n,r[i]))return!1;return!0}function S(e,t,n){var r,i,o,a=c(e),s=a.length;if(c(t).length!==s)return!1;for(;s-- >0;){if(!T(e,t,n,r=a[s]))return!1;if(i=p(e,r),o=p(t,r),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function E(e,t){return u(e.valueOf(),t.valueOf())}function k(e,t){return e.source===t.source&&e.flags===t.flags}function O(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var i,o,a=new Array(r),s=e.values();(i=s.next())&&!i.done;){for(var c=t.values(),l=!1,u=0;(o=c.next())&&!o.done;){if(!a[u]&&n.equals(i.value,o.value,i.value,o.value,e,t,n)){l=a[u]=!0;break}u++}if(!l)return!1}return!0}function C(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function A(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function T(e,t,n,r){return!(r!==d&&r!==h&&r!==f||!e.$$typeof&&!t.$$typeof)||l(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var P="[object Arguments]",D="[object Boolean]",M="[object Date]",R="[object Error]",j="[object Map]",N="[object Number]",L="[object Object]",I="[object RegExp]",B="[object Set]",F="[object String]",z="[object URL]",U=Array.isArray,H="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,q=Object.assign,$=Object.prototype.toString.call.bind(Object.prototype.toString);var W=V();V({strict:!0}),V({circular:!0}),V({circular:!0,strict:!0}),V({createInternalComparator:function(){return u}}),V({strict:!0,createInternalComparator:function(){return u}}),V({circular:!0,createInternalComparator:function(){return u}}),V({circular:!0,createInternalComparator:function(){return u},strict:!0});function V(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,i=e.createInternalComparator,o=e.createState,c=e.strict,l=void 0!==c&&c,u=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?S:m,areDatesEqual:v,areErrorsEqual:y,areFunctionsEqual:b,areMapsEqual:r?a(_,S):_,areNumbersEqual:w,areObjectsEqual:r?S:x,arePrimitiveWrappersEqual:E,areRegExpsEqual:k,areSetsEqual:r?a(O,S):O,areTypedArraysEqual:r?S:C,areUrlsEqual:A};if(n&&(i=q({},i,n(i))),t){var o=s(i.areArraysEqual),c=s(i.areMapsEqual),l=s(i.areObjectsEqual),u=s(i.areSetsEqual);i=q({},i,{areArraysEqual:o,areMapsEqual:c,areObjectsEqual:l,areSetsEqual:u})}return i}(e),f=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areErrorsEqual,i=e.areFunctionsEqual,o=e.areMapsEqual,a=e.areNumbersEqual,s=e.areObjectsEqual,c=e.arePrimitiveWrappersEqual,l=e.areRegExpsEqual,u=e.areSetsEqual,f=e.areTypedArraysEqual,h=e.areUrlsEqual;return function(e,d,p){if(e===d)return!0;if(null==e||null==d)return!1;var g=typeof e;if(g!==typeof d)return!1;if("object"!==g)return"number"===g?a(e,d,p):"function"===g&&i(e,d,p);var m=e.constructor;if(m!==d.constructor)return!1;if(m===Object)return s(e,d,p);if(U(e))return t(e,d,p);if(null!=H&&H(e))return f(e,d,p);if(m===Date)return n(e,d,p);if(m===RegExp)return l(e,d,p);if(m===Map)return o(e,d,p);if(m===Set)return u(e,d,p);var v=$(e);return v===M?n(e,d,p):v===I?l(e,d,p):v===j?o(e,d,p):v===B?u(e,d,p):v===L?"function"!=typeof e.then&&"function"!=typeof d.then&&s(e,d,p):v===z?h(e,d,p):v===R?r(e,d,p):v===P?s(e,d,p):(v===D||v===N||v===F)&&c(e,d,p)}}(u);return function(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,o=e.strict;if(r)return function(e,a){var s=r(),c=s.cache,l=void 0===c?t?new WeakMap:void 0:c,u=s.meta;return n(e,a,{cache:l,equals:i,meta:u,strict:o})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return n(e,t,a)}}({circular:r,comparator:f,createState:o,equals:i?i(f):(t=f,function(e,n,r,i,o,a,s){return t(e,n,s)}),strict:l})}},30837:function(e,t,n){"use strict";var r=n(33390);t.Z=r},149:function(e,t,n){"use strict";function r(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","
2EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}
vendor: 1,653 bytes, line 2
2),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},f=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_
2noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},d={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},p=[d,l,a,n,e.C_BLOCK_COMMENT_MODE,c,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+o+"[\\*&\\s]+)+"+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:f,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,c,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(g,m,d,p,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:h,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}n.d(t,{Z:function(){return r}})},66167:function(e,t,n){"use strict";function r(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),u,c,o,a,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}}n.d(t,{Z:function(){return r}})},67382:function(e,t,n){"use strict";function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}
vendor: 5,742 bytes, line 2
2),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},f=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},d=[l,a,n,e.C_BLOCK_COMMENT_MODE,c,s],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:d.concat([{begin:/\(/,end:/\)/,keywords:h,contains:d.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+o+"[\\*&\\s]+)+"+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:f,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,c,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(p,g,d,[l,{begin:e.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:h}}}n.d(t,{Z:function(){return r}})},54375:function(e,t,n){"use strict";function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},f=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_
2noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},d={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},p=[d,l,a,n,e.C_BLOCK_COMMENT_MODE,c,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+o+"[\\*&\\s]+)+"+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:f,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,c,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(g,m,d,p,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:h,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}n.d(t,{Z:function(){return r}})},32022:function(e,t,n){"use strict";function r(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","
2sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},o=e.inherit(i,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),c={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},l={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(l,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[l,c,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,c,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const f={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},l,c,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},d=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",p={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},f,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+d+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[f,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},p]}}n.d(t,{Z:function(){return r}})},40836:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});const r=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
2d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),c=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
2area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(e){const t=e.regex,n=r(e),l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0}
vendor: 4,475 bytes, line 2
2,{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+s.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b"}]}}},45500:function(e,t,n){"use strict";function r(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}n.d(t,{Z:function(){return r}})},4937:function(e,t,n){"use strict";function r(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}n.d(t,{Z:function(){return r}})},58022:function(e,t,n){"use strict";function r(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}n.d(t,{Z:function(){return r}})},72626:function(e,t,n){"use strict";function r(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,o,i,a,n,"self"],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,c
vendor: 4,384 bytes, line 2
2ontains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(c,"(\\s*\\.\\s*",c,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,o,i,a,n]}}]}}n.d(t,{Z:function(){return r}})},82532:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r="[0-9](_*[0-9])*",i=`\\.(${r})`,o="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${r})((${i})|\\.)?|(${i}))[eE][+-]?(${r})[fFdD]?\\b`},{begin:`\\b(${r})((${i})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${i})[fFdD]?\\b`},{begin:`\\b(${r})[fFdD]\\b`},{begin:`\\b0[xX]((${o})\\.?|(${o})?\\.(${o}))[pP][+-]?(${r})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${o})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function s(e,t,n){return-1===n?"":e.replace(t,(r=>s(e,t,n-1)))}function c(e){const t=e.regex,n="[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*",r=n+s("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},c={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a,o]}}},99622:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});const r="[A-Za-z$_][0-9A-Za-z$_]*",i=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],o=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],c=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],l=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],u=[].concat(c,a,s);function f(e){const t=e.regex,n=r,f="<>",h="</>",d={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>
vendor: 4,491 bytes, line 2
2{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let i;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const o=e.input.substring(n);((i=o.match(/^\s*=/))||(i=o.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},p={$pattern:r,keyword:i,literal:o,built_in:u,"variable.language":l},g="[0-9](_?[0-9])*",m=`\\.(${g})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${v})((${m})|\\.)?|(${m}))[eE][+-]?(${g})\\b`},{begin:`\\b(${v})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},b={className:"subst",begin:"\\$\\{",end:"\\}",keywords:p,contains:[]},_={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},w={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"css"}},x={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,b]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,w,x,S,{match:/\$\d+/},y];b.contains=k.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(k)});const O=[].concat(E,b.contains),C=O.concat([{begin:/(\s*)\(/,end:/\)/,keywords:p,contains:["self"].concat(O)}]),A={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:C},T={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...s]}},D={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[A],illegal:/%/};const M={match:t.concat(/\b/,(R=[...c,"super","import"].map((e=>`${e}\\s*\\(`)),t.concat("(?!",R.join("|"),")")),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0};var R;const j={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",I={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:p,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,w,x,S,E,{match:/\$\d+/},y,P,{scope:"attr",match:n+t.lookahead(":"),relevance:0},I,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f,end:h},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:d.begin,"on:begin":d.isTrulyOpeningTag,end:d.end}],subLanguage:"xml",contains:[{begin:d.begin,end:d.end,skip:!0,contains:["self"]}]}]},D,{beginKeywords:"while if switch catch for"}
vendor: 4,106 bytes, line 2
2,{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},T,N,{match:/\$[(.]/}]}}},54766:function(e,t,n){"use strict";function r(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}n.d(t,{Z:function(){return r}})},91321:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r="[0-9](_*[0-9])*",i=`\\.(${r})`,o="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${r})((${i})|\\.)?|(${i}))[eE][+-]?(${r})[fFdD]?\\b`},{begin:`\\b(${r})((${i})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${i})[fFdD]?\\b`},{begin:`\\b(${r})[fFdD]\\b`},{begin:`\\b0[xX]((${o})\\.?|(${o})?\\.(${o}))[pP][+-]?(${r})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${o})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function s(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,r]}]};r.contains.push(o);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},l=a,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},h=f;return h.variants[1].contains=[f],f.variants[1].contains=[h],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,s,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0}
vendor: 7,541 bytes, line 2
2,{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}}},60318:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});const r=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),c=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
2area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),l=a.concat(s).sort().reverse();function u(e){const t=r(e),n=l,u="[\\w-]+",f="("+u+"|@\\{"+u+"\\})",h=[],d=[],p=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},g=function(e,t,n){return{className:e,begin:t,relevance:n}},m={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},v={begin:"\\(",end:"\\)",contains:d,keywords:m,relevance:0};d.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p("'"),p('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,v,g("variable","@@?"+u,10),g("variable","@\\{"+u+"\\}"),g("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const y=d.concat({begin:/\{/,end:/\}/,contains:h}),b={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(d)},_={begin:f+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:d}}]},w={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?ke
vendor: 4,131 bytes, line 2
2yframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:m,returnEnd:!0,contains:d,relevance:0}},x={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:y}},S={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:f,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,g("keyword","all\\b"),g("variable","@\\{"+u+"\\}"),{begin:"\\b("+i.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,g("selector-tag",f,0),g("selector-id","#"+f),g("selector-class","\\."+f,0),g("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:y},{begin:"!important"},t.FUNCTION_DISPATCH]},E={begin:u+":(:)?"+`(${n.join("|")})`,returnBegin:!0,contains:[S]};return h.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,w,x,E,_,S,b,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:h}}},22093:function(e,t,n){"use strict";function r(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}n.d(t,{Z:function(){return r}})},6938:function(e,t,n){"use strict";function r(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o]}}n.d(t,{Z:function(){return r}})}
vendor: 9,069 bytes, line 2
2,77919:function(e,t,n){"use strict";function r(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(r,{contains:[]}),a=e.inherit(i,{contains:[]});r.contains.push(a),i.contains.push(o);let s=[t,n];[r,i,o,a].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(r,i);return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,i,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}n.d(t,{Z:function(){return r}})},40703:function(e,t,n){"use strict";function r(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}n.d(t,{Z:function(){return r}})},76028:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},o={begin:/->\{/,end:/\}/},a={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[a]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},l=[e.BACKSLASH_ESCAPE,i,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,r,i="\\1")=>{const o="\\1"===i?i:t.concat(i,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,o,/(?:\\.|[^\\\/])*?/,i,n)},h=(e,r,i)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,n),d=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",t.either(...u,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...u,{capture:!0}),/\1/)}
vendor: 4,567 bytes, line 2
2,{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,a]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,a,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=d,o.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:d}}n.d(t,{Z:function(){return r}})},94040:function(e,t,n){"use strict";function r(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}n.d(t,{Z:function(){return r}})},10769:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",u={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),c,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},h=["false","null","true"],d=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],p=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],g={keyword:d,literal:(e
vendor: 6,489 bytes, line 2
2=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(h),built_in:p},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),v={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",m(p).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},y=t.concat(r,"\\b(?!\\()"),b={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),y],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),y],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},_={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},w={relevance:0,begin:/\(/,end:/\)/,keywords:g,contains:[_,a,b,e.C_BLOCK_COMMENT_MODE,u,f,v]},x={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(d).join("\\b|"),"|",m(p).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[w]};w.contains.push(x);const S=[_,b,e.C_BLOCK_COMMENT_MODE,u,f,v],E={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...S]},...S,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:g,contains:[E,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},a,x,b,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},v,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",E,a,b,e.C_BLOCK_COMMENT_MODE,u,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},u,f]}}n.d(t,{Z:function(){return r}})},38274:function(e,t,n){"use strict";function r(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}n.d(t,{Z:function(){return r}})},83127:function(e,t,n){"use strict";function r(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}n.d(t,{Z:function(){return r}})},75037:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l="[0-9](_?[0-9])*",u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,f=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${f})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${f})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${f})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${f})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${f})`},{begin:`\\b(${l})[jJ](?=${f})`}]},d={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},p={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",o,h,c,e.HASH_COMMENT_MODE]}]};return a.contains=[c,h,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[o,h,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},c,d,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]}
vendor: 3,832 bytes, line 2
2,{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,p,c]}]}}n.d(t,{Z:function(){return r}})},10140:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}n.d(t,{Z:function(){return r}})},47271:function(e,t,n){"use strict";function r(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepe
vendor: 8,707 bytes, line 2
2nd","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},f="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},d={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},p=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[d]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=p,d.contains=p;const g=[{begin:/^\s*=>/,starts:{end:"$",contains:p}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:o,contains:p}}];return c.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(g).concat(c).concat(p)}}n.d(t,{Z:function(){return r}})},51338:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(32|64))?",s=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],c=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:c,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:s},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+a},{begin:"\\b0o([0-7_]+)"+a},{begin:"\\b0x([A-Fa-f0-9_]+)"+a},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+a}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:s,type:c}},{className:"punctuation",begin:"->"},o]}}n.d(t,{Z:function(){return r}})},35010:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});const r=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
2d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),c=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
2area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(e){const t=r(e),n=s,l=a,u="@[a-z-]+",f={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0}
vendor: 1,109 bytes, line 2
2,{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},f,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inl
2ine-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,f,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:u,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:u,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},f,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}},6140:function(e,t,n){"use strict";function r(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}n.d(t,{Z:function(){return r}})},34085:function(e,t,n){"use strict";function r(e){const t=e.regex,n=e.COMMENT("--","$"),r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=r,o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","ver
2sioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!r.includes(e))),a={match:t.concat(/\b/,t.either(...i),/\s*\(/),relevance:0,keywords:{built_in:i}};function s(e){return t.concat(/\b/,t.either(...e.map((e=>e.replace(/\s+/,"\\s+")))),/\b/)}const c={scope:"keyword",match:s(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(o,{when:e=>e.length<3}),literal:["true","false","unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:s(["double precision","large object","with timezone","without timezone"])},c,a,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}n.d(t,{Z:function(){return r}})},55079:function(e,t,n){"use strict";function r(e){return e?"string"==typeof e?e:e.source:null}function i(e){return o("(?=",e,")")}function o(...e){return e.map((e=>r(e))).join("")}function a(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>r(e))).join("|")+")"}n.d(t,{Z:function(){return k}});const s=e=>o(/\b/,e,/\w$/.test(e)?/\b/:/\B/),c=["Protocol","Type"].map(s),l=["init","self"].map(s),u=["Any","Self"],f=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],h=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","
vendor: 5,161 bytes, line 2
2withoutActuallyEscaping","zip"],m=a(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),v=a(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),y=o(m,v,"*"),b=a(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),_=a(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=o(b,_,"*"),x=o(/[A-Z]/,_,"*"),S=["attached","autoclosure",o(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",o(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],E=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function k(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],m={match:[/\./,a(...c,...l)],className:{2:"keyword"}},b={match:o(/\./,a(...f)),relevance:0},k=f.filter((e=>"string"==typeof e)).concat(["_|0"]),O={variants:[{className:"keyword",match:a(...f.filter((e=>"string"!=typeof e)).concat(u).map(s),...l)}]},C={$pattern:a(/\b\w+/,/#\w+/),keyword:k.concat(p),literal:h},A=[m,b,O],T=[{match:o(/\./,a(...g)),relevance:0},{className:"built_in",match:o(/\b/,a(...g),/(?=\()/)}],P={match:/->/,relevance:0},D=[P,{className:"operator",relevance:0,variants:[{match:y},{match:`\\.(\\.|${v})+`}]}],M="([0-9]_*)+",R="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${M})(\\.(${M}))?([eE][+-]?(${M}))?\\b`},{match:`\\b0x(${R})(\\.(${R}))?([pP][+-]?(${M}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},N=(e="")=>({className:"subst",variants:[{match:o(/\\/,e,/[0\\tnr"']/)},{match:o(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),L=(e="")=>({className:"subst",match:o(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),I=(e="")=>({className:"subst",label:"interpol",begin:o(/\\/,e,/\(/),end:/\)/}),B=(e="")=>({begin:o(e,/"""/),end:o(/"""/,e),contains:[N(e),L(e),I(e)]}),F=(e="")=>({begin:o(e,/"/),end:o(/"/,e),contains:[N(e),I(e)]}),z={className:"string",variants:[B(),B("#"),B("##"),B("###"),F(),F("#"),F("##"),F("###")]},U=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],H={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:U},q=e=>{const t=o(e,/\//),n=o(/\//,e);return{begin:t,end:n,contains:[...U,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},$={scope:"regexp",variants:[q("###"),q("##"),q("#"),H]},W={match:o(/`/,w,/`/)},V=[W,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${_}+`}],K=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:E,contains:[...D,j,z]}]}},{scope:"keyword",match:o(/@/,a(...S),i(a(/\(/,/\s+/)))},{scope:"meta",match:o(/@/,w)}],G={match:i(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:o(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,_,"+")},{className:"type",match:x,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:o(/\s+&\s+/,i(x)),relevance:0}]},Z={begin:/</,end:/>/,keywords:C,contains:[...r,...A,...K,P,G]};G.contains.push(Z);const Y={begin:/\(/,end:/\)/,relevance:0,keywords:C,contains:["self",{match:o(w,/\s*:/),keywords:"_|0",relevance:0},...r,$,...A,...T,...D,j,z,...V,...K,G]},X={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,G]},Q={begin:/\(/,end:/\)/,keywords:C,contains:[{begin:a(i(o(w,/\s*:/)),i(o(w,/\s+/,w,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:w}]},...r,...A,...D,j,z,...K,G,Y],endsParent:!0,illegal:/["']/},J={match:[/(func|macro)/,/\s+/,a(W.match,w,y)],className:{1:"keyword",3:"title.function"},contains:[X,Q,t],illegal:[/\[/,/%/]},ee={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,Q,t],illegal:/\[|%/},te={match:[/operator/,/\s+/,y],className:{1:"keyword",3:"title"}},ne={begin:[/precedencegroup/,/\s+/,x],className:{1:"keyword",3:"title"},contains:[G],keywords:[...d,...h],end:/}/},re={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,w,/\s*
vendor: 5,456 bytes, line 2
2/],beginScope:{1:"keyword",3:"title.class"},keywords:C,contains:[X,...A,{begin:/:/,end:/\{/,keywords:C,contains:[{scope:"title.class.inherited",match:x},...A],relevance:0}]};for(const e of z.variants){const t=e.contains.find((e=>"interpol"===e.label));t.keywords=C;const n=[...A,...T,...D,j,z,...V];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:C,contains:[...r,J,ee,{match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},re,te,ne,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},$,...A,...T,...D,j,z,...V,...K,G,Y]}}},52247:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});const r="[A-Za-z$_][0-9A-Za-z$_]*",i=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],o=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],c=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],l=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],u=[].concat(c,a,s);function f(e){const t=e.regex,n=r,f="<>",h="</>",d={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let i;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const o=e.input.substring(n);((i=o.match(/^\s*=/))||(i=o.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},p={$pattern:r,keyword:i,literal:o,built_in:u,"variable.language":l},g="[0-9](_?[0-9])*",m=`\\.(${g})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${v})((${m})|\\.)?|(${m}))[eE][+-]?(${g})\\b`},{begin:`\\b(${v})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},b={className:"subst",begin:"\\$\\{",end:"\\}",keywords:p,contains:[]},_={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},w={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"css"}},x={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,b]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,w,x,S,{match:/\$\d+/},y];b.contains=k.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(k)});const O=[].concat(E,b.contains),C=O.concat([{begin:/(\s*)\(/,end:/\)/,keywords:p,contains:["self"].concat(O)}]),A={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:C},T={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...s]}},D={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[A],illegal:/%/};const M={match:t.concat(/\b/,(R=[...c,"super","import"].map((e=>`${e}\\s*\\(`)),t.concat("(?!",R.join("|"),")")),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0};var R;const j={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>
vendor: 4,362 bytes, line 2
2",I={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:p,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,w,x,S,E,{match:/\$\d+/},y,P,{scope:"attr",match:n+t.lookahead(":"),relevance:0},I,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f,end:h},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:d.begin,"on:begin":d.isTrulyOpeningTag,end:d.end}],subLanguage:"xml",contains:[{begin:d.begin,end:d.end,skip:!0,contains:["self"]}]}]},D,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},T,N,{match:/\$[(.]/}]}}function h(e){const t=e.regex,n=f(e),a=r,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],c={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},h={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[n.exports.CLASS_REFERENCE]},d={$pattern:r,keyword:i.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:o,built_in:u.concat(s),"variable.language":l},p={className:"meta",begin:"@"+a},g=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(n.keywords,d),n.exports.PARAMS_CONTAINS.push(p);const m=n.contains.find((e=>"attr"===e.scope)),v=Object.assign({},m,{match:t.concat(a,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,m,v]),n.contains=n.contains.concat([p,c,h,v]),g(n,"shebang",e.SHEBANG()),g(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/});return n.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}},51810:function(e,t,n){"use strict";function r(e){const t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,o=/\d{1,2}(:\d{1,2}){1,2}/,a={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(i,o),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),c=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step
2stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,c,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[c]}]}}n.d(t,{Z:function(){return r}})},26841:function(e,t,n){"use strict";function r(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}n.d(t,{Z:function(){return r}})},61042:function(e,t,n){"use strict";function r(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(i,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,s,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,o,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}n.d(t,{Z:function(){return r}})},5688:function(e,t,n){"use strict";function r(e){const t="true false yes no null",n="[\\w#;
vendor: 4,682 bytes, line 2
2/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(r,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),o={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},c={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},o,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,c,{className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},r],u=[...l];return u.pop(),u.push(i),a.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}n.d(t,{Z:function(){return r}})},12902:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[K]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[V]||!!(null===(t=e.constructor)||void 0===t?void 0:t[V])||h(e)||d(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:Z)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:d(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return H&&e instanceof Map}function d(e){return q&&e instanceof Set}function p(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y(e);delete t[K];for(var n=Z(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return m(t,!0)}),!0)),e}function v(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=X[e];return t||r(18,e),t}function _(e,t){X[e]||(X[e]=t)}function w(){return z}function x(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function S(e){E(e),e.p.forEach(O),e.p=null}function E(e){e===z&&(z=e.l)}function k(e){return z={p:[],l:z,h:e,m:!0,_:0}}function O(e){var t=e[K];0===t.i||1===t.i?t.j():t.O=!0}function C(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.g||b("ES5").S(t,e,i),i?(n[K].P&&(S(t),r(4)),o(e)&&(e=A(t,e),t.l||P(t,e)),t.u&&b("Patches").M(n[K].t,e,t.u,t.s)):e=A(t,n,[]),S(t),t.u&&t.v(t.u,t.s),e!==W?e:void 0}function A(e,t,n){if(y(t))return t;var r=t[K];if(!r)return a(t,(function(i,o){return T(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return P(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=g(r.k):r.o,o=i,s=!1;3===r.i&&(o=new Set(i),i.clear(),s=!0),a(o,(function(t,o){return T(e,r,i,t,o,n,s)})),P(e,i,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function T(e,t,n,r,a,s,l){if(i(a)){var f=A(e,a,s&&t&&3!==t.i&&!c(t.R,r)?
vendor: 6,587 bytes, line 2
2s.concat(r):void 0);if(u(n,r,f),!i(f))return;e.m=!1}else l&&n.add(a);if(o(a)&&!y(a)){if(!e.h.D&&e._<1)return;A(e,a),t&&t.A.l||P(e,a)}}function P(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function D(e,t){var n=e[K];return(n?p(n):e)[t]}function M(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function R(e){e.P||(e.P=!0,e.l&&R(e.l))}function j(e){e.o||(e.o=g(e.t))}function N(e,t,n){var r=h(t)?b("MapSet").F(t,n):d(t)?b("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Q;n&&(i=[r],o=J);var a=Proxy.revocable(i,o),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(t,n):b("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function L(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[K],i=s(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=I(t,i),r.I=!1}else n=I(t,i);return a(n,(function(t,i){r&&l(r.t,t)===i||u(n,t,e(i))})),3===i?new Set(n):n}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}function B(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[K];return Q.get(t,e)},set:function(t){var n=this[K];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][K];if(!i.P)switch(i.i){case 5:r(i)&&R(i);break;case 4:n(i)&&R(i)}}}function n(e){for(var t=e.t,n=e.k,r=Z(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==K){var a=t[o];if(void 0===a&&!c(t,o))return!0;var s=n[o],l=s&&s[K];if(l?l.t!==a:!f(s,a))return!0}}var u=!!t[K];return r.length!==Z(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};_("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=Y(n);delete o[K];for(var a=Z(o),s=0;s<a.length;s++){var c=a[s];o[c]=e(c,t||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:w(),P:!1,I:!1,R:{},l:n,t:t,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,K,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[K].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var i=n.t,o=n.k,s=n.R,l=n.i;if(4===l)a(o,(function(t){t!==K&&(void 0!==i[t]||c(i,t)?s[t]||e(o[t]):(s[t]=!0,R(n)))})),a(i,(function(e){void 0!==o[e]||c(o,e)||(s[e]=!1,R(n))}));else if(5===l){if(r(n)&&(R(n),s.length=!0),o.length<i.length)for(var u=o.length;u<i.length;u++)s[u]=!1;else for(var f=i.length;f<o.length;f++)s[f]=!0;for(var h=Math.min(o.length,i.length),d=0;d<h;d++)o.hasOwnProperty(d)||(s[d]=!0),void 0===s[d]&&e(o[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{Vk:function(){return L},mv:function(){return i},o$:function(){return o},pV:function(){return B}});var F,z,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),H="undefined"!=typeof Map,q="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,W=U?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),V=U?Symbol.for("immer-draftable"):"__$immer_draftable",K=U?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(e){var t={};return Z(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Q={get:function(e,t){if(t===K)return e;var n=p(e);if(!c(n,t))return function(e,t,n){var r,i=M(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===D(e.t,t)?(j(e),e.o[t]=N(e.A.h,r,e)):r},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,n){var r=M(p(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=D(p(e),t),o=null==i?void 0:i[K];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(f(n,i)&&(void 0!==n||c(e.t,t)))return!0;j(e),R(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==D(e.t,t)||t in e.t?(e.R[t]=!1,j(e),R(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=p(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};a(Q,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.g=$,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))}))}}var c;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var l=k(t),u=N(t,e,void 0),f=!0;try{c=n(u),f=!1}finally{f?S(l):E(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return x(l,i),C(e,l)}),(function(e){throw S(l),e})):(x(l,i),C(c,l))}if(!e||"object"!=typeof e){if(void 0===(c=n(e))&&(c=e),c===W&&(c=void 0),t.D&&m(c,!0),i){var h=[],d=[];b("Patches").M(e,c,h,d),i(h,d)}return c}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))};var r,i,o=t.produce(e,n,(function(e,t){r=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,i]})):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}
2var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=L(e));var t=k(this),n=N(this,e,void 0);return n[K].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return x(n,t),C(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!$&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=b("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),te=new ee,ne=te.produce;te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te);t.ZP=ne},69583:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","URL","WeakMap","WeakSet"],i=["bigint","boolean","null","number","string","symbol","undefined"];function o(e){const t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":(n=t,r.includes(n)?t:void 0);var n}function a(e){return t=>o(t)===e}function s(e){return t=>typeof t===e}var c=["innerHTML","ownerDocument","style","attributes","nodeValue"],l=e=>Array.isArray(e),u=a("AsyncFunction"),f=s("bigint"),h=a("Date"),d=a("Error"),p=s("function"),g=a("GeneratorFunction"),m=a("Map"),v=e=>Number.isNaN(e),y=e=>null===e,b=a("Function"),_=a("Promise"),w=a("RegExp"),x=a("Set"),S=s("string"),E=s("symbol"),k=s("undefined"),O=a("WeakMap"),C=a("WeakSet"),A=e=>y(e)||k(e),T=e=>!k(e),P=e=>!A(e)&&(p(e)||"object"==typeof e),D=e=>{if("Object"!==o(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},M=e=>!A(e)&&p(e[Symbol.iterator]);function R(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(l(e))return"Array";if(b(e))return"Function";const t=o(e);return t||"Object"}R.array=l,R.arrayOf=(e,t)=>!(!l(e)||!p(t))&&e.every((e=>t(e))),R.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===o(e),R.asyncFunction=u,R.bigint=f,R.boolean=e=>!0===e||!1===e,R.class=e=>p(e)&&/^class\s/.test(e.toString()),R.date=h,R.defined=T,R.domElement=e=>P(e)&&!D(e)&&1===e.nodeType&&S(e.nodeName)&&c.every((t=>t in e)),R.empty=e=>S(e)&&0===e.length||l(e)&&0===e.length||P(e)&&!m(e)&&!x(e)&&0===Object.keys(e).length||x(e)&&0===e.size||m(e)&&0===e.size,R.error=d,R.function=p,R.generator=e=>M(e)&&p(e.next)&&p(e.throw),R.generatorFunction=g,R.instanceOf=(e,t)=>!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype,R.integer=e=>"number"==typeof e&&Number.isInteger(e),R.iterable=M,R.map=m,R.nan=v,R.null=y,R.nullOrUndefined=A,R.nonEmptyString=e=>S(e)&&e.trim().length>0,R.number=e=>s("number")(e)&&!v(e),R.numericString=e=>{if(!S(e)||0===e.length)return!1;const t=e.trim();return t.length>0&&Number.isFinite(Number(t))},R.object=P,R.oneOf=(e,t)=>!!l(e)&&e.indexOf(t)>-1,R.plainFunction=b,R.plainObject=D,R.primitive=e=>{return y(e)||(t=typeof e,i.includes(t));var t},R.promise=_,R.propertyOf=(e,t,n)=>{if(!P(e)||!t)return!1;const r=e[t];return p(n)?n(r):T(r)},R.regexp=w,R.set=x,R.string=S,R.symbol=E,R.undefined=k,R.url=e=>"URL"===o(e),R.weakMap=O,R.weakSet=C;var j=R},60150:function(e,t,n){"use strict";function r(e,t,n){"object"==typeof n.value&&(n.value=i(n.value)),n.enumerable&&!n.get&&!n.set&&n.configurable&&n.writable&&"__proto__"!==t?e[t]=n.value:Object.defineProperty(e,t,n)}function i(e){if("object"!=typeof e)return e;var t,n,o,a=0,s=Object.prototype.toString.call(e);if("[object Object]"===s?o=Object.create(e.__proto__||null):"[object Array]"===s?o=Array(e.length):"[object Set]"===s?(o=new Set,e.forEach((function(e){o.add(i(e))}))):"[object Map]"===s?(o=new Map,e.forEach((function(e,t){o.set(i(t),i(e))}))):"[object Date]"===s?o=new Date(+e):"[object RegExp]"===s?o=new RegExp(e.source,e.flags):"[object DataView]"===s?o=new e.constructor(i(e.buffer)):"[object ArrayBuffer]"===s?o=e.slice(0):"Array]"===s.slice(-6)&&(o=new e.constructor(e)),o){for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)r(o,n[a],Object.getOwnPropertyDescriptor(e,n[a]));for(a=0,n=Object.getOwnPropertyNames(e);a<n.length;a++)Object.hasOwnProperty.call(o,t=n[a])&&o[t]===e[t]||r(o,t,Object.getOwnPropertyDescriptor(e,t))}return o||e}n.d(t,{Y:function(){return i}})},57300:function(e,t,n){"use strict";n.d(t,{mc:function(){return Je},sE:function(){return rt},wS:function(){return nt},zR:function(){return et}});const r="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",i="ελ1Ï
2бг1ел3деÑи4еÑ2каÑолик6ом3мÐ
2ºÐ´2он1Ñква6онлайн5Ñг3ÑÑÑ2Ñ2ÑайÑ3Ñб3ÑкÑ3Òаз3Õ°Õ¡Õµ3×שר××5×§××3Ø§Ø¨ÙØ¸Ø¨Ù5راÙ
ÙÙ5ÙØ§Ø±Ø¯Ù4Ø¨ØØ±ÙÙ5جزائر5Ø³Ø¹ÙØ¯ÙØ©6عÙÙØ§Ù5Ù
غرب5Ù
ارات5ÛØ±Ø§Ù5بارت2زار4ÙØªÙ3ھارت5تÙÙØ³4Ø³ÙØ¯Ø§Ù3Ø±ÙØ©5Ø´Ø¨ÙØ©4عراÙ2ب2Ù
اÙ4ÙÙØ³Ø·ÙÙ6ÙØ·Ø±3ÙØ§Ø«ÙÙÙÙ6ÙÙ
3Ù
صر2ÙÙØ³Ùا5ÙØ±ÙتاÙÙØ§7ÙØ¹4ÙÙ
راÙ5پاکستاÙ7ÚØ§Ø±Øª4à¤à¥à¤®3नà¥à¤3à¤à¤¾à¤°à¤¤0मà¥3à¥à¤¤5सà¤à¤à¤ न5বাà¦à¦²à¦¾5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4à®à®¨à¯à®¤à®¿à®¯à®¾6லà®à¯à®à¯6à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´5à¶½à¶à¶à·4à¸à¸à¸¡3à¹à¸à¸¢3ລາວ3áá2ã¿ããª3ã¢ãã¾ã³4ã¯ã©ã¦ã4ã°ã¼ã°ã«4ã³ã 2ã¹ãã¢3ã»ã¼ã«3ãã¡ãã·ã§ã³6ãã¤ã³ã4ä¸ç2ä¸ä¿¡1å½1å1æç½3äºé©¬é3ä¼ä¸2ä½å±±2ä¿¡æ¯2å¥åº·2å
«å¦2å
¬å¸1ç2å°æ¹¾1ç£2åå1åº1æ 2åé0大é
åº5å¨çº¿2大æ¿2天主æ3娱ä¹2å®¶é»2广ä¸2å¾®å2æ
å2æç±ä½ 3ææº2æè2æ¿å¡1åº2æ°å å¡2é»2æ¶å°2æ¸ç±2æºæ2淡马é¡3游æ2æ¾³é2ç¹ç2ç§»å¨2ç»ç»æºæ4ç½å1åº1ç«1ç»2èé2è°·æ2è´ç©2é販2éå¢2é»è¨çç§4é£å©æµ¦3é£å2é¤å
2馿 ¼éæ3港2ë·ë·1ì»´2ì¼ì±2íêµ2",o="numeric",a="ascii",s="alpha",c="asciinumeric",l="alphanumeric",u="domain",f="emoji",h="scheme",d="slashscheme",p="whitespace";function g(e,t){return e in t||(t[e]=[]),t[e]}function m(e,t,n){t[o]&&(t[c]=!0,t[l]=!0),t[a]&&(t[c]=!0,t[s]=!0),t[c]&&(t[l]=!0),t[s]&&(t[l]=!0),t[l]&&(t[u]=!0),t[f]&&(t[u]=!0);for(const r in t){const t=g(r,n);t.indexOf(e)<0&&t.push(e)}}function v(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}v.groups={},v.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const r=t.jr[n][0],i=t.jr[n][1];if(i&&r.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){let i;return r=r||v.groups,t&&t.j?i=t:(i=new v(t),n&&r&&m(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this;const o=e.length;if(!o)return i;for(let t=0;t<o-1;t++)i=i.tt(e[t]);return i.tt(e[o-1],t,n,r)},tt(e,t,n,r){r=r||v.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const o=t;let a,s=i.go(e);if(s?(a=new v,Object.assign(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new v,o){if(r)if(a.t&&"string"==typeof a.t){const e=Object.assign(function(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(a.t,r),n);m(o,e,r)}else n&&m(o,n,r);a.t=o}return i.j[e]=a,a}};const y=(e,t,n,r,i)=>e.ta(t,n,r,i),b=(e,t,n,r,i)=>e.tr(t,n,r,i),_=(e,t,n,r,i)=>e.ts(t,n,r,i),w=(e,t,n,r,i)=>e.tt(t,n,r,i),x="WORD",S="UWORD",E="ASCIINUMERICAL",k="ALPHANUMERICAL",O="LOCALHOST",C="TLD",A="UTLD",T="SCHEME",P="SLASH_SCHEME",D="NUM",M="WS",R="NL",j="OPENBRACE",N="CLOSEBRACE",L="OPENBRACKET",I="CLOSEBRACKET",B="OPENPAREN",F="CLOSEPAREN",z="OPENANGLEBRACKET",U="CLOSEANGLEBRACKET",H="FULLWIDTHLEFTPAREN",q="FULLWIDTHRIGHTPAREN",$="LEFTCORNERBRACKET",W="RIGHTCORNERBRACKET",V="LEFTWHITECORNERBRACKET",K="RIGHTWHITECORNERBRACKET",G="FULLWIDTHLESSTHAN",Z="FULLWIDTHGREATERTHAN",Y="AMPERSAND",X="APOSTROPHE",Q="ASTERISK",J="AT",ee="BACKSLASH",te="BACKTICK",ne="CARET",re="COLON",ie="COMMA",oe="DOLLAR",ae="DOT",se="EQUALS",ce="EXCLAMATION",le="HYPHEN",ue="PERCENT",fe="PIPE",he="PLUS",de="POUND",pe="QUERY",ge="QUOTE",me="FULLWIDTHMIDDLEDOT",ve="SEMI",ye="SLASH",be="TILDE",_e="UNDERSCORE",we="EMOJI",xe="SYM";var Se=Object.freeze({__proto__:null,ALPHANUMERICAL:k,AMPERSAND:Y,APOSTROPHE:X,ASCIINUMERICAL:E,ASTERISK:Q,AT:J,BACKSLASH:ee,BACKTICK:te,CARET:ne,CLOSEANGLEBRACKET:U,CLOSEBRACE:N,CLOSEBRACKET:I,CLOSEPAREN:F,COLON:re,COMMA:ie,DOLLAR:oe,DOT:ae,EMOJI:we,EQUALS:se,EXCLAMATION:ce,FULLWIDTHGREATERTHAN:Z,FULLWIDTHLEFTPAREN:H,FULLWIDTHLESSTHAN:G,FULLWIDTHMIDDLEDOT:me,FULLWIDTHRIGHTPAREN:q,HYPHEN:le,LEFTCORNERBRACKET:$,LEFTWHITECORNERBRACKET:V,LOCALHOST:O,NL:R,NUM:D,OPENANGLEBRACKET:z,OPENBRACE:j,OPENBRACKET:L,OPENPAREN:B,PERCENT:ue,PIPE:fe,PLUS:he,POUND:de,QUERY:pe,QUOTE:ge,RIGHTCORNERBRACKET:W,RIGHTWHITECORNERBRACKET:K,SCHEME:T,SEMI:ve,SLASH:ye,SLASH_SCHEME:P,SYM:xe,TILDE:be,TLD:C,UNDERSCORE:_e,UTLD:A,UWORD:S,WORD:x,WS:M});const Ee=/[a-z]/,ke=/\p{L}/u,Oe=/\p{Emoji}/u,Ce=/\d/,Ae=/\s/;const Te="\r",Pe="\n",De="ï¸",Me="â",Re="";let je=null,Ne=null;function Le(e,t){const n=function(e){const t=[],n=e.length;let r=0;for(;r<n;){let i,o=e.charCodeAt(r),a=o<55296||o>56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=e,c=null,l=0,u=null,f=-1,h=-1;for(;a<r&&(c=s.go(n[a]));)s=c,s.accepts()?(f=0,h=0,u=s):f>=0&&(f+=n[a].length,h++),l+=n[a].length,o+=n[a].length,a++;o-=f,a-=h,l-=f,i.push({t:u.t,v:t.slice(o-l,o),s:o-l,e:o})}return i}function Ie(e,t,n,r,i){let o;const a=t.length;for(let n=0;n<a-1;n++){const a=t[n];e.j[a]?o=e.j[a]:(o=new v(r),o.jr=i.slice(),e.j[a]=o),e=o}return o=new v(n),o.jr=i.slice(),e.j[t[a-1]]=o,o}function Be(e){const t=[],n=[];let r=0;for(;r<e.length;){let i=0;for(;"0123456789".indexOf(e[r+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}const Fe={defaultProtocol:"http",events:null,format:Ue,formatHref:Ue,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};
vendor: 5,337 bytes, line 2
2function ze(e,t=null){let n=Object.assign({},Fe);e&&(n=Object.assign(n,e instanceof ze?e.o:e));const r=n.ignoreTags,i=[];for(let e=0;e<r.length;e++)i.push(r[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}function Ue(e){return e}ze.prototype={o:Fe,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let i=this.o[e];return i?("object"==typeof i?(i=n.t in i?i[n.t]:Fe[e],"function"==typeof i&&r&&(i=i(t,n))):"function"==typeof i&&r&&(i=i(t,n.t,n)),i):i},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function He(e,t){this.t="token",this.v=e,this.tk=t}function qe(e,t){class n extends He{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}He.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"â¦":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Fe.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),c=e.get("target",n,t),l=e.get("rel",n,t),u=e.getObj("attributes",n,t),f=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),c&&(a.target=c),l&&(a.rel=l),u&&Object.assign(a,u),{tagName:i,attributes:a,content:o,eventListeners:f}}};const $e=qe("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),We=qe("text"),Ve=qe("nl"),Ke=qe("url",{isLink:!0,toHref(e=Fe.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==O&&e[1].t===re}});const Ge=e=>new v(e);function Ze(e,t,n){const r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}const Ye="undefined"!=typeof console&&console&&console.warn||(()=>{}),Xe="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Qe={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Je(){return v.groups={},Qe.scanner=null,Qe.parser=null,Qe.tokenQueue=[],Qe.pluginQueue=[],Qe.customSchemes=[],Qe.initialized=!1,Qe}function et(e,t=!1){if(Qe.initialized&&Ye(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Xe}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');Qe.customSchemes.push([e,t])}function tt(){Qe.scanner=function(e=[]){const t={};v.groups=t;const n=new v;null==je&&(je=Be(r)),null==Ne&&(Ne=Be(i)),w(n,"'",X),w(n,"{",j),w(n,"}",N),w(n,"[",L),w(n,"]",I),w(n,"(",B),w(n,")",F),w(n,"<",z),w(n,">",U),w(n,"ï¼",H),w(n,"ï¼",q),w(n,"ã",$),w(n,"ã",W),w(n,"ã",V),w(n,"ã",K),w(n,"ï¼",G),w(n,"ï¼",Z),w(n,"&",Y),w(n,"*",Q),w(n,"@",J),w(n,"`",te),w(n,"^",ne),w(n,":",re),w(n,",",ie),w(n,"$",oe),w(n,".",ae),w(n,"=",se),w(n,"!",ce),w(n,"-",le),w(n,"%",ue),w(n,"|",fe),w(n,"+",he),w(n,"#",de),w(n,"?",pe),w(n,'"',ge),w(n,"/",ye),w(n,";",ve),w(n,"~",be),w(n,"_",_e),w(n,"\\",ee),w(n,"ã»",me);const g=b(n,Ce,D,{[o]:!0});b(g,Ce,g);const y=b(g,Ee,E,{[c]:!0}),Le=b(g,ke,k,{[l]:!0}),Fe=b(n,Ee,x,{[a]:!0});b(Fe,Ce,y),b(Fe,Ee,Fe),b(y,Ce,y),b(y,Ee,y);const ze=b(n,ke,S,{[s]:!0});b(ze,Ee),b(ze,Ce,Le),b(ze,ke,ze),b(Le,Ce,Le),b(Le,Ee),b(Le,ke,Le);const Ue=w(n,Pe,R,{[p]:!0}),He=w(n,Te,M,{[p]:!0}),qe=b(n,Ae,M,{[p]:!0});w(n,Re,qe),w(He,Pe,Ue),w(He,Re,qe),b(He,Ae,qe),w(qe,Te),w(qe,Pe),b(qe,Ae,qe),w(qe,Re,qe);const $e=b(n,Oe,we,{[f]:!0});w($e,"#"),b($e,Oe,$e),w($e,De,$e);const We=w($e,Me);w(We,"#"),b(We,Oe,$e);const Ve=[[Ee,Fe],[Ce,y]],Ke=[[Ee,null],[ke,ze],[Ce,Le]];for(let e=0;e<je.length;e++)Ie(n,je[e],C,x,Ve);for(let e=0;e<Ne.length;e++)Ie(n,Ne[e],A,S,Ke);m(C,{tld:!0,ascii:!0},t),m(A,{utld:!0,alpha:!0},t),Ie(n,"file",T,x,Ve),Ie(n,"mailto",T,x,Ve),Ie(n,"http",P,x,Ve),Ie(n,"https",P,x,Ve),Ie(n,"ftp",P,x,Ve),Ie(n,"ftps",P,x,Ve),m(T,{scheme:!0,ascii:!0},t),m(P,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const r=e[t][0],i=e[t][1]?{[h]:!0}:{[d]:!0};r.indexOf("-")>=0?i[u]=!0:Ee.test(r)?Ce.test(r)?i[c]=!0:i[a]=!0:i[o]=!0,_(n,r,r,i)}return _(n,"localhost",O,{ascii:!0}),n.jd=new v(xe),{start:n,tokens:Object.assign({groups:t},Se)}}(Qe.customSchemes);for(let e=0;e<Qe.tokenQueue.length;e++)Qe.tokenQueue[e][1]({scanner:Qe.scanner});Qe.parser=function({groups:e}){const t=e.domain.concat([Y,Q,J,ee,te,ne,oe,se,le,D,ue,fe,he,de,ye,xe,be,_e]),n=[X,re,ie,ae,ce,ue,pe,ge,ve,z,U,j,N,I,L,B,F,H,q,$,W,V,K,G,Z],r=[Y,X,Q,ee,te,ne,oe,se,le,
2j,N,ue,fe,he,de,pe,ye,xe,be,_e],i=Ge(),o=w(i,be);y(o,r,o),y(o,e.domain,o);const a=Ge(),s=Ge(),c=Ge();y(i,e.domain,a),y(i,e.scheme,s),y(i,e.slashscheme,c),y(a,r,o),y(a,e.domain,a);const l=w(a,J);w(o,J,l),w(s,J,l),w(c,J,l);const u=w(o,ae);y(u,r,o),y(u,e.domain,o);const f=Ge();y(l,e.domain,f),y(f,e.domain,f);const h=w(f,ae);y(h,e.domain,f);const d=Ge($e);y(h,e.tld,d),y(h,e.utld,d),w(l,O,d);const p=w(f,le);w(p,le,p),y(p,e.domain,f),y(d,e.domain,f),w(d,ae,h),w(d,le,p);const g=w(d,re);y(g,e.numeric,$e);const m=w(a,le),v=w(a,ae);w(m,le,m),y(m,e.domain,a),y(v,r,o),y(v,e.domain,a);const b=Ge(Ke);y(v,e.tld,b),y(v,e.utld,b),y(b,e.domain,a),y(b,r,o),w(b,ae,v),w(b,le,m),w(b,J,l);const _=w(b,re),x=Ge(Ke);y(_,e.numeric,x);const S=Ge(Ke),E=Ge();y(S,t,S),y(S,n,E),y(E,t,S),y(E,n,E),w(b,ye,S),w(x,ye,S);const k=w(s,re),C=w(c,re),A=w(C,ye),T=w(A,ye);y(s,e.domain,a),w(s,ae,v),w(s,le,m),y(c,e.domain,a),w(c,ae,v),w(c,le,m),y(k,e.domain,S),w(k,ye,S),w(k,pe,S),y(T,e.domain,S),y(T,t,S),w(T,ye,S);const P=[[j,N],[L,I],[B,F],[z,U],[H,q],[$,W],[V,K],[G,Z]];for(let e=0;e<P.length;e++){const[r,i]=P[e],o=w(S,r);w(E,r,o),w(o,i,S);const a=Ge(Ke);y(o,t,a);const s=Ge();y(o,n),y(a,t,a),y(a,n,s),y(s,t,a),y(s,n,s),w(a,i,S),w(s,i,S)}return w(i,O,b),w(i,R,Ve),{start:i,tokens:Se}}(Qe.scanner.tokens);for(let e=0;e<Qe.pluginQueue.length;e++)Qe.pluginQueue[e][1]({scanner:Qe.scanner,parser:Qe.parser});return Qe.initialized=!0,Qe}function nt(e){return Qe.initialized||tt(),function(e,t,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=e,c=null,l=null,u=0,f=null,h=-1;for(;i<r&&!(c=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(l=c||s.go(n[i].t));)c=null,s=l,s.accepts()?(h=0,f=s):h>=0&&h++,i++,u++;if(h<0)i-=u,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(Ze(We,t,a)),a=[]),i-=h,u-=h;const e=f.t,r=n.slice(i-u,i);o.push(Ze(e,t,r))}}return a.length>0&&o.push(Ze(We,t,a)),o}(Qe.parser.start,e,Le(Qe.scanner.start,e))}function rt(e,t=null,n=null){if(t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new ze(n),i=nt(e),o=[];for(let e=0;e<i.length;e++){const n=i[e];!n.isLink||t&&n.t!==t||!r.check(n)||o.push(n.toFormattedObject(r))}return o}nt.scan=Le},94886:function(e,t,n){"use strict";function r(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return!t&&n(e)})).catch((function(e){return!t&&r(e)}))})),cancel:function(){t=!0}}}n.d(t,{Z:function(){return r}})},99211:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},i=r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),["onKeyDown","onKeyPress","onKeyUp"],!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function o(e,t){var n={};return i.forEach((function(r){var i=e[r];i&&(n[r]=t?function(e){return i(e,t(r))}:i)})),n}},45707:function(e,t,n){"use strict";n.r(t),n.d(t,{DataTable:function(){return mt},differenceBy:function(){return Ee},getValueAtPath:function(){return Oe},humanize:function(){return Se},uniqBy:function(){return ke},useDataTableColumns:function(){return Je}});var r,i,o=n(67294),a=n(71485),s=n(6483),c=n(41219),l=n(64523),u=n(63706),f=n(95078),h=n(40254),d=n(80665),p=n(85893),g=n(43523),m=n(95117),v=n(73623),y=n(34065),b=n(71232),_=n(45528),w=n(57327),x=n(49834),S=n(97564),E=n(87092),k=n(91759),O=n(20966),C=n(77944),A=n(49441),T=n(67841),P=n(31003),D=n(98697),M=n(12185),R=n(21997),j=n(82623),N=n(84137),L=n(10753),I=n(34736),B=n(88854),F=Object.create,z=Object.defineProperty,U=Object.getOwnPropertyDescriptor,H=Object.getOwnPropertyNames,q=Object.getPrototypeOf,$=Object.prototype.hasOwnProperty,W=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),V=(r=()=>{},()=>
2(r&&(i=r(r=0)),i)),K=W(((e,t)=>{V();t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"})),G=W(((e,t)=>{V();var n=K();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}})),Z=W(((e,t)=>{V(),t.exports=G()()}));V(),V(),V(),V(),V(),V();var[Y,X]=function(e){let t=(0,o.createContext)(null);return[({children:e,value:n})=>o.createElement(t.Provider,{value:n},e),()=>{let n=(0,o.useContext)(t);if(null===n)throw new Error(e);return n}]}("useDataTableDragToggleColumnsContext must be used within DataTableDragToggleColumnOrdersProvider"),Q=e=>{let{children:t,columnsOrder:n,setColumnsOrder:r,columnsToggle:i,setColumnsToggle:a,resetColumnsOrder:s,resetColumnsToggle:c,setColumnWidth:l,resetColumnsWidth:u}=e,[f,h]=(0,o.useState)(""),[d,g]=(0,o.useState)("");return(0,p.jsx)(Y,{value:{sourceColumn:f,setSourceColumn:h,targetColumn:d,setTargetColumn:g,columnsToggle:i,setColumnsToggle:a,swapColumns:()=>{if(!(n&&r&&f&&d))return;let e=n.indexOf(f),t=n.indexOf(d);if(-1!==e&&-1!==t){let i=n.splice(e,1)[0];n.splice(t,0,i),r([...n])}},resetColumnsOrder:s,resetColumnsToggle:c,setColumnWidth:l,resetColumnsWidth:u},children:t})};V();var J=(0,a.k)({root:{"&&":{background:"transparent",":last-of-type td":{borderBottom:"none"}}}});function ee(){let{classes:e}=J();return(0,p.jsx)("tr",{className:e.root,children:(0,p.jsx)("td",{})})}V(),V(),V();var te=((e,t,n)=>(n=null!=e?F(q(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of H(t))!$.call(e,i)&&i!==n&&z(e,i,{get:()=>t[i],enumerable:!(r=U(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:z(n,"default",{value:e,enumerable:!0}),e)))(Z());V();var ne={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"},re=Object.defineProperty,ie=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,le=(e,t,n)=>t in e?re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ue=(e,t)=>{for(var n in t||(t={}))se.call(t,n)&&le(e,n,t[n]);if(ae)for(var n of ae(t))ce.call(t,n)&&le(e,n,t[n]);return e},fe=(e,t,n)=>{let r=(0,o.forwardRef)(((t,r)=>{var i=t,{color:a="currentColor",size:s=24,stroke:c=2,children:l}=i,u=((e,t)=>{var n={};for(var r in e)se.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&ae)for(var r of ae(e))t.indexOf(r)<0&&ce.call(e,r)&&(n[r]=e[r]);return n})(i,["color","size","stroke","children"]);return(0,o.createElement)("svg",ue(((e,t)=>ie(e,oe(t)))(ue({ref:r},ne),{width:s,height:s,stroke:a,strokeWidth:c,className:`tabler-icon tabler-icon-${e}`}),u),[...n.map((([e,t])=>(0,o.createElement)(e,t))),...l||[]])}));return r.propTypes={color:te.default.string,size:te.default.oneOfType([te.default.string,te.default.number]),stroke:te.default.oneOfType([te.default.string,te.default.number])},r.displayName=`${t}`,r};V();var he=fe("arrow-up","IconArrowUp",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 11l-6 -6",key:"svg-1"}],["path",{d:"M6 11l6 -6",key:"svg-2"}]]);V();var de=fe("arrows-vertical","IconArrowsVertical",[["path",{d:"M8 7l4 -4l4 4",key:"svg-0"}],["path",{d:"M8 17l4 4l4 -4",key:"svg-1"}],["path",{d:"M12 3l0 18",key:"svg-2"}]]);V();var pe=fe("database-off","IconDatabaseOff",[["path",{d:"M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74",key:"svg-0"}],["path",{d:"M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6",key:"svg-1"}],["path",{d:"M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4",key:"svg-2"}],["path",{d:"M3 3l18 18",key:"svg-3"}]]);V();var ge=fe("filter","IconFilter",[["path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",key:"svg-0"}]]);V();var me=fe("grip-vertical","IconGripVertical",[["path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}],["path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-3"}],["path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-4"}],["path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-5"}]]);V();
2var ve=fe("x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]),ye=(0,a.k)((e=>({root:{position:"absolute",top:0,right:0,bottom:0,left:0,flexDirection:"column",pointerEvents:"none",color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[6],opacity:0,transition:"opacity .15s ease"},active:{opacity:1},standardIcon:{fontSize:0,borderRadius:"50%",padding:e.spacing.xs,background:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[2]}})));function be({icon:e,text:t,pt:n,pb:r,active:i,children:o}){let{classes:a,cx:s}=ye();return(0,p.jsx)(g.M,{pt:n,pb:r,className:s(a.root,{[a.active]:i}),children:o||(0,p.jsxs)(p.Fragment,{children:[e||(0,p.jsx)("div",{className:a.standardIcon,children:(0,p.jsx)(pe,{})}),(0,p.jsx)(m.x,{size:"sm",color:"dimmed",children:t})]})})}function _e(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){let[r,i]=(0,o.useState)(n?t:function(e,t){return t||(typeof window<"u"&&"matchMedia"in window?e.map((e=>window.matchMedia(e).matches)):e.map((()=>!1)))}(e,t)),a=(0,o.useRef)();return(0,o.useEffect)((()=>{if("matchMedia"in window)return a.current=e.map((e=>window.matchMedia(e))),i(a.current.map((e=>e.matches))),function(e,t){let n=()=>{t(e.map((e=>e.matches)))},r=e.map((e=>{try{return e.addEventListener("change",n),()=>e.removeEventListener("change",n)}catch{return e.addListener(n),()=>e.removeListener(n)}}));return()=>{r.forEach((e=>e()))}}(a.current,(e=>{i(e)}))}),[e]),r}V(),V(),V(),V();var we=typeof window<"u"?o.useLayoutEffect:o.useEffect;function xe(e){let t=(0,v.rZ)(),n="function"==typeof e?e(t):e;return(0,y.a)(n||"",!0)}function Se(e){let t=e.replace(/([a-z\d])([A-Z]+)/g,"$1 $2").replace(/\W|_/g," ").trim().toLowerCase();return`${t.charAt(0).toUpperCase()}${t.slice(1)}`}function Ee(e,t,n){return e.filter((e=>!t.map(n).includes(n(e))))}function ke(e,t){return e.filter(((e,n,r)=>n===r.findIndex((n=>t(e)===t(n)))))}function Oe(e,t){return t?t.match(/([^[.\]])+/g).reduce(((e,t)=>e&&e[t]),e):void 0}function Ce(e,t){return"string"==typeof t?Oe(e,t):t(e)}var Ae=(0,a.k)({noWrap:{whiteSpace:"nowrap"},ellipsis:{overflow:"hidden",textOverflow:"ellipsis"}});function Te({className:e,sx:t,style:n,visibleMediaQuery:r,title:i,noWrap:o,ellipsis:a,textAlignment:s,width:c}){let{cx:u,classes:f}=Ae();return xe(r)?(0,p.jsx)(l.x,{component:"th",className:u({[f.noWrap]:o||a,[f.ellipsis]:a},e),sx:[{"&&":{textAlign:s},width:c,minWidth:c,maxWidth:c},t],style:n,children:i}):null}V();var Pe=(0,a.k)((e=>{let t="dark"===e.colorScheme?.5:.05;return{root:{position:"sticky",width:0,left:0,background:"inherit","&::after":{content:'""',position:"absolute",top:0,right:-(0,c.px)(e.spacing.sm),bottom:0,borderLeft:`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,width:e.spacing.sm,background:`linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`,pointerEvents:"none",opacity:0,transition:"opacity .15s ease"}},shadowVisible:{"&::after":{opacity:1}}}}));function De({shadowVisible:e}){let{cx:t,classes:n}=Pe();return(0,p.jsx)("th",{className:t(n.root,{[n.shadowVisible]:e})})}var Me=(0,a.k)(((e,{scrollDiff:t,borderColor:n})=>{let r=t<0,i="function"==typeof n?n(e):n;return{root:{zIndex:2,position:r?"relative":"sticky",bottom:r?t:-1,background:"dark"===e.colorScheme?e.colors.dark[7]:e.white,"&& tr th":{borderTopColor:i}},relative:{position:"relative"},textSelectionDisabled:{userSelect:"none"}}})),Re=(0,o.forwardRef)((function({className:e,style:t,borderColor:n,columns:r,defaultColumnProps:i,selectionVisible:o,leftShadowVisible:a,scrollDiff:s},c){let{cx:u,classes:f}=Me({scrollDiff:s,borderColor:n});return(0,p.jsx)(l.x,{component:"tfoot",ref:c,className:u(f.root,e),style:t,children:(0,p.jsxs)("tr",{children:[o&&(0,p.jsx)(De,{shadowVisible:a}),r.map((({hidden:e,...t})=>{if(e)return null;let{accessor:n,visibleMediaQuery:r,textAlignment:o,width:a,footer:s,footerClassName:c,footerStyle:l,footerSx:u,noWrap:f,ellipsis:h}={...i,...t};return(0,p.jsx)(Te,{className:c,style:l,sx:u,visibleMediaQuery:r,textAlignment:o,width:a,title:s,noWrap:f,ellipsis:h},n)}))]})})}));function je({group:{id:e,columns:t,title:n,className:r,style:i,sx:a}}){let s=function(e){let t=(0,v.rZ)();return _e((0,o.useMemo)((()=>e.map((e=>("function"==typeof e?e(t):e)??""))),[e,t]),(0,o.useMemo)((()=>e.map((()=>!0))),[e]))}((0,o.useMemo)((()=>t.map((({visibleMediaQuery:e})=>e))),[t])),c=(0,o.useMemo)((()=>t.filter((({hidden:e},t)=>!e&&s?.[t])).length),[t,s]);return c>0?(0,p.jsx)(l.x,{component:"th",colSpan:c,className:r,sx:a,style:i,children:n??Se(e)}):null}function Ne({children:e,isActive:t}){let[n,{close:r,toggle:i}]=(0,k.q)(!1);return(0,p.jsxs)(_.J,{withArrow:!0,withinPortal:!0,shadow:"md",opened:n,onClose:r,trapFocus:!0,children:[(0,p.jsx)(_.J.Target,{children:(0,p.jsx)(x.A,{onClick:e=>{e.preventDefault(),i()},variant:t?"default":"subtle",children:(0,p.jsx)(ge,{size:14})})}),(0,p.jsx)(_.J.Dropdown,{onClick:e=>e.preventDefault(),children:"function"==typeof e?e({close:r}):e})]})}V(),V(),V(),V(),V();var Le=(0,a.k)((e=>({resizableColumnHeaderHandle:{ref:(0,s.A)("resizableColumnHeaderHandle"),position:"absolute",curs
2or:"col-resize",top:0,bottom:0,width:"7px",transform:"translateX(4px)",zIndex:1,"::after":{content:'""',position:"absolute",top:"1px",left:"2px",bottom:"1px",background:"inherit",borderLeft:`3px dotted ${"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[3]}`,opacity:0},"&:hover::after":{borderLeftColor:e.colors[e.primaryColor]["dark"===e.colorScheme?6:4]},"tr:hover &::after":{opacity:1}}}))),Ie=e=>{let{accessor:t,columnRef:n}=e,{classes:r}=Le(),i=(0,o.useRef)(null),[a,s]=(0,o.useState)(0),{setColumnWidth:c}=X(),l=e=>{if(!n.current)return;let r=e.clientX-n.current.getBoundingClientRect().right,i=`${n.current.getBoundingClientRect().width+r}px`;n.current.style.width=i,c(t,n.current.style.width),s(-r)},u=()=>{n.current&&(document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",u),document.body.style.cursor="initial",c(t,n.current.style.width),n.current.style.width="initial",s(0))};return(0,p.jsx)("div",{ref:i,onClick:e=>e.stopPropagation(),onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),document.addEventListener("mousemove",l),document.addEventListener("mouseup",u),document.body.style.cursor="col-resize"},onDoubleClick:()=>{n.current&&(n.current.style.maxWidth="initial",n.current.style.minWidth="initial",n.current.style.width="initial",c(t,"initial"))},className:r.resizableColumnHeaderHandle,style:{right:a}})},Be=(0,a.k)((e=>({sortableColumnHeader:{cursor:"pointer",transition:"background .15s ease","&:hover:not(:has(button:hover))":{background:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]}},draggableColumnHeader:{cursor:"grab",borderRadius:6,transition:"all 0.2s","&:active":{cursor:"grabbing"},"&:hover:not(:has(button:hover))":{background:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[2]}},draggableColumnHeaderIcon:{cursor:"inherit",margin:"-2px 2px 0"},draggableColumnHeaderOver:{background:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[2]},toggleableColumnHeaderIcon:{ref:(0,s.A)("toggleableColumnHeaderIcon"),transition:"opacity 0.2s",opacity:"0.1"},toggleableColumnHeader:{"&:hover":{[`& .${(0,s.A)("toggleableColumnHeaderIcon")}`]:{opacity:1}}},resizableColumnHeader:{position:"relative"},resizableColumnHeaderKnob:{position:"relative"},sortableColumnHeaderGroup:{gap:"0.25em"},columnHeaderText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},sortableColumnHeaderText:{minWidth:0,flexGrow:1},sortableColumnHeaderIcon:{transition:"transform .15s ease"},sortableColumnHeaderIconRotated:{transform:"rotate3d(0, 0, 1, 180deg)"},sortableColumnHeaderUnsortedIcon:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],transition:"color .15s ease","th:hover &":{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]}}})));function Fe({className:e,sx:t,style:n,accessor:r,visibleMediaQuery:i,title:a,sortable:s,draggable:c,toggleable:u,resizable:f,sortIcons:h,textAlignment:d,width:m,sortStatus:v,onSortStatusChange:y,filter:k,filtering:O,allColumns:C}){let{setSourceColumn:A,setTargetColumn:T,swapColumns:P,columnsToggle:D,setColumnsToggle:M}=X(),[R,j]=(0,o.useState)(!1),N=(0,o.useRef)(null),[L,I]=(0,o.useState)(!1),{cx:B,classes:F}=Be();if(!xe(i))return null;let z=a??Se(r),U="string"==typeof z?z:void 0,H=s&&y?e=>{e?.defaultPrevented||y({columnAccessor:r,direction:v?.columnAccessor===r?"asc"===v.direction?"desc":"asc":v?.direction??"asc"})}:void 0;return(0,p.jsxs)(l.x,{component:"th",className:B({[F.sortableColumnHeader]:s,[F.toggleableColumnHeader]:u,[F.resizableColumnHeader]:f},e),sx:[{"&&":{textAlign:d},width:`${m} !important`,...f?{minWidth:"1px"}:{minWidth:m,maxWidth:m}},t],style:n,role:s?"button":void 0,tabIndex:s?0:void 0,onClick:H,onContextMenu:e=>{u&&(e.preventDefault(),I(!0))},onKeyDown:e=>"Enter"===e.key&&H?.(),ref:N,children:[(0,p.jsxs)(b.Z,{className:F.sortableColumnHeaderGroup,position:"apart",noWrap:!0,children:[(0,p.jsxs)(_.J,{width:200,position:"bottom",withArrow:!0,shadow:"md",opened:L,onChange:I,children:[(0,p.jsx)(_.J.Target,{children:(0,p.jsxs)(w.k,{align:"center",w:"100%",className:B({[F.draggableColumnHeader]:c,[F.draggableColumnHeaderOver]:R}),draggable:c,onDragStart:c?e=>{e.stopPropagation(),A(r),j(!1)}:void 0,onDragEnter:c?()=>{j(!0)}:void 0,onDragOver:c?e=>{e.preventDefault(),T(r),j(!0)}:void 0,onDrop:c?()=>{T(r),j(!1),P()}:void 0,onDragLeave:c?()=>{j(!1)}:void 0,children:[c?(0,p.jsx)(g.M,{className:F.draggableColumnHeaderIcon,role:"img","aria-label":"Drag column",children:(0,p.jsx)(x.A,{style:{cursor:"grab"},variant:"subtle",size:"xs",onClick:e=>{e.stopPropagation()},children:(0,p.jsx)(me,{})})}):null,(0,p.jsx)(l.x,{className:B(F.columnHeaderText,F.sortableColumnHeaderText),title:U,children:z})]})}),(0,p.jsx)(_.J.Dropdown,{children:(0,p.jsx)(S.K,{children:D.filter((e=>e.toggleable)).map((e=>(0,p.jsx)(b.Z,{children:(0,p.jsx)(E.X,{size:"xs",label:C.find((t=>t.accessor===e.accessor))?.title??Se(e.accessor),checked:e.toggled,onChange:t=>{M(D.map((n=>n.accessor===e.accessor?{...n,toggled:t.currentTarget.checked}:n)))}})},e.accessor)))})})]}),u?(0,p.jsx)(g.M,{className:F.toggleableColumnHeaderIcon,role:"img","aria-label":"Toggle column",children:(0,p.jsx)(x.A,{size:"xs",variant:"light",onClick:e=>{e.stopPropagation(),M((e=>e.map((e=>e.accessor===r?{...e,toggled:!1}:e))))},children:(0,p.jsx)(ve,{})})}
2):null,s||v?.columnAccessor===r?(0,p.jsx)(p.Fragment,{children:v?.columnAccessor===r?(0,p.jsx)(g.M,{className:B(F.sortableColumnHeaderIcon,{[F.sortableColumnHeaderIconRotated]:"desc"===v.direction}),role:"img","aria-label":"Sorted "+("desc"===v.direction?"descending":"ascending"),children:h?.sorted||(0,p.jsx)(he,{size:14})}):(0,p.jsx)(g.M,{className:F.sortableColumnHeaderUnsortedIcon,role:"img","aria-label":"Not sorted",children:h?.unsorted||(0,p.jsx)(de,{size:14})})}):null,k?(0,p.jsx)(Ne,{isActive:!!O,children:k}):null]}),f?(0,p.jsx)(Ie,{accessor:r,columnRef:N}):null]})}V();var ze=(0,a.k)((e=>{let t="dark"===e.colorScheme?.5:.05;return{root:{position:"sticky",width:0,left:0,background:"inherit","&::after":{content:'""',position:"absolute",top:0,right:-(0,c.px)(e.spacing.sm),bottom:0,borderLeft:`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,width:e.spacing.sm,background:`linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`,pointerEvents:"none",opacity:0,transition:"opacity .15s ease"}},shadowVisible:{"&::after":{opacity:1}},checkboxInput:{cursor:"pointer"}}}));function Ue({shadowVisible:e,checked:t,indeterminate:n,checkboxProps:r,onChange:i,rowSpan:o}){let{cx:a,classes:s}=ze();return(0,p.jsx)("th",{className:a(s.root,{[s.shadowVisible]:e}),rowSpan:o,children:(0,p.jsx)(E.X,{classNames:{input:s.checkboxInput},checked:t,indeterminate:n,disabled:!i,onChange:i,...r})})}var He=(0,a.k)((e=>({root:{zIndex:2,position:"sticky",top:0,background:"dark"===e.colorScheme?e.colors.dark[7]:e.white},textSelectionDisabled:{userSelect:"none"}}))),qe=(0,o.forwardRef)((function({className:e,style:t,sortStatus:n,sortIcons:r,onSortStatusChange:i,columns:o,defaultColumnProps:a,groups:s,selectionVisible:c,selectionChecked:l,selectionIndeterminate:u,onSelectionChange:f,selectionCheckboxProps:h,leftShadowVisible:d},g){let{classes:m,cx:v}=He(),y=c?(0,p.jsx)(Ue,{shadowVisible:d,checked:l,indeterminate:u,checkboxProps:h,onChange:f,rowSpan:s?2:void 0}):null;return(0,p.jsxs)("thead",{className:v(m.root,e),style:t,ref:g,children:[s&&(0,p.jsxs)("tr",{children:[y,s.map((e=>(0,p.jsx)(je,{group:e},e.id)))]}),(0,p.jsxs)("tr",{children:[!s&&y,o.map((({hidden:e,...t},s)=>{if(e)return null;let{accessor:c,visibleMediaQuery:l,textAlignment:u,width:f,title:h,sortable:d,draggable:g,toggleable:m,resizable:v,titleClassName:y,titleStyle:b,titleSx:_,filter:w,filtering:x}={...a,...t};return(0,p.jsx)(Fe,{accessor:c,className:y,style:b,sx:_,visibleMediaQuery:l,textAlignment:u,width:f,title:h,sortable:d,draggable:g,resizable:v&&s<o.length-1,toggleable:m,sortStatus:n,sortIcons:r,onSortStatusChange:i,filter:w,filtering:x,allColumns:o},c)}))]})]})}));V();var $e=(0,a.k)((e=>({root:{zIndex:3,position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",background:e.fn.rgba("dark"===e.colorScheme?e.colors.dark[8]:e.white,.75),opacity:0,transition:"opacity .15s ease"},fetching:{pointerEvents:"all",opacity:1}})));function We({pt:e,pb:t,fetching:n,customContent:r,backgroundBlur:i,size:o,variant:a,color:s}){let{classes:c,cx:l}=$e();return(0,p.jsx)(g.M,{pt:e,pb:t,className:l(c.root,{[c.fetching]:n}),sx:i?{backdropFilter:`blur(${i}px)`}:void 0,children:n&&(r||(0,p.jsx)(O.a,{size:o,variant:a,color:s}))})}V(),V();var Ve={xs:22,sm:26,md:32,lg:38,xl:44};function Ke({size:e,label:t,values:n,value:r,onChange:i,color:o}){return(0,p.jsxs)(b.Z,{spacing:"xs",children:[(0,p.jsx)(m.x,{size:e,children:t}),(0,p.jsxs)(A.v,{withinPortal:!0,withArrow:!0,children:[(0,p.jsx)(A.v.Target,{children:(0,p.jsx)(T.z,{size:e,variant:"default",sx:[{fontWeight:"normal"},t=>({height:Ve[e],paddingLeft:t.spacing[e],paddingRight:t.spacing[e]})],children:r})}),(0,p.jsx)(A.v.Dropdown,{children:n.map((t=>{let n=t===r;return(0,p.jsx)(A.v.Item,{sx:[{height:Ve[e]},e=>({"&&":{color:n?e.white:void 0},background:n?e.colors[o||e.primaryColor][6]:void 0})],disabled:n,onClick:()=>i(t),children:(0,p.jsx)(m.x,{size:e,children:t})},t)}))})]})]})}var Ge=(0,a.k)(((e,{topBorderColor:t,paginationWrapBreakpoint:n})=>({root:{background:"dark"===e.colorScheme?e.colors.dark[7]:e.white,borderTop:`1px solid ${"function"==typeof t?t(e):t}`,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",gap:e.spacing.xs,[e.fn.largerThan(n)]:{flexDirection:"row"}},text:{flex:"1 1 auto"},pagination:{opacity:1,transition:"opacity .15s ease"},paginationFetching:{opacity:0}
2}))),Ze=(0,o.forwardRef)((function({className:e,style:t,topBorderColor:n,fetching:r,page:i,onPageChange:o,paginationColor:a,paginationSize:s,loadingText:c,noRecordsText:u,paginationText:f,totalRecords:h,recordsPerPage:d,onRecordsPerPageChange:g,recordsPerPageLabel:v,recordsPerPageOptions:y,recordsLength:b,horizontalSpacing:_,paginationWrapBreakpoint:w,getPaginationControlProps:x},S){let E;if(r)E=c;else if(h){let e=(i-1)*d+1;E=f({from:e,to:e+b-1,totalRecords:h})}else E=u;let{classes:k,cx:O}=Ge({topBorderColor:n,paginationWrapBreakpoint:w});return(0,p.jsxs)(l.x,{ref:S,px:_??"xs",py:"xs",className:O(k.root,e),style:t,children:[(0,p.jsx)(m.x,{className:k.text,size:s,children:E}),y&&(0,p.jsx)(Ke,{size:s,label:v,values:y,color:a,value:d,onChange:g}),(0,p.jsx)(C.t,{color:a,className:O(k.pagination,{[k.paginationFetching]:r||!b}),value:i,onChange:o,size:s,total:Math.ceil(h/d),getControlProps:x})]})}));V(),V();var Ye=(0,a.k)({withPointerCursor:{cursor:"pointer"},noWrap:{whiteSpace:"nowrap"},ellipsis:{overflow:"hidden",textOverflow:"ellipsis"}});function Xe({className:e,sx:t,style:n,visibleMediaQuery:r,record:i,recordIndex:o,onClick:a,noWrap:s,ellipsis:c,textAlignment:u,width:f,accessor:h,render:d,defaultRender:g,customCellAttributes:m}){let{cx:v,classes:y}=Ye();return xe(r)?(0,p.jsx)(l.x,{component:"td",className:v({[y.noWrap]:s||c,[y.ellipsis]:c,[y.withPointerCursor]:a},e),sx:[{width:f,minWidth:f,maxWidth:f,textAlign:u},t],style:n,onClick:a,...m?.(i,o),children:d?d(i,o):g?g(i,o,h):Oe(i,h)}):null}function Qe(){let[e]=(0,M.y)(),{width:t,height:n}=e.current?.getBoundingClientRect()||{width:0,height:0};return{ref:e,width:t,height:n}}V(),V();var Je=({key:e,columns:t=[]})=>{let n=t&&t.map((e=>e.accessor))||[],r=t&&t.map((e=>({[e.accessor]:e.width??"initial"})))||[],i=t&&t.map((e=>({accessor:e.accessor,defaultToggle:e.defaultToggle||!0,toggleable:e.toggleable,toggled:void 0===e.defaultToggle||e.defaultToggle}))),[a,s]=(0,R._)({key:`${e}-columns-order`,defaultValue:n,getInitialValueInEffect:!0}),[c,l]=(0,R._)({key:`${e}-columns-toggle`,defaultValue:i,getInitialValueInEffect:!0}),[u,f]=(0,R._)({key:`${e}-columns-width`,defaultValue:r,getInitialValueInEffect:!0});return{effectiveColumns:(0,o.useMemo)((()=>a?a.map((e=>t.find((t=>t.accessor===e)))).map((e=>({...e,hidden:!c.find((t=>t.accessor===e?.accessor))?.toggled}))).map((e=>({...e,width:u.find((t=>t[e?.accessor]))?.[e?.accessor]}))):t),[t,a,c,u]),setColumnsOrder:s,columnsOrder:a,resetColumnsOrder:()=>s(n),columnsToggle:c,setColumnsToggle:l,resetColumnsToggle:()=>{l(i)},columnsWidth:u,setColumnsWidth:f,setColumnWidth:(e,t)=>{let n=u.map((n=>n[e]?{[e]:t}:n));f(n)},resetColumnsWidth:()=>f(r)}},et=(0,a.k)({cell:{"&&":{borderBottomWidth:0,padding:0}},expandedCell:{"&&":{borderBottomWidth:1}}});function tt({open:e,colSpan:t,content:n,collapseProps:r}){let{expanded:i,visible:a}=function(e,t){let[n,r]=(0,o.useState)(e),[i,a]=(0,o.useState)(e),s=(0,D.K)((()=>r(!0)),0),c=(0,D.K)((()=>a(!1)),t||200);return(0,o.useEffect)((()=>{e?(c.clear(),a(!0),s.start()):(s.clear(),r(!1),c.start())}),[s,c,e]),{expanded:n,visible:i}}(e,r?.transitionDuration),{cx:s,classes:c}=et();return a?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("tr",{}),(0,p.jsx)("tr",{children:(0,p.jsx)("td",{className:s(c.cell,{[c.expandedCell]:i}),colSpan:t,children:(0,p.jsx)(P.U,{in:i,...r,children:n()})})})]}):null}V();var nt=(0,a.k)((e=>{let t="dark"===e.colorScheme?.5:.05;return{root:{position:"sticky",zIndex:1,width:0,left:0,background:"inherit","&::after":{content:'""',position:"absolute",top:0,right:-(0,c.px)(e.spacing.sm),bottom:0,borderLeft:`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,width:e.spacing.sm,background:`linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`,pointerEvents:"none",opacity:0,transition:"opacity .15s ease"}},withRightShadow:{"&::after":{opacity:1}},checkbox:{cursor:"pointer"}}}));function rt({record:e,recordIndex:t,withRightShadow:n,getCheckboxProps:r,...i}){let{cx:o,classes:a}=nt();return(0,p.jsx)("td",{className:o(a.root,{[a.withRightShadow]:n}),onClick:e=>e.stopPropagation(),children:(0,p.jsx)(E.X,{classNames:{input:a.checkbox},...i,...r(e,t)})})}var it=(0,a.k)((e=>{let t=e.colors[e.primaryColor][6];return{withPointerCursor:{cursor:"pointer"},selected:{"&&":{"tr&":{background:"dark"===e.colorScheme?e.fn.darken(t,.6):e.fn.lighten(t,.9)},"table[data-striped] tbody &:nth-of-type(odd)":{background:"dark"===e.colorScheme?e.fn.darken(t,.55):e.fn.lighten(t,.85)}}},contextMenuVisible:{"&&":{"tr&":{background:"dark"===e.colorScheme?e.fn.darken(t,.5):e.fn.lighten(t,.7)},"table[data-striped] tbody &:nth-of-type(odd)":{background:"dark"===e.colorScheme?e.fn.darken(t,.45):e.fn.lighten(t,.65)}}}}}));function ot({record:e,recordIndex:t,columns:n,defaultColumnProps:r,defaultColumnRender:i,selectionVisible:o,selectionChecked:a,onSelectionChange:s,isRecordSelectable:c,getSelectionCheckboxProps:u,onClick:f,onCellClick:h,onContextMenu:d,expansion:g,customAttributes:m,className:v,style:y,sx:b,contextMenuVisible:_,leftShadowVisible:w}){let{cx:x,classes:S}=it();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(l.x,{component:"tr",className:x({[S.withPointerCursor]:f||g?.expandOnClick,[S.selected]:a,[S.contextMenuVisible]:_},"function"==typeof v?v(e,t):v),onClick:t=>{if(g){let{isRowExpanded:t,expandOnClick:n,expandRow:r,collapseRow:i}=g;n&&(t(e)?i(e):r(e))}f?.(t)},style:"function"==typeof y?y(e,t):y,sx:b,...m?.(e,t),onContextMenu:d,children:[o&&(0,p.jsx)(rt,{record:e,recordIndex:t,withRightShadow:w,checked:a,disabled:!s||!!c&&!c(e,t),onChange:s,getCheckboxProps:u}),n.map((({hidden:n,...o},a)=>
2{if(n)return null;let s,{accessor:c,visibleMediaQuery:l,textAlignment:u,noWrap:f,ellipsis:d,width:g,render:m,cellsClassName:v,cellsStyle:y,cellsSx:b,customCellAttributes:_}={...r,...o};return h&&(s=n=>h({event:n,record:e,recordIndex:t,column:o,columnIndex:a})),(0,p.jsx)(Xe,{className:"function"==typeof v?v(e,t):v,style:"function"==typeof y?y(e,t):y,sx:b,visibleMediaQuery:l,record:e,recordIndex:t,onClick:s,accessor:c,textAlignment:u,noWrap:f,ellipsis:d,width:g,render:m,defaultRender:i,customCellAttributes:_},c)}))]}),g&&(0,p.jsx)(tt,{colSpan:n.filter((({hidden:e})=>!e)).length+(o?1:0),open:g.isRowExpanded(e),content:g.content(e,t),collapseProps:g.collapseProps})]})}V();var at=(0,a.k)((e=>({root:{position:"fixed",border:`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,overflow:"hidden",transition:"all .15s ease"}})));function st({borderRadius:e="xs",shadow:t="sm",zIndex:n=3,y:r,x:i,onDestroy:o,children:a}){(0,N.s)("resize",o),(0,N.s)("scroll",o);let s=(0,L.O)(o),{ref:l,width:u,height:f}=Qe(),h=(0,d.Y)(s,l),{innerWidth:g,innerHeight:m}=window,{classes:v,theme:{dir:y,spacing:b}}=at(),_=(0,c.px)(b.md);return(0,p.jsx)(j.X,{ref:h,shadow:t,radius:e,className:v.root,sx:{zIndex:n,top:r+f+_>m?m-f-_:r,left:"ltr"===y?i+u+_>g?g-u-_:i:g-_-(i-u-_<0?u+_:i)},children:a})}V();var ct=(0,a.k)((e=>({root:{height:1,background:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]}})));function lt(){let{classes:e}=ct();return(0,p.jsx)("div",{className:e.root})}V();var ut=(0,a.k)(((e,{color:t})=>{let n=(0,c.px)(e.spacing.sm)/2;return{root:{width:"100%",display:"flex",alignItems:"center",paddingTop:n,paddingBottom:n,paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,color:t&&e.colors[t][6],transition:"background .15s ease","&[disabled]":{cursor:"not-allowed",color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]},"&:hover:not([disabled])":{background:e.fn.rgba(t?e.colors[t][6]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4],t?"dark"===e.colorScheme?.15:.08:.25)},"&:active:not([disabled])":{background:e.fn.rgba(t?e.colors[t][6]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4],t?"dark"===e.colorScheme?.3:.2:.5)}},icon:{fontSize:0,marginRight:e.spacing.xs},title:{whiteSpace:"nowrap"}}}));function ft({icon:e,title:t,color:n,disabled:r,onClick:i}){let{classes:o}=ut({color:n});return(0,p.jsxs)(I.k,{className:o.root,disabled:r,onClick:i,children:[e&&(0,p.jsx)(l.x,{className:o.icon,children:e}),(0,p.jsx)(m.x,{className:o.title,size:"sm",children:t})]})}V();var ht=(0,a.k)((e=>{let t="dark"===e.colorScheme?.5:.05;return{root:{flex:"1 1 100%"},scrollbar:{'&[data-state="visible"]':{background:"transparent"},"div::before":{pointerEvents:"none"}},corner:{background:"transparent"},thumb:{zIndex:3},shadow:{position:"absolute",pointerEvents:"none",opacity:0,transition:"opacity .15s ease"},topShadow:{zIndex:2,left:0,right:0,height:e.spacing.sm,background:`linear-gradient(${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`},leftShadow:{zIndex:3,top:0,left:0,bottom:0,width:e.spacing.sm,background:`linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to right, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`},rightShadow:{zIndex:2,top:0,bottom:0,right:0,width:e.spacing.sm,background:`linear-gradient(to left, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to left, ${e.fn.rgba(e.black,t)}, ${e.fn.rgba(e.black,0)} 30%)`},bottomShadow:{zIndex:2,left:0,right:0,height:e.spacing.sm,background:`linear-gradient(${e.fn.rgba(e.black,0)}, ${e.fn.rgba(e.black,t)}), linear-gradient(${e.fn.rgba(e.black,0)} 30%, ${e.fn.rgba(e.black,t)})`},shadowVisible:{opacity:1}}}));function dt({topShadowVisible:e,leftShadowVisible:t,rightShadowVisible:n,bottomShadowVisible:r,headerHeight:i,footerHeight:o,onScrollPositionChange:a,children:s,viewportRef:c,scrollAreaProps:u}){let f=o?o-1:0,{cx:h,classes:d}=ht();return(0,p.jsxs)(B.x,{...u,viewportRef:c,classNames:{root:d.root,scrollbar:d.scrollbar,thumb:d.thumb,corner:d.corner},styles:{scrollbar:{marginTop:i,marginBottom:f}},onScrollPositionChange:a,children:[s,(0,p.jsx)(l.x,{className:h(d.shadow,d.topShadow,{[d.shadowVisible]:e}),sx:{top:i}}),(0,p.jsx)("div",{className:h(d.shadow,d.leftShadow,{[d.shadowVisible]:t})}),(0,p.jsx)("div",{className:h(d.shadow,d.rightShadow,{[d.shadowVisible]:n})}),(0,p.jsx)(l.x,{className:h(d.shadow,d.bottomShadow,{[d.shadowVisible]:r}),sx:{bottom:f}})]})}var pt={},gt=(0,a.k)(((e,{borderColor:t,rowBorderColor:n})=>{let r="function"==typeof t?t(e):t,i="function"==typeof n?n(e):n,o="dark"===e.colorScheme?.5:.05;return{root:{position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",tr:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white},"&&":{"thead tr th":{borderBottomColor:r},"tbody tr td":{borderTopColor:i}}},lastRowBorderBottomVisible:{"tbody tr:last-of-type td":{borderBottom:`1px solid ${i}`}},textSelectionDisabled:{userSelect:"none"},table:{borderCollapse:"separate",borderSpacing:0},tableWithBorder:{border:`1px solid ${r}`}
2,resizableColumnHeaderKnobTransparent:{[`& .${(0,s.A)("resizableColumnHeaderKnob")}`]:{background:"transparent"}},tableWithColumnBorders:{"&&":{"th, td":{":not(:first-of-type)":{borderLeft:`1px solid ${i}`}}}},tableWithColumnBordersAndSelectableRecords:{thead:{"tr + tr":{th:{borderLeft:`1px solid ${i}`}}}},verticalAlignmentTop:{td:{verticalAlign:"top"}},verticalAlignmentBottom:{td:{verticalAlign:"bottom"}},pinLastColumn:{"th:last-of-type, td:last-of-type":{position:"sticky",right:0,zIndex:1,background:"inherit","&::after":{content:"''",position:"absolute",top:0,bottom:0,width:e.spacing.sm,background:`linear-gradient(to left, ${e.fn.rgba(e.black,o)}, ${e.fn.rgba(e.black,0)}), linear-gradient(to left, ${e.fn.rgba(e.black,o)}, ${e.fn.rgba(e.black,0)} 30%)`,borderRight:`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,left:-(0,c.px)(e.spacing.sm),pointerEvents:"none",opacity:0,transition:"opacity 0.2s"}}},pinnedColumnShadowVisible:{"th:last-of-type, td:last-of-type":{"&::after":{opacity:1}}}}}));function mt({withBorder:e,borderRadius:t,borderColor:n=(e=>"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]),rowBorderColor:r=(e=>e.fn.rgba("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],.65)),withColumnBorders:i,textSelectionDisabled:a,height:s="100%",minHeight:c,shadow:g,verticalAlignment:m="center",fetching:v,columns:y,storeColumnsKey:b,groups:_,pinLastColumn:w,defaultColumnProps:x,defaultColumnRender:S,idAccessor:E="id",records:k,selectedRecords:O,onSelectedRecordsChange:C,isRecordSelectable:A,allRecordsSelectionCheckboxProps:T={"aria-label":"Select all records"},getRecordSelectionCheckboxProps:P=((e,t)=>({"aria-label":`Select record ${t+1}`})),sortStatus:D,sortIcons:M,onSortStatusChange:R,horizontalSpacing:j,page:N,onPageChange:L,totalRecords:I,recordsPerPage:B,onRecordsPerPageChange:F,recordsPerPageOptions:z,recordsPerPageLabel:U="Records per page",paginationColor:H,paginationSize:q="sm",paginationText:$=(({from:e,to:t,totalRecords:n})=>`${e} - ${t} / ${n}`),paginationWrapBreakpoint:W="sm",getPaginationControlProps:V=(e=>"previous"===e?{"aria-label":"Previous page"}:"next"===e?{"aria-label":"Next page"}:{}),loaderBackgroundBlur:K,customLoader:G,loaderSize:Z,loaderVariant:Y,loaderColor:X,loadingText:J="...",emptyState:te,noRecordsText:ne="No records",noRecordsIcon:re,striped:ie,noHeader:oe,onRowClick:ae,onCellClick:se,onScrollToTop:ce,onScrollToBottom:le,onScrollToLeft:ue,onScrollToRight:fe,rowContextMenu:he,rowExpansion:de,rowClassName:pe,rowStyle:ge,rowSx:me,customRowAttributes:ve,scrollViewportRef:ye,scrollAreaProps:_e,bodyRef:xe,m:Oe,my:Ae,mx:Te,mt:Pe,mb:De,ml:Me,mr:je,sx:Ne,className:Le,classNames:Ie,style:Be,styles:Fe,...ze}){let{ref:Ue,width:He,height:$e}=Qe(),Ve=(0,o.useMemo)((()=>_?.flatMap((e=>e.columns))??y),[y,_]),Ke=Je({key:b,columns:Ve}),{ref:Ge,height:Ye}=Qe(),{ref:Xe,width:et,height:tt}=Qe(),{ref:nt,height:rt}=Qe(),{ref:it,height:at}=Qe(),[ct,ut]=(0,o.useState)(!0),[ht,mt]=(0,o.useState)(!0),[vt,yt]=(0,o.useState)(!0),[bt,_t]=(0,o.useState)(!0),{rowContextMenuInfo:wt,setRowContextMenuInfo:xt}=function(e){let[t,n]=(0,o.useState)(null);return(0,o.useEffect)((()=>{e&&n(null)}),[e]),{rowContextMenuInfo:t,setRowContextMenuInfo:n}}(v),St=function({rowExpansion:e,records:t,idAccessor:n}){let r=[];if(e&&t){let{trigger:i,allowMultiple:o,initiallyExpanded:a}=e;t&&"always"===i?r=t.map((e=>Ce(e,n))):a&&(r=t.filter(a).map((e=>Ce(e,n))),o||(r=[r[0]]))}let i,a,s=(0,o.useState)(r);if(e){let{trigger:t,allowMultiple:r,collapseProps:o,content:c}=e;e.expanded?({recordIds:i,onRecordIdsChange:a}=e.expanded):[i,a]=s;let l=e=>a?.(i.filter((t=>t!==Ce(e,n))));return{expandOnClick:"always"!==t&&"never"!==t,isRowExpanded:e=>"always"===t||i.includes(Ce(e,n)),expandRow:e=>{let t=Ce(e,n);a?.(r?[...i,t]:[t])},collapseRow:l,collapseProps:o,content:(e,t)=>()=>c({record:e,recordIndex:t,collapse:()=>l(e)})}}}({rowExpansion:de,records:k,idAccessor:E}),Et=(0,o.useCallback)((()=>{if(!v&&he&&xt(null),v||tt<=$e)ut(!0),mt(!0);else{let e=Ue.current.scrollTop,t=0===e,n=tt-e-$e<1;ut(t),mt(n),t&&t!==ct&&ce?.(),n&&n!==ht&&le?.()}if(v||et===He)yt(!0),_t(!0);else{let e=Ue.current.scrollLeft,t=0===e,n=et-e-He<1;yt(t),_t(n),t&&t!==vt&&ue?.(),n&&n!==bt&&fe?.()}}),[v,le,ue,fe,ce,he,$e,Ue,He,ht,vt,bt,ct,xt,tt,et]);we(Et,[Et]);let kt=(0,o.useCallback)((e=>{Ue.current.scrollTo({top:0,left:0}),L(e)}),[L,Ue]),Ot=k?.length,Ct=k?.map((e=>Ce(e,E))),At=!!O,Tt=O?.map((e=>Ce(e,E))),Pt=void 0!==Ct&&void 0!==Tt&&Tt.length>0,Dt=A?k?.filter(A):k,Mt=Dt?.map((e=>Ce(e,E))),Rt=Pt&&Mt.every((e=>Tt.includes(e))),jt=Pt&&Mt.some((e=>Tt.includes(e))),Nt=(0,o.useCallback)((()=>{O&&C&&C(Rt?O.filter((e=>!Mt.includes(Ce(e,E)))):ke([...O,...Dt],(e=>Ce(e,E))))}),[Rt,E,C,Mt,Dt,O]),{lastSelectionChangeIndex:Lt,setLastSelectionChangeIndex:It}=function(e){let[t,n]=(0,o.useState)(null),r=e?.join(":")||"";return(0,o.useEffect)((()=>{n(null)}),[r]),{lastSelectionChangeIndex:t,setLastSelectionChangeIndex:n}}(Ct),Bt=At&&!vt,{cx:Ft,classes:zt,theme:Ut}=gt({borderColor:n,rowBorderColor:r}),Ht={m:Oe,my:Ae,mx:Te,mt:Pe,mb:De,ml:Me,mr:je},qt="function"==typeof Fe?Fe(Ut,pt,pt):Fe;return(0,p.jsx)(Q,{...Ke,children:(0,p.jsxs)(l.x,{...Ht,className:Ft(zt.root,{[zt.tableWithBorder]:e,[zt.resizableColumnHeaderKnobTrans
2parent]:i},Le,Ie?.root),sx:[e=>({borderRadius:e.radius[t]||t,boxShadow:e.shadows[g]||g,height:s,minHeight:c}),...(0,u.R)(Ne)],style:{...qt?.root,...Be},children:[(0,p.jsx)(dt,{viewportRef:(0,d.Y)(Ue,ye||null),topShadowVisible:!ct,leftShadowVisible:!(O||vt),rightShadowVisible:!bt&&!w,bottomShadowVisible:!ht,headerHeight:Ye,footerHeight:rt,onScrollPositionChange:Et,scrollAreaProps:_e,children:(0,p.jsxs)(f.i,{ref:Xe,horizontalSpacing:j,className:Ft(zt.table,{[zt.tableWithColumnBorders]:i,[zt.lastRowBorderBottomVisible]:tt<$e,[zt.textSelectionDisabled]:a,[zt.verticalAlignmentTop]:"top"===m,[zt.verticalAlignmentBottom]:"bottom"===m,[zt.tableWithColumnBordersAndSelectableRecords]:At&&i,[zt.pinLastColumn]:w,[zt.pinnedColumnShadowVisible]:w&&!bt}),striped:!!Ot&&ie,...ze,children:[oe?null:(0,p.jsx)(qe,{ref:Ge,className:Ie?.header,style:qt?.header,columns:Ve,defaultColumnProps:x,groups:_,sortStatus:D,sortIcons:M,onSortStatusChange:R,selectionVisible:At,selectionChecked:Rt,selectionIndeterminate:jt&&!Rt,onSelectionChange:Nt,selectionCheckboxProps:T,leftShadowVisible:Bt}),(0,p.jsx)("tbody",{ref:xe,children:Ot?k.map(((e,t)=>{let n,r,i,o=Ce(e,E),a=Tt?.includes(o)||!1,s=!1,c=!1;if(he){let{hidden:n}=he;(!n||!("function"==typeof n?n(e,t):n))&&("click"===he.trigger?s=!0:c=!0)}return C&&O&&(n=n=>{if(n.nativeEvent.shiftKey&&null!==Lt){let e=k.filter(t>Lt?(e,n)=>n>=Lt&&n<=t&&(!A||A(e,n)):(e,n)=>n>=t&&n<=Lt&&(!A||A(e,n)));C(a?Ee(O,e,(e=>Ce(e,E))):ke([...O,...e],(e=>Ce(e,E))))}else C(a?O.filter((e=>Ce(e,E)!==o)):ke([...O,e],(e=>Ce(e,E))));It(t)}),s?r=n=>{xt({y:n.clientY,x:n.clientX,record:e,recordIndex:t}),ae?.(e,t,n)}:ae&&(r=n=>{ae(e,t,n)}),c&&(i=n=>{n.preventDefault(),xt({y:n.clientY,x:n.clientX,record:e,recordIndex:t})}),(0,p.jsx)(ot,{record:e,recordIndex:t,columns:Ve,defaultColumnProps:x,defaultColumnRender:S,selectionVisible:At,selectionChecked:a,onSelectionChange:n,isRecordSelectable:A,getSelectionCheckboxProps:P,onClick:r,onCellClick:se,onContextMenu:i,contextMenuVisible:!!wt&&Ce(wt.record,E)===o,expansion:St,className:pe,style:ge,sx:me,customAttributes:ve,leftShadowVisible:Bt},o)})):(0,p.jsx)(ee,{})}),Ve.some((({footer:e})=>e))&&(0,p.jsx)(Re,{ref:nt,className:Ie?.footer,style:qt?.footer,borderColor:n,columns:Ve,defaultColumnProps:x,selectionVisible:At,leftShadowVisible:Bt,scrollDiff:tt-$e})]})}),N&&(0,p.jsx)(Ze,{ref:it,className:Ie?.pagination,style:qt?.pagination,topBorderColor:n,horizontalSpacing:j,fetching:v,page:N,onPageChange:kt,totalRecords:I,recordsPerPage:B,onRecordsPerPageChange:F,recordsPerPageOptions:z,recordsPerPageLabel:U,paginationColor:H,paginationSize:q,paginationText:$,paginationWrapBreakpoint:W,getPaginationControlProps:V,noRecordsText:ne,loadingText:J,recordsLength:Ot}),(0,p.jsx)(We,{pt:Ye,pb:at,fetching:v,backgroundBlur:K,customContent:G,size:Z,variant:Y,color:X}),(0,p.jsx)(be,{pt:Ye,pb:at,icon:re,text:ne,active:!v&&!Ot,children:te}),he&&wt&&(0,p.jsx)(h.h,{children:(0,p.jsx)(st,{zIndex:he.zIndex,borderRadius:he.borderRadius,shadow:he.shadow,y:wt.y,x:wt.x,onDestroy:()=>xt(null),children:he.items(wt.record,wt.recordIndex).map((({divider:e,key:t,title:n,icon:r,color:i,hidden:o,disabled:a,onClick:s})=>e?(0,p.jsx)(lt,{},t):o?null:(0,p.jsx)(ft,{title:n??Se(t),icon:r,color:i,disabled:a,onClick:()=>{xt(null),s()}},t)))})})]})})}V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V(),V()},17153:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);return n.length<=1?n[0]||null:function(e){n.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}n.d(t,{Z:function(){return r}})},46278:function(e,t,n){"use strict";function r(e){var t=typeof e;if(e&&"object"===t&&!(e instanceof Date||e instanceof RegExp)){for(var n=Array.isArray(e)?[]:{},i=Object.keys(e).sort((function(e,t){return e>t?1:-1})),o=i.length;o--;){var a=i[o];n[a]=r(e[a])}return String(e.constructor)+JSON.stringify(n,i)}return t+String(e)}function i(e){e=r(e);for(var t=5381,n=0;n<e.length;)t=33*t^e.charCodeAt(n++);return t}n.d(t,{v:function(){return i}})},17258:function(e,t){"use strict";function n(e){this.content=e}n.prototype={constructor:n,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,r){var i=r&&r!=e?this.remove(r):this,o=i.find(e),a=i.content.slice();return-1==o?a.push(r||e,t):(a[o+1]=t,r&&(a[o]=r)),new n(a)},remove:function(e){var t=this.find(e);if(-1==t)return this;var r=this.content.slice();return r.splice(t,2),new n(r)},addToStart:function(e,t){return new n([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var r=this.remove(e).content.slice();return r.push(e,t),new n(r)},addBefore:function(e,t,r){var i=this.remove(t),o=i.content.slice(),a=i.find(e);return o.splice(-1==a?o.length:a,0,t,r),new n(o)}
2,forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=n.from(e)).size?new n(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=n.from(e)).size?new n(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=n.from(e);for(var r=0;r<e.content.length;r+=2)t=t.remove(e.content[r]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},n.from=function(e){if(e instanceof n)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new n(t)},t.Z=n},45879:function(e,t){"use strict";var n=200,r=function(){};r.prototype.append=function(e){return e.length?(e=r.from(e),!this.length&&e||e.length<n&&this.leafAppend(e)||this.length<n&&e.leafPrepend(this)||this.appendInner(e)):this},r.prototype.prepend=function(e){return e.length?r.from(e).append(this):this},r.prototype.appendInner=function(e){return new o(this,e)},r.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?r.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},r.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},r.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},r.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},r.from=function(e){return e instanceof r?e:e&&e.length?new i(e):r.empty};var i=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(!1===e(this.values[i],r+i))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(!1===e(this.values[i],r+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=n)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=n)return new t(e.flatten().concat(this.values))},r.length.get=function(){return this.values.length},r.depth.get=function(){return 0},Object.defineProperties(t.prototype,r),t}(r);r.empty=new i([]);var o=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;return!(t<i&&!1===this.left.forEachInner(e,t,Math.min(n,i),r))&&(!(n>i&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;return!(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i))&&(!(n<i&&!1===this.left.forEachInvertedInner(e,Math.min(t,i),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(r);t.Z=r},27563:function(e,t,n){"use strict";n.d(t,{Ab:function(){return a},Fr:function(){return s},G$:function(){return o},JM:function(){return d},K$:function(){return u},MS:function(){return r},QY:function(){return f},h5:function(){return c},iD:function(){return l},lK:function(){return h},uj:function(){return i}});var r="-ms-",i="-moz-",o="-webkit-",a="comm",s="rule",c="decl",l="@media",u="@import",f="@supports",h="@keyframes",d="@layer"},88160:function(e,t,n){"use strict";n.d(t,{cD:function(){return o},qR:function(){return i}});var r=n(26686);function i(e){var t=(0,r.Ei)(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function o(e){return function(t){t.root||(t=t.return)&&e(t)}}},92190:function(e,t,n){"use strict";n.d(t,{MY:function(){return a}});var r=n(27563),i=n(26686),o=n(46411);function a(e){return(0,o.cE)(s("",null,null,null,[""],e=(0,o.un)(e),0,[0],e))}function s(e,t,n,r,a,f,h,d,p){for(var g=0,m=0,v=h,y=0,b=0,_=0,w=1,x=1,S=1,E=0,k="",O=a,C=f,A=r,T=k;x;)switch(_=E,E=(0,o.lp)()){case 40:if(108!=_&&58==(0,i.uO)(T,v-1)){-1!=(0,i.Cw)(T+=(0,i.gx)((0,o.iF)(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:T+=(0,o.iF)(E);break;case 9:case 10:case 13:case 32:T+=(0,o.Qb)(_);break;case 92:T+=(0,o.kq)((0,o.Ud)()-1,7);continue;case 47:switch((0,o.fj)()){case 42:case 47:(0,i.R3)(l((0,o.q6)((0,o.lp)(),(0,o.Ud)()),t,n),p);break;default:T+="/"}break;case 123*w:d[g++]=(0,i.to)(T)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:x=0;case 59+m:-1==S&&(T=(0,i.gx)(T,/\f/g,"")),b>0&&(0,i.to)(T)-v&&(0,i.R3)(b>32?u(T+";",r,n,v-1):u((0,i.gx)(T," ","")+";",r,n,v-2),p);break;case 59:T+=";";default:if((0,i.R3)(A=c(T,t,n,g,m,a,d,k,O=[],C=[],v),f),123===E)if(0===m)s(T,t,A,A,O,f,v,d,C);else switch(99===y&&110===(0,i.uO)(T,3)?100:y){case 100:case 108:case 109:case 115:s(e,A,A,r&&(0,i.R3)(c(e,A,A,0,0,a,d,k,a,O=[],v),C),a,C,v,d,r?O:C);break;default:s(T,A,A,A,[""],C,0,d,C)}}g=m=b=0,w=S=1,k=T="",v=h;break;case 58:v=1+(0,i.to)(T),b=_;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==(0,o.mp)())continue;switch(T+=(0,i.Dp)(E),E*w){case 38:S=m>0?1:(T+="\f",-1);break;case 44:d[g++]=((0,i.to)(T)-1)*S,S=1;break;case 64:45===(0,o.fj)()&&(T+=(0,o.iF)((0,o.lp)())),y=(0,o.fj)(),m=v=(0,i.to)(k=T+=(0,o.QU)((0,o.Ud)())),E++;break;case 45:45===_&&2==(0,i.to)(T)&&(w=0)}}return f}function c(e,t,n,a,s,c,l,u,f,h,d){for(var p=s-1,g=0===s?c:[""],m=(0,i.Ei)(g),v=0,y=0,b=0;v<a;++v)for(var _=0,w=(0,i.tb)(e,p+1,p=(0,i.Wn)(y=l[v])),x=e;_<m;++_)(x=(0,i.fy)(y>0?g[_]+" "+w:(0,i.gx)(w,/&\f/g,g[_])))&&(f[b++]=x);return(0,o.dH)(e,t,n,0===s?r.Fr:u,f,h,d)}function l(e,t,n){return(0,o.dH)(e,t,n,r.Ab,(0,i.Dp)((0,o.Tb)()),(0,i.tb)(e,2,-2),0)}function u(e,t,n,a){return(0,o.dH)(e,t,n,r.h5,(0,i.tb)(e,0,a),(0,i.tb)(e,a+1,-1),a)}},20211:function(e,t,n){"use strict";n.d(t,{P:function(){return a},q:function(){return o}});var r=n(27563),i=n(26686);function o(e,t){for(var n="",r=(0,i.Ei)(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.JM:if(e.children.length)break;case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+o(e.children,a)+"}";case r.Fr:e.value=e.props.join(",")}return(0,i.to)(n=o(e.children,a))?e.return=e.value+"{"+n+"}":""}},46411:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},JG:function(){return f},QU:function(){return O},Qb:function(){return x},Tb:function(){return h},Ud:function(){return m},cE:function(){return _},dH:function(){return u},fj:function(){return g},iF:function(){return w},kq:function(){return S},lp:function(){return p},mp:function(){return d},q6:function(){return k},r:function(){return y},tP:function(){return v},un:function(){return b}});var r=n(26686),i=1,o=1,a=0,s=0,c=0,l="";function u(e,t,n,r,a,s,c){return{value:e,root:t,parent:n,type:r,props:a,children:s,line:i,column:o,length:c,return:""}}function f(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function h(){return c}function d(){return c=s>0?(0,r.uO)(l,--s):0,o--,10===c&&(o=1,i--),c}function p(){return c=s<a?(0,r.uO)(l,s++):0,o++,10===c&&(o=1,i++),c}function g(){return(0,r.uO)(l,s)}function m(){return s}function v(e,t){return(0,r.tb)(l,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return i=o=1,a=(0,r.to)(l=e),s=0,[]}function _(e){return l="",e}function w(e){return(0,r.fy)(v(s-1,E(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(c=g())&&c<33;)p();return y(e)>2||y(c)>3?"":" "}function S(e,t){for(;--t&&p()&&!(c<48||c>102||c>57&&c<65||c>70&&c<97););return v(e,m()+(t<6&&32==g()&&32==p()))}function E(e){for(;p();)switch(c){case e:return s;case 34:case 39:34!==e&&39!==e&&E(c);break;case 40:41===e&&E(e);break;case 92:p()}return s}function k(e,t){for(;p()&&e+c!==57&&(e+c!==84||47!==g()););return"/*"+v(t,s-1)+"*"+(0,r.Dp)(47===e?e:p())}function O(e){for(;!y(g());)p();return v(e,s)}},26686:function(e,t,n){"use strict";n.d(t,{$e:function(){return m},Cw:function(){return u},Dp:function(){return i},EQ:function(){return c},Ei:function(){return p},R3:function(){return g},Wn:function(){return r},f0:function(){return o},fy:function(){return s},gx:function(){return l},tb:function(){return h},to:function(){return d},uO:function(){return f},vp:function(){return a}});var r=Math.abs,i=String.fromCharCode,o=Object.assign;function a(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function s(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function h(e,t,n){return e.slice(t,n)}function d(e){return e.length}function p(e){return e.length}function g(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}},38776:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=!0,i="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(i);var n="function"==typeof t?t():t,o=n?"".concat(i,": ").concat(n):i;throw new Error(o)}}},97582:function(e,t,n){"use strict";n.d(t,{CR:function(){return l},Jh:function(){return c},ZT:function(){return i},_T:function(){return a},ev:function(){return u},mG:function(){return s},pi:function(){return o}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}
2function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function c(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}Object.create;function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},81754:function(e,t,n){"use strict";n.d(t,{YG:function(){return l},ue:function(){return r}});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(s=1;s<=24;s++)r[s+111]="F"+s;for(s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),i[s]=String.fromCharCode(s);for(var c in r)i.hasOwnProperty(c)||(i[c]=r[c]);function l(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},24542:function(e){"use strict";e.exports={version:"0.22.0"}},12114:function(e){"use strict";e.exports=JSON.parse('{"universal":50,"tag":30,"attribute":1,"pseudo":0,"descendant":-1,"child":-1,"parent":-1,"sibling":-1,"adjacent":-1}')},79545:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},19489:function(e)
vendor: 12,348 bytes, line 2
2{"use strict";e.exports=JSON.parse('{"Aacute":"Ã","aacute":"á","Abreve":"Ä","abreve":"Ä","ac":"â¾","acd":"â¿","acE":"â¾Ì³","Acirc":"Ã","acirc":"â","acute":"´","Acy":"Ð","acy":"а","AElig":"Ã","aelig":"æ","af":"â¡","Afr":"ð","afr":"ð","Agrave":"Ã","agrave":"à ","alefsym":"âµ","aleph":"âµ","Alpha":"Î","alpha":"α","Amacr":"Ä","amacr":"Ä","amalg":"⨿","amp":"&","AMP":"&","andand":"â©","And":"â©","and":"â§","andd":"â©","andslope":"â©","andv":"â©","ang":"â ","ange":"⦤","angle":"â ","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"â¦","angmsdag":"⦮","angmsdah":"⦯","angmsd":"â¡","angrt":"â","angrtvb":"â¾","angrtvbd":"â¦","angsph":"â¢","angst":"Ã
","angzarr":"â¼","Aogon":"Ä","aogon":"Ä
","Aopf":"ð¸","aopf":"ð","apacir":"⩯","ap":"â","apE":"â©°","ape":"â","apid":"â","apos":"\'","ApplyFunction":"â¡","approx":"â","approxeq":"â","Aring":"Ã
","aring":"Ã¥","Ascr":"ð","ascr":"ð¶","Assign":"â","ast":"*","asymp":"â","asympeq":"â","Atilde":"Ã","atilde":"ã","Auml":"Ã","auml":"ä","awconint":"â³","awint":"â¨","backcong":"â","backepsilon":"϶","backprime":"âµ","backsim":"â½","backsimeq":"â","Backslash":"â","Barv":"â«§","barvee":"â½","barwed":"â
","Barwed":"â","barwedge":"â
","bbrk":"âµ","bbrktbrk":"â¶","bcong":"â","Bcy":"Ð","bcy":"б","bdquo":"â","becaus":"âµ","because":"âµ","Because":"âµ","bemptyv":"⦰","bepsi":"϶","bernou":"â¬","Bernoullis":"â¬","Beta":"Î","beta":"β","beth":"â¶","between":"â¬","Bfr":"ð
","bfr":"ð","bigcap":"â","bigcirc":"â¯","bigcup":"â","bigodot":"â¨","bigoplus":"â¨","bigotimes":"â¨","bigsqcup":"â¨","bigstar":"â
","bigtriangledown":"â½","bigtriangleup":"â³","biguplus":"â¨","bigvee":"â","bigwedge":"â","bkarow":"â¤","blacklozenge":"â§«","blacksquare":"âª","blacktriangle":"â´","blacktriangledown":"â¾","blacktriangleleft":"â","blacktriangleright":"â¸","blank":"â£","blk12":"â","blk14":"â","blk34":"â","block":"â","bne":"=â¥","bnequiv":"â¡â¥","bNot":"â«","bnot":"â","Bopf":"ð¹","bopf":"ð","bot":"â¥","bottom":"â¥","bowtie":"â","boxbox":"â§","boxdl":"â","boxdL":"â","boxDl":"â","boxDL":"â","boxdr":"â","boxdR":"â","boxDr":"â","boxDR":"â","boxh":"â","boxH":"â","boxhd":"â¬","boxHd":"â¤","boxhD":"â¥","boxHD":"â¦","boxhu":"â´","boxHu":"â§","boxhU":"â¨","boxHU":"â©","boxminus":"â","boxplus":"â","boxtimes":"â ","boxul":"â","boxuL":"â","boxUl":"â","boxUL":"â","boxur":"â","boxuR":"â","boxUr":"â","boxUR":"â","boxv":"â","boxV":"â","boxvh":"â¼","boxvH":"âª","boxVh":"â«","boxVH":"â¬","boxvl":"â¤","boxvL":"â¡","boxVl":"â¢","boxVL":"â£","boxvr":"â","boxvR":"â","boxVr":"â","boxVR":"â ","bprime":"âµ","breve":"Ë","Breve":"Ë","brvbar":"¦","bscr":"ð·","Bscr":"â¬","bsemi":"â","bsim":"â½","bsime":"â","bsolb":"â§
","bsol":"\\\\","bsolhsub":"â","bull":"â¢","bullet":"â¢","bump":"â","bumpE":"⪮","bumpe":"â","Bumpeq":"â","bumpeq":"â","Cacute":"Ä","cacute":"Ä","capand":"â©","capbrcup":"â©","capcap":"â©","cap":"â©","Cap":"â","capcup":"â©","capdot":"â©","CapitalDifferentialD":"â
","caps":"â©ï¸","caret":"â","caron":"Ë","Cayleys":"â","ccaps":"â©","Ccaron":"Ä","ccaron":"Ä","Ccedil":"Ã","ccedil":"ç","Ccirc":"Ä","ccirc":"Ä","Cconint":"â°","ccups":"â©","ccupssm":"â©","Cdot":"Ä","cdot":"Ä","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"ð ","Cfr":"â","CHcy":"Ч","chcy":"Ñ","check":"â","checkmark":"â","Chi":"Χ","chi":"Ï","circ":"Ë","circeq":"â","circlearrowleft":"âº","circlearrowright":"â»","circledast":"â","circledcirc":"â","circleddash":"â","CircleDot":"â","circledR":"®","circledS":"â","CircleMinus":"â","CirclePlus":"â","CircleTimes":"â","cir":"â","cirE":"â§","cire":"â","cirfnint":"â¨","cirmid":"⫯","cirscir":"â§","ClockwiseContourIntegral":"â²","CloseCurlyDoubleQuote":"â","CloseCurlyQuote":"â","clubs":"â£","clubsuit":"â£","colon":":","Colon":"â·","Colone":"â©´","colone":"â","coloneq":"â","comma":",","commat":"@","comp":"â","compfn":"â","complement":"â","complexes":"â","cong":"â
","congdot":"â©","Congruent":"â¡","conint":"â®","Conint":"â¯","ContourIntegral":"â®","copf":"ð","Copf":"â","coprod":"â","Coproduct":"â","copy":"©","COPY":"©","copysr":"â","CounterClockwiseContourIntegral":"â³","crarr":"âµ","cross":"â","Cross":"⨯","Cscr":"ð","cscr":"ð¸","csub":"â«","csube":"â«","csup":"â«","csupe":"â«","ctdot":"â¯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"â","cuesc":"â","cularr":"â¶","cularrp":"⤽","cupbrcap":"â©","cupcap":"â©","CupCap":"â","cup":"âª","Cup":"â","cupcup":"â©","cupdot":"â","cupor":"â©
","cups":"âªï¸","curarr":"â·","curarrm":"⤼","curlyeqprec":"â","curlyeqsucc":"â","curlyvee":"â","curlywedge":"â","curren":"¤","curvearrowleft":"â¶","curvearrowright":"â·","cuvee":"â","cuwed":"â","cwconint":"â²","cwint":"â±","cylcty":"â","dagger":"â ","Dagger":"â¡","daleth":"â¸","darr":"â","Darr":"â¡","dArr":"â","dash":"â","Dashv":"⫤","dashv":"â£","dbkarow":"â¤","dblac":"Ë","Dcaron":"Ä","dcaron":"Ä","Dcy":"Ð","dcy":"д","ddagger":"â¡","ddarr":"â","DD":"â
","dd":"â
","DDotrahd":"â¤","ddotseq":"â©·","deg":"°","Del":"â","Delta":"Î","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"ð","dfr":"ð¡","dHar":"⥥","dharl":"â","dharr":"â","DiacriticalAcute":"´","DiacriticalDot":"Ë","DiacriticalDoubleAcute":"Ë","DiacriticalGrave":"`","DiacriticalTilde":"Ë","diam":"â","diamond":"â","Diamond":"â","diamondsuit":"â¦","diams":"â¦","die":"¨","DifferentialD":"â
","digamma":"Ï","disin":"â²","div":"÷","divide":"÷","divideontimes":"â","divonx":"â","DJcy":"Ð","djcy":"Ñ","dlcorn":"â","dlcrop":"â","dollar":"$","Dopf":"ð»","dopf":"ð","Dot":"¨","dot":"Ë","DotDot":"â","doteq":"â","doteqdot":"â","DotEqual":"â","dotminus":"â¸","dotplus":"â","dotsquare":"â¡","doublebarwedge":"â","DoubleContourIntegral":"â¯","DoubleDot":"¨","DoubleDownArrow":"â","DoubleLeftArrow":"â","DoubleLeftRightArrow":"â","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"â¸","DoubleLongLeftRightArrow":"âº","DoubleLongRightArrow":"â¹","DoubleRightArrow":"â","DoubleRightTee":"â¨","DoubleUpArrow":"â","DoubleUpDownArrow":"â","DoubleVerticalBar":"â¥","DownArrowBar":"â¤","downarrow":"â","DownArrow":"â","Downarrow":"â","DownArrowUpArrow":"âµ","DownBreve":"Ì","downdownarrows":"â","downharpoonleft":"â","downharpoonright":"â","DownLeftRightVector":"â¥","DownLeftTeeVector":"â¥","DownLeftVectorBar":"â¥","DownLeftVector":"â½","DownRightTeeVector":"â¥","DownRightVectorBar":"â¥","DownRightVector":"â","DownTeeArrow":"â§","DownTee":"â¤","drbkarow":"â¤","drcorn":"â","drcrop":"â","Dscr":"ð","dscr":"ð¹","DScy":"Ð
","dscy":"Ñ","dsol":"â§¶","Dstrok":"Ä","dstrok":"Ä","dtdot":"â±","dtri":"â¿","dtrif":"â¾","duarr":"âµ","duhar":"⥯","dwangle":"⦦","DZcy":"Ð","dzcy":"Ñ","dzigrarr":"â¿","Eacute":"Ã","eacute":"é","easter":"â©®","Ecaron":"Ä","ecaron":"Ä","Ecirc":"Ã","ecirc":"ê","ecir":"â","ecolon":"â","Ecy":"Ð","ecy":"Ñ","eDDot":"â©·","Edot":"Ä","edot":"Ä","eDot":"â","ee":"â
","efDot":"â","Efr":"ð","efr":"ð¢","eg":"âª","Egrave":"Ã","egrave":"è","egs":"âª","egsdot":"âª","el":"âª","Element":"â","elinters":"â§","ell":"â","els":"âª","elsdot":"âª","Emacr":"Ä","emacr":"Ä","empty":"â
","emptyset":"â
","EmptySmallSquare":"â»","emptyv":"â
","EmptyVerySmallSquare":"â«","emsp13":"â","emsp14":"â
","emsp":"â","ENG":"Å","eng":"Å","ensp":"â","Eogon":"Ä","eogon":"Ä","Eopf":"ð¼","eopf":"ð","epar":"â","eparsl":"â§£","eplus":"⩱","epsi":"ε","Epsilon":"Î","epsilon":"ε","epsiv":"ϵ","eqcirc":"â","eqcolon":"â","eqsim":"â","eqslantgtr":"âª","eqslantless":"âª","Equal":"⩵","equals":"=","EqualTilde":"â","equest":"â","Equilibrium":"â","equiv":"â¡","equivDD":"⩸","eqvparsl":"â§¥","erarr":"⥱","erDot":"â","escr":"â¯","Escr":"â°","esdot":"â","Esim":"⩳","esim":"â","Eta":"Î","eta":"η","ETH":"Ã","eth":"ð","Euml":"Ã","euml":"ë","euro":"â¬","excl":"!","exist":"â","Exists":"â","expectation":"â°","exponentiale":"â
","ExponentialE":"â
","fallingdotseq":"â","Fcy":"Ф","fcy":"Ñ","female":"â","ffilig":"ï¬","fflig":"ï¬","ffllig":"ï¬","Ffr":"ð","ffr":"ð£","filig":"ï¬","FilledSmallSquare":"â¼","FilledVerySmallSquare":"âª","fjlig":"fj","flat":"â","fllig":"ï¬","fltns":"â±","fnof":"Æ","Fopf":"ð½","fopf":"ð","forall":"â","ForAll":"â","fork":"â","forkv":"â«","Fouriertrf":"â±","fpartint":"â¨","frac12":"½","frac13":"â
","frac14":"¼","frac15":"â
","frac16":"â
","frac18":"â
","frac23":"â
","frac25":"â
","frac34":"¾","frac35":"â
","frac38":"â
","frac45":"â
","frac56":"â
","frac58":"â
","frac78":"â
","frasl":"â","frown":"â¢","fscr":"ð»","Fscr":"â±","gacute":"ǵ","Gamma":"Î","gamma":"γ","Gammad":"Ï","gammad":"Ï","gap":"âª","Gbreve":"Ä","gbreve":"Ä","Gcedil":"Ä¢","Gcirc":"Ä","gcirc":"Ä","Gcy":"Ð","gcy":"г","Gdot":"Ä ","gdot":"Ä¡","ge":"â¥","gE":"â§","gEl":"âª","gel":"â","geq":"â¥","geqq":"â§","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"âª","gesdoto":"âª","gesdotol":"âª","gesl":"âï¸","gesles":"âª","Gfr":"ð","gfr":"ð¤","gg":"â«","Gg":"â","ggg":"â","gimel":"â·","GJcy":"Ð","gjcy":"Ñ","gla":"⪥","gl":"â·","glE":"âª","glj":"⪤","gnap":"âª","gnapprox":"âª","gne":"âª","gnE":"â©","gneq":"âª","gneqq":"â©","gnsim":"â§","Gopf":"ð¾","gopf":"ð","grave":"`","GreaterEqual":"â¥","GreaterEqualLess":"â","GreaterFullEqual":"â§","GreaterGreater":"⪢","GreaterLess":"â·","GreaterSlantEqual":"⩾","GreaterTilde":"â³","Gscr":"ð¢","gscr":"â","gsim":"â³","gsime":"âª","gsiml":"âª","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"â«","gtdot":"â","gtlPar":"â¦","gtquest":"⩼","gtrapprox":"âª","gtrarr":"⥸","gtrdot":"â","gtreqless":"â","gtreqqless":"âª","gtrless":"â·","gtrsim":"â³","gvertneqq":"â©ï¸","gvnE":"â©ï¸","Hacek":"Ë","hairsp":"â","half":"½","hamilt":"â","HARDcy":"Ъ","hardcy":"Ñ","harrcir":"â¥","harr":"â","hArr":"â","harrw":"â","Hat":"^","hbar":"â","Hcirc":"Ĥ","hcirc":"Ä¥","hearts":"â¥","heartsuit":"â¥","hellip":"â¦","hercon":"â¹","hfr":"ð¥","Hfr":"â","HilbertSpace":"â","hksearow":"⤥","hkswarow":"⤦","hoarr":"â¿","homtht":"â»","hookleftarrow":"â©","hookrightarrow":"âª","hopf":"ð","Hopf":"â","horbar":"â","HorizontalLine":"â","hscr":"ð½","Hscr":"â","hslash":"â","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"â","HumpEqual":"â","hybull":"â","hyphen":"â","Iacute":"Ã","iacute":"Ã","ic":"â£","Icirc":"Ã","icirc":"î","Icy":"Ð","icy":"и","Idot":"İ","IEcy":"Ð","iecy":"е","iexcl":"¡","iff":"â","ifr":"ð¦","Ifr":"â","Igrave":"Ã","igrave":"ì","ii":"â
","iiiint":"â¨","iiint":"â","iinfin":"â§","iiota":"â©","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"Ä«","image":"â","ImaginaryI":"â
","imagline":"â","imagpart":"â","imath":"ı","Im":"â","imof":"â·","imped":"Ƶ","Implies":"â","incare":"â
","in":"â","infin":"â","infintie":"â§","inodot":"ı","intcal":"âº","int":"â«","Int":"â¬","integers":"â¤","Integral":"â«","intercal":"âº","Intersection":"â","intlarhk":"â¨","intprod":"⨼","InvisibleComma":"â£","InvisibleTimes":"â¢","IOcy":"Ð","iocy":"Ñ","Iogon":"Ä®","iogon":"į","Iopf":"ð","iopf":"ð","Iota":"Î","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"ð¾","Iscr":"â","isin":"â","isindot":"âµ","isinE":"â¹","isins":"â´","isinsv":"â³","isinv":"â","it":"â¢","Itilde":"Ĩ","itilde":"Ä©","Iukcy":"Ð","iukcy":"Ñ","Iuml":"Ã","iuml":"ï","Jcirc":"Ä´","jcirc":"ĵ","Jcy":"Ð","jcy":"й","Jfr":"ð","jfr":"ð§","jmath":"È·","Jopf":"ð","jopf":"ð","Jscr":"ð¥","jscr":"ð¿","Jsercy":"Ð","jsercy":"Ñ","Jukcy":"Ð","jukcy":"Ñ","Kappa":"Î","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"Ä·","Kcy":"Ð","kcy":"к","Kfr":"ð","kfr":"ð¨","kgreen":"ĸ","KHcy":"Ð¥","khcy":"Ñ
","KJcy":"Ð","kjcy":"Ñ","Kopf":"ð","kopf":"ð","Kscr":"ð¦","kscr":"ð","lAarr":"â","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"â","
vendor: 20,673 bytes, line 2
2Lambda":"Î","lambda":"λ","lang":"â¨","Lang":"âª","langd":"â¦","langle":"â¨","lap":"âª
","Laplacetrf":"â","laquo":"«","larrb":"â¤","larrbfs":"â¤","larr":"â","Larr":"â","lArr":"â","larrfs":"â¤","larrhk":"â©","larrlp":"â«","larrpl":"⤹","larrsim":"⥳","larrtl":"â¢","latail":"â¤","lAtail":"â¤","lat":"⪫","late":"âª","lates":"âªï¸","lbarr":"â¤","lBarr":"â¤","lbbrk":"â²","lbrace":"{","lbrack":"[","lbrke":"â¦","lbrksld":"â¦","lbrkslu":"â¦","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ä»","lcedil":"ļ","lceil":"â","lcub":"{","Lcy":"Ð","lcy":"л","ldca":"⤶","ldquo":"â","ldquor":"â","ldrdhar":"⥧","ldrushar":"â¥","ldsh":"â²","le":"â¤","lE":"â¦","LeftAngleBracket":"â¨","LeftArrowBar":"â¤","leftarrow":"â","LeftArrow":"â","Leftarrow":"â","LeftArrowRightArrow":"â","leftarrowtail":"â¢","LeftCeiling":"â","LeftDoubleBracket":"â¦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"â¥","LeftDownVector":"â","LeftFloor":"â","leftharpoondown":"â½","leftharpoonup":"â¼","leftleftarrows":"â","leftrightarrow":"â","LeftRightArrow":"â","Leftrightarrow":"â","leftrightarrows":"â","leftrightharpoons":"â","leftrightsquigarrow":"â","LeftRightVector":"â¥","LeftTeeArrow":"â¤","LeftTee":"â£","LeftTeeVector":"â¥","leftthreetimes":"â","LeftTriangleBar":"â§","LeftTriangle":"â²","LeftTriangleEqual":"â´","LeftUpDownVector":"â¥","LeftUpTeeVector":"⥠","LeftUpVectorBar":"â¥","LeftUpVector":"â¿","LeftVectorBar":"â¥","LeftVector":"â¼","lEg":"âª","leg":"â","leq":"â¤","leqq":"â¦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"â©¿","lesdoto":"âª","lesdotor":"âª","lesg":"âï¸","lesges":"âª","lessapprox":"âª
","lessdot":"â","lesseqgtr":"â","lesseqqgtr":"âª","LessEqualGreater":"â","LessFullEqual":"â¦","LessGreater":"â¶","lessgtr":"â¶","LessLess":"⪡","lesssim":"â²","LessSlantEqual":"⩽","LessTilde":"â²","lfisht":"⥼","lfloor":"â","Lfr":"ð","lfr":"ð©","lg":"â¶","lgE":"âª","lHar":"⥢","lhard":"â½","lharu":"â¼","lharul":"⥪","lhblk":"â","LJcy":"Ð","ljcy":"Ñ","llarr":"â","ll":"âª","Ll":"â","llcorner":"â","Lleftarrow":"â","llhard":"⥫","lltri":"âº","Lmidot":"Ä¿","lmidot":"Å","lmoustache":"â°","lmoust":"â°","lnap":"âª","lnapprox":"âª","lne":"âª","lnE":"â¨","lneq":"âª","lneqq":"â¨","lnsim":"â¦","loang":"â¬","loarr":"â½","lobrk":"â¦","longleftarrow":"âµ","LongLeftArrow":"âµ","Longleftarrow":"â¸","longleftrightarrow":"â·","LongLeftRightArrow":"â·","Longleftrightarrow":"âº","longmapsto":"â¼","longrightarrow":"â¶","LongRightArrow":"â¶","Longrightarrow":"â¹","looparrowleft":"â«","looparrowright":"â¬","lopar":"â¦
","Lopf":"ð","lopf":"ð","loplus":"â¨","lotimes":"⨴","lowast":"â","lowbar":"_","LowerLeftArrow":"â","LowerRightArrow":"â","loz":"â","lozenge":"â","lozf":"â§«","lpar":"(","lparlt":"â¦","lrarr":"â","lrcorner":"â","lrhar":"â","lrhard":"â¥","lrm":"â","lrtri":"â¿","lsaquo":"â¹","lscr":"ð","Lscr":"â","lsh":"â°","Lsh":"â°","lsim":"â²","lsime":"âª","lsimg":"âª","lsqb":"[","lsquo":"â","lsquor":"â","Lstrok":"Å","lstrok":"Å","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"âª","ltdot":"â","lthree":"â","ltimes":"â","ltlarr":"⥶","ltquest":"â©»","ltri":"â","ltrie":"â´","ltrif":"â","ltrPar":"â¦","lurdshar":"â¥","luruhar":"⥦","lvertneqq":"â¨ï¸","lvnE":"â¨ï¸","macr":"¯","male":"â","malt":"â ","maltese":"â ","Map":"â¤
","map":"â¦","mapsto":"â¦","mapstodown":"â§","mapstoleft":"â¤","mapstoup":"â¥","marker":"â®","mcomma":"⨩","Mcy":"Ð","mcy":"м","mdash":"â","mDDot":"âº","measuredangle":"â¡","MediumSpace":"â","Mellintrf":"â³","Mfr":"ð","mfr":"ðª","mho":"â§","micro":"µ","midast":"*","midcir":"â«°","mid":"â£","middot":"·","minusb":"â","minus":"â","minusd":"â¸","minusdu":"⨪","MinusPlus":"â","mlcp":"â«","mldr":"â¦","mnplus":"â","models":"â§","Mopf":"ð","mopf":"ð","mp":"â","mscr":"ð","Mscr":"â³","mstpos":"â¾","Mu":"Î","mu":"μ","multimap":"â¸","mumap":"â¸","nabla":"â","Nacute":"Å","nacute":"Å","nang":"â â","nap":"â","napE":"⩰̸","napid":"â̸","napos":"Å","napprox":"â","natural":"â®","naturals":"â","natur":"â®","nbsp":" ","nbump":"â̸","nbumpe":"â̸","ncap":"â©","Ncaron":"Å","ncaron":"Å","Ncedil":"Å
","ncedil":"Å","ncong":"â","ncongdot":"â©Ì¸","ncup":"â©","Ncy":"Ð","ncy":"н","ndash":"â","nearhk":"⤤","nearr":"â","neArr":"â","nearrow":"â","ne":"â ","nedot":"â̸","NegativeMediumSpace":"â","NegativeThickSpace":"â","NegativeThinSpace":"â","NegativeVeryThinSpace":"â","nequiv":"â¢","nesear":"⤨","nesim":"â̸","NestedGreaterGreater":"â«","NestedLessLess":"âª","NewLine":"\\n","nexist":"â","nexists":"â","Nfr":"ð","nfr":"ð«","ngE":"â§Ì¸","nge":"â±","ngeq":"â±","ngeqq":"â§Ì¸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"â̸","ngsim":"âµ","nGt":"â«â","ngt":"â¯","ngtr":"â¯","nGtv":"â«Ì¸","nharr":"â®","nhArr":"â","nhpar":"⫲","ni":"â","nis":"â¼","nisd":"âº","niv":"â","NJcy":"Ð","njcy":"Ñ","nlarr":"â","nlArr":"â","nldr":"â¥","nlE":"â¦Ì¸","nle":"â°","nleftarrow":"â","nLeftarrow":"â","nleftrightarrow":"â®","nLeftrightarrow":"â","nleq":"â°","nleqq":"â¦Ì¸","nleqslant":"⩽̸","nles":"⩽̸","nless":"â®","nLl":"â̸","nlsim":"â´","nLt":"âªâ","nlt":"â®","nltri":"âª","nltrie":"â¬","nLtv":"âªÌ¸","nmid":"â¤","NoBreak":"â ","NonBreakingSpace":" ","nopf":"ð","Nopf":"â","Not":"⫬","not":"¬","NotCongruent":"â¢","NotCupCap":"â","NotDoubleVerticalBar":"â¦","NotElement":"â","NotEqual":"â ","NotEqualTilde":"â̸","NotExists":"â","NotGreater":"â¯","NotGreaterEqual":"â±","NotGreaterFullEqual":"â§Ì¸","NotGreaterGreater":"â«Ì¸","NotGreaterLess":"â¹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"âµ","NotHumpDownHump":"â̸","NotHumpEqual":"â̸","notin":"â","notindot":"âµÌ¸","notinE":"â¹Ì¸","notinva":"â","notinvb":"â·","notinvc":"â¶","NotLeftTriangleBar":"â§Ì¸","NotLeftTriangle":"âª","NotLeftTriangleEqual":"â¬","NotLess":"â®","NotLessEqual":"â°","NotLessGreater":"â¸","NotLessLess":"âªÌ¸","NotLessSlantEqual":"⩽̸","NotLessTilde":"â´","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"â","notniva":"â","notnivb":"â¾","notnivc":"â½","NotPrecedes":"â","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"â ","NotReverseElement":"â","NotRightTriangleBar":"â§Ì¸","NotRightTriangle":"â«","NotRightTriangleEqual":"â","NotSquareSubset":"â̸","NotSquareSubsetEqual":"â¢","NotSquareSuperset":"â̸","NotSquareSupersetEqual":"â£","NotSubset":"ââ","NotSubsetEqual":"â","NotSucceeds":"â","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"â¡","NotSucceedsTilde":"â¿Ì¸","NotSuperset":"ââ","NotSupersetEqual":"â","NotTilde":"â","NotTildeEqual":"â","NotTildeFullEqual":"â","NotTildeTilde":"â","NotVerticalBar":"â¤","nparallel":"â¦","npar":"â¦","nparsl":"⫽â¥","npart":"â̸","npolint":"â¨","npr":"â","nprcue":"â ","nprec":"â","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"â","nrArr":"â","nrarrw":"â̸","nrightarrow":"â","nRightarrow":"â","nrtri":"â«","nrtrie":"â","nsc":"â","nsccue":"â¡","nsce":"⪰̸","Nscr":"ð©","nscr":"ð","nshortmid":"â¤","nshortparallel":"â¦","nsim":"â","nsime":"â","nsimeq":"â","nsmid":"â¤","nspar":"â¦","nsqsube":"â¢","nsqsupe":"â£","nsub":"â","nsubE":"â«
̸","nsube":"â","nsubset":"ââ","nsubseteq":"â","nsubseteqq":"â«
̸","nsucc":"â","nsucceq":"⪰̸","nsup":"â
","nsupE":"â«Ì¸","nsupe":"â","nsupset":"ââ","nsupseteq":"â","nsupseteqq":"â«Ì¸","ntgl":"â¹","Ntilde":"Ã","ntilde":"ñ","ntlg":"â¸","ntriangleleft":"âª","ntrianglelefteq":"â¬","ntriangleright":"â«","ntrianglerighteq":"â","Nu":"Î","nu":"ν","num":"#","numero":"â","numsp":"â","nvap":"ââ","nvdash":"â¬","nvDash":"â","nVdash":"â®","nVDash":"â¯","nvge":"â¥â","nvgt":">â","nvHarr":"â¤","nvinfin":"â§","nvlArr":"â¤","nvle":"â¤â","nvlt":"<â","nvltrie":"â´â","nvrArr":"â¤","nvrtrie":"âµâ","nvsim":"â¼â","nwarhk":"⤣","nwarr":"â","nwArr":"â","nwarrow":"â","nwnear":"⤧","Oacute":"Ã","oacute":"ó","oast":"â","Ocirc":"Ã","ocirc":"ô","ocir":"â","Ocy":"Ð","ocy":"о","odash":"â","Odblac":"Å","odblac":"Å","odiv":"⨸","odot":"â","odsold":"⦼","OElig":"Å","oelig":"Å","ofcir":"⦿","Ofr":"ð","ofr":"ð¬","ogon":"Ë","Ograve":"Ã","ograve":"ò","ogt":"â§","ohbar":"⦵","ohm":"Ω","oint":"â®","olarr":"âº","olcir":"⦾","olcross":"⦻","oline":"â¾","olt":"â§","Omacr":"Å","omacr":"Å","Omega":"Ω","omega":"Ï","Omicron":"Î","omicron":"ο","omid":"⦶","ominus":"â","Oopf":"ð","oopf":"ð ","opar":"⦷","OpenCurlyDoubleQuote":"â","OpenCurlyQuote":"â","operp":"⦹","oplus":"â","orarr":"â»","Or":"â©","or":"â¨","ord":"â©","order":"â´","orderof":"â´","ordf":"ª","ordm":"º","origof":"â¶","oror":"â©","orslope":"â©","orv":"â©","oS":"â","Oscr":"ðª","oscr":"â´","Oslash":"Ã","oslash":"ø","osol":"â","Otilde":"Ã","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"â","Ouml":"Ã","ouml":"ö","ovbar":"â½","OverBar":"â¾","OverBrace":"â","OverBracket":"â´","OverParenthesis":"â","para":"¶","parallel":"â¥","par":"â¥","parsim":"⫳","parsl":"⫽","part":"â","PartialD":"â","Pcy":"Ð","pcy":"п","percnt":"%","period":".","permil":"â°","perp":"â¥","pertenk":"â±","Pfr":"ð","pfr":"ð","Phi":"Φ","phi":"Ï","phiv":"Ï","phmmat":"â³","phone":"â","Pi":"Î ","pi":"Ï","pitchfork":"â","piv":"Ï","planck":"â","planckh":"â","plankv":"â","plusacir":"⨣","plusb":"â","pluscir":"⨢","plus":"+","plusdo":"â","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"â","pointint":"â¨","popf":"ð¡","Popf":"â","pound":"£","prap":"⪷","Pr":"⪻","pr":"âº","prcue":"â¼","precapprox":"⪷","prec":"âº","preccurlyeq":"â¼","Precedes":"âº","PrecedesEqual":"⪯","PrecedesSlantEqual":"â¼","PrecedesTilde":"â¾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"â¨","pre":"⪯","prE":"⪳","precsim":"â¾","prime":"â²","Prime":"â³","primes":"â","prnap":"⪹","prnE":"⪵","prnsim":"â¨","prod":"â","Product":"â","profalar":"â®","profline":"â","profsurf":"â","prop":"â","Proportional":"â","Proportion":"â·","propto":"â","prsim":"â¾","prurel":"â°","Pscr":"ð«","pscr":"ð
","Psi":"Ψ","psi":"Ï","puncsp":"â","Qfr":"ð","qfr":"ð®","qint":"â¨","qopf":"ð¢","Qopf":"â","qprime":"â","Qscr":"ð¬","qscr":"ð","quaternions":"â","quatint":"â¨","quest":"?","questeq":"â","quot":"\\"","QUOT":"\\"","rAarr":"â","race":"â½Ì±","Racute":"Å","racute":"Å","radic":"â","raemptyv":"⦳","rang":"â©","Rang":"â«","rangd":"â¦","range":"⦥","rangle":"â©","raquo":"»","rarrap":"⥵","rarrb":"â¥","rarrbfs":"⤠","rarrc":"⤳","rarr":"â","Rarr":"â ","rArr":"â","rarrfs":"â¤","rarrhk":"âª","rarrlp":"â¬","rarrpl":"â¥
","rarrsim":"⥴","Rarrtl":"â¤","rarrtl":"â£","rarrw":"â","ratail":"â¤","rAtail":"â¤","ratio":"â¶","rationals":"â","rbarr":"â¤","rBarr":"â¤","RBarr":"â¤","rbbrk":"â³","rbrace":"}","rbrack":"]","rbrke":"â¦","rbrksld":"â¦","rbrkslu":"â¦","Rcaron":"Å","rcaron":"Å","Rcedil":"Å","rcedil":"Å","rceil":"â","rcub":"}","Rcy":"Ð ","rcy":"Ñ","rdca":"⤷","rdldhar":"⥩","rdquo":"â","rdquor":"â","rdsh":"â³","real":"â","realine":"â","realpart":"â","reals":"â","Re":"â","rect":"â","reg":"®","REG":"®","ReverseElement":"â","ReverseEquilibrium":"â","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"â","rfr":"ð¯","Rfr":"â","rHar":"⥤","rhard":"â","rharu":"â","rharul":"⥬","Rho":"Ρ","rho":"Ï","rhov":"ϱ","RightAngleBracket":"â©","RightArrowBar":"â¥","rightarrow":"â","RightArrow":"â","Rightarrow":"â","RightArrowLeftArrow":"â","rightarrowtail":"â£","RightCeiling":"â","RightDoubleBracket":"â§","RightDownTeeVector":"â¥","RightDownVectorBar":"â¥","RightDownVector":"â","RightFloor":"â","rightharpoondown":"â","rightharpoonup":"â","rightleftarrows":"â","rightleftharpoons":"â","rightrightarrows":"â","rightsquigarrow":"â","RightTeeArrow":"â¦","RightTee":"â¢","RightTeeVector":"â¥","rightthreetimes":"â","RightTriangleBar":"â§","RightTriangle":"â³","RightTriangleEqual":"âµ","RightUpDownVector":"â¥","RightUpTeeVector":"â¥","RightUpVectorBar":"â¥","RightUpVector":"â¾","RightVectorBar":"â¥","RightVector":"â","ring":"Ë","risingdotseq":"â","rlarr":"â","rlhar":"â","rlm":"â","rmoustache":"â±","rmoust":"â±","rnmid":"â«®","roang":"â","roarr":"â¾","robrk":"â§","ropar":"â¦","ropf":"ð£","Ropf":"â","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"â¦","rppolint":"â¨","rrarr":"â","Rrightarrow":"â","rsaquo":"âº","rscr":"ð","Rscr":"â","rsh":"â±","Rsh":"â±","rsqb":"]","rsquo":"â","rsquor":"â","rthree":"â","rtimes":"â","rtri":"â¹","rtrie":"âµ","rtrif":"â¸","rtriltri":"â§","RuleDelayed":"â§´","ruluhar":"⥨","rx":"â","Sacute":"Å","sacute":"Å","sbquo":"â","scap":"⪸","Scaron":"Å ","scaron":"Å¡","Sc":"⪼","sc":"â»","sccue":"â½","sce":"⪰","scE":"⪴","Scedil":"Å","scedil":"Å","Scirc":"Å","scirc":"Å","scnap":"⪺","scnE":"⪶","scnsim":"â©","scpolint":"â¨","scsim":"â¿","Scy":"С","scy":"Ñ","sdotb":"â¡","sdot":"â
","sdote":"⩦","searhk":"⤥","searr":"â","seArr":"â","searrow":"â","sect":"§","semi":";","seswar":"⤩","setminus":"â","setmn":"â","sext":"â¶","Sfr":"ð","sfr":"ð°","sfrown":"â¢","sharp":"â¯","SHCHcy":"Щ","shchcy":"Ñ","SHcy":"Ш","shcy":"Ñ","ShortDownArrow":"â","ShortLeftArrow":"â","shortmid":"â£","shortparallel":"â¥","ShortRightArrow":"â","ShortUpArrow":"â","shy":"Â","Sigma":"Σ","sigma":"Ï","sigmaf":"Ï","sigmav":"Ï","sim":"â¼","simdot":"⩪","sime":"â","simeq":"â","simg":"âª","simgE":"⪠","siml":"âª","simlE":"âª","simne":"â","simplus":"⨤","simrarr":"⥲","slarr":"â","SmallCircle":"â","smallsetminus":"â","smashp":"⨳","smeparsl":"⧤","smid":"â£","smile":"â£","smt":"⪪","smte":"⪬","smtes":"⪬ï¸","SOFTcy":"Ь","softcy":"Ñ","solbar":"â¿","solb":"â§","sol":"/","Sopf":"ð","sopf":"ð¤","spades":"â ","spadesuit":"â ","spar":"â¥","sqcap":"â","sqcaps":"âï¸","sqcup":"â","sqcups":"âï¸","Sqrt":"â","sqsub":"â","sqsube":"â","sqsubset":"â","sqsubseteq":"â","sqsup":"â","sqsupe":"â","sqsupset":"â","sqsupseteq":"â","square":"â¡","Square":"â¡","SquareIntersection":"â","SquareSubset":"â","SquareSubsetEqual":"â","SquareSuperset":"â","SquareSupersetEqual":"â","SquareUnion":"â","squarf":"âª","squ":"â¡","squf":"âª","srarr":"â","Sscr":"ð®","sscr":"ð","ssetmn":"â","ssmile":"â£","sstarf":"â","Star":"â","star":"â","starf":"â
","straightepsilon":"ϵ","straightphi":"Ï","strns":"¯","sub":"â","Sub":"â","subdot":"⪽","subE":"â«
","sube":"â","subedot":"â«","submult":"â«","subnE":"â«","subne":"â","subplus":"⪿","subrarr":"⥹","subset":"â","Subset":"â","subseteq":"â","subseteqq":"â«
","SubsetEqual":"â","subsetneq":"â","subsetneqq":"â«","subsim":"â«","subsub":"â«","subsup":"â«","succapprox":"⪸","succ":"â»","succcurlyeq":"â½","Succeeds":"â»","SucceedsEqual":"⪰","SucceedsSlantEqual":"â½","SucceedsTilde":"â¿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"â©","succsim":"â¿","SuchThat":"â","sum":"â","Sum":"â","sung":"âª","sup1":"¹","sup2":"²","sup3":"³","sup":"â","Sup":"â","supdot":"⪾","supdsub":"â«","supE":"â«","supe":"â","supedot":"â«","Superset":"â","SupersetEqual":"â","suphsol":"â","suphsub":"â«","suplarr":"⥻","supmult":"â«","supnE":"â«","supne":"â","supplus":"â«","supset":"â","Supset":"â","supseteq":"â","supseteqq":"â«","supsetneq":"â","supsetneqq":"â«","supsim":"â«","supsub":"â«","supsup":"â«","swarhk":"⤦","swarr":"â","swArr":"â","swarrow":"â","swnwar":"⤪","szlig":"Ã","Tab":"\\t","target":"â","Tau":"Τ","tau":"Ï","tbrk":"â´","Tcaron":"Ť","tcaron":"Å¥","Tcedil":"Å¢","tcedil":"Å£","Tcy":"Т","tcy":"Ñ","tdot":"â","telrec":"â","Tfr":"ð","tfr":"ð±","there4":"â´","therefore":"â´","Therefore":"â´","Theta":"Î","theta":"θ","thetasym":"Ï","thetav":"Ï","thickapprox":"â","thicksim":"â¼","ThickSpace":"ââ","ThinSpace":"â","thinsp":"â","thkap":"â","thksim":"â¼","THORN":"Ã","thorn":"þ","tilde":"Ë","Tilde":"â¼","TildeEqual":"â","TildeFullEqual":"â
","TildeTilde":"â","timesbar":"⨱","timesb":"â ","times":"Ã","timesd":"⨰","tint":"â","toea":"⤨","topbot":"â¶","topcir":"⫱","top":"â¤","Topf":"ð","topf":"ð¥","topfork":"â«","tosa":"⤩","tprime":"â´","trade":"â¢","TRADE":"â¢","triangle":"âµ","triangledown":"â¿","triangleleft":"â","trianglelefteq":"â´","triangleq":"â","triangleright":"â¹","trianglerighteq":"âµ","tridot":"â¬","trie":"â","triminus":"⨺","TripleDot":"â","triplus":"⨹","trisb":"â§","tritime":"⨻","trpezium":"â¢","Tscr":"ð¯","tscr":"ð","TScy":"Ц","tscy":"Ñ","TSHcy":"Ð","tshcy":"Ñ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"â¬","twoheadleftarrow":"â","twoheadrightarrow":"â ","Uacute":"Ã","uacute":"ú","uarr":"â","Uarr":"â","uArr":"â","Uarrocir":"â¥","Ubrcy":"Ð","ubrcy":"Ñ","Ubreve":"Ŭ","ubreve":"Å","Ucirc":"Ã","ucirc":"û","Ucy":"У","ucy":"Ñ","udarr":"â
","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"ð","ufr":"ð²","Ugrave":"Ã","ugrave":"ù","uHar":"⥣","uharl":"â¿","uharr":"â¾","uhblk":"â","ulcorn":"â","ulcorner":"â","ulcrop":"â","ultri":"â¸","Umacr":"Ū","umacr":"Å«","uml":"¨","UnderBar":"_","UnderBrace":"â","UnderBracket":"âµ","UnderParenthesis":"â","Union":"â","UnionPlus":"â","Uogon":"Ų","uogon":"ų","Uopf":"ð","uopf":"ð¦","UpArrowBar":"â¤","uparrow":"â","UpArrow":"â","Uparrow":"â","UpArrowDownArrow":"â
","updownarrow":"â","UpDownArrow":"â","Updownarrow":"â","UpEquilibrium":"⥮","upharpoonleft":"â¿","upharpoonright":"â¾","uplus":"â","UpperLeftArrow":"â","UpperRightArrow":"â","upsi":"Ï
","Upsi":"Ï","upsih":"Ï","Upsilon":"Î¥","upsilon":"Ï
","UpTeeArrow":"â¥","UpTee":"â¥","upuparrows":"â","urcorn":"â","urcorner":"â","urcrop":"â","Uring":"Å®","uring":"ů","urtri":"â¹","Uscr":"ð°","uscr":"ð","utdot":"â°","Utilde":"Ũ","utilde":"Å©","utri":"âµ","utrif":"â´","uuarr":"â","Uuml":"Ã","uuml":"ü","uwangle":"⦧","vangrt":"â¦","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"â
","varphi":"Ï","varpi":"Ï","varpropto":"â","varr":"â","vArr":"â","varrho":"ϱ","varsigma":"Ï","varsubsetneq":"âï¸","varsubsetneqq":"â«ï¸","varsupsetneq":"âï¸","varsupsetneqq":"â«ï¸","vartheta":"Ï","vartriangleleft":"â²","vartriangleright":"â³","vBar":"⫨","Vbar":"â««","vBarv":"â«©","Vcy":"Ð","vcy":"в","vdash":"â¢","vDash":"â¨","Vdash":"â©","VDash":"â«","Vdashl":"⫦","veebar":"â»","vee":"â¨","Vee":"â","veeeq":"â","vellip":"â®","verbar":"|","Verbar":"â","vert":"|","Vert":"â","VerticalBar":"â£","VerticalLine":"|","VerticalSeparator":"â","VerticalTilde":"â","VeryThinSpace":"â","Vfr":"ð","vfr":"ð³","vltri":"â²","vnsub":"ââ","vnsup":"ââ","Vopf":"ð","vopf":"ð§","vprop":"â","vrtri":"â³","Vscr":"ð±","vscr":"ð","vsubnE":"â«ï¸","vsubne":"âï¸","vsupnE":"â«ï¸","vsupne":"âï¸","Vvdash":"âª","vzigzag":"â¦","Wcirc":"Å´","wcirc":"ŵ","wedbar":"â©","wedge":"â§","Wedge":"â","wedgeq":"â","weierp":"â","Wfr":"ð","wfr":"ð´","Wopf":"ð","wopf":"ð¨","wp":"â","wr":"â","wreath":"â","Wscr":"ð²","wscr":"ð","xcap":"â","xcirc":"â¯","xcup":"â","xdtri":"â½","Xfr":"ð","xfr":"ðµ","xharr":"â·","xhArr":"âº","Xi":"Î","xi":"ξ","xlarr":"âµ","xlArr":"â¸","xmap":"â¼","xnis":"â»","xodot":"â¨","Xopf":"ð","xopf":"ð©","xoplus":"â¨","xotime":"â¨","xrarr":"â¶","xrArr":"â¹","Xscr":"ð³","xscr":"ð","xsqcup":"â¨","xuplus":"â¨","xutri":"â³","xvee":"â","xwedge":"â","Yacute":"Ã","yacute":"ý","YAcy":"Я","yacy":"Ñ","Ycirc":"Ŷ","ycirc":"Å·","Ycy":"Ы","ycy":"Ñ","yen":"Â¥","Yfr":"ð","yfr":"ð¶","YIcy":"Ð","yicy":"Ñ","Yopf":"ð","yopf":"ðª","Yscr":"ð´","yscr":"ð","YUcy":"Ю","yucy":"Ñ","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"Ð","zcy":"з","Zdot":"Å»","zdot":"ż","zeetrf":"â¨","ZeroWidthSpace":"â","Zeta":"Î","zeta":"ζ","zfr":"ð·","Zfr":"â¨","ZHcy":"Ð","zhcy":"ж","zigrarr":"â","zopf":"ð«","Zopf":"â¤","Zscr":"ðµ","zscr":"ð","zwj":"â","zwnj":"â"}')
2},40490:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Ã","aacute":"á","Acirc":"Ã","acirc":"â","acute":"´","AElig":"Ã","aelig":"æ","Agrave":"Ã","agrave":"à ","amp":"&","AMP":"&","Aring":"Ã
","aring":"Ã¥","Atilde":"Ã","atilde":"ã","Auml":"Ã","auml":"ä","brvbar":"¦","Ccedil":"Ã","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"Ã","eacute":"é","Ecirc":"Ã","ecirc":"ê","Egrave":"Ã","egrave":"è","ETH":"Ã","eth":"ð","Euml":"Ã","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Ã","iacute":"Ã","Icirc":"Ã","icirc":"î","iexcl":"¡","Igrave":"Ã","igrave":"ì","iquest":"¿","Iuml":"Ã","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ã","ntilde":"ñ","Oacute":"Ã","oacute":"ó","Ocirc":"Ã","ocirc":"ô","Ograve":"Ã","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ã","oslash":"ø","Otilde":"Ã","otilde":"õ","Ouml":"Ã","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"Â","sup1":"¹","sup2":"²","sup3":"³","szlig":"Ã","THORN":"Ã","thorn":"þ","times":"Ã","Uacute":"Ã","uacute":"ú","Ucirc":"Ã","ucirc":"û","Ugrave":"Ã","ugrave":"ù","uml":"¨","Uuml":"Ã","uuml":"ü","Yacute":"Ã","yacute":"ý","yen":"Â¥","yuml":"ÿ"}')},41344:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}}]);
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.